mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 05:51:02 +00:00
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>
This commit is contained in:
Generated
+8
-38
@@ -1853,7 +1853,6 @@ dependencies = [
|
||||
"frame-system",
|
||||
"impl-trait-for-tuples",
|
||||
"log",
|
||||
"max-encoded-len",
|
||||
"once_cell",
|
||||
"parity-scale-codec",
|
||||
"parity-util-mem",
|
||||
@@ -2712,9 +2711,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "impl-codec"
|
||||
version = "0.5.0"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "df170efa359aebdd5cb7fe78edcc67107748e4737bdca8a8fb40d15ea7a877ed"
|
||||
checksum = "161ebdfec3c8e3b52bf61c4f3550a1eea4f9579d10dc1b936f3171ebdcd6c443"
|
||||
dependencies = [
|
||||
"parity-scale-codec",
|
||||
]
|
||||
@@ -3766,29 +3765,6 @@ dependencies = [
|
||||
"rawpointer",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "max-encoded-len"
|
||||
version = "3.0.0"
|
||||
dependencies = [
|
||||
"frame-support",
|
||||
"impl-trait-for-tuples",
|
||||
"max-encoded-len-derive",
|
||||
"parity-scale-codec",
|
||||
"primitive-types",
|
||||
"rustversion",
|
||||
"trybuild",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "max-encoded-len-derive"
|
||||
version = "3.0.0"
|
||||
dependencies = [
|
||||
"proc-macro-crate 1.0.0",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "maybe-uninit"
|
||||
version = "2.0.0"
|
||||
@@ -4374,7 +4350,6 @@ dependencies = [
|
||||
"frame-try-runtime",
|
||||
"hex-literal",
|
||||
"log",
|
||||
"max-encoded-len",
|
||||
"node-primitives",
|
||||
"pallet-assets",
|
||||
"pallet-authority-discovery",
|
||||
@@ -4726,7 +4701,6 @@ dependencies = [
|
||||
"frame-benchmarking",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"max-encoded-len",
|
||||
"pallet-balances",
|
||||
"parity-scale-codec",
|
||||
"sp-core",
|
||||
@@ -4837,7 +4811,6 @@ dependencies = [
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"log",
|
||||
"max-encoded-len",
|
||||
"pallet-transaction-payment",
|
||||
"parity-scale-codec",
|
||||
"sp-core",
|
||||
@@ -5364,7 +5337,6 @@ dependencies = [
|
||||
"frame-benchmarking",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"max-encoded-len",
|
||||
"pallet-balances",
|
||||
"pallet-utility",
|
||||
"parity-scale-codec",
|
||||
@@ -5774,24 +5746,25 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "parity-scale-codec"
|
||||
version = "2.1.1"
|
||||
version = "2.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e0f518afaa5a47d0d6386229b0a6e01e86427291d643aa4cabb4992219f504f8"
|
||||
checksum = "8975095a2a03bbbdc70a74ab11a4f76a6d0b84680d87c68d722531b0ac28e8a9"
|
||||
dependencies = [
|
||||
"arrayvec 0.7.0",
|
||||
"bitvec",
|
||||
"byte-slice-cast",
|
||||
"impl-trait-for-tuples",
|
||||
"parity-scale-codec-derive",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "parity-scale-codec-derive"
|
||||
version = "2.1.0"
|
||||
version = "2.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f44c5f94427bd0b5076e8f7e15ca3f60a4d8ac0077e4793884e6fdfd8915344e"
|
||||
checksum = "40dbbfef7f0a1143c5b06e0d76a6278e25dac0bc1af4be51a0fbb73f07e7ad09"
|
||||
dependencies = [
|
||||
"proc-macro-crate 0.1.5",
|
||||
"proc-macro-crate 1.0.0",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
@@ -8739,7 +8712,6 @@ dependencies = [
|
||||
name = "sp-application-crypto"
|
||||
version = "3.0.0"
|
||||
dependencies = [
|
||||
"max-encoded-len",
|
||||
"parity-scale-codec",
|
||||
"serde",
|
||||
"sp-core",
|
||||
@@ -8951,7 +8923,6 @@ dependencies = [
|
||||
"lazy_static",
|
||||
"libsecp256k1",
|
||||
"log",
|
||||
"max-encoded-len",
|
||||
"merlin",
|
||||
"num-traits",
|
||||
"parity-scale-codec",
|
||||
@@ -9178,7 +9149,6 @@ dependencies = [
|
||||
"hash256-std-hasher",
|
||||
"impl-trait-for-tuples",
|
||||
"log",
|
||||
"max-encoded-len",
|
||||
"parity-scale-codec",
|
||||
"parity-util-mem",
|
||||
"paste 1.0.4",
|
||||
|
||||
Reference in New Issue
Block a user