Add pov reclaim (#229)

* extend SignedExtra type
This commit is contained in:
Özgün Özerk
2024-06-13 18:09:42 +03:00
committed by GitHub
parent 4a36fcd567
commit b2b65e9364
8 changed files with 136 additions and 102 deletions
+28 -10
View File
@@ -2275,6 +2275,23 @@ dependencies = [
"sp-trie", "sp-trie",
] ]
[[package]]
name = "cumulus-primitives-storage-weight-reclaim"
version = "1.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0#7049c3c98836b3e9253f6aaa69b6bf3d622e3962"
dependencies = [
"cumulus-primitives-core",
"cumulus-primitives-proof-size-hostfunction",
"docify",
"frame-support",
"frame-system",
"log",
"parity-scale-codec",
"scale-info",
"sp-runtime",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)",
]
[[package]] [[package]]
name = "cumulus-primitives-utility" name = "cumulus-primitives-utility"
version = "0.7.0" version = "0.7.0"
@@ -7998,6 +8015,7 @@ dependencies = [
"cumulus-pallet-xcmp-queue", "cumulus-pallet-xcmp-queue",
"cumulus-primitives-aura", "cumulus-primitives-aura",
"cumulus-primitives-core", "cumulus-primitives-core",
"cumulus-primitives-storage-weight-reclaim",
"cumulus-primitives-utility", "cumulus-primitives-utility",
"fp-account", "fp-account",
"fp-evm", "fp-evm",
@@ -9886,7 +9904,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"itertools 0.11.0", "itertools 0.12.1",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.59", "syn 2.0.59",
@@ -12761,7 +12779,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-crypto-ec-utils" name = "sp-crypto-ec-utils"
version = "0.10.0" version = "0.10.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"ark-bls12-377", "ark-bls12-377",
"ark-bls12-377-ext", "ark-bls12-377-ext",
@@ -12823,7 +12841,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-debug-derive" name = "sp-debug-derive"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -12843,7 +12861,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-externalities" name = "sp-externalities"
version = "0.25.0" version = "0.25.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"environmental", "environmental",
"parity-scale-codec", "parity-scale-codec",
@@ -13056,7 +13074,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface" name = "sp-runtime-interface"
version = "24.0.0" version = "24.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"bytes", "bytes",
"impl-trait-for-tuples", "impl-trait-for-tuples",
@@ -13088,7 +13106,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface-proc-macro" name = "sp-runtime-interface-proc-macro"
version = "17.0.0" version = "17.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"expander 2.1.0", "expander 2.1.0",
@@ -13177,7 +13195,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0#70
[[package]] [[package]]
name = "sp-std" name = "sp-std"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
@@ -13194,7 +13212,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
version = "19.0.0" version = "19.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"impl-serde", "impl-serde",
"parity-scale-codec", "parity-scale-codec",
@@ -13229,7 +13247,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-tracing" name = "sp-tracing"
version = "16.0.0" version = "16.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"tracing", "tracing",
@@ -13326,7 +13344,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-wasm-interface" name = "sp-wasm-interface"
version = "20.0.0" version = "20.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#4ab078d6754147ce731523292dd1882f8a7b5775" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"impl-trait-for-tuples", "impl-trait-for-tuples",
"log", "log",
+1
View File
@@ -124,6 +124,7 @@ cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk"
cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-storage-weight-reclaim = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
+2
View File
@@ -77,6 +77,7 @@ cumulus-pallet-xcm = { workspace = true }
cumulus-pallet-xcmp-queue = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true }
cumulus-primitives-aura = { workspace = true } cumulus-primitives-aura = { workspace = true }
cumulus-primitives-core = { workspace = true } cumulus-primitives-core = { workspace = true }
cumulus-primitives-storage-weight-reclaim = { workspace = true }
cumulus-primitives-utility = { workspace = true } cumulus-primitives-utility = { workspace = true }
pallet-collator-selection = { workspace = true } pallet-collator-selection = { workspace = true }
parachain-info = { workspace = true } parachain-info = { workspace = true }
@@ -111,6 +112,7 @@ std = [
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-storage-weight-reclaim/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"fp-account/std", "fp-account/std",
"fp-account/std", "fp-account/std",
+1
View File
@@ -57,6 +57,7 @@ pub type SignedExtra = (
frame_system::CheckNonce<Runtime>, frame_system::CheckNonce<Runtime>,
frame_system::CheckWeight<Runtime>, frame_system::CheckWeight<Runtime>,
pallet_transaction_payment::ChargeTransactionPayment<Runtime>, pallet_transaction_payment::ChargeTransactionPayment<Runtime>,
cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim<Runtime>,
); );
/// Executive: handles dispatch to the various modules. /// Executive: handles dispatch to the various modules.
+100 -92
View File
@@ -2241,6 +2241,23 @@ dependencies = [
"sp-trie", "sp-trie",
] ]
[[package]]
name = "cumulus-primitives-storage-weight-reclaim"
version = "1.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0#7049c3c98836b3e9253f6aaa69b6bf3d622e3962"
dependencies = [
"cumulus-primitives-core",
"cumulus-primitives-proof-size-hostfunction",
"docify",
"frame-support",
"frame-system",
"log",
"parity-scale-codec",
"scale-info",
"sp-runtime",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)",
]
[[package]] [[package]]
name = "cumulus-primitives-utility" name = "cumulus-primitives-utility"
version = "0.7.0" version = "0.7.0"
@@ -5349,6 +5366,15 @@ dependencies = [
"regex-automata 0.1.10", "regex-automata 0.1.10",
] ]
[[package]]
name = "matchers"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
dependencies = [
"regex-automata 0.1.10",
]
[[package]] [[package]]
name = "matches" name = "matches"
version = "0.1.10" version = "0.1.10"
@@ -5876,6 +5902,16 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
[[package]]
name = "nu-ansi-term"
version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
dependencies = [
"overload",
"winapi",
]
[[package]] [[package]]
name = "num-bigint" name = "num-bigint"
version = "0.4.4" version = "0.4.4"
@@ -6061,6 +6097,12 @@ dependencies = [
"num-traits", "num-traits",
] ]
[[package]]
name = "overload"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
[[package]] [[package]]
name = "pallet-asset-conversion" name = "pallet-asset-conversion"
version = "10.0.0" version = "10.0.0"
@@ -7259,6 +7301,7 @@ dependencies = [
"cumulus-pallet-xcmp-queue", "cumulus-pallet-xcmp-queue",
"cumulus-primitives-aura", "cumulus-primitives-aura",
"cumulus-primitives-core", "cumulus-primitives-core",
"cumulus-primitives-storage-weight-reclaim",
"cumulus-primitives-utility", "cumulus-primitives-utility",
"frame-benchmarking", "frame-benchmarking",
"frame-executive", "frame-executive",
@@ -7384,9 +7427,9 @@ dependencies = [
[[package]] [[package]]
name = "parity-scale-codec" name = "parity-scale-codec"
version = "3.6.9" version = "3.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee"
dependencies = [ dependencies = [
"arrayvec 0.7.4", "arrayvec 0.7.4",
"bitvec", "bitvec",
@@ -7399,11 +7442,11 @@ dependencies = [
[[package]] [[package]]
name = "parity-scale-codec-derive" name = "parity-scale-codec-derive"
version = "3.6.9" version = "3.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c"
dependencies = [ dependencies = [
"proc-macro-crate 2.0.0", "proc-macro-crate 3.1.0",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 1.0.109",
@@ -8738,7 +8781,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"polkavm-assembler", "polkavm-assembler",
"polkavm-common 0.9.0", "polkavm-common",
"polkavm-linux-raw", "polkavm-linux-raw",
] ]
@@ -8751,12 +8794,6 @@ dependencies = [
"log", "log",
] ]
[[package]]
name = "polkavm-common"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92c99f7eee94e7be43ba37eef65ad0ee8cbaf89b7c00001c3f6d2be985cb1817"
[[package]] [[package]]
name = "polkavm-common" name = "polkavm-common"
version = "0.9.0" version = "0.9.0"
@@ -8766,34 +8803,13 @@ dependencies = [
"log", "log",
] ]
[[package]]
name = "polkavm-derive"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79fa916f7962348bd1bb1a65a83401675e6fc86c51a0fdbcf92a3108e58e6125"
dependencies = [
"polkavm-derive-impl-macro 0.8.0",
]
[[package]] [[package]]
name = "polkavm-derive" name = "polkavm-derive"
version = "0.9.1" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606"
dependencies = [ dependencies = [
"polkavm-derive-impl-macro 0.9.0", "polkavm-derive-impl-macro",
]
[[package]]
name = "polkavm-derive-impl"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c10b2654a8a10a83c260bfb93e97b262cf0017494ab94a65d389e0eda6de6c9c"
dependencies = [
"polkavm-common 0.8.0",
"proc-macro2",
"quote",
"syn 2.0.58",
] ]
[[package]] [[package]]
@@ -8802,29 +8818,19 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c"
dependencies = [ dependencies = [
"polkavm-common 0.9.0", "polkavm-common",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.58", "syn 2.0.58",
] ]
[[package]]
name = "polkavm-derive-impl-macro"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66"
dependencies = [
"polkavm-derive-impl 0.8.0",
"syn 2.0.58",
]
[[package]] [[package]]
name = "polkavm-derive-impl-macro" name = "polkavm-derive-impl-macro"
version = "0.9.0" version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429"
dependencies = [ dependencies = [
"polkavm-derive-impl 0.9.0", "polkavm-derive-impl",
"syn 2.0.58", "syn 2.0.58",
] ]
@@ -8838,7 +8844,7 @@ dependencies = [
"hashbrown 0.14.3", "hashbrown 0.14.3",
"log", "log",
"object 0.32.2", "object 0.32.2",
"polkavm-common 0.9.0", "polkavm-common",
"regalloc2 0.9.3", "regalloc2 0.9.3",
"rustc-demangle", "rustc-demangle",
] ]
@@ -9009,15 +9015,6 @@ dependencies = [
"toml_edit 0.19.15", "toml_edit 0.19.15",
] ]
[[package]]
name = "proc-macro-crate"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8"
dependencies = [
"toml_edit 0.20.7",
]
[[package]] [[package]]
name = "proc-macro-crate" name = "proc-macro-crate"
version = "3.1.0" version = "3.1.0"
@@ -11095,8 +11092,8 @@ dependencies = [
"sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)",
"thiserror", "thiserror",
"tracing", "tracing",
"tracing-log", "tracing-log 0.1.4",
"tracing-subscriber", "tracing-subscriber 0.2.25",
] ]
[[package]] [[package]]
@@ -12023,7 +12020,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-crypto-ec-utils" name = "sp-crypto-ec-utils"
version = "0.10.0" version = "0.10.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"ark-bls12-377", "ark-bls12-377",
"ark-bls12-377-ext", "ark-bls12-377-ext",
@@ -12038,7 +12035,6 @@ dependencies = [
"ark-ed-on-bls12-381-bandersnatch-ext", "ark-ed-on-bls12-381-bandersnatch-ext",
"ark-scale", "ark-scale",
"sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
] ]
[[package]] [[package]]
@@ -12086,7 +12082,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-debug-derive" name = "sp-debug-derive"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -12106,11 +12102,10 @@ dependencies = [
[[package]] [[package]]
name = "sp-externalities" name = "sp-externalities"
version = "0.25.0" version = "0.25.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"environmental", "environmental",
"parity-scale-codec", "parity-scale-codec",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
"sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
] ]
@@ -12147,7 +12142,7 @@ dependencies = [
"libsecp256k1", "libsecp256k1",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"polkavm-derive 0.9.1", "polkavm-derive",
"rustversion", "rustversion",
"secp256k1", "secp256k1",
"sp-core", "sp-core",
@@ -12306,7 +12301,7 @@ dependencies = [
"bytes", "bytes",
"impl-trait-for-tuples", "impl-trait-for-tuples",
"parity-scale-codec", "parity-scale-codec",
"polkavm-derive 0.9.1", "polkavm-derive",
"primitive-types", "primitive-types",
"sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)",
"sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)", "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0)",
@@ -12320,12 +12315,12 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface" name = "sp-runtime-interface"
version = "24.0.0" version = "24.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"bytes", "bytes",
"impl-trait-for-tuples", "impl-trait-for-tuples",
"parity-scale-codec", "parity-scale-codec",
"polkavm-derive 0.8.0", "polkavm-derive",
"primitive-types", "primitive-types",
"sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)",
"sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
@@ -12352,7 +12347,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface-proc-macro" name = "sp-runtime-interface-proc-macro"
version = "17.0.0" version = "17.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"expander 2.0.0", "expander 2.0.0",
@@ -12441,7 +12436,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.10.0#70
[[package]] [[package]]
name = "sp-std" name = "sp-std"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
@@ -12458,14 +12453,13 @@ dependencies = [
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
version = "19.0.0" version = "19.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"impl-serde", "impl-serde",
"parity-scale-codec", "parity-scale-codec",
"ref-cast", "ref-cast",
"serde", "serde",
"sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
] ]
[[package]] [[package]]
@@ -12488,19 +12482,18 @@ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"tracing", "tracing",
"tracing-core", "tracing-core",
"tracing-subscriber", "tracing-subscriber 0.2.25",
] ]
[[package]] [[package]]
name = "sp-tracing" name = "sp-tracing"
version = "16.0.0" version = "16.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
"tracing", "tracing",
"tracing-core", "tracing-core",
"tracing-subscriber", "tracing-subscriber 0.3.18",
] ]
[[package]] [[package]]
@@ -12592,14 +12585,11 @@ dependencies = [
[[package]] [[package]]
name = "sp-wasm-interface" name = "sp-wasm-interface"
version = "20.0.0" version = "20.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#ca382f32033d8350d49934b30680d8c30dd9bdfc" source = "git+https://github.com/paritytech/polkadot-sdk#988103d7578ad515b13c69578da1237b28fa9f36"
dependencies = [ dependencies = [
"anyhow",
"impl-trait-for-tuples", "impl-trait-for-tuples",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
"wasmtime",
] ]
[[package]] [[package]]
@@ -13403,17 +13393,6 @@ dependencies = [
"winnow 0.5.40", "winnow 0.5.40",
] ]
[[package]]
name = "toml_edit"
version = "0.20.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81"
dependencies = [
"indexmap 2.2.3",
"toml_datetime",
"winnow 0.5.40",
]
[[package]] [[package]]
name = "toml_edit" name = "toml_edit"
version = "0.21.1" version = "0.21.1"
@@ -13560,6 +13539,17 @@ dependencies = [
"tracing-core", "tracing-core",
] ]
[[package]]
name = "tracing-log"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
dependencies = [
"log",
"once_cell",
"tracing-core",
]
[[package]] [[package]]
name = "tracing-serde" name = "tracing-serde"
version = "0.1.3" version = "0.1.3"
@@ -13579,7 +13569,7 @@ dependencies = [
"ansi_term", "ansi_term",
"chrono", "chrono",
"lazy_static", "lazy_static",
"matchers", "matchers 0.0.1",
"parking_lot 0.11.2", "parking_lot 0.11.2",
"regex", "regex",
"serde", "serde",
@@ -13589,10 +13579,28 @@ dependencies = [
"thread_local", "thread_local",
"tracing", "tracing",
"tracing-core", "tracing-core",
"tracing-log", "tracing-log 0.1.4",
"tracing-serde", "tracing-serde",
] ]
[[package]]
name = "tracing-subscriber"
version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
dependencies = [
"matchers 0.1.0",
"nu-ansi-term",
"once_cell",
"regex",
"sharded-slab",
"smallvec",
"thread_local",
"tracing",
"tracing-core",
"tracing-log 0.2.0",
]
[[package]] [[package]]
name = "trie-db" name = "trie-db"
version = "0.28.0" version = "0.28.0"
+1
View File
@@ -121,6 +121,7 @@ cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk"
cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-storage-weight-reclaim = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" } cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.10.0" }
+2
View File
@@ -77,6 +77,7 @@ cumulus-pallet-xcm = { workspace = true }
cumulus-pallet-xcmp-queue = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true }
cumulus-primitives-aura = { workspace = true } cumulus-primitives-aura = { workspace = true }
cumulus-primitives-core = { workspace = true } cumulus-primitives-core = { workspace = true }
cumulus-primitives-storage-weight-reclaim = { workspace = true }
cumulus-primitives-utility = { workspace = true } cumulus-primitives-utility = { workspace = true }
pallet-collator-selection = { workspace = true } pallet-collator-selection = { workspace = true }
parachain-info = { workspace = true } parachain-info = { workspace = true }
@@ -98,6 +99,7 @@ std = [
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-storage-weight-reclaim/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std", "frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
+1
View File
@@ -57,6 +57,7 @@ pub type SignedExtra = (
frame_system::CheckNonce<Runtime>, frame_system::CheckNonce<Runtime>,
frame_system::CheckWeight<Runtime>, frame_system::CheckWeight<Runtime>,
pallet_transaction_payment::ChargeTransactionPayment<Runtime>, pallet_transaction_payment::ChargeTransactionPayment<Runtime>,
cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim<Runtime>,
); );
/// Unchecked extrinsic type as expected by this runtime. /// Unchecked extrinsic type as expected by this runtime.