Upgrade to polkadot-v1.6.0
Upgrade Note
- Due to the Subxt API changes, all the extrinsics triggered in the Cucumber tests will be included in a block and then finalized, contrary to v0.9.42 where only inclusion was necessary. Therefore, in any test, the transaction should be successful for the test to succeed, i.e., caller fees should be payable (see for example changes in
oneshot_account.feature
). - Upgraded the old substrate to the new polkadot-sdk modified for your specific needs.
- Upgraded Subxt to v0.34.0.
- Opened https://github.com/paritytech/polkadot-sdk/pull/3049, so your benchmarks can pass for the pallet treasury.
Do to
-
compile all pallets no feature. -
compile all pallets with test feature. -
compile all pallets with benchmark feature. -
compile runtime with no feature. -
compile runtime with test feature. -
upgrade subxt and metadata version. -
correct tests. -
fix cucumber. -
refactor Executor like in Acala. -
fix xtasks. -
upgrade workspace like in the node template. -
transfert polkadot-sdk to Duniter organization, upgrade and adapt duniter-subxt to resolve the nightmare of version compatibility with the polkadot-sdk. -
upgrade subxt repository of Duniter organisation. -
remove soon deprecated features.
Close #170 (closed)
Edited by Benjamin Gallois