Remove in-tree `max-encoded-len` and use the new SCALE codec crate instead (#9163)
* Update impl-codec to use new upstream MaxEncodedLen trait
* Adapt crates to use the updated codec crate for `MaxEncodedLen`
* Remove max-encoded-len crate altogether
* Fix test compilation in `pallet-proxy`
* reorganize import (#9186)
* Fix remaining `MaxEncodedLen` imports
* Fix remaining old usages of max-encoded-len crate
* Fix UI test
* Manually depend on new impl-codec to fix Polkadot companion build
* Use newly released primitive-types v0.9.1 that has new codec impls
* Make sure codec deps are up-to-date in crates that use them
Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
Showing
- substrate/Cargo.lock 8 additions, 38 deletionssubstrate/Cargo.lock
- substrate/Cargo.toml 0 additions, 3 deletionssubstrate/Cargo.toml
- substrate/bin/node/runtime/Cargo.toml 1 addition, 4 deletionssubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/runtime/src/lib.rs 2 additions, 2 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/assets/Cargo.toml 0 additions, 2 deletionssubstrate/frame/assets/Cargo.toml
- substrate/frame/balances/Cargo.toml 1 addition, 3 deletionssubstrate/frame/balances/Cargo.toml
- substrate/frame/balances/src/lib.rs 2 additions, 2 deletionssubstrate/frame/balances/src/lib.rs
- substrate/frame/contracts/Cargo.toml 1 addition, 1 deletionsubstrate/frame/contracts/Cargo.toml
- substrate/frame/contracts/src/chain_extension.rs 2 additions, 2 deletionssubstrate/frame/contracts/src/chain_extension.rs
- substrate/frame/contracts/src/wasm/runtime.rs 2 additions, 2 deletionssubstrate/frame/contracts/src/wasm/runtime.rs
- substrate/frame/proxy/Cargo.toml 1 addition, 3 deletionssubstrate/frame/proxy/Cargo.toml
- substrate/frame/proxy/src/lib.rs 2 additions, 2 deletionssubstrate/frame/proxy/src/lib.rs
- substrate/frame/proxy/src/tests.rs 1 addition, 4 deletionssubstrate/frame/proxy/src/tests.rs
- substrate/frame/support/Cargo.toml 1 addition, 3 deletionssubstrate/frame/support/Cargo.toml
- substrate/frame/support/procedural/src/storage/storage_struct.rs 4 additions, 4 deletions...te/frame/support/procedural/src/storage/storage_struct.rs
- substrate/frame/support/src/hash.rs 1 addition, 2 deletionssubstrate/frame/support/src/hash.rs
- substrate/frame/support/src/lib.rs 2 additions, 6 deletionssubstrate/frame/support/src/lib.rs
- substrate/frame/support/src/storage/bounded_btree_map.rs 2 additions, 2 deletionssubstrate/frame/support/src/storage/bounded_btree_map.rs
- substrate/frame/support/src/storage/bounded_btree_set.rs 2 additions, 2 deletionssubstrate/frame/support/src/storage/bounded_btree_set.rs
- substrate/frame/support/src/storage/bounded_vec.rs 2 additions, 2 deletionssubstrate/frame/support/src/storage/bounded_vec.rs
Please register or sign in to comment