diff --git a/Cargo.lock b/Cargo.lock index ba5b0409a3..51ccdcf0cf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -232,6 +232,20 @@ dependencies = [ "num-traits", ] +[[package]] +name = "aquamarine" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +dependencies = [ + "include_dir", + "itertools 0.10.5", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "aquamarine" version = "0.5.0" @@ -243,7 +257,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -629,7 +643,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "sp-api", "sp-consensus-slots", @@ -804,7 +818,7 @@ checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -849,7 +863,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -920,6 +934,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + [[package]] name = "base64ct" version = "1.6.0" @@ -947,7 +967,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "hash-db 0.16.0", "log", @@ -974,13 +994,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.17", + "prettyplease 0.2.20", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -1006,19 +1026,31 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ - "bitcoin_hashes", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", + "bitcoin_hashes 0.11.0", ] +[[package]] +name = "bitcoin-internals" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" + [[package]] name = "bitcoin_hashes" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +[[package]] +name = "bitcoin_hashes" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -1168,7 +1200,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", @@ -1419,6 +1451,19 @@ dependencies = [ "unsigned-varint", ] +[[package]] +name = "cid" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd94671561e36e4e7de75f753f577edafb0e7c05d6e4547229fdf7938fbcd2c3" +dependencies = [ + "core2", + "multibase", + "multihash 0.18.1", + "serde", + "unsigned-varint", +] + [[package]] name = "cipher" version = "0.2.5" @@ -1500,7 +1545,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -1536,6 +1581,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + [[package]] name = "comfy-table" version = "7.1.1" @@ -1724,7 +1779,7 @@ dependencies = [ "gimli 0.27.3", "hashbrown 0.13.2", "log", - "regalloc2", + "regalloc2 0.6.1", "smallvec", "target-lexicon", ] @@ -1905,16 +1960,6 @@ dependencies = [ "subtle 2.5.0", ] -[[package]] -name = "crypto-mac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" -dependencies = [ - "generic-array 0.14.7", - "subtle 2.5.0", -] - [[package]] name = "ctr" version = "0.9.2" @@ -1927,7 +1972,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "clap", "parity-scale-codec", @@ -1944,14 +1989,14 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", "cumulus-primitives-core", "futures 0.3.30", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", @@ -1967,7 +2012,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1996,7 +2041,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "anyhow", "async-trait", @@ -2011,14 +2056,14 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.30", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-consensus", "sp-api", "sp-block-builder", @@ -2034,14 +2079,14 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-relay-chain-interface", "futures 0.3.30", "futures-timer", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-parachain-primitives", "polkadot-primitives", @@ -2057,7 +2102,7 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2081,7 +2126,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2105,7 +2150,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2134,6 +2179,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", + "sp-io", "sp-runtime", "sp-transaction-pool", ] @@ -2141,7 +2187,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2159,7 +2205,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2175,6 +2221,7 @@ dependencies = [ "pallet-message-queue", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", "sp-core", @@ -2193,18 +2240,18 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2220,7 +2267,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2245,7 +2292,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2262,7 +2309,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2270,6 +2317,8 @@ dependencies = [ "scale-info", "sp-core", "sp-inherents", + "sp-runtime", + "sp-state-machine", "sp-std", "sp-trie", ] @@ -2277,7 +2326,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2287,7 +2336,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-primitives-core", "futures 0.3.30", @@ -2300,13 +2349,12 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-primitives-core", "frame-support", "log", "pallet-asset-conversion", - "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -2321,7 +2369,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2345,7 +2393,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2363,7 +2411,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -2371,7 +2419,7 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures 0.3.30", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", @@ -2384,6 +2432,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "polkadot-service", "sc-authority-discovery", "sc-client-api", "sc-network", @@ -2404,7 +2453,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2443,7 +2492,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2492,7 +2541,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -2532,7 +2581,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -2549,7 +2598,20 @@ checksum = "ad08a837629ad949b73d032c637653d069e909cffe4ee7870b02301939ce39cc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", +] + +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "lock_api", + "once_cell", + "parking_lot_core 0.9.9", ] [[package]] @@ -2641,7 +2703,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -2749,7 +2811,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -2795,7 +2857,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.58", + "syn 2.0.66", "termcolor", "toml 0.8.12", "walkdir", @@ -2862,10 +2924,20 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature", + "serdect", + "signature 2.2.0", "spki", ] +[[package]] +name = "ed25519" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +dependencies = [ + "signature 1.6.4", +] + [[package]] name = "ed25519" version = "2.2.3" @@ -2873,7 +2945,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8", - "signature", + "signature 2.2.0", +] + +[[package]] +name = "ed25519-dalek" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" +dependencies = [ + "curve25519-dalek 3.2.0", + "ed25519 1.5.3", + "rand 0.7.3", + "serde", + "sha2 0.9.9", + "zeroize", ] [[package]] @@ -2883,7 +2969,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek 4.1.2", - "ed25519", + "ed25519 2.2.3", "rand_core 0.6.4", "serde", "sha2 0.10.8", @@ -2912,7 +2998,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ "curve25519-dalek 4.1.2", - "ed25519", + "ed25519 2.2.3", "hashbrown 0.14.3", "hex", "rand_core 0.6.4", @@ -2944,6 +3030,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", + "serdect", "subtle 2.5.0", "zeroize", ] @@ -2966,6 +3053,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "enum-as-inner" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "enumflags2" version = "0.7.9" @@ -2983,7 +3082,7 @@ checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -2994,7 +3093,7 @@ checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -3143,7 +3242,7 @@ dependencies = [ [[package]] name = "evm" version = "0.41.1" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#2252d2475749be22f3b3ae1926fcd02959783f40" dependencies = [ "auto_impl", "environmental", @@ -3163,7 +3262,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#2252d2475749be22f3b3ae1926fcd02959783f40" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3174,7 +3273,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#2252d2475749be22f3b3ae1926fcd02959783f40" dependencies = [ "environmental", "evm-core", @@ -3185,7 +3284,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#2252d2475749be22f3b3ae1926fcd02959783f40" dependencies = [ "auto_impl", "environmental", @@ -3239,7 +3338,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -3248,6 +3347,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "faster-hex" version = "0.6.1" @@ -3297,7 +3402,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "async-trait", "fp-storage", @@ -3309,7 +3414,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "async-trait", "fp-consensus", @@ -3325,7 +3430,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "async-trait", "ethereum", @@ -3339,7 +3444,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-client-db", "smallvec", @@ -3348,7 +3453,6 @@ dependencies = [ "sp-core", "sp-database", "sp-runtime", - "sp-storage", "sqlx", "tokio", ] @@ -3356,7 +3460,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fc-db", "fc-storage", @@ -3365,7 +3469,7 @@ dependencies = [ "futures 0.3.30", "futures-timer", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-utils", "sp-api", @@ -3379,7 +3483,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "ethereum", "ethereum-types", @@ -3404,7 +3508,6 @@ dependencies = [ "sc-client-api", "sc-consensus-aura", "sc-network", - "sc-network-common", "sc-network-sync", "sc-rpc", "sc-service", @@ -3434,7 +3537,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "ethereum", "ethereum-types", @@ -3443,13 +3546,13 @@ dependencies = [ "rustc-hex", "serde", "serde_json", - "sp-core-hashing", + "sp-crypto-hashing", ] [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "ethereum", "ethereum-types", @@ -3458,7 +3561,6 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sp-api", - "sp-blockchain", "sp-io", "sp-runtime", "sp-storage", @@ -3537,7 +3639,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "scale-info", ] @@ -3627,7 +3729,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", ] @@ -3644,7 +3746,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "hex", "impl-serde 0.4.0", @@ -3657,38 +3759,35 @@ dependencies = [ "sp-io", "sp-runtime", "sp-runtime-interface", - "sp-std", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "ethereum", "parity-scale-codec", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "ethereum", "ethereum-types", "fp-evm", "frame-support", "parity-scale-codec", - "sp-std", ] [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "evm", "frame-support", @@ -3698,13 +3797,12 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "ethereum", "ethereum-types", @@ -3715,13 +3813,12 @@ dependencies = [ "sp-core", "sp-runtime", "sp-state-machine", - "sp-std", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "frame-support", "parity-scale-codec", @@ -3733,7 +3830,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "parity-scale-codec", "serde", @@ -3748,7 +3845,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-support-procedural", @@ -3773,7 +3870,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "32.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3793,6 +3890,7 @@ dependencies = [ "rand 0.8.5", "rand_pcg", "sc-block-builder", + "sc-chain-spec", "sc-cli", "sc-client-api", "sc-client-db", @@ -3806,6 +3904,7 @@ dependencies = [ "sp-core", "sp-database", "sp-externalities", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-keystore", @@ -3821,18 +3920,18 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3849,8 +3948,9 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ + "aquamarine 0.3.3", "frame-support", "frame-system", "frame-try-runtime", @@ -3877,33 +3977,26 @@ dependencies = [ ] [[package]] -name = "frame-remote-externalities" -version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +name = "frame-metadata-hash-extension" +version = "0.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ - "futures 0.3.30", - "indicatif", - "jsonrpsee", + "array-bytes 6.2.2", + "docify", + "frame-support", + "frame-system", "log", "parity-scale-codec", - "serde", - "sp-core", - "sp-crypto-hashing", - "sp-io", + "scale-info", "sp-runtime", - "sp-state-machine", - "spinners", - "substrate-rpc-client", - "tokio", - "tokio-retry", ] [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ - "aquamarine", + "aquamarine 0.5.0", "array-bytes 6.2.2", "bitflags 1.3.2", "docify", @@ -3942,11 +4035,11 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse 0.1.5", + "derive-syn-parse 0.2.0", "expander 2.0.0", "frame-support-procedural-tools", "itertools 0.10.5", @@ -3955,35 +4048,35 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cfg-if", "docify", @@ -4003,7 +4096,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -4018,7 +4111,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "sp-api", @@ -4027,7 +4120,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "parity-scale-codec", @@ -4128,7 +4221,7 @@ checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" dependencies = [ "futures-core", "lock_api", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] @@ -4173,7 +4266,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -4315,7 +4408,7 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -4325,6 +4418,10 @@ name = "gimli" version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] [[package]] name = "glob" @@ -4332,6 +4429,26 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +[[package]] +name = "governor" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" +dependencies = [ + "cfg-if", + "dashmap", + "futures 0.3.30", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.3", + "portable-atomic", + "quanta", + "rand 0.8.5", + "smallvec", + "spinning_top", +] + [[package]] name = "group" version = "0.13.0" @@ -4364,9 +4481,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.5.0" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa67bab9ff362228eb3d00bd024a4965d8231bbb7921167f0cfa66c6626b225" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", @@ -4465,6 +4582,12 @@ dependencies = [ "serde", ] +[[package]] +name = "hex-conservative" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" + [[package]] name = "hex-literal" version = "0.3.4" @@ -4496,16 +4619,6 @@ dependencies = [ "digest 0.9.0", ] -[[package]] -name = "hmac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac 0.11.0", - "digest 0.9.0", -] - [[package]] name = "hmac" version = "0.12.1" @@ -4627,9 +4740,9 @@ dependencies = [ "hyper", "log", "rustls 0.21.10", - "rustls-native-certs", + "rustls-native-certs 0.6.3", "tokio", - "tokio-rustls", + "tokio-rustls 0.24.1", ] [[package]] @@ -4666,6 +4779,16 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "idna" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + [[package]] name = "idna" version = "0.5.0" @@ -4798,19 +4921,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" -[[package]] -name = "indicatif" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" -dependencies = [ - "console", - "instant", - "number_prefix", - "portable-atomic", - "unicode-width", -] - [[package]] name = "inout" version = "0.1.3" @@ -4952,12 +5062,11 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.20.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "affdc52f7596ccb2d7645231fc6163bb314630c989b64998f3699a28b4d5d4dc" +checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" dependencies = [ "jsonrpsee-core", - "jsonrpsee-http-client", "jsonrpsee-proc-macros", "jsonrpsee-server", "jsonrpsee-types", @@ -4968,19 +5077,20 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.20.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b005c793122d03217da09af68ba9383363caa950b90d3436106df8cabce935" +checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" dependencies = [ "futures-util", "http", "jsonrpsee-core", "pin-project", - "rustls-native-certs", + "rustls-native-certs 0.7.0", + "rustls-pki-types", "soketto", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.25.0", "tokio-util", "tracing", "url", @@ -4988,73 +5098,54 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.20.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2327ba8df2fdbd5e897e2b5ed25ce7f299d345b9736b6828814c3dbd1fd47b" +checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" dependencies = [ "anyhow", - "async-lock 2.8.0", "async-trait", "beef", "futures-timer", "futures-util", "hyper", "jsonrpsee-types", - "parking_lot 0.12.1", + "parking_lot 0.12.3", + "pin-project", "rand 0.8.5", "rustc-hash", "serde", "serde_json", - "soketto", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-http-client" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f80c17f62c7653ce767e3d7288b793dfec920f97067ceb189ebdd3570f2bc20" -dependencies = [ - "async-trait", - "hyper", - "hyper-rustls", - "jsonrpsee-core", - "jsonrpsee-types", - "serde", - "serde_json", "thiserror", "tokio", - "tower", + "tokio-stream", "tracing", - "url", ] [[package]] name = "jsonrpsee-proc-macros" -version = "0.20.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29110019693a4fa2dbda04876499d098fa16d70eba06b1e6e2b3f1b251419515" +checksum = "7d0bb047e79a143b32ea03974a6bf59b62c2a4c5f5d42a381c907a8bbb3f75c0" dependencies = [ "heck 0.4.1", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.66", ] [[package]] name = "jsonrpsee-server" -version = "0.20.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82c39a00449c9ef3f50b84fc00fc4acba20ef8f559f07902244abf4c15c5ab9c" +checksum = "12d8b6a9674422a8572e0b0abb12feeb3f2aeda86528c80d0350c2bd0923ab41" dependencies = [ "futures-util", "http", "hyper", "jsonrpsee-core", "jsonrpsee-types", + "pin-project", "route-recognizer", "serde", "serde_json", @@ -5069,23 +5160,22 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.20.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be0be325642e850ed0bdff426674d2e66b2b7117c9be23a7caef68a2902b7d9" +checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" dependencies = [ "anyhow", "beef", "serde", "serde_json", "thiserror", - "tracing", ] [[package]] name = "jsonrpsee-ws-client" -version = "0.20.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca9cb3933ccae417eb6b08c3448eb1cb46e39834e5b503e395e5e5bd08546c0" +checksum = "58b9db2dfd5bb1194b0ce921504df9ceae210a345bc2f6c5a61432089bbab070" dependencies = [ "http", "jsonrpsee-client-transport", @@ -5104,6 +5194,7 @@ dependencies = [ "ecdsa", "elliptic-curve", "once_cell", + "serdect", "sha2 0.10.8", ] @@ -5138,7 +5229,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] @@ -5149,7 +5240,7 @@ checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "regex", "rocksdb", "smallvec", @@ -5277,7 +5368,7 @@ dependencies = [ "multihash 0.17.0", "multistream-select", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand 0.8.5", @@ -5297,9 +5388,9 @@ dependencies = [ "futures 0.3.30", "libp2p-core", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.22.0", ] [[package]] @@ -5331,7 +5422,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ "bs58 0.4.0", - "ed25519-dalek", + "ed25519-dalek 2.1.1", "log", "multiaddr", "multihash 0.17.0", @@ -5387,7 +5478,7 @@ dependencies = [ "smallvec", "socket2 0.4.10", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", "void", ] @@ -5459,7 +5550,7 @@ dependencies = [ "libp2p-identity", "libp2p-tls", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "quinn-proto", "rand 0.8.5", "rustls 0.20.9", @@ -5546,7 +5637,7 @@ dependencies = [ "rustls 0.20.9", "thiserror", "webpki", - "x509-parser", + "x509-parser 0.14.0", "yasna", ] @@ -5575,7 +5666,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "quicksink", "rw-stream-sink", "soketto", @@ -5754,6 +5845,61 @@ dependencies = [ "keystream", ] +[[package]] +name = "litep2p" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f02542ae3a94b4c4ffa37dc56388c923e286afa3bf65452e3984b50b2a2f316" +dependencies = [ + "async-trait", + "bs58 0.4.0", + "bytes", + "cid 0.10.1", + "ed25519-dalek 1.0.1", + "futures 0.3.30", + "futures-timer", + "hex-literal 0.4.1", + "indexmap 2.2.6", + "libc", + "mockall 0.12.1", + "multiaddr", + "multihash 0.17.0", + "network-interface", + "nohash-hasher", + "parking_lot 0.12.3", + "pin-project", + "prost 0.11.9", + "prost-build", + "quinn", + "rand 0.8.5", + "rcgen", + "ring 0.16.20", + "rustls 0.20.9", + "serde", + "sha2 0.10.8", + "simple-dns", + "smallvec", + "snow", + "socket2 0.5.6", + "static_assertions", + "str0m", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite", + "tokio-util", + "tracing", + "trust-dns-resolver 0.23.2", + "uint", + "unsigned-varint", + "url", + "webpki", + "x25519-dalek 2.0.1", + "x509-parser 0.15.1", + "yasna", + "zeroize", +] + [[package]] name = "lock_api" version = "0.4.11" @@ -5832,7 +5978,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -5846,7 +5992,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -5857,7 +6003,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -5868,7 +6014,7 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -5880,11 +6026,11 @@ dependencies = [ "basic-toml", "diff", "glob", - "prettyplease 0.2.17", + "prettyplease 0.2.20", "serde", "serde_derive", "serde_json", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -5916,9 +6062,9 @@ checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" [[package]] name = "matchers" -version = "0.0.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" dependencies = [ "regex-automata 0.1.10", ] @@ -6000,10 +6146,24 @@ dependencies = [ ] [[package]] -name = "merlin" -version = "3.0.0" +name = "merkleized-metadata" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +checksum = "f313fcff1d2a4bcaa2deeaa00bf7530d77d5f7bd0467a117dde2e29a75a7a17a" +dependencies = [ + "array-bytes 6.2.2", + "blake3", + "frame-metadata", + "parity-scale-codec", + "scale-decode", + "scale-info", +] + +[[package]] +name = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", @@ -6064,7 +6224,7 @@ dependencies = [ "hashlink", "lioness", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand 0.8.5", "rand_chacha 0.3.1", "rand_distr", @@ -6076,7 +6236,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "log", @@ -6095,7 +6255,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -6117,11 +6277,26 @@ dependencies = [ "downcast", "fragile", "lazy_static", - "mockall_derive", + "mockall_derive 0.11.4", "predicates 2.1.5", "predicates-tree", ] +[[package]] +name = "mockall" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive 0.12.1", + "predicates 3.1.0", + "predicates-tree", +] + [[package]] name = "mockall_derive" version = "0.11.4" @@ -6134,6 +6309,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "mockall_derive" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "moonbase-runtime" version = "0.8.4" @@ -6332,6 +6519,7 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-consensus-grandpa", + "sc-network", "sc-service", "sc-sysinfo", "sc-telemetry", @@ -6342,7 +6530,6 @@ dependencies = [ "sp-wasm-interface", "substrate-build-script-utils", "substrate-prometheus-endpoint", - "try-runtime-cli", ] [[package]] @@ -6918,7 +7105,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "pallet-xcm-transactor", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-cli", "polkadot-parachain-primitives", "polkadot-primitives", @@ -7235,10 +7422,14 @@ version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", "core2", "digest 0.10.7", "multihash-derive 0.8.0", "sha2 0.10.8", + "sha3", "unsigned-varint", ] @@ -7460,10 +7651,22 @@ dependencies = [ "tokio", ] +[[package]] +name = "network-interface" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" +dependencies = [ + "cc", + "libc", + "thiserror", + "winapi", +] + [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "async-backing-primitives", "async-trait", @@ -7478,7 +7681,7 @@ dependencies = [ "log", "nimbus-primitives", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-primitives", @@ -7503,7 +7706,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "async-trait", "frame-benchmarking", @@ -7553,6 +7756,12 @@ dependencies = [ "libc", ] +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" + [[package]] name = "no-std-net" version = "0.6.0" @@ -7581,17 +7790,33 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonzero_ext" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" + [[package]] name = "normalize-line-endings" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" 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]] name = "num" -version = "0.4.1" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" dependencies = [ "num-bigint", "num-complex", @@ -7603,20 +7828,19 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" dependencies = [ - "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-complex" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ "num-traits", ] @@ -7648,9 +7872,9 @@ dependencies = [ [[package]] name = "num-iter" -version = "0.1.44" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" dependencies = [ "autocfg", "num-integer", @@ -7659,11 +7883,10 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ - "autocfg", "num-bigint", "num-integer", "num-traits", @@ -7671,9 +7894,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", "libm", @@ -7727,15 +7950,9 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] -[[package]] -name = "number_prefix" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" - [[package]] name = "object" version = "0.30.4" @@ -7807,7 +8024,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -7816,6 +8033,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.0+3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eba8804a1c5765b18c4b3f907e6897ebabeedebc9830e1a0046c4a4cf44663e1" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.102" @@ -7824,6 +8050,7 @@ checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -7878,8 +8105,8 @@ dependencies = [ [[package]] name = "orml-traits" -version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.7.2#f90f4de88986571e24ea3c027b9c09a4b732ee1f" +version = "0.10.0" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.11.0#b86bc7dda8cc59e57c8b5dcfa813ebdbf76bee0e" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -7898,8 +8125,8 @@ dependencies = [ [[package]] name = "orml-utilities" -version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.7.2#f90f4de88986571e24ea3c027b9c09a4b732ee1f" +version = "0.10.0" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.11.0#b86bc7dda8cc59e57c8b5dcfa813ebdbf76bee0e" dependencies = [ "frame-support", "parity-scale-codec", @@ -7913,8 +8140,8 @@ dependencies = [ [[package]] name = "orml-xcm-support" -version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.7.2#f90f4de88986571e24ea3c027b9c09a4b732ee1f" +version = "0.10.0" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.11.0#b86bc7dda8cc59e57c8b5dcfa813ebdbf76bee0e" dependencies = [ "frame-support", "orml-traits", @@ -7927,8 +8154,8 @@ dependencies = [ [[package]] name = "orml-xtokens" -version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.7.2#f90f4de88986571e24ea3c027b9c09a4b732ee1f" +version = "0.10.0" +source = "git+https://github.com/moonbeam-foundation/open-runtime-module-library?branch=moonbeam-polkadot-v1.11.0#b86bc7dda8cc59e57c8b5dcfa813ebdbf76bee0e" dependencies = [ "frame-support", "frame-system", @@ -7946,14 +8173,21 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-api", @@ -7987,7 +8221,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8002,7 +8236,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8019,8 +8253,8 @@ dependencies = [ [[package]] name = "pallet-assets" -version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +version = "29.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8036,7 +8270,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8056,7 +8290,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "frame-benchmarking", "frame-support", @@ -8075,7 +8309,7 @@ dependencies = [ [[package]] name = "pallet-author-mapping" version = "2.0.5" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "frame-benchmarking", "frame-support", @@ -8094,7 +8328,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "frame-benchmarking", "frame-support", @@ -8112,7 +8346,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -8128,7 +8362,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -8142,7 +8376,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8166,9 +8400,9 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ - "aquamarine", + "aquamarine 0.5.0", "docify", "frame-benchmarking", "frame-election-provider-support", @@ -8188,7 +8422,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "docify", "frame-benchmarking", @@ -8204,7 +8438,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -8224,7 +8458,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "binary-merkle-tree", @@ -8249,7 +8483,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8267,14 +8501,16 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", + "sp-api", "sp-arithmetic", "sp-core", "sp-runtime", @@ -8284,7 +8520,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8303,13 +8539,14 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "pallet-authorship", + "pallet-balances", "pallet-session", "parity-scale-codec", "rand 0.8.5", @@ -8322,7 +8559,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8339,7 +8576,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8356,9 +8593,9 @@ dependencies = [ [[package]] name = "pallet-crowdloan-rewards" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/crowdloan-rewards?branch=moonbeam-polkadot-v1.7.2#acbc3b916eed890574158780f3127f826b534c0a" +source = "git+https://github.com/moonbeam-foundation/crowdloan-rewards?branch=moonbeam-polkadot-v1.11.0#35d34816f5b4655d2192633d0d69531e4ed35f66" dependencies = [ - "ed25519-dalek", + "ed25519-dalek 2.1.1", "frame-benchmarking", "frame-support", "frame-system", @@ -8378,7 +8615,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8396,7 +8633,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8413,13 +8650,13 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-std", - "strum 0.24.1", + "strum 0.26.2", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8433,7 +8670,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -8452,7 +8689,7 @@ dependencies = [ [[package]] name = "pallet-emergency-para-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8495,7 +8732,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "environmental", "ethereum", @@ -8513,7 +8750,6 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", ] [[package]] @@ -8551,7 +8787,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "environmental", "evm", @@ -8571,13 +8807,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "frame-support", "frame-system", @@ -8671,7 +8906,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fp-evm", ] @@ -8679,7 +8914,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fp-evm", "sp-core", @@ -8809,7 +9044,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fp-evm", "frame-support", @@ -8885,7 +9120,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fp-evm", "num", @@ -9119,7 +9354,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fp-evm", "tiny-keccak", @@ -9128,7 +9363,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fp-evm", "ripemd", @@ -9138,7 +9373,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-storage-cleaner" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "fp-evm", "frame-support", @@ -9148,13 +9383,12 @@ dependencies = [ "precompile-utils 0.1.0", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "cumulus-primitives-core", "evm", @@ -9307,7 +9541,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "docify", "frame-benchmarking", @@ -9326,7 +9560,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9349,7 +9583,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "enumflags2", "frame-benchmarking", @@ -9367,7 +9601,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9387,7 +9621,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9404,7 +9638,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -9420,7 +9654,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9437,7 +9671,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "environmental", "frame-benchmarking", @@ -9457,7 +9691,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "frame-benchmarking", "frame-support", @@ -9476,7 +9710,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9534,7 +9768,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9550,7 +9784,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9566,7 +9800,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -9585,7 +9819,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9605,7 +9839,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -9616,7 +9850,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -9633,7 +9867,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9676,6 +9910,24 @@ dependencies = [ "substrate-fixed", ] +[[package]] +name = "pallet-parameters" +version = "0.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-precompile-benchmarks" version = "0.1.0" @@ -9695,7 +9947,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9712,7 +9964,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9745,7 +9997,7 @@ dependencies = [ [[package]] name = "pallet-randomness" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "environmental", "frame-benchmarking", @@ -9770,7 +10022,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9789,7 +10041,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9804,7 +10056,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9823,7 +10075,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9846,7 +10098,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -9861,7 +10113,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "docify", "frame-benchmarking", @@ -9879,7 +10131,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -9901,7 +10153,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9918,7 +10170,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -9936,7 +10188,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9959,18 +10211,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "log", "sp-arithmetic", @@ -9979,7 +10231,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "sp-api", @@ -9989,7 +10241,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -10006,7 +10258,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "docify", "frame-benchmarking", @@ -10022,7 +10274,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "docify", "frame-benchmarking", @@ -10042,7 +10294,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -10061,7 +10313,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -10077,7 +10329,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -10093,7 +10345,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -10105,7 +10357,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "docify", "frame-benchmarking", @@ -10124,7 +10376,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -10140,7 +10392,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -10155,7 +10407,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -10170,7 +10422,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -10188,12 +10440,13 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "xcm-fee-payment-runtime-api", ] [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-benchmarking", "frame-support", @@ -10238,7 +10491,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -10266,6 +10519,19 @@ dependencies = [ "substrate-wasm-builder", ] +[[package]] +name = "parity-bip39" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" +dependencies = [ + "bitcoin_hashes 0.13.0", + "rand 0.8.5", + "rand_core 0.6.4", + "serde", + "unicode-normalization", +] + [[package]] name = "parity-db" version = "0.4.13" @@ -10280,7 +10546,7 @@ dependencies = [ "log", "lz4", "memmap2 0.5.10", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand 0.8.5", "siphasher", "snap", @@ -10345,9 +10611,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core 0.9.9", @@ -10386,6 +10652,17 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" +[[package]] +name = "password-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle 2.5.0", +] + [[package]] name = "paste" version = "1.0.14" @@ -10401,15 +10678,6 @@ dependencies = [ "crypto-mac 0.8.0", ] -[[package]] -name = "pbkdf2" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -dependencies = [ - "crypto-mac 0.11.0", -] - [[package]] name = "pbkdf2" version = "0.12.2" @@ -10418,6 +10686,7 @@ checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", "hmac 0.12.1", + "password-hash", ] [[package]] @@ -10472,7 +10741,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -10513,7 +10782,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -10570,7 +10839,7 @@ checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "polkadot-approval-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "futures 0.3.30", @@ -10590,7 +10859,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "always-assert", "futures 0.3.30", @@ -10606,7 +10875,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "derive_more", "fatality", @@ -10629,7 +10898,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "fatality", @@ -10652,7 +10921,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cfg-if", "clap", @@ -10672,15 +10941,15 @@ dependencies = [ "sp-io", "sp-keyring", "sp-maybe-compressed-blob", + "sp-runtime", "substrate-build-script-utils", "thiserror", - "try-runtime-cli", ] [[package]] name = "polkadot-collator-protocol" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "fatality", @@ -10702,7 +10971,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", @@ -10714,7 +10983,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "derive_more", "fatality", @@ -10739,7 +11008,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -10753,7 +11022,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "futures-timer", @@ -10775,7 +11044,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "always-assert", "async-trait", @@ -10783,7 +11052,7 @@ dependencies = [ "fatality", "futures 0.3.30", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-subsystem", @@ -10798,7 +11067,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "parity-scale-codec", @@ -10816,7 +11085,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "derive_more", @@ -10849,7 +11118,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "futures 0.3.30", @@ -10871,7 +11140,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "fatality", @@ -10891,7 +11160,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "polkadot-node-subsystem", @@ -10906,7 +11175,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", @@ -10927,7 +11196,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", @@ -10941,7 +11210,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "futures-timer", @@ -10958,7 +11227,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "fatality", "futures 0.3.30", @@ -10977,7 +11246,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", @@ -10994,7 +11263,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "6.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "fatality", @@ -11011,7 +11280,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "fatality", @@ -11021,6 +11290,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "schnellru", "thiserror", "tracing-gum", ] @@ -11028,7 +11298,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "always-assert", "array-bytes 6.2.2", @@ -11036,8 +11306,6 @@ dependencies = [ "cfg-if", "futures 0.3.30", "futures-timer", - "is_executable", - "libc", "parity-scale-codec", "pin-project", "polkadot-core-primitives", @@ -11050,8 +11318,6 @@ dependencies = [ "rand 0.8.5", "slotmap", "sp-core", - "sp-maybe-compressed-blob", - "sp-wasm-interface", "tempfile", "thiserror", "tokio", @@ -11061,7 +11327,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "polkadot-node-primitives", @@ -11077,9 +11343,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ - "cfg-if", "cpu-time", "futures 0.3.30", "landlock", @@ -11104,7 +11369,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", @@ -11119,16 +11384,17 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "lazy_static", "log", "mick-jaeger", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-primitives", "sc-network", + "sc-network-types", "sp-core", "thiserror", "tokio", @@ -11137,7 +11403,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bs58 0.5.1", "futures 0.3.30", @@ -11156,7 +11422,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -11172,7 +11438,9 @@ dependencies = [ "rand 0.8.5", "sc-authority-discovery", "sc-network", - "strum 0.24.1", + "sc-network-types", + "sp-runtime", + "strum 0.26.2", "thiserror", "tracing-gum", ] @@ -11180,7 +11448,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "bounded-vec", @@ -11203,7 +11471,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -11213,7 +11481,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "bitvec", @@ -11227,6 +11495,7 @@ dependencies = [ "polkadot-statement-table", "sc-client-api", "sc-network", + "sc-network-types", "sc-transaction-pool-api", "smallvec", "sp-api", @@ -11241,7 +11510,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "derive_more", @@ -11252,7 +11521,7 @@ dependencies = [ "kvdb", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "polkadot-node-jaeger", "polkadot-node-metrics", @@ -11276,13 +11545,13 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", "futures-timer", "orchestra", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -11298,7 +11567,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bounded-collections", "derive_more", @@ -11315,7 +11584,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -11342,7 +11611,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -11375,7 +11644,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitvec", "frame-benchmarking", @@ -11400,7 +11669,6 @@ dependencies = [ "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", - "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-parachains", @@ -11427,7 +11695,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bs58 0.5.1", "frame-benchmarking", @@ -11440,7 +11708,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -11489,11 +11757,13 @@ dependencies = [ [[package]] name = "polkadot-service" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", + "bitvec", "frame-benchmarking", "frame-benchmarking-cli", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-rpc-runtime-api", @@ -11505,13 +11775,12 @@ dependencies = [ "log", "mmr-gadget", "pallet-babe", - "pallet-im-online", "pallet-staking", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -11598,17 +11867,19 @@ dependencies = [ "sp-transaction-pool", "sp-version", "sp-weights", + "staging-xcm", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", "westend-runtime", "westend-runtime-constants", + "xcm-fee-payment-runtime-api", ] [[package]] name = "polkadot-statement-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -11631,7 +11902,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -11639,6 +11910,89 @@ dependencies = [ "tracing-gum", ] +[[package]] +name = "polkavm" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +dependencies = [ + "libc", + "log", + "polkavm-assembler", + "polkavm-common", + "polkavm-linux-raw", +] + +[[package]] +name = "polkavm-assembler" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +dependencies = [ + "polkavm-derive-impl-macro", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +dependencies = [ + "polkavm-common", + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +dependencies = [ + "polkavm-derive-impl", + "syn 2.0.66", +] + +[[package]] +name = "polkavm-linker" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.3", + "log", + "object 0.32.2", + "polkavm-common", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linux-raw" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" + [[package]] name = "polling" version = "2.8.0" @@ -11714,7 +12068,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "environmental", "evm", @@ -11731,7 +12085,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-weights", "staging-xcm", ] @@ -11771,14 +12124,14 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#cf990e246d99a7e63b39aef3eaadd426b8d34127" dependencies = [ "case", "num_enum 0.7.2", - "prettyplease 0.2.17", + "prettyplease 0.2.20", "proc-macro2", "quote", - "sp-core-hashing", + "sp-crypto-hashing", "syn 1.0.109", ] @@ -11879,12 +12232,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -11977,29 +12330,29 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "proc-macro2" -version = "1.0.79" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" +checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" dependencies = [ "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "thiserror", ] @@ -12011,7 +12364,7 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "prometheus-client-derive-encode", ] @@ -12023,7 +12376,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -12091,7 +12444,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -12112,6 +12465,21 @@ dependencies = [ "cc", ] +[[package]] +name = "quanta" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + [[package]] name = "quick-error" version = "1.2.3" @@ -12151,6 +12519,24 @@ dependencies = [ "pin-project-lite 0.1.12", ] +[[package]] +name = "quinn" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" +dependencies = [ + "bytes", + "pin-project-lite 0.2.14", + "quinn-proto", + "quinn-udp", + "rustc-hash", + "rustls 0.20.9", + "thiserror", + "tokio", + "tracing", + "webpki", +] + [[package]] name = "quinn-proto" version = "0.9.6" @@ -12170,8 +12556,21 @@ dependencies = [ ] [[package]] -name = "quote" -version = "1.0.35" +name = "quinn-udp" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +dependencies = [ + "libc", + "quinn-proto", + "socket2 0.4.10", + "tracing", + "windows-sys 0.42.0", +] + +[[package]] +name = "quote" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ @@ -12274,6 +12673,15 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "raw-cpuid" +version = "11.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e29830cbb1290e404f24c73af91c5d8d631ce7e128691e9477556b540cd01ecd" +dependencies = [ + "bitflags 2.5.0", +] + [[package]] name = "rawpointer" version = "0.2.1" @@ -12370,7 +12778,7 @@ checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -12385,6 +12793,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.10.4" @@ -12539,11 +12960,13 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "binary-merkle-tree", + "bitvec", "frame-benchmarking", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -12566,7 +12989,6 @@ dependencies = [ "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", - "pallet-im-online", "pallet-indices", "pallet-membership", "pallet-message-queue", @@ -12574,6 +12996,7 @@ dependencies = [ "pallet-multisig", "pallet-nis", "pallet-offences", + "pallet-parameters", "pallet-preimage", "pallet-proxy", "pallet-ranked-collective", @@ -12605,6 +13028,7 @@ dependencies = [ "scale-info", "serde", "serde_derive", + "serde_json", "smallvec", "sp-api", "sp-arithmetic", @@ -12612,6 +13036,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", + "sp-consensus-grandpa", "sp-core", "sp-genesis-builder", "sp-inherents", @@ -12630,12 +13055,13 @@ dependencies = [ "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", + "xcm-fee-payment-runtime-api", ] [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "polkadot-primitives", @@ -12787,10 +13213,24 @@ checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", "ring 0.17.8", - "rustls-webpki", + "rustls-webpki 0.101.7", "sct", ] +[[package]] +name = "rustls" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +dependencies = [ + "log", + "ring 0.17.8", + "rustls-pki-types", + "rustls-webpki 0.102.4", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -12798,7 +13238,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.4", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.1.2", + "rustls-pki-types", "schannel", "security-framework", ] @@ -12812,6 +13265,22 @@ dependencies = [ "base64 0.21.7", ] +[[package]] +name = "rustls-pemfile" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +dependencies = [ + "base64 0.22.1", + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" + [[package]] name = "rustls-webpki" version = "0.101.7" @@ -12822,6 +13291,17 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "rustls-webpki" +version = "0.102.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" +dependencies = [ + "ring 0.17.8", + "rustls-pki-types", + "untrusted 0.9.0", +] + [[package]] name = "rustversion" version = "1.0.15" @@ -12877,7 +13357,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "log", "sp-core", @@ -12888,15 +13368,16 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", "futures-timer", "ip_network", "libp2p", + "linked_hash_set", "log", - "multihash 0.18.1", + "multihash 0.17.0", "multihash-codetable", "parity-scale-codec", "prost 0.12.4", @@ -12904,6 +13385,7 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-network", + "sc-network-types", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -12917,7 +13399,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "futures-timer", @@ -12939,7 +13421,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "sp-api", @@ -12953,8 +13435,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "docify", @@ -12975,26 +13457,26 @@ dependencies = [ "sp-io", "sp-runtime", "sp-state-machine", + "sp-tracing", ] [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", - "bip39", "chrono", "clap", "fdlimit", @@ -13003,6 +13485,7 @@ dependencies = [ "libp2p-identity", "log", "names", + "parity-bip39", "parity-scale-codec", "rand 0.8.5", "regex", @@ -13035,13 +13518,13 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "fnv", "futures 0.3.30", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -13062,7 +13545,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -13072,7 +13555,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-state-db", "schnellru", @@ -13088,16 +13571,16 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", "futures-timer", - "libp2p-identity", "log", - "mockall", - "parking_lot 0.12.1", + "mockall 0.11.4", + "parking_lot 0.12.3", "sc-client-api", + "sc-network-types", "sc-utils", "serde", "sp-api", @@ -13113,7 +13596,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", @@ -13142,7 +13625,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "fork-tree", @@ -13152,7 +13635,7 @@ dependencies = [ "num-rational", "num-traits", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-consensus", "sc-consensus-epochs", @@ -13178,7 +13661,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -13200,7 +13683,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -13209,12 +13692,13 @@ dependencies = [ "futures 0.3.30", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-consensus", "sc-network", "sc-network-gossip", "sc-network-sync", + "sc-network-types", "sc-utils", "sp-api", "sp-application-crypto", @@ -13236,13 +13720,13 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-consensus-beefy", "sc-rpc", "serde", @@ -13255,7 +13739,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "fork-tree", "parity-scale-codec", @@ -13268,7 +13752,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.19.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -13280,7 +13764,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand 0.8.5", "sc-block-builder", "sc-chain-spec", @@ -13290,6 +13774,7 @@ dependencies = [ "sc-network-common", "sc-network-gossip", "sc-network-sync", + "sc-network-types", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", @@ -13311,7 +13796,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.19.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "finality-grandpa", "futures 0.3.30", @@ -13331,7 +13816,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "assert_matches", "async-trait", @@ -13366,7 +13851,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", @@ -13389,12 +13874,13 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-executor-common", + "sc-executor-polkavm", "sc-executor-wasmtime", "schnellru", "sp-api", @@ -13412,9 +13898,10 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", + "polkavm", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -13422,17 +13909,28 @@ dependencies = [ "wasm-instrument", ] +[[package]] +name = "sc-executor-polkavm" +version = "0.29.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" +dependencies = [ + "log", + "polkavm", + "sc-executor-common", + "sp-wasm-interface", +] + [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "anyhow", "cfg-if", "libc", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rustix 0.36.17", "sc-allocator", "sc-executor-common", @@ -13445,7 +13943,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "ansi_term", "futures 0.3.30", @@ -13462,10 +13960,10 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "serde_json", "sp-application-crypto", "sp-core", @@ -13476,7 +13974,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -13484,14 +13982,14 @@ dependencies = [ "bytes", "futures 0.3.30", "futures-timer", - "libp2p-identity", "log", "mixnet", "multiaddr", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-network", + "sc-network-types", "sc-transaction-pool-api", "sp-api", "sp-consensus", @@ -13505,13 +14003,14 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "asynchronous-codec", "bytes", + "cid 0.9.0", "either", "fnv", "futures 0.3.30", @@ -13519,16 +14018,22 @@ dependencies = [ "ip_network", "libp2p", "linked_hash_set", + "litep2p", "log", - "mockall", + "mockall 0.11.4", + "once_cell", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "partial_sort", "pin-project", + "prost 0.11.9", + "prost-build", "rand 0.8.5", "sc-client-api", "sc-network-common", + "sc-network-types", "sc-utils", + "schnellru", "serde", "serde_json", "smallvec", @@ -13541,34 +14046,15 @@ dependencies = [ "tokio", "tokio-stream", "unsigned-varint", + "void", "wasm-timer", "zeroize", ] -[[package]] -name = "sc-network-bitswap" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" -dependencies = [ - "async-channel 1.9.0", - "cid", - "futures 0.3.30", - "libp2p-identity", - "log", - "prost 0.12.4", - "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", - "thiserror", - "unsigned-varint", -] - [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -13577,6 +14063,7 @@ dependencies = [ "parity-scale-codec", "prost-build", "sc-consensus", + "sc-network-types", "sp-consensus", "sp-consensus-grandpa", "sp-runtime", @@ -13585,7 +14072,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "ahash 0.8.11", "futures 0.3.30", @@ -13595,6 +14082,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "schnellru", "sp-runtime", "substrate-prometheus-endpoint", @@ -13604,18 +14092,18 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", "futures 0.3.30", - "libp2p-identity", "log", "parity-scale-codec", "prost 0.12.4", "prost-build", "sc-client-api", "sc-network", + "sc-network-types", "sp-blockchain", "sp-core", "sp-runtime", @@ -13625,7 +14113,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -13635,7 +14123,7 @@ dependencies = [ "futures-timer", "libp2p", "log", - "mockall", + "mockall 0.11.4", "parity-scale-codec", "prost 0.12.4", "prost-build", @@ -13643,6 +14131,7 @@ dependencies = [ "sc-consensus", "sc-network", "sc-network-common", + "sc-network-types", "sc-utils", "schnellru", "smallvec", @@ -13661,7 +14150,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "futures 0.3.30", @@ -13671,16 +14160,31 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sc-utils", "sp-consensus", "sp-runtime", "substrate-prometheus-endpoint", ] +[[package]] +name = "sc-network-types" +version = "0.10.0-dev" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" +dependencies = [ + "bs58 0.4.0", + "libp2p-identity", + "litep2p", + "multiaddr", + "multihash 0.17.0", + "rand 0.8.5", + "thiserror", +] + [[package]] name = "sc-offchain" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -13694,11 +14198,12 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand 0.8.5", "sc-client-api", "sc-network", "sc-network-common", + "sc-network-types", "sc-transaction-pool-api", "sc-utils", "sp-api", @@ -13714,7 +14219,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -13723,13 +14228,13 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -13755,7 +14260,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13775,9 +14280,12 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ + "futures 0.3.30", + "governor", "http", + "hyper", "jsonrpsee", "log", "serde_json", @@ -13790,7 +14298,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "futures 0.3.30", @@ -13799,12 +14307,14 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", + "rand 0.8.5", "sc-chain-spec", "sc-client-api", "sc-rpc", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "sp-api", "sp-blockchain", @@ -13820,7 +14330,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "directories", @@ -13830,7 +14340,7 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand 0.8.5", "sc-chain-spec", @@ -13841,11 +14351,11 @@ dependencies = [ "sc-informant", "sc-keystore", "sc-network", - "sc-network-bitswap", "sc-network-common", "sc-network-light", "sc-network-sync", "sc-network-transactions", + "sc-network-types", "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", @@ -13855,6 +14365,7 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "serde_json", "sp-api", @@ -13883,18 +14394,18 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sp-core", ] [[package]] name = "sc-storage-monitor" version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "clap", "fs4", @@ -13907,7 +14418,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13926,7 +14437,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "derive_more", "futures 0.3.30", @@ -13947,15 +14458,16 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "chrono", "futures 0.3.30", "libp2p", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand 0.8.5", + "sc-network", "sc-utils", "serde", "serde_json", @@ -13966,7 +14478,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "ansi_term", "chrono", @@ -13975,7 +14487,7 @@ dependencies = [ "libc", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "regex", "rustc-hash", "sc-client-api", @@ -13989,25 +14501,25 @@ dependencies = [ "sp-tracing", "thiserror", "tracing", - "tracing-log", + "tracing-log 0.1.4", "tracing-subscriber", ] [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", @@ -14015,7 +14527,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-transaction-pool-api", "sc-utils", @@ -14034,7 +14546,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", @@ -14050,18 +14562,41 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-channel 1.9.0", "futures 0.3.30", "futures-timer", "lazy_static", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "prometheus", "sp-arithmetic", ] +[[package]] +name = "scale-bits" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" +dependencies = [ + "parity-scale-codec", + "scale-type-resolver", +] + +[[package]] +name = "scale-decode" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b12ebca36cec2a3f983c46295b282b35e5f8496346fb859a8776dad5389e5389" +dependencies = [ + "derive_more", + "parity-scale-codec", + "scale-bits", + "scale-type-resolver", + "smallvec", +] + [[package]] name = "scale-info" version = "2.11.2" @@ -14088,6 +14623,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "scale-type-resolver" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0cded6518aa0bd6c1be2b88ac81bf7044992f0f154bfbabd5ad34f43512abcb" + [[package]] name = "schannel" version = "0.1.23" @@ -14165,6 +14706,21 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "sctp-proto" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6220f78bb44c15f326b0596113305f6101097a18755d53727a575c97e09fb24" +dependencies = [ + "bytes", + "crc", + "fxhash", + "log", + "rand 0.8.5", + "slab", + "thiserror", +] + [[package]] name = "sec1" version = "0.7.3" @@ -14175,6 +14731,7 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", + "serdect", "subtle 2.5.0", "zeroize", ] @@ -14288,7 +14845,7 @@ checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -14311,10 +14868,20 @@ dependencies = [ "serde", ] +[[package]] +name = "serdect" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" +dependencies = [ + "base16ct", + "serde", +] + [[package]] name = "session-keys-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "async-trait", "frame-support", @@ -14344,6 +14911,18 @@ dependencies = [ "opaque-debug 0.3.1", ] +[[package]] +name = "sha-1" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", + "sha1-asm", +] + [[package]] name = "sha1" version = "0.10.6" @@ -14355,6 +14934,15 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha1-asm" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "286acebaf8b67c1130aedffad26f594eff0c1292389158135327d2e23aed582b" +dependencies = [ + "cc", +] + [[package]] name = "sha2" version = "0.9.9" @@ -14413,6 +15001,12 @@ dependencies = [ "libc", ] +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" + [[package]] name = "signature" version = "2.2.0" @@ -14456,10 +15050,20 @@ dependencies = [ "similar", ] +[[package]] +name = "simple-dns" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" +dependencies = [ + "bitflags 2.5.0", +] + [[package]] name = "simple-mermaid" -version = "0.1.0" -source = "git+https://github.com/kianenigma/simple-mermaid.git?rev=e48b187bcfd5cc75111acd9d241f1bd36604344b#e48b187bcfd5cc75111acd9d241f1bd36604344b" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" [[package]] name = "siphasher" @@ -14497,7 +15101,7 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "enumn", "parity-scale-codec", @@ -14615,7 +15219,7 @@ dependencies = [ "log", "lru 0.11.1", "no-std-net", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand 0.8.5", "rand_chacha 0.3.1", @@ -14685,13 +15289,13 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "sha-1", + "sha-1 0.9.8", ] [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "hash-db 0.16.0", "log", @@ -14702,6 +15306,7 @@ dependencies = [ "sp-externalities", "sp-metadata-ir", "sp-runtime", + "sp-runtime-interface", "sp-state-machine", "sp-std", "sp-trie", @@ -14712,7 +15317,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "Inflector", "blake2 0.10.6", @@ -14720,13 +15325,13 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", @@ -14739,8 +15344,9 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ + "docify", "integer-sqrt", "num-traits", "parity-scale-codec", @@ -14771,36 +15377,34 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-runtime", - "sp-std", ] [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "sp-std", ] [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "schnellru", "sp-api", "sp-consensus", @@ -14813,7 +15417,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "futures 0.3.30", @@ -14828,7 +15432,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "parity-scale-codec", @@ -14838,14 +15442,13 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "parity-scale-codec", @@ -14857,14 +15460,13 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std", "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "lazy_static", "parity-scale-codec", @@ -14875,16 +15477,16 @@ dependencies = [ "sp-core", "sp-crypto-hashing", "sp-io", + "sp-keystore", "sp-mmr-primitives", "sp-runtime", - "sp-std", - "strum 0.24.1", + "strum 0.26.2", ] [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "finality-grandpa", "log", @@ -14896,29 +15498,26 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "sp-std", ] [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", "sp-timestamp", ] [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", - "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", @@ -14930,11 +15529,13 @@ dependencies = [ "hash256-std-hasher", "impl-serde 0.4.0", "itertools 0.10.5", + "k256", "libsecp256k1", "log", "merlin", + "parity-bip39", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "paste", "primitive-types", "rand 0.8.5", @@ -14957,18 +15558,10 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" -dependencies = [ - "sp-crypto-hashing", -] - [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -14983,13 +15576,12 @@ dependencies = [ "ark-ed-on-bls12-381-bandersnatch-ext", "ark-scale", "sp-runtime-interface", - "sp-std", ] [[package]] name = "sp-crypto-hashing" -version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +version = "0.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "blake2b_simd", "byteorder", @@ -15001,79 +15593,79 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" -version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +version = "0.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "kvdb", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", "sp-storage", ] [[package]] name = "sp-genesis-builder" -version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +version = "0.8.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ + "parity-scale-codec", + "scale-info", "serde_json", "sp-api", "sp-runtime", - "sp-std", ] [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", "thiserror", ] [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bytes", - "ed25519-dalek", + "ed25519-dalek 2.1.1", "libsecp256k1", "log", "parity-scale-codec", + "polkavm-derive", "rustversion", "secp256k1", "sp-core", @@ -15092,29 +15684,28 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "sp-core", "sp-runtime", - "strum 0.24.1", + "strum 0.26.2", ] [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sp-core", "sp-externalities", - "thiserror", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "thiserror", "zstd 0.12.4", @@ -15123,30 +15714,28 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", ] [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", - "sp-std", ] [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -15157,14 +15746,13 @@ dependencies = [ "sp-core", "sp-debug-derive", "sp-runtime", - "sp-std", "thiserror", ] [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", @@ -15172,13 +15760,12 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "sp-api", "sp-core", @@ -15188,7 +15775,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "backtrace", "lazy_static", @@ -15198,7 +15785,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "rustc-hash", "serde", @@ -15208,7 +15795,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "docify", "either", @@ -15232,11 +15819,12 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive", "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -15250,20 +15838,20 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "Inflector", "expander 2.0.0", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "scale-info", @@ -15272,13 +15860,12 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -15286,24 +15873,22 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand 0.8.5", "smallvec", "sp-core", "sp-externalities", "sp-panic-handler", - "sp-std", "sp-trie", "thiserror", "tracing", @@ -15313,11 +15898,11 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.2", - "ed25519-dalek", + "ed25519-dalek 2.1.1", "hkdf", "parity-scale-codec", "rand 0.8.5", @@ -15330,7 +15915,6 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-runtime-interface", - "sp-std", "thiserror", "x25519-dalek 2.0.1", ] @@ -15338,41 +15922,38 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", "ref-cast", "serde", "sp-debug-derive", - "sp-std", ] [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std", "thiserror", ] [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", - "sp-std", "tracing", "tracing-core", "tracing-subscriber", @@ -15381,7 +15962,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "sp-api", "sp-runtime", @@ -15390,7 +15971,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "async-trait", "parity-scale-codec", @@ -15398,14 +15979,13 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std", "sp-trie", ] [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "ahash 0.8.11", "hash-db 0.16.0", @@ -15413,13 +15993,12 @@ dependencies = [ "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand 0.8.5", "scale-info", "schnellru", "sp-core", "sp-externalities", - "sp-std", "thiserror", "tracing", "trie-db", @@ -15429,7 +16008,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -15446,31 +16025,30 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", "wasmtime", ] [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -15479,7 +16057,6 @@ dependencies = [ "smallvec", "sp-arithmetic", "sp-debug-derive", - "sp-std", ] [[package]] @@ -15498,14 +16075,12 @@ dependencies = [ ] [[package]] -name = "spinners" -version = "4.1.1" +name = "spinning_top" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0ef947f358b9c238923f764c72a4a9d42f2d637c46e059dbd319d6e7cfb4f82" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" dependencies = [ - "lazy_static", - "maplit", - "strum 0.24.1", + "lock_api", ] [[package]] @@ -15663,7 +16238,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -15677,7 +16252,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "bounded-collections", @@ -15695,7 +16270,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "frame-system", @@ -15717,7 +16292,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "environmental", "frame-benchmarking", @@ -15784,6 +16359,26 @@ dependencies = [ "sp-trie", ] +[[package]] +name = "str0m" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" +dependencies = [ + "combine", + "crc", + "fastrand 2.0.2", + "hmac 0.12.1", + "once_cell", + "openssl", + "openssl-sys", + "sctp-proto", + "serde", + "sha-1 0.10.1", + "thiserror", + "tracing", +] + [[package]] name = "strobe-rs" version = "0.8.1" @@ -15817,6 +16412,9 @@ name = "strum" version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +dependencies = [ + "strum_macros 0.26.2", +] [[package]] name = "strum_macros" @@ -15841,19 +16439,18 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "substrate-bip39" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" +version = "0.4.7" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", + "hmac 0.12.1", + "pbkdf2 0.12.2", "schnorrkel 0.11.4", - "sha2 0.9.9", + "sha2 0.10.8", "zeroize", ] @@ -15873,7 +16470,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" [[package]] name = "substrate-fixed" @@ -15888,7 +16485,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.30", @@ -15907,7 +16504,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "hyper", "log", @@ -15916,23 +16513,10 @@ dependencies = [ "tokio", ] -[[package]] -name = "substrate-rpc-client" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" -dependencies = [ - "async-trait", - "jsonrpsee", - "log", - "sc-rpc-api", - "serde", - "sp-runtime", -] - [[package]] name = "substrate-state-trie-migration-rpc" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15949,7 +16533,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -15976,13 +16560,15 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "array-bytes 6.2.2", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-rpc-runtime-api", + "hex-literal 0.4.1", "log", "pallet-babe", "pallet-balances", @@ -15990,6 +16576,7 @@ dependencies = [ "parity-scale-codec", "sc-service", "scale-info", + "serde_json", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -16007,7 +16594,6 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", - "sp-std", "sp-transaction-pool", "sp-trie", "sp-version", @@ -16018,7 +16604,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "futures 0.3.30", "sc-block-builder", @@ -16046,15 +16632,25 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ + "array-bytes 6.2.2", "build-helper", "cargo_metadata", "console", "filetime", + "frame-metadata", + "merkleized-metadata", + "parity-scale-codec", "parity-wasm", + "polkavm-linker", + "sc-executor", + "sp-core", + "sp-io", "sp-maybe-compressed-blob", - "strum 0.24.1", + "sp-tracing", + "sp-version", + "strum 0.26.2", "tempfile", "toml 0.8.12", "walkdir", @@ -16104,9 +16700,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.58" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -16197,9 +16793,9 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.58" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ "thiserror-impl", ] @@ -16221,18 +16817,18 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "thiserror-impl" -version = "1.0.58" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -16379,7 +16975,7 @@ dependencies = [ "libc", "mio", "num_cpus", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project-lite 0.2.14", "signal-hook-registry", "socket2 0.5.6", @@ -16395,27 +16991,27 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] -name = "tokio-retry" -version = "0.3.0" +name = "tokio-rustls" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "pin-project", - "rand 0.8.5", + "rustls 0.21.10", "tokio", ] [[package]] name = "tokio-rustls" -version = "0.24.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" dependencies = [ - "rustls 0.21.10", + "rustls 0.22.4", + "rustls-pki-types", "tokio", ] @@ -16431,11 +17027,26 @@ dependencies = [ "tokio-util", ] +[[package]] +name = "tokio-tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" +dependencies = [ + "futures-util", + "log", + "rustls 0.21.10", + "rustls-native-certs 0.6.3", + "tokio", + "tokio-rustls 0.24.1", + "tungstenite", +] + [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", @@ -16443,7 +17054,6 @@ dependencies = [ "futures-sink", "pin-project-lite 0.2.14", "tokio", - "tracing", ] [[package]] @@ -16587,7 +17197,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -16613,7 +17223,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "coarsetime", "polkadot-primitives", @@ -16624,13 +17234,13 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "expander 2.0.0", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -16645,46 +17255,42 @@ dependencies = [ ] [[package]] -name = "tracing-serde" -version = "0.1.3" +name = "tracing-log" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ - "serde", + "log", + "once_cell", "tracing-core", ] [[package]] name = "tracing-subscriber" -version = "0.2.25" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ - "ansi_term", - "chrono", - "lazy_static", "matchers", - "parking_lot 0.11.2", + "nu-ansi-term", + "once_cell", + "parking_lot 0.12.3", "regex", - "serde", - "serde_json", "sharded-slab", "smallvec", "thread_local", "tracing", "tracing-core", - "tracing-log", - "tracing-serde", + "tracing-log 0.2.0", ] [[package]] name = "trie-db" -version = "0.28.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" +checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" dependencies = [ "hash-db 0.16.0", - "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -16717,7 +17323,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.5.1", "futures-channel", "futures-io", "futures-util", @@ -16734,6 +17340,31 @@ dependencies = [ "url", ] +[[package]] +name = "trust-dns-proto" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3119112651c157f4488931a01e586aa459736e9d6046d3bd9105ffb69352d374" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner 0.6.0", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.4.0", + "ipnet", + "once_cell", + "rand 0.8.5", + "smallvec", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" version = "0.22.0" @@ -16745,13 +17376,34 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.1", + "parking_lot 0.12.3", + "resolv-conf", + "smallvec", + "thiserror", + "tokio", + "tracing", + "trust-dns-proto 0.22.0", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" +dependencies = [ + "cfg-if", + "futures-util", + "ipconfig", + "lru-cache", + "once_cell", + "parking_lot 0.12.3", + "rand 0.8.5", "resolv-conf", "smallvec", "thiserror", "tokio", "tracing", - "trust-dns-proto", + "trust-dns-proto 0.23.2", ] [[package]] @@ -16760,42 +17412,6 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" -[[package]] -name = "try-runtime-cli" -version = "0.38.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" -dependencies = [ - "async-trait", - "clap", - "frame-remote-externalities", - "frame-try-runtime", - "hex", - "log", - "parity-scale-codec", - "sc-cli", - "sc-executor", - "serde", - "serde_json", - "sp-api", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", - "sp-debug-derive", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", - "sp-transaction-storage-proof", - "sp-version", - "sp-weights", - "substrate-rpc-client", - "zstd 0.12.4", -] - [[package]] name = "trybuild" version = "1.0.91" @@ -16817,6 +17433,26 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" +[[package]] +name = "tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http", + "httparse", + "log", + "rand 0.8.5", + "rustls 0.21.10", + "sha1", + "thiserror", + "url", + "utf-8", +] + [[package]] name = "twox-hash" version = "1.6.3" @@ -16918,6 +17554,7 @@ dependencies = [ "bytes", "futures-io", "futures-util", + "tokio-util", ] [[package]] @@ -16949,6 +17586,12 @@ version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf8parse" version = "0.2.1" @@ -17079,7 +17722,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", "wasm-bindgen-shared", ] @@ -17113,7 +17756,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -17465,13 +18108,14 @@ dependencies = [ [[package]] name = "westend-runtime" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "binary-merkle-tree", "bitvec", "frame-benchmarking", "frame-election-provider-support", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -17496,7 +18140,6 @@ dependencies = [ "pallet-fast-unstake", "pallet-grandpa", "pallet-identity", - "pallet-im-online", "pallet-indices", "pallet-membership", "pallet-message-queue", @@ -17566,12 +18209,13 @@ dependencies = [ "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", + "xcm-fee-payment-runtime-api", ] [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "polkadot-primitives", @@ -17662,6 +18306,21 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -17938,10 +18597,42 @@ dependencies = [ "time", ] +[[package]] +name = "x509-parser" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "rusticata-macros", + "thiserror", + "time", +] + +[[package]] +name = "xcm-fee-payment-runtime-api" +version = "0.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" +dependencies = [ + "frame-support", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-runtime", + "sp-std", + "sp-weights", + "staging-xcm", +] + [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#04d420f376a1445c6636926c87485519a1db3fe1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.11.0#509c4f44bb49dab0d3dda640a936ac047e109972" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -17984,18 +18675,18 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#a4592a4d8b6a79d17651d9803e29c0851eca2f82" dependencies = [ "frame-support", "parity-scale-codec", @@ -18019,7 +18710,7 @@ dependencies = [ "futures 0.3.30", "log", "nohash-hasher", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand 0.8.5", "static_assertions", ] @@ -18050,7 +18741,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] @@ -18070,7 +18761,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.66", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 81b37215f4..d6f53b331f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,7 +108,7 @@ pallet-moonbeam-lazy-migrations = { path = "pallets/moonbeam-lazy-migrations", d precompile-utils = { path = "precompiles/utils", default-features = false } xcm-primitives = { path = "primitives/xcm", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/moonbeam-foundation/crowdloan-rewards", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/moonbeam-foundation/crowdloan-rewards", branch = "moonbeam-polkadot-v1.11.0", default-features = false } # Moonbeam (client) moonbeam-cli = { path = "node/cli", default-features = false } @@ -131,216 +131,215 @@ moonbase-runtime = { path = "runtime/moonbase" } moonbeam-runtime = { path = "runtime/moonbeam" } moonriver-runtime = { path = "runtime/moonriver" } -frame-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -frame-executive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -frame-support = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -frame-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -frame-system-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -frame-try-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-assets = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-balances = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-collective = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-conviction-voting = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-identity = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-message-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-multisig = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-preimage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-proxy = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-referenda = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-root-testing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-scheduler = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-society = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-staking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-sudo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-transaction-payment = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-treasury = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-whitelist = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +frame-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +frame-executive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +frame-support = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +frame-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +frame-system-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +frame-try-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-assets = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-balances = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-collective = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-conviction-voting = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-identity = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-message-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-multisig = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-preimage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-proxy = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-referenda = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-root-testing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-scheduler = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-society = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-staking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-sudo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-treasury = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-whitelist = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } parity-scale-codec = { version = "3.2.2", default-features = false, features = [ "derive", ] } scale-info = { version = "2.0", default-features = false, features = [ "derive", ] } -sp-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-application-crypto = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-consensus-babe = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-consensus-slots = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-debug-derive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-externalities = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-inherents = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-io = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-keystore = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-runtime-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-session = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-std = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-state-machine = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-trie = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-version = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-weights = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -sp-genesis-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +sp-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-application-crypto = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-consensus-babe = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-consensus-slots = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-debug-derive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-externalities = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-inherents = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-io = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-keystore = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-runtime-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-session = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-std = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-state-machine = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-trie = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-version = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-weights = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +sp-genesis-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false } # Substrate (client) -frame-benchmarking-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -pallet-transaction-payment-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-basic-authorship = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-chain-spec = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-client-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-client-db = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-consensus-grandpa = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-consensus-manual-seal = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-executor = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-informant = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-network-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-network-sync = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-rpc-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-sysinfo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-telemetry = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-tracing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-transaction-pool-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sc-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sp-blockchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sp-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sp-storage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sp-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -sp-wasm-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -substrate-build-script-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -substrate-frame-rpc-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -substrate-prometheus-endpoint = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -substrate-test-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -substrate-test-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -substrate-test-runtime-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -substrate-wasm-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -try-runtime-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } +frame-benchmarking-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +pallet-transaction-payment-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-basic-authorship = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-chain-spec = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-client-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-client-db = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-consensus-grandpa = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-consensus-manual-seal = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-executor = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-informant = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-network-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-network-sync = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-rpc-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-sysinfo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-telemetry = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-tracing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-transaction-pool-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sc-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sp-blockchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sp-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sp-storage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sp-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +sp-wasm-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +substrate-build-script-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +substrate-frame-rpc-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +substrate-prometheus-endpoint = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +substrate-test-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +substrate-test-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +substrate-test-runtime-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +substrate-wasm-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } # Frontier (wasm) ethereum = { version = "0.15.0", default-features = false, features = [ "with-codec", ] } ethereum-types = { version = "0.14", default-features = false } -evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false, features = [ +evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false, features = [ "forbid-evm-reentrancy", ] } -pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false, features = [ +pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false, features = [ "forbid-evm-reentrancy", ] } -pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-storage-cleaner = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-storage-cleaner = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } # Frontier (client) -fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-api = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", features = [ +fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } +fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } +fc-api = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } +fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } +fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", features = [ "rpc-binary-search-estimate", ] } -fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } +fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } +fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } +fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } +fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0" } # Cumulus (wasm) -cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false, features = [ +cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false, features = [ "parameterized-consensus-hook", ] } -cumulus-pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -cumulus-primitives-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -parachains-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +cumulus-primitives-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +parachains-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } # Cumulus (client) -cumulus-client-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-client-collator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-client-consensus-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-client-consensus-proposer = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-client-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-client-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-client-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-relay-chain-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } +cumulus-client-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-client-collator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-client-consensus-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-client-consensus-proposer = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-client-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-client-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-client-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-relay-chain-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } # Polkadot / XCM (wasm) -orml-traits = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -orml-xcm-support = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -orml-xtokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-xcm-benchmarks = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -polkadot-core-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -polkadot-runtime-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +orml-traits = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +orml-xcm-support = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +orml-xtokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-xcm-benchmarks = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +polkadot-core-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +polkadot-runtime-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0", default-features = false } # Polkadot / XCM (client) -#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -polkadot-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -polkadot-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -#polkadot-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -polkadot-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -rococo-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -westend-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } -xcm-simulator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } +#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +polkadot-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +polkadot-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +#polkadot-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +polkadot-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +rococo-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +westend-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +xcm-simulator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } # Moonkit (wasm) -async-backing-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -moonkit-xcm-primitives = { package = "xcm-primitives", git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -nimbus-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-async-backing = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-author-inherent = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-author-mapping = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-emergency-para-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-maintenance-mode = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-migrations = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-randomness = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-relay-storage-roots = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -session-keys-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +async-backing-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +moonkit-xcm-primitives = { package = "xcm-primitives", git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +nimbus-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-async-backing = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-author-inherent = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-author-mapping = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-emergency-para-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-evm-precompile-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-maintenance-mode = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-migrations = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-randomness = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +pallet-relay-storage-roots = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +session-keys-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0", default-features = false } # Moonkit (client) -nimbus-consensus = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.7.2" } +nimbus-consensus = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.11.0" } # Other (wasm) affix = "0.1.2" @@ -378,7 +377,7 @@ clap-num = "=1.1.1" exit-future = "0.2" flume = "0.10.9" futures = { version = "0.3.21" } -jsonrpsee = { version = "0.20.3", default-features = false } +jsonrpsee = { version = "0.22.5", default-features = false } maplit = "1.0.2" nix = "0.23" parking_lot = "0.12.0" @@ -482,4 +481,4 @@ inherits = "release" overflow-checks = true [patch."https://github.com/paritytech/polkadot-sdk"] -sp-crypto-ec-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2" } +sp-crypto-ec-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } diff --git a/client/rpc/debug/src/lib.rs b/client/rpc/debug/src/lib.rs index 27d17ed3f8..3bb402644f 100644 --- a/client/rpc/debug/src/lib.rs +++ b/client/rpc/debug/src/lib.rs @@ -23,7 +23,8 @@ use tokio::{ }; use ethereum_types::H256; -use fc_rpc::{frontier_backend_client, internal_err, OverrideHandle}; +use fc_rpc::{frontier_backend_client, internal_err}; +use fc_storage::StorageOverride; use fp_rpc::EthereumRuntimeRPCApi; use moonbeam_client_evm_tracing::{formatters::ResponseFormatter, types::single}; use moonbeam_rpc_core_types::{RequestBlockId, RequestBlockTag}; @@ -178,7 +179,7 @@ where backend: Arc, frontier_backend: Arc + Send + Sync>, permit_pool: Arc, - overrides: Arc>, + overrides: Arc>, raw_max_memory_usage: usize, ) -> (impl Future, DebugRequester) { let (tx, mut rx): (DebugRequester, _) = @@ -353,7 +354,7 @@ where frontier_backend: Arc + Send + Sync>, request_block_id: RequestBlockId, params: Option, - overrides: Arc>, + overrides: Arc>, ) -> RpcResult { let (tracer_input, trace_type) = Self::handle_params(params)?; @@ -397,21 +398,9 @@ where // Get parent blockid. let parent_block_hash = *header.parent_hash(); - let schema = fc_storage::onchain_storage_schema::(client.as_ref(), hash); - - // Using storage overrides we align with `:ethereum_schema` which will result in proper - // SCALE decoding in case of migration. - let statuses = match overrides.schemas.get(&schema) { - Some(schema) => schema - .current_transaction_statuses(hash) - .unwrap_or_default(), - _ => { - return Err(internal_err(format!( - "No storage override at {:?}", - reference_id - ))) - } - }; + let statuses = overrides + .current_transaction_statuses(hash) + .unwrap_or_default(); // Known ethereum transaction hashes. let eth_tx_hashes: Vec<_> = statuses.iter().map(|t| t.transaction_hash).collect(); @@ -514,7 +503,7 @@ where frontier_backend: Arc + Send + Sync>, transaction_hash: H256, params: Option, - overrides: Arc>, + overrides: Arc>, raw_max_memory_usage: usize, ) -> RpcResult { let (tracer_input, trace_type) = Self::handle_params(params)?; @@ -573,20 +562,7 @@ where )); }; - let schema = - fc_storage::onchain_storage_schema::(client.as_ref(), reference_hash); - - // Get the block that contains the requested transaction. Using storage overrides we align - // with `:ethereum_schema` which will result in proper SCALE decoding in case of migration. - let reference_block = match overrides.schemas.get(&schema) { - Some(schema) => schema.current_block(reference_hash), - _ => { - return Err(internal_err(format!( - "No storage override at {:?}", - reference_hash - ))) - } - }; + let reference_block = overrides.current_block(reference_hash); // Get the actual ethereum transaction. if let Some(block) = reference_block { diff --git a/client/rpc/trace/src/lib.rs b/client/rpc/trace/src/lib.rs index c2b17facd5..50e6b8acda 100644 --- a/client/rpc/trace/src/lib.rs +++ b/client/rpc/trace/src/lib.rs @@ -45,7 +45,7 @@ use substrate_prometheus_endpoint::{ }; use ethereum_types::H256; -use fc_rpc::OverrideHandle; +use fc_storage::StorageOverride; use fp_rpc::EthereumRuntimeRPCApi; use moonbeam_client_evm_tracing::{ @@ -442,7 +442,7 @@ where backend: Arc, cache_duration: Duration, blocking_permits: Arc, - overrides: Arc>, + overrides: Arc>, prometheus: Option, ) -> (impl Future, CacheRequester) { // Communication with the outside world : @@ -535,7 +535,7 @@ where blocking_tx: &mpsc::Sender, sender: oneshot::Sender, blocks: Vec, - overrides: Arc>, + overrides: Arc>, ) { tracing::trace!("Starting batch {}", self.next_batch_id); self.batches.insert(self.next_batch_id, blocks.clone()); @@ -791,7 +791,7 @@ where client: Arc, backend: Arc, substrate_hash: H256, - overrides: Arc>, + overrides: Arc>, ) -> TxsTraceRes { // Get Subtrate block data. let api = client.runtime_api(); @@ -808,24 +808,18 @@ where let height = *block_header.number(); let substrate_parent_hash = *block_header.parent_hash(); - let schema = - fc_storage::onchain_storage_schema::(client.as_ref(), substrate_hash); - // Get Ethereum block data. - let (eth_block, eth_transactions) = match overrides.schemas.get(&schema) { - Some(schema) => match ( - schema.current_block(substrate_hash), - schema.current_transaction_statuses(substrate_hash), - ) { - (Some(a), Some(b)) => (a, b), - _ => { - return Err(format!( - "Failed to get Ethereum block data for Substrate block {}", - substrate_hash - )) - } - }, - _ => return Err(format!("No storage override at {:?}", substrate_hash)), + let (eth_block, eth_transactions) = match ( + overrides.current_block(substrate_hash), + overrides.current_transaction_statuses(substrate_hash), + ) { + (Some(a), Some(b)) => (a, b), + _ => { + return Err(format!( + "Failed to get Ethereum block data for Substrate block {}", + substrate_hash + )) + } }; let eth_block_hash = eth_block.header.hash(); diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index cd3ff5eb46..4a321f194c 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -20,6 +20,7 @@ sc-chain-spec = { workspace = true } sc-cli = { workspace = true } sc-client-api = { workspace = true } sc-consensus-grandpa = { workspace = true } +sc-network = { workspace = true } sc-service = { workspace = true } sc-sysinfo = { workspace = true } sc-telemetry = { workspace = true } @@ -29,7 +30,6 @@ sp-io = { workspace = true } sp-runtime = { workspace = true, features = ["std"] } sp-wasm-interface = { workspace = true } substrate-prometheus-endpoint = { workspace = true } -try-runtime-cli = { workspace = true, optional = true } # Cumulus / Nimbus cumulus-client-cli = { workspace = true } @@ -48,10 +48,10 @@ substrate-build-script-utils = { workspace = true } [features] default = [ - "moonbase-native", - "moonbeam-native", - "moonriver-native", - "westend-native", + "moonbase-native", + "moonbeam-native", + "moonriver-native", + "westend-native", ] westend-native = ["polkadot-service/westend-native"] @@ -61,13 +61,8 @@ moonbeam-native = ["moonbeam-service/moonbeam-native"] moonriver-native = ["moonbeam-service/moonriver-native"] runtime-benchmarks = [ - "moonbeam-service/runtime-benchmarks", - "polkadot-service/runtime-benchmarks", -] -try-runtime = [ - "moonbeam-service/try-runtime", - "try-runtime-cli/try-runtime", - "polkadot-service/try-runtime", + "moonbeam-service/runtime-benchmarks", + "polkadot-service/runtime-benchmarks", ] moonbase-runtime-benchmarks = ["moonbeam-service/moonbase-runtime-benchmarks"] diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index ea493be4e8..c751f27256 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -22,7 +22,10 @@ use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::BenchmarkCmd; use log::{info, warn}; use moonbeam_cli_opt::EthApi; -use moonbeam_service::{chain_spec, frontier_database_dir, IdentifyVariant}; +use moonbeam_service::{ + chain_spec, frontier_database_dir, moonbase_runtime, moonbeam_runtime, moonriver_runtime, + HostFunctions, IdentifyVariant, +}; use parity_scale_codec::Encode; #[cfg(feature = "westend-native")] use polkadot_service::WestendChainSpec; @@ -36,7 +39,9 @@ use sc_service::{ }; use sp_core::hexdisplay::HexDisplay; use sp_runtime::{ - traits::{AccountIdConversion, Block as BlockT, Hash as HashT, Header as HeaderT, Zero}, + traits::{ + AccountIdConversion, Block as BlockT, Hash as HashT, HashingFor, Header as HeaderT, Zero, + }, StateVersion, }; use std::{io::Write, net::SocketAddr}; @@ -487,24 +492,24 @@ pub fn run() -> Result<()> { #[cfg(feature = "moonriver-native")] spec if spec.is_moonriver() => { return runner.sync_run(|config| { - cmd.run::( - config, + cmd.run_with_spec::, HostFunctions>( + Some(config.chain_spec), ) }) } #[cfg(feature = "moonbeam-native")] spec if spec.is_moonbeam() => { return runner.sync_run(|config| { - cmd.run::( - config, + cmd.run_with_spec::, HostFunctions>( + Some(config.chain_spec), ) }) } #[cfg(feature = "moonbase-native")] _ => { return runner.sync_run(|config| { - cmd.run::( - config, + cmd.run_with_spec::, HostFunctions>( + Some(config.chain_spec), ) }) } @@ -513,8 +518,8 @@ pub fn run() -> Result<()> { } } else if cfg!(feature = "moonbase-runtime-benchmarks") { return runner.sync_run(|config| { - cmd.run::( - config, + cmd.run_with_spec::, HostFunctions>( + Some(config.chain_spec), ) }); } else { @@ -728,6 +733,7 @@ pub fn run() -> Result<()> { spec if spec.is_moonriver() => moonbeam_service::new_dev::< moonbeam_service::moonriver_runtime::RuntimeApi, moonbeam_service::MoonriverCustomizations, + sc_network::NetworkWorker<_, _>, >(config, author_id, cli.run.sealing, rpc_config, hwbench) .await .map_err(Into::into), @@ -735,6 +741,7 @@ pub fn run() -> Result<()> { spec if spec.is_moonbeam() => moonbeam_service::new_dev::< moonbeam_service::moonbeam_runtime::RuntimeApi, moonbeam_service::MoonbeamCustomizations, + sc_network::NetworkWorker<_, _>, >(config, author_id, cli.run.sealing, rpc_config, hwbench) .await .map_err(Into::into), @@ -742,6 +749,7 @@ pub fn run() -> Result<()> { _ => moonbeam_service::new_dev::< moonbeam_service::moonbase_runtime::RuntimeApi, moonbeam_service::MoonbaseCustomizations, + sc_network::NetworkWorker<_, _>, >(config, author_id, cli.run.sealing, rpc_config, hwbench) .await .map_err(Into::into), @@ -758,7 +766,7 @@ pub fn run() -> Result<()> { ); let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + AccountIdConversion::::into_account_truncating(&id); let tokio_handle = config.tokio_handle.clone(); let polkadot_config = diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 750b1e1587..e9ffe93663 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -31,7 +31,7 @@ use cumulus_client_consensus_proposer::Proposer; use cumulus_client_parachain_inherent::{MockValidationDataInherentDataProvider, MockXcmConfig}; use cumulus_client_service::{ prepare_node_config, start_relay_chain_tasks, CollatorSybilResistance, DARecoveryProfile, - StartRelayChainTasksParams, + ParachainHostFunctions, StartRelayChainTasksParams, }; use cumulus_primitives_core::relay_chain::CollatorPair; use cumulus_primitives_core::ParaId; @@ -40,6 +40,7 @@ use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface, RelayCh use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node_with_rpc; use fc_consensus::FrontierBlockImport as TFrontierBlockImport; use fc_db::DatabaseSource; +use fc_rpc::StorageOverrideHandler; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; use futures::{FutureExt, StreamExt}; use maplit::hashmap; @@ -59,7 +60,7 @@ use sc_client_api::{ }; use sc_consensus::ImportQueue; use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; -use sc_network::{config::FullNetworkConfiguration, NetworkBlock}; +use sc_network::{config::FullNetworkConfiguration, NetworkBackend, NetworkBlock}; use sc_service::config::PrometheusConfig; use sc_service::{ error::Error as ServiceError, ChainSpec, Configuration, PartialComponents, TFullBackend, @@ -101,7 +102,7 @@ type PartialComponentsResult = Result< Option, Option, Option, - fc_db::Backend, + Arc>>, FeeHistoryCache, ), >, @@ -111,12 +112,12 @@ type PartialComponentsResult = Result< #[cfg(feature = "runtime-benchmarks")] pub type HostFunctions = ( frame_benchmarking::benchmarking::HostFunctions, - sp_io::SubstrateHostFunctions, + ParachainHostFunctions, moonbeam_primitives_ext::moonbeam_ext::HostFunctions, ); #[cfg(not(feature = "runtime-benchmarks"))] pub type HostFunctions = ( - sp_io::SubstrateHostFunctions, + ParachainHostFunctions, moonbeam_primitives_ext::moonbeam_ext::HostFunctions, ); @@ -247,7 +248,7 @@ pub fn open_frontier_backend( client: Arc, config: &Configuration, rpc_config: &RpcConfig, -) -> Result, String> +) -> Result, String> where C: ProvideRuntimeApi + StorageProvider + AuxStore, C: HeaderBackend + HeaderMetadata, @@ -258,7 +259,7 @@ where { let frontier_backend = match rpc_config.frontier_backend_config { FrontierBackendConfig::KeyValue => { - fc_db::Backend::KeyValue(fc_db::kv::Backend::::new( + fc_db::Backend::KeyValue(Arc::new(fc_db::kv::Backend::::new( client, &fc_db::kv::DatabaseSettings { source: match config.database { @@ -281,7 +282,7 @@ where } }, }, - )?) + )?)) } FrontierBackendConfig::Sql { pool_size, @@ -289,7 +290,7 @@ where thread_count, cache_size, } => { - let overrides = crate::rpc::overrides_handle(client.clone()); + let overrides = Arc::new(StorageOverrideHandler::new(client.clone())); let sqlite_db_path = frontier_database_dir(config, "sql"); std::fs::create_dir_all(&sqlite_db_path).expect("failed creating sql db directory"); let backend = futures::executor::block_on(fc_db::sql::Backend::new( @@ -308,7 +309,7 @@ where overrides.clone(), )) .unwrap_or_else(|err| panic!("failed creating sql backend: {:?}", err)); - fc_db::Backend::Sql(backend) + fc_db::Backend::Sql(Arc::new(backend)) } }; @@ -503,7 +504,7 @@ where let filter_pool: Option = Some(Arc::new(Mutex::new(BTreeMap::new()))); let fee_history_cache: FeeHistoryCache = Arc::new(Mutex::new(BTreeMap::new())); - let frontier_backend = open_frontier_backend(client.clone(), config, rpc_config)?; + let frontier_backend = Arc::new(open_frontier_backend(client.clone(), config, rpc_config)?); let frontier_block_import = FrontierBlockImport::new(client.clone(), client.clone()); let create_inherent_data_providers = move |_, _| async move { @@ -591,7 +592,7 @@ async fn build_relay_chain_interface( /// /// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("🌗")] -async fn start_node_impl( +async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, @@ -605,6 +606,7 @@ where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiCollection, Customizations: ClientCustomizations + 'static, + Net: NetworkBackend, { let mut parachain_config = prepare_node_config(parachain_config); @@ -639,7 +641,7 @@ where let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); - let net_config = FullNetworkConfiguration::new(¶chain_config.network); + let net_config = FullNetworkConfiguration::<_, _, Net>::new(¶chain_config.network); let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = cumulus_client_service::build_network(cumulus_client_service::BuildNetworkParams { @@ -655,7 +657,7 @@ where }) .await?; - let overrides = crate::rpc::overrides_handle(client.clone()); + let overrides = Arc::new(StorageOverrideHandler::new(client.clone())); let fee_history_limit = rpc_config.fee_history_limit; // Sinks for pubsub notifications. @@ -760,9 +762,9 @@ where deny_unsafe, ethapi_cmd: ethapi_cmd.clone(), filter_pool: filter_pool.clone(), - frontier_backend: match frontier_backend.clone() { - fc_db::Backend::KeyValue(b) => Arc::new(b), - fc_db::Backend::Sql(b) => Arc::new(b), + frontier_backend: match &*frontier_backend { + fc_db::Backend::KeyValue(b) => b.clone(), + fc_db::Backend::Sql(b) => b.clone(), }, graph: pool.pool().clone(), pool: pool.clone(), @@ -1098,7 +1100,7 @@ where RuntimeApiCollection, Customizations: ClientCustomizations + 'static, { - start_node_impl::( + start_node_impl::>( parachain_config, polkadot_config, collator_options, @@ -1113,7 +1115,7 @@ where /// Builds a new development service. This service uses manual seal, and mocks /// the parachain inherent. -pub async fn new_dev( +pub async fn new_dev( mut config: Configuration, _author_id: Option, sealing: moonbeam_cli_opt::Sealing, @@ -1124,6 +1126,7 @@ where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiCollection, Customizations: ClientCustomizations + 'static, + Net: NetworkBackend, { use async_io::Timer; use futures::Stream; @@ -1156,7 +1159,11 @@ where )); }; - let net_config = FullNetworkConfiguration::new(&config.network); + let net_config = FullNetworkConfiguration::<_, _, Net>::new(&config.network); + + let metrics = Net::register_notification_metrics( + config.prometheus_config.as_ref().map(|cfg| &cfg.registry), + ); let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { @@ -1169,6 +1176,7 @@ where warp_sync_params: None, net_config, block_relay: None, + metrics, })?; if config.offchain_worker.enabled { @@ -1182,7 +1190,7 @@ where transaction_pool: Some(OffchainTransactionPoolFactory::new( transaction_pool.clone(), )), - network_provider: network.clone(), + network_provider: Arc::new(network.clone()), is_validator: config.role.is_authority(), enable_http_requests: true, custom_extensions: move |_| vec![], @@ -1193,7 +1201,7 @@ where } let prometheus_registry = config.prometheus_registry().cloned(); - let overrides = crate::rpc::overrides_handle(client.clone()); + let overrides = Arc::new(StorageOverrideHandler::new(client.clone())); let fee_history_limit = rpc_config.fee_history_limit; let mut command_sink = None; let mut xcm_senders = None; @@ -1420,9 +1428,9 @@ where deny_unsafe, ethapi_cmd: ethapi_cmd.clone(), filter_pool: filter_pool.clone(), - frontier_backend: match frontier_backend.clone() { - fc_db::Backend::KeyValue(b) => Arc::new(b), - fc_db::Backend::Sql(b) => Arc::new(b), + frontier_backend: match &*frontier_backend { + fc_db::Backend::KeyValue(b) => b.clone(), + fc_db::Backend::Sql(b) => b.clone(), }, graph: pool.pool().clone(), pool: pool.clone(), @@ -1503,6 +1511,7 @@ where #[cfg(test)] mod tests { + use jsonrpsee::server::BatchRequestConfig; use moonbase_runtime::{currency::UNIT, AccountId}; use prometheus::{proto::LabelPair, Counter}; use sc_network::config::NetworkConfiguration; @@ -1617,7 +1626,7 @@ mod tests { }; fn zero_ed_pub() -> sp_core::ed25519::Public { - sp_core::ed25519::Public([0u8; 32]) + sp_core::ed25519::Public::default() } // This is an invalid signature @@ -1749,6 +1758,8 @@ mod tests { informant_output_format: Default::default(), wasmtime_precompiled: None, runtime_cache_size: 2, + rpc_rate_limit: Default::default(), + rpc_batch_config: BatchRequestConfig::Unlimited, } } } diff --git a/node/service/src/rpc.rs b/node/service/src/rpc.rs index d7c771f134..9ab4095fc0 100644 --- a/node/service/src/rpc.rs +++ b/node/service/src/rpc.rs @@ -28,13 +28,8 @@ use cumulus_primitives_core::{ParaId, PersistedValidationData}; use cumulus_primitives_parachain_inherent::ParachainInherentData; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; use fc_mapping_sync::{kv::MappingSyncWorker, SyncStrategy}; -use fc_rpc::{ - pending::ConsensusDataProvider, EthBlockDataCacheTask, EthTask, OverrideHandle, - RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, SchemaV3Override, - StorageOverride, -}; -use fc_rpc_core::types::{CallRequest, FeeHistoryCache, FilterPool}; -use fp_storage::EthereumStorageSchema; +use fc_rpc::{pending::ConsensusDataProvider, EthBlockDataCacheTask, EthTask, StorageOverride}; +use fc_rpc_core::types::{FeeHistoryCache, FilterPool, TransactionRequest}; use futures::StreamExt; use jsonrpsee::RpcModule; use moonbeam_cli_opt::EthApi as EthApiCmd; @@ -45,7 +40,7 @@ use sc_client_api::{ BlockOf, }; use sc_consensus_manual_seal::rpc::{EngineCommand, ManualSeal, ManualSealApiServer}; -use sc_network::NetworkService; +use sc_network::service::traits::NetworkService; use sc_network_sync::SyncingService; use sc_rpc::SubscriptionTaskExecutor; use sc_rpc_api::DenyUnsafe; @@ -63,7 +58,7 @@ use std::collections::BTreeMap; pub struct MoonbeamEGA; impl fc_rpc::EstimateGasAdapter for MoonbeamEGA { - fn adapt_request(mut request: CallRequest) -> CallRequest { + fn adapt_request(mut request: TransactionRequest) -> TransactionRequest { // Redirect any call to batch precompile: // force usage of batchAll method for estimation use sp_core::H160; @@ -72,11 +67,19 @@ impl fc_rpc::EstimateGasAdapter for MoonbeamEGA { )); const BATCH_PRECOMPILE_BATCH_ALL_SELECTOR: [u8; 4] = hex_literal::hex!("96e292b8"); if request.to == Some(BATCH_PRECOMPILE_ADDRESS) { - if let Some(ref mut data) = request.data { - if data.0.len() >= 4 { - data.0[..4].copy_from_slice(&BATCH_PRECOMPILE_BATCH_ALL_SELECTOR); + match (&mut request.data.input, &mut request.data.data) { + (Some(ref mut input), _) => { + if input.0.len() >= 4 { + input.0[..4].copy_from_slice(&BATCH_PRECOMPILE_BATCH_ALL_SELECTOR); + } } - } + (None, Some(ref mut data)) => { + if data.0.len() >= 4 { + data.0[..4].copy_from_slice(&BATCH_PRECOMPILE_BATCH_ALL_SELECTOR); + } + } + (_, _) => {} + }; } request } @@ -107,7 +110,7 @@ pub struct FullDeps { /// The Node authority flag pub is_authority: bool, /// Network service - pub network: Arc>, + pub network: Arc, /// Chain syncing service pub sync: Arc>, /// EthFilterApi pool. @@ -129,7 +132,7 @@ pub struct FullDeps { /// Channels for manual xcm messages (downward, hrmp) pub xcm_senders: Option<(flume::Sender>, flume::Sender<(ParaId, Vec)>)>, /// Ethereum data access overrides. - pub overrides: Arc>, + pub overrides: Arc>, /// Cache for Ethereum block data. pub block_data_cache: Arc>, /// Mandated parent hashes for a given block hash. @@ -141,34 +144,6 @@ pub struct TracingConfig { pub trace_filter_max_count: u32, } -pub fn overrides_handle(client: Arc) -> Arc> -where - B: BlockT, - C: ProvideRuntimeApi, - C::Api: EthereumRuntimeRPCApi, - C: HeaderBackend + StorageProvider + 'static, - BE: Backend + 'static, -{ - let mut overrides_map = BTreeMap::new(); - overrides_map.insert( - EthereumStorageSchema::V1, - Box::new(SchemaV1Override::new(client.clone())) as Box>, - ); - overrides_map.insert( - EthereumStorageSchema::V2, - Box::new(SchemaV2Override::new(client.clone())) as Box>, - ); - overrides_map.insert( - EthereumStorageSchema::V3, - Box::new(SchemaV3Override::new(client.clone())) as Box>, - ); - - Arc::new(OverrideHandle { - schemas: overrides_map, - fallback: Box::new(RuntimeApiStorageOverride::new(client.clone())), - }) -} - /// Instantiate all Full RPC extensions. pub fn create_full( deps: FullDeps, @@ -262,7 +237,7 @@ where }; let parachain_inherent_data = ParachainInherentData { validation_data: vfp, - relay_chain_state: relay_chain_state, + relay_chain_state, downward_messages: Default::default(), horizontal_messages: Default::default(), }; @@ -377,9 +352,9 @@ pub struct SpawnTasksParams<'a, B: BlockT, C, BE> { pub task_manager: &'a TaskManager, pub client: Arc, pub substrate_backend: Arc, - pub frontier_backend: fc_db::Backend, + pub frontier_backend: Arc>, pub filter_pool: Option, - pub overrides: Arc>, + pub overrides: Arc>, pub fee_history_limit: u64, pub fee_history_cache: FeeHistoryCache, } @@ -407,8 +382,8 @@ pub fn spawn_essential_tasks( { // Frontier offchain DB task. Essential. // Maps emulated ethereum data to substrate native data. - match params.frontier_backend { - fc_db::Backend::KeyValue(b) => { + match *params.frontier_backend { + fc_db::Backend::KeyValue(ref b) => { params.task_manager.spawn_essential_handle().spawn( "frontier-mapping-sync-worker", Some("frontier"), @@ -418,7 +393,7 @@ pub fn spawn_essential_tasks( params.client.clone(), params.substrate_backend.clone(), params.overrides.clone(), - Arc::new(b), + b.clone(), 3, 0, SyncStrategy::Parachain, @@ -428,14 +403,14 @@ pub fn spawn_essential_tasks( .for_each(|()| futures::future::ready(())), ); } - fc_db::Backend::Sql(b) => { + fc_db::Backend::Sql(ref b) => { params.task_manager.spawn_essential_handle().spawn_blocking( "frontier-mapping-sync-worker", Some("frontier"), fc_mapping_sync::sql::SyncWorker::run( params.client.clone(), params.substrate_backend.clone(), - Arc::new(b), + b.clone(), params.client.import_notification_stream(), fc_mapping_sync::sql::SyncWorkerConfig { read_notification_timeout: Duration::from_secs(10), diff --git a/node/service/src/rpc/tracing.rs b/node/service/src/rpc/tracing.rs index 5cd3aa05d4..87760d84b5 100644 --- a/node/service/src/rpc/tracing.rs +++ b/node/service/src/rpc/tracing.rs @@ -67,9 +67,9 @@ where let (debug_task, debug_requester) = DebugHandler::task( Arc::clone(¶ms.client), Arc::clone(¶ms.substrate_backend), - match params.frontier_backend { - fc_db::Backend::KeyValue(b) => Arc::new(b), - fc_db::Backend::Sql(b) => Arc::new(b), + match *params.frontier_backend { + fc_db::Backend::KeyValue(ref b) => b.clone(), + fc_db::Backend::Sql(ref b) => b.clone(), }, Arc::clone(&permit_pool), Arc::clone(¶ms.overrides), diff --git a/pallets/asset-manager/src/mock.rs b/pallets/asset-manager/src/mock.rs index 7cc246463c..64def35156 100644 --- a/pallets/asset-manager/src/mock.rs +++ b/pallets/asset-manager/src/mock.rs @@ -69,6 +69,11 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/pallets/erc20-xcm-bridge/src/mock.rs b/pallets/erc20-xcm-bridge/src/mock.rs index 7175eca3a2..5dadfba8b6 100644 --- a/pallets/erc20-xcm-bridge/src/mock.rs +++ b/pallets/erc20-xcm-bridge/src/mock.rs @@ -68,6 +68,11 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/pallets/ethereum-xcm/src/mock.rs b/pallets/ethereum-xcm/src/mock.rs index 1c029f702e..2c6260a3f0 100644 --- a/pallets/ethereum-xcm/src/mock.rs +++ b/pallets/ethereum-xcm/src/mock.rs @@ -87,6 +87,11 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/pallets/moonbeam-lazy-migrations/src/mock.rs b/pallets/moonbeam-lazy-migrations/src/mock.rs index 3c7473e007..9836b1af65 100644 --- a/pallets/moonbeam-lazy-migrations/src/mock.rs +++ b/pallets/moonbeam-lazy-migrations/src/mock.rs @@ -79,6 +79,11 @@ impl frame_system::Config for Test { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/pallets/moonbeam-orbiters/src/mock.rs b/pallets/moonbeam-orbiters/src/mock.rs index 57e071d81c..eb2974998a 100644 --- a/pallets/moonbeam-orbiters/src/mock.rs +++ b/pallets/moonbeam-orbiters/src/mock.rs @@ -79,6 +79,11 @@ impl frame_system::Config for Test { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } // Pallet balances configuration diff --git a/pallets/moonbeam-xcm-benchmarks/src/generic/mock.rs b/pallets/moonbeam-xcm-benchmarks/src/generic/mock.rs index 800a0676b6..15097e56c9 100644 --- a/pallets/moonbeam-xcm-benchmarks/src/generic/mock.rs +++ b/pallets/moonbeam-xcm-benchmarks/src/generic/mock.rs @@ -78,6 +78,11 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } impl pallet_balances::Config for Test { @@ -144,8 +149,10 @@ impl xcm_executor::Config for XcmConfig { type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; type Aliasers = (); - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } impl pallet_xcm_benchmarks::Config for Test { diff --git a/pallets/parachain-staking/src/mock.rs b/pallets/parachain-staking/src/mock.rs index 79c6acb8b9..0529c45cbf 100644 --- a/pallets/parachain-staking/src/mock.rs +++ b/pallets/parachain-staking/src/mock.rs @@ -85,6 +85,11 @@ impl frame_system::Config for Test { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/pallets/proxy-genesis-companion/src/mock.rs b/pallets/proxy-genesis-companion/src/mock.rs index 09c04b6881..3bfb8c8312 100644 --- a/pallets/proxy-genesis-companion/src/mock.rs +++ b/pallets/proxy-genesis-companion/src/mock.rs @@ -78,6 +78,11 @@ impl frame_system::Config for Test { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/pallets/xcm-transactor/src/mock.rs b/pallets/xcm-transactor/src/mock.rs index d82411b73f..f641d187cb 100644 --- a/pallets/xcm-transactor/src/mock.rs +++ b/pallets/xcm-transactor/src/mock.rs @@ -92,6 +92,11 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type SS58Prefix = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index cc6f459521..e8a82662f5 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -106,6 +106,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/precompiles/assets-erc20/src/tests.rs b/precompiles/assets-erc20/src/tests.rs index 263b00dae0..ab43d851db 100644 --- a/precompiles/assets-erc20/src/tests.rs +++ b/precompiles/assets-erc20/src/tests.rs @@ -245,7 +245,7 @@ fn approve() { value: 500.into(), }, ) - .expect_cost(34534756) + .expect_cost(31625756) .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_APPROVAL, @@ -286,7 +286,7 @@ fn approve_saturating() { value: U256::MAX, }, ) - .expect_cost(34534756) + .expect_cost(31625756) .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_APPROVAL, @@ -415,7 +415,7 @@ fn transfer() { value: 400.into(), }, ) - .expect_cost(48477756) // 1 weight => 1 gas in mock + .expect_cost(44795756) // 1 weight => 1 gas in mock .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_TRANSFER, @@ -542,7 +542,7 @@ fn transfer_from() { value: 400.into(), }, ) - .expect_cost(69947756) // 1 weight => 1 gas in mock + .expect_cost(66146756) // 1 weight => 1 gas in mock .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_TRANSFER, @@ -620,7 +620,7 @@ fn transfer_from_non_incremental_approval() { value: 500.into(), }, ) - .expect_cost(34534756) + .expect_cost(31625756) .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_APPROVAL, @@ -643,7 +643,7 @@ fn transfer_from_non_incremental_approval() { value: 300.into(), }, ) - .expect_cost(72171756) + .expect_cost(65259756) .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_APPROVAL, @@ -751,7 +751,7 @@ fn transfer_from_self() { value: 400.into(), }, ) - .expect_cost(48477756) // 1 weight => 1 gas in mock + .expect_cost(44795756) // 1 weight => 1 gas in mock .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_TRANSFER, @@ -898,7 +898,7 @@ fn permit_valid() { s: H256::from(rs.s.b32()), }, ) - .expect_cost(34533000) + .expect_cost(31624000) .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_APPROVAL, @@ -1007,7 +1007,7 @@ fn permit_valid_named_asset() { s: H256::from(rs.s.b32()), }, ) - .expect_cost(34533000) + .expect_cost(31624000) .expect_log(log3( ForeignAssetId(0u128), SELECTOR_LOG_APPROVAL, @@ -1485,7 +1485,7 @@ fn permit_valid_with_metamask_signed_data() { s: H256::from(s_real), }, ) - .expect_cost(34533000) + .expect_cost(31624000) .expect_log(log3( ForeignAssetId(1u128), SELECTOR_LOG_APPROVAL, diff --git a/precompiles/author-mapping/src/mock.rs b/precompiles/author-mapping/src/mock.rs index 5cf6d14a7b..6a092e3731 100644 --- a/precompiles/author-mapping/src/mock.rs +++ b/precompiles/author-mapping/src/mock.rs @@ -77,6 +77,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/balances-erc20/src/mock.rs b/precompiles/balances-erc20/src/mock.rs index 866563bf14..a093e696ca 100644 --- a/precompiles/balances-erc20/src/mock.rs +++ b/precompiles/balances-erc20/src/mock.rs @@ -61,6 +61,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/precompiles/balances-erc20/src/tests.rs b/precompiles/balances-erc20/src/tests.rs index e644f75144..a1adc3d024 100644 --- a/precompiles/balances-erc20/src/tests.rs +++ b/precompiles/balances-erc20/src/tests.rs @@ -280,7 +280,7 @@ fn transfer() { value: 400.into(), }, ) - .expect_cost(172298756) // 1 weight => 1 gas in mock + .expect_cost(176215756) // 1 weight => 1 gas in mock .expect_log(log3( Precompile1, SELECTOR_LOG_TRANSFER, @@ -370,7 +370,7 @@ fn transfer_from() { value: 400.into(), }, ) - .expect_cost(172298756) // 1 weight => 1 gas in mock + .expect_cost(176215756) // 1 weight => 1 gas in mock .expect_log(log3( Precompile1, SELECTOR_LOG_TRANSFER, @@ -466,7 +466,7 @@ fn transfer_from_self() { value: 400.into(), }, ) - .expect_cost(172298756) // 1 weight => 1 gas in mock + .expect_cost(176215756) // 1 weight => 1 gas in mock .expect_log(log3( Precompile1, SELECTOR_LOG_TRANSFER, diff --git a/precompiles/batch/src/mock.rs b/precompiles/batch/src/mock.rs index 6f22ed5e81..bc99beee3e 100644 --- a/precompiles/batch/src/mock.rs +++ b/precompiles/batch/src/mock.rs @@ -75,6 +75,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/call-permit/src/mock.rs b/precompiles/call-permit/src/mock.rs index 82a6df48b5..592c10c4f9 100644 --- a/precompiles/call-permit/src/mock.rs +++ b/precompiles/call-permit/src/mock.rs @@ -75,6 +75,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/collective/src/lib.rs b/precompiles/collective/src/lib.rs index ee945e0b0c..c28b847f4a 100644 --- a/precompiles/collective/src/lib.rs +++ b/precompiles/collective/src/lib.rs @@ -160,7 +160,7 @@ where .in_field("proposal") })?; - let proposal_index = pallet_collective::Pallet::::proposal_count(); + let proposal_index = pallet_collective::ProposalCount::::get(); let proposal_hash: H256 = hash::(&proposal); // In pallet_collective a threshold < 2 means the proposal has been @@ -299,7 +299,7 @@ where 32 * (>::MaxProposals::get() as usize), )?; - let proposals = pallet_collective::Pallet::::proposals(); + let proposals = pallet_collective::Proposals::::get(); let proposals: Vec<_> = proposals.into_iter().map(|hash| hash.into()).collect(); Ok(proposals) @@ -313,7 +313,7 @@ where 20 * (>::MaxProposals::get() as usize), )?; - let members = pallet_collective::Pallet::::members(); + let members = pallet_collective::Members::::get(); let members: Vec<_> = members.into_iter().map(|id| Address(id.into())).collect(); Ok(members) @@ -340,7 +340,7 @@ where // Prime handle.record_db_read::(20)?; - let prime = pallet_collective::Pallet::::prime() + let prime = pallet_collective::Prime::::get() .map(|prime| prime.into()) .unwrap_or(H160::zero()); diff --git a/precompiles/collective/src/mock.rs b/precompiles/collective/src/mock.rs index 2510220457..9ca9dd745e 100644 --- a/precompiles/collective/src/mock.rs +++ b/precompiles/collective/src/mock.rs @@ -86,6 +86,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/precompiles/conviction-voting/src/mock.rs b/precompiles/conviction-voting/src/mock.rs index 56bd64ee08..b3403d6c93 100644 --- a/precompiles/conviction-voting/src/mock.rs +++ b/precompiles/conviction-voting/src/mock.rs @@ -82,6 +82,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/crowdloan-rewards/src/mock.rs b/precompiles/crowdloan-rewards/src/mock.rs index 197c959558..0c30508b9a 100644 --- a/precompiles/crowdloan-rewards/src/mock.rs +++ b/precompiles/crowdloan-rewards/src/mock.rs @@ -94,6 +94,7 @@ impl pallet_message_queue::Config for Runtime { type QueueChangeHandler = (); type WeightInfo = (); type QueuePausedQuery = (); + type IdleMaxServiceWeight = MessageQueueServiceWeight; } parameter_types! { @@ -125,6 +126,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/gmp/src/mock.rs b/precompiles/gmp/src/mock.rs index f90e4b878c..28f5621f9e 100644 --- a/precompiles/gmp/src/mock.rs +++ b/precompiles/gmp/src/mock.rs @@ -96,6 +96,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; @@ -188,8 +193,10 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } pub type Precompiles = PrecompileSetBuilder< @@ -401,6 +408,8 @@ impl orml_xtokens::Config for Runtime { type LocationsFilter = Everything; type ReserveProvider = AbsoluteReserveProvider; type UniversalLocation = UniversalLocation; + type RateLimiter = (); + type RateLimiterId = (); } pub(crate) struct ExtBuilder { diff --git a/precompiles/identity/src/mock.rs b/precompiles/identity/src/mock.rs index f6cbd57717..8bfd1c1338 100644 --- a/precompiles/identity/src/mock.rs +++ b/precompiles/identity/src/mock.rs @@ -83,6 +83,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 1; diff --git a/precompiles/parachain-staking/src/mock.rs b/precompiles/parachain-staking/src/mock.rs index af20411be7..7782da9761 100644 --- a/precompiles/parachain-staking/src/mock.rs +++ b/precompiles/parachain-staking/src/mock.rs @@ -85,6 +85,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/precompiles/precompile-registry/src/mock.rs b/precompiles/precompile-registry/src/mock.rs index 4caeaa6b5b..40973c625a 100644 --- a/precompiles/precompile-registry/src/mock.rs +++ b/precompiles/precompile-registry/src/mock.rs @@ -75,6 +75,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/preimage/src/mock.rs b/precompiles/preimage/src/mock.rs index 5dc9ceada4..042fd9665d 100644 --- a/precompiles/preimage/src/mock.rs +++ b/precompiles/preimage/src/mock.rs @@ -74,6 +74,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/proxy/src/mock.rs b/precompiles/proxy/src/mock.rs index a8b4038ef5..0cbafc9516 100644 --- a/precompiles/proxy/src/mock.rs +++ b/precompiles/proxy/src/mock.rs @@ -82,6 +82,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/randomness/src/mock.rs b/precompiles/randomness/src/mock.rs index 06e6c9aa9f..0726ac111d 100644 --- a/precompiles/randomness/src/mock.rs +++ b/precompiles/randomness/src/mock.rs @@ -77,6 +77,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/precompiles/referenda/src/mock.rs b/precompiles/referenda/src/mock.rs index 20b9f97de3..33bcb6839f 100644 --- a/precompiles/referenda/src/mock.rs +++ b/precompiles/referenda/src/mock.rs @@ -85,6 +85,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/precompiles/relay-data-verifier/src/mock.rs b/precompiles/relay-data-verifier/src/mock.rs index c8c0b8465c..19bffe5e8b 100644 --- a/precompiles/relay-data-verifier/src/mock.rs +++ b/precompiles/relay-data-verifier/src/mock.rs @@ -76,6 +76,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { diff --git a/precompiles/relay-encoder/src/mock.rs b/precompiles/relay-encoder/src/mock.rs index b528a46347..12587dd736 100644 --- a/precompiles/relay-encoder/src/mock.rs +++ b/precompiles/relay-encoder/src/mock.rs @@ -83,6 +83,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -121,6 +126,7 @@ impl pallet_message_queue::Config for Runtime { type QueueChangeHandler = (); type WeightInfo = (); type QueuePausedQuery = (); + type IdleMaxServiceWeight = MessageQueueServiceWeight; } parameter_types! { diff --git a/precompiles/utils/tests-external/lib.rs b/precompiles/utils/tests-external/lib.rs index ca32c4e41a..1e8d2c5564 100644 --- a/precompiles/utils/tests-external/lib.rs +++ b/precompiles/utils/tests-external/lib.rs @@ -85,6 +85,11 @@ mod tests { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/xcm-transactor/src/mock.rs b/precompiles/xcm-transactor/src/mock.rs index 03d014f5a1..b239e660cc 100644 --- a/precompiles/xcm-transactor/src/mock.rs +++ b/precompiles/xcm-transactor/src/mock.rs @@ -112,6 +112,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; diff --git a/precompiles/xcm-utils/src/mock.rs b/precompiles/xcm-utils/src/mock.rs index 2098470bd1..45ceadd06e 100644 --- a/precompiles/xcm-utils/src/mock.rs +++ b/precompiles/xcm-utils/src/mock.rs @@ -174,6 +174,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; @@ -437,8 +442,10 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } pub(crate) struct ExtBuilder { diff --git a/precompiles/xtokens/src/mock.rs b/precompiles/xtokens/src/mock.rs index 17ea747d82..db681be3d7 100644 --- a/precompiles/xtokens/src/mock.rs +++ b/precompiles/xtokens/src/mock.rs @@ -97,6 +97,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { pub const ExistentialDeposit: u128 = 0; @@ -307,8 +312,10 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } #[derive(Clone, Eq, Debug, PartialEq, Ord, PartialOrd, Encode, Decode, TypeInfo)] @@ -407,6 +414,8 @@ impl orml_xtokens::Config for Runtime { type MinXcmFee = ParachainMinFee; type LocationsFilter = Everything; type ReserveProvider = AbsoluteReserveProvider; + type RateLimiter = (); + type RateLimiterId = (); } pub(crate) struct ExtBuilder { diff --git a/primitives/xcm/src/asset_id_conversions.rs b/primitives/xcm/src/asset_id_conversions.rs index 3b7a5ca932..ca0e8c3924 100644 --- a/primitives/xcm/src/asset_id_conversions.rs +++ b/primitives/xcm/src/asset_id_conversions.rs @@ -49,13 +49,14 @@ where AssetIdInfoGetter: AssetTypeGetter, { fn convert(id: &xcm::v4::Location) -> Option { - let v3_location = xcm_builder::V4V3LocationConverter::convert(id)?; + let v3_location = + xcm_builder::WithLatestLocationConverter::::convert(id)?; AssetIdInfoGetter::get_asset_id(v3_location.clone().into()) } fn convert_back(what: &AssetId) -> Option { let v3_location: Location = AssetIdInfoGetter::get_asset_type(what.clone()).and_then(Into::into)?; - xcm_builder::V4V3LocationConverter::convert_back(&v3_location) + xcm_builder::WithLatestLocationConverter::convert_back(&v3_location) } } impl ConvertLocation @@ -66,7 +67,8 @@ where AssetIdInfoGetter: AssetTypeGetter, { fn convert_location(id: &xcm::v4::Location) -> Option { - let v3_location = xcm_builder::V4V3LocationConverter::convert(id)?; + let v3_location = + xcm_builder::WithLatestLocationConverter::::convert(id)?; AssetIdInfoGetter::get_asset_id(v3_location.clone().into()) } } diff --git a/runtime/common/src/apis.rs b/runtime/common/src/apis.rs index 70876799f6..2d974706c3 100644 --- a/runtime/common/src/apis.rs +++ b/runtime/common/src/apis.rs @@ -55,7 +55,7 @@ macro_rules! impl_runtime_apis_plus_common { Executive::execute_block(block) } - fn initialize_block(header: &::Header) { + fn initialize_block(header: &::Header) -> sp_runtime::ExtrinsicInclusionMode { Executive::initialize_block(header) } } @@ -116,12 +116,16 @@ macro_rules! impl_runtime_apis_plus_common { } impl sp_genesis_builder::GenesisBuilder for Runtime { - fn create_default_config() -> Vec { - frame_support::genesis_builder_helper::create_default_config::() + fn build_state(config: Vec) -> sp_genesis_builder::Result { + frame_support::genesis_builder_helper::build_state::(config) } - fn build_config(config: Vec) -> sp_genesis_builder::Result { - frame_support::genesis_builder_helper::build_config::(config) + fn get_preset(id: &Option) -> Option> { + frame_support::genesis_builder_helper::get_preset::(id, |_| None) + } + + fn preset_names() -> Vec { + vec![] } } @@ -617,8 +621,10 @@ macro_rules! impl_runtime_apis_plus_common { ) } - fn initialize_pending_block(header: &::Header) { - pallet_randomness::vrf::using_fake_vrf(|| Executive::initialize_block(header)) + fn initialize_pending_block(header: &::Header) { + pallet_randomness::vrf::using_fake_vrf(|| { + let _ = Executive::initialize_block(header); + }) } } @@ -768,6 +774,7 @@ macro_rules! impl_runtime_apis_plus_common { GeneralIndex, Junction, Junctions, Location, Response, NetworkId, AssetId, Assets as XcmAssets, Fungible, Asset, ParentThen, Parachain, Parent }; + use xcm_config::SelfReserve; use frame_benchmarking::BenchmarkError; use frame_system_benchmarking::Pallet as SystemBench; @@ -783,7 +790,35 @@ macro_rules! impl_runtime_apis_plus_common { pub const RandomParaId: ParaId = ParaId::new(43211234); } + pub struct TestDeliveryHelper; + impl xcm_builder::EnsureDelivery for TestDeliveryHelper { + fn ensure_successful_delivery( + origin_ref: &Location, + _dest: &Location, + _fee_reason: xcm_executor::traits::FeeReason, + ) -> (Option, Option) { + use xcm_executor::traits::ConvertLocation; + let account = xcm_config::LocationToH160::convert_location(origin_ref) + .expect("Invalid location"); + // Give the existential deposit at least + let balance = ExistentialDeposit::get(); + let _ = >:: + make_free_balance_be(&account.into(), balance); + + (None, None) + } + } + impl pallet_xcm::benchmarking::Config for Runtime { + type DeliveryHelper = TestDeliveryHelper; + + fn get_asset() -> Asset { + Asset { + id: AssetId(SelfReserve::get()), + fun: Fungible(ExistentialDeposit::get()), + } + } + fn reachable_dest() -> Option { Some(Parent.into()) } @@ -801,10 +836,11 @@ macro_rules! impl_runtime_apis_plus_common { Some(( Asset { - fun: Fungible(::ExistentialDeposit::get()), + fun: Fungible(ExistentialDeposit::get()), id: AssetId(SelfReserve::get().into()) }, - // AH can reserve transfer native token to some random parachain. + // Moonbeam can reserve transfer native token to + // some random parachain. ParentThen(Parachain(RandomParaId::get().into()).into()).into(), )) } diff --git a/runtime/common/src/impl_on_charge_evm_transaction.rs b/runtime/common/src/impl_on_charge_evm_transaction.rs index 619b11c859..baa4777e06 100644 --- a/runtime/common/src/impl_on_charge_evm_transaction.rs +++ b/runtime/common/src/impl_on_charge_evm_transaction.rs @@ -46,7 +46,7 @@ macro_rules! impl_on_charge_evm_transaction { corrected_fee: U256, base_fee: U256, already_withdrawn: Self::LiquidityInfo, - ) -> Result> { + ) -> Self::LiquidityInfo { ::Currency, OU> as OnChargeEVMTransactionT< T, >>::correct_and_deposit_fee(who, corrected_fee, base_fee, already_withdrawn) diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index fac49422cd..f66c85be57 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -193,4 +193,88 @@ impl pallet_scheduler::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } + + /// Storage: `Scheduler::Retries` (r:1 w:2) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn schedule_retry(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `196` + // Estimated: `42428` + // Minimum execution time: 13_156_000 picoseconds. + Weight::from_parts(13_801_287, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 568 + .saturating_add(Weight::from_parts(35_441, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn set_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `115 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 7_912_000 picoseconds. + Weight::from_parts(8_081_460, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn set_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `324 + s * (185 ±0)` + // Estimated: `42428` + // Minimum execution time: 10_673_000 picoseconds. + Weight::from_parts(12_212_185, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn cancel_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `115 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 7_912_000 picoseconds. + Weight::from_parts(8_081_460, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn cancel_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `324 + s * (185 ±0)` + // Estimated: `42428` + // Minimum execution time: 10_673_000 picoseconds. + Weight::from_parts(12_212_185, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/runtime/common/src/weights/pallet_xcm.rs b/runtime/common/src/weights/pallet_xcm.rs index b183e48aa0..3da36cfec9 100644 --- a/runtime/common/src/weights/pallet_xcm.rs +++ b/runtime/common/src/weights/pallet_xcm.rs @@ -322,4 +322,17 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + + /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) + /// Proof: `XcmPallet::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn claim_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `23` + // Estimated: `3488` + // Minimum execution time: 34_438_000 picoseconds. + Weight::from_parts(35_514_000, 0) + .saturating_add(Weight::from_parts(0, 3488)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 012fa82eee..c5132c3575 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -50,7 +50,9 @@ pub use precompiles::{ }; use account::AccountId20; -use cumulus_pallet_parachain_system::{RelayChainStateProof, RelaychainDataProvider}; +use cumulus_pallet_parachain_system::{ + RelayChainStateProof, RelayStateProof, RelaychainDataProvider, ValidationData, +}; use cumulus_primitives_core::{relay_chain, AggregateMessageOrigin}; use fp_rpc::TransactionStatus; use frame_support::{ @@ -280,6 +282,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = ConstU16<1287>; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } impl pallet_utility::Config for Runtime { @@ -297,6 +304,16 @@ impl pallet_timestamp::Config for Runtime { type WeightInfo = moonbeam_weights::pallet_timestamp::WeightInfo; } +#[cfg(not(feature = "runtime-benchmarks"))] +parameter_types! { + pub const ExistentialDeposit: Balance = 0; +} + +#[cfg(feature = "runtime-benchmarks")] +parameter_types! { + pub const ExistentialDeposit: Balance = 1; +} + impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 4]; @@ -306,10 +323,7 @@ impl pallet_balances::Config for Runtime { /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; type DustRemoval = (); - #[cfg(not(feature = "runtime-benchmarks"))] - type ExistentialDeposit = ConstU128<0>; - #[cfg(feature = "runtime-benchmarks")] - type ExistentialDeposit = ConstU128<1>; + type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type FreezeIdentifier = (); type MaxFreezes = ConstU32<0>; @@ -1262,28 +1276,34 @@ impl pallet_moonbeam_orbiters::Config for Runtime { } /// Only callable after `set_validation_data` is called which forms this proof the same way -fn relay_chain_state_proof() -> RelayChainStateProof { - let relay_storage_root = ParachainSystem::validation_data() +fn relay_chain_state_proof() -> RelayChainStateProof +where + Runtime: cumulus_pallet_parachain_system::Config, +{ + let relay_storage_root = ValidationData::::get() .expect("set in `set_validation_data`") .relay_parent_storage_root; let relay_chain_state = - ParachainSystem::relay_state_proof().expect("set in `set_validation_data`"); + RelayStateProof::::get().expect("set in `set_validation_data`"); RelayChainStateProof::new(ParachainInfo::get(), relay_storage_root, relay_chain_state) .expect("Invalid relay chain state proof, already constructed in `set_validation_data`") } -pub struct BabeDataGetter; -impl pallet_randomness::GetBabeData> for BabeDataGetter { +pub struct BabeDataGetter(sp_std::marker::PhantomData); +impl pallet_randomness::GetBabeData> for BabeDataGetter +where + Runtime: cumulus_pallet_parachain_system::Config, +{ // Tolerate panic here because only ever called in inherent (so can be omitted) fn get_epoch_index() -> u64 { if cfg!(feature = "runtime-benchmarks") { // storage reads as per actual reads - let _relay_storage_root = ParachainSystem::validation_data(); - let _relay_chain_state = ParachainSystem::relay_state_proof(); + let _relay_storage_root = ValidationData::::get(); + let _relay_chain_state = RelayStateProof::::get(); const BENCHMARKING_NEW_EPOCH: u64 = 10u64; return BENCHMARKING_NEW_EPOCH; } - relay_chain_state_proof() + relay_chain_state_proof::() .read_optional_entry(relay_chain::well_known_keys::EPOCH_INDEX) .ok() .flatten() @@ -1292,12 +1312,12 @@ impl pallet_randomness::GetBabeData> for BabeDataGetter { fn get_epoch_randomness() -> Option { if cfg!(feature = "runtime-benchmarks") { // storage reads as per actual reads - let _relay_storage_root = ParachainSystem::validation_data(); - let _relay_chain_state = ParachainSystem::relay_state_proof(); + let _relay_storage_root = ValidationData::::get(); + let _relay_chain_state = RelayStateProof::::get(); let benchmarking_babe_output = Hash::default(); return Some(benchmarking_babe_output); } - relay_chain_state_proof() + relay_chain_state_proof::() .read_optional_entry(relay_chain::well_known_keys::ONE_EPOCH_AGO_RANDOMNESS) .ok() .flatten() @@ -1308,7 +1328,7 @@ impl pallet_randomness::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AddressMapping = sp_runtime::traits::ConvertInto; type Currency = Balances; - type BabeDataGetter = BabeDataGetter; + type BabeDataGetter = BabeDataGetter; type VrfKeyLookup = AuthorMapping; type Deposit = ConstU128<{ 1 * currency::UNIT * currency::SUPPLY_FACTOR }>; type MaxRandomWords = ConstU8<100>; diff --git a/runtime/moonbase/src/xcm_config.rs b/runtime/moonbase/src/xcm_config.rs index 63ec0d0c19..d6ae2444ce 100644 --- a/runtime/moonbase/src/xcm_config.rs +++ b/runtime/moonbase/src/xcm_config.rs @@ -313,6 +313,9 @@ impl xcm_executor::Config for XcmExecutorConfig { type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; type TransactionalProcessor = xcm_builder::FrameTransactionalProcessor; + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } // Converts a Signed Local Origin into a Location @@ -429,6 +432,7 @@ impl pallet_message_queue::Config for Runtime { // NarrowOriginToSibling calls XcmpQueue's is_paused if Origin is sibling. Allows all other origins type QueuePausedQuery = EmergencyParaXcm; type WeightInfo = pallet_message_queue::weights::SubstrateWeight; + type IdleMaxServiceWeight = MessageQueueServiceWeight; } impl pallet_emergency_para_xcm::Config for Runtime { @@ -480,7 +484,9 @@ impl Into> for AssetType { impl Into> for AssetType { fn into(self) -> Option { match self { - Self::Xcm(location) => xcm_builder::V4V3LocationConverter::convert_back(&location), + Self::Xcm(location) => { + xcm_builder::WithLatestLocationConverter::convert_back(&location) + } } } } @@ -601,6 +607,8 @@ impl orml_xtokens::Config for Runtime { type MinXcmFee = ParachainMinFee; type LocationsFilter = Everything; type ReserveProvider = AbsoluteAndRelativeReserve; + type RateLimiter = (); + type RateLimiterId = (); } // 1 WND/ROC should be enough @@ -704,7 +712,7 @@ impl pallet_erc20_xcm_bridge::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] mod testing { use super::*; - use xcm_builder::V4V3LocationConverter; + use xcm_builder::WithLatestLocationConverter; /// This From exists for benchmarking purposes. It has the potential side-effect of calling /// AssetManager::set_asset_type_asset_id() and should NOT be used in any production code. @@ -719,7 +727,7 @@ mod testing { asset_id } else { let asset_type = AssetType::Xcm( - V4V3LocationConverter::convert(&location).expect("convert to v3"), + WithLatestLocationConverter::convert(&location).expect("convert to v3"), ); let asset_id: AssetId = asset_type.clone().into(); AssetManager::set_asset_type_asset_id(asset_type, asset_id); diff --git a/runtime/moonbase/tests/common/mod.rs b/runtime/moonbase/tests/common/mod.rs index 5910bda424..cd3a0cfe0c 100644 --- a/runtime/moonbase/tests/common/mod.rs +++ b/runtime/moonbase/tests/common/mod.rs @@ -31,7 +31,7 @@ pub use moonbase_runtime::{ use nimbus_primitives::{NimbusId, NIMBUS_ENGINE_ID}; use polkadot_parachain::primitives::HeadData; use sp_consensus_slots::Slot; -use sp_core::{Encode, Get, H160}; +use sp_core::{Encode, H160}; use sp_runtime::{traits::Dispatchable, BuildStorage, Digest, DigestItem, Perbill, Percent}; use std::collections::BTreeMap; diff --git a/runtime/moonbase/tests/integration_test.rs b/runtime/moonbase/tests/integration_test.rs index 6e37a09111..d6779855f2 100644 --- a/runtime/moonbase/tests/integration_test.rs +++ b/runtime/moonbase/tests/integration_test.rs @@ -439,20 +439,28 @@ fn verify_pallet_indices() { #[test] fn verify_reserved_indices() { use frame_metadata::*; - let metadata = moonbase_runtime::Runtime::metadata(); - let metadata = match metadata.1 { - RuntimeMetadata::V14(metadata) => metadata, - _ => panic!("metadata has been bumped, test needs to be updated"), - }; - // 35: BaseFee - // 36: pallet_assets:: - let reserved = vec![35, 36]; - let existing = metadata - .pallets - .iter() - .map(|p| p.index) - .collect::>(); - assert!(reserved.iter().all(|index| !existing.contains(index))); + + let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::::default() + .build_storage() + .unwrap() + .into(); + + t.execute_with(|| { + let metadata = moonbase_runtime::Runtime::metadata(); + let metadata = match metadata.1 { + RuntimeMetadata::V14(metadata) => metadata, + _ => panic!("metadata has been bumped, test needs to be updated"), + }; + // 35: BaseFee + // 36: pallet_assets:: + let reserved = vec![35, 36]; + let existing = metadata + .pallets + .iter() + .map(|p| p.index) + .collect::>(); + assert!(reserved.iter().all(|index| !existing.contains(index))); + }); } #[test] diff --git a/runtime/moonbase/tests/xcm_mock/parachain.rs b/runtime/moonbase/tests/xcm_mock/parachain.rs index ad4802344b..732352952f 100644 --- a/runtime/moonbase/tests/xcm_mock/parachain.rs +++ b/runtime/moonbase/tests/xcm_mock/parachain.rs @@ -101,6 +101,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -369,8 +374,10 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } impl cumulus_pallet_xcm::Config for Runtime { @@ -446,6 +453,8 @@ impl orml_xtokens::Config for Runtime { type MinXcmFee = ParachainMinFee; type LocationsFilter = Everything; type ReserveProvider = xcm_primitives::AbsoluteAndRelativeReserve; + type RateLimiter = (); + type RateLimiterId = (); } parameter_types! { @@ -1085,7 +1094,7 @@ pub(crate) fn para_events() -> Vec { } use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; -use frame_support::traits::{OnFinalize, OnInitialize, OnRuntimeUpgrade}; +use frame_support::traits::{OnFinalize, OnInitialize, UncheckedOnRuntimeUpgrade}; pub(crate) fn on_runtime_upgrade() { VersionUncheckedMigrateToV1::::on_runtime_upgrade(); } diff --git a/runtime/moonbase/tests/xcm_mock/relay_chain.rs b/runtime/moonbase/tests/xcm_mock/relay_chain.rs index 40bff5e1ae..15bb49b91e 100644 --- a/runtime/moonbase/tests/xcm_mock/relay_chain.rs +++ b/runtime/moonbase/tests/xcm_mock/relay_chain.rs @@ -79,6 +79,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -205,6 +210,9 @@ impl Config for XcmConfig { type SafeCallFilter = Everything; type Aliasers = Nothing; type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } pub type LocalOriginToLocation = SignedToAccountId32; @@ -274,12 +282,17 @@ impl paras::Config for Runtime { impl dmp::Config for Runtime {} +parameter_types! { + pub const DefaultChannelSizeAndCapacityWithSystem: (u32, u32) = (4, 1); +} + impl hrmp::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type WeightInfo = TestHrmpWeightInfo; type ChannelManager = frame_system::EnsureRoot; + type DefaultChannelSizeAndCapacityWithSystem = DefaultChannelSizeAndCapacityWithSystem; } impl frame_system::offchain::SendTransactionTypes for Runtime @@ -333,6 +346,7 @@ impl pallet_message_queue::Config for Runtime { type QueueChangeHandler = (); type WeightInfo = (); type QueuePausedQuery = (); + type IdleMaxServiceWeight = MessageQueueServiceWeight; } construct_runtime!( @@ -409,4 +423,8 @@ impl hrmp::WeightInfo for TestHrmpWeightInfo { fn poke_channel_deposits() -> Weight { Weight::from_parts(1, 0) } + + fn establish_channel_with_system() -> Weight { + Weight::from_parts(1, 0) + } } diff --git a/runtime/moonbase/tests/xcm_mock/statemint_like.rs b/runtime/moonbase/tests/xcm_mock/statemint_like.rs index a3da2c2160..48a358c0a5 100644 --- a/runtime/moonbase/tests/xcm_mock/statemint_like.rs +++ b/runtime/moonbase/tests/xcm_mock/statemint_like.rs @@ -82,6 +82,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -314,8 +319,10 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } /// No local origins on this chain are allowed to dispatch XCM sends/executions. diff --git a/runtime/moonbase/tests/xcm_tests.rs b/runtime/moonbase/tests/xcm_tests.rs index c7e68510dd..24ad722407 100644 --- a/runtime/moonbase/tests/xcm_tests.rs +++ b/runtime/moonbase/tests/xcm_tests.rs @@ -77,12 +77,13 @@ fn receive_relay_asset_from_relay() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -133,12 +134,13 @@ fn send_relay_asset_to_relay() { // First send relay chain asset to Parachain like in previous test Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -240,12 +242,13 @@ fn send_relay_asset_to_para_b() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -295,7 +298,7 @@ fn send_para_a_asset_to_para_b() { // this represents the asset in paraA let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -367,7 +370,7 @@ fn send_para_a_asset_from_para_b_to_para_c() { // Represents para A asset let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -483,7 +486,7 @@ fn send_para_a_asset_to_para_b_and_back_to_para_a() { // Para A asset let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -582,7 +585,7 @@ fn send_para_a_asset_to_para_b_and_back_to_para_a_with_new_reanchoring() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -733,12 +736,13 @@ fn receive_relay_asset_with_trader() { // Therefore with no refund, we should receive 10 tokens less // Native trader fails for this, and we use the asset trader Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 100).into()), 0, + WeightLimit::Unlimited )); }); @@ -756,7 +760,7 @@ fn send_para_a_asset_to_para_b_with_trader() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -833,7 +837,7 @@ fn send_para_a_asset_to_para_b_with_trader_and_fee() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -939,12 +943,13 @@ fn error_when_not_paying_enough() { // If we set the dest weight to be 1e7, we know the buy_execution will spend 1e7*1e6/1e12 = 10 // Therefore with no refund, we should receive 10 tokens less Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 5).into()), 0, + WeightLimit::Unlimited )); }); @@ -1008,12 +1013,13 @@ fn transact_through_derivative_multilocation() { .into(); Relay::execute_with(|| { // 4000000000 transact + 3000 correspond to 4000003000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1161,12 +1167,13 @@ fn transact_through_derivative_with_custom_fee_weight() { .into(); Relay::execute_with(|| { // 4000000000 transact + 3000 correspond to 4000003000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1316,12 +1323,13 @@ fn transact_through_derivative_with_custom_fee_weight_refund() { .into(); Relay::execute_with(|| { // 4000000000 transact + 9000 correspond to 4000009000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 4000009100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1483,12 +1491,13 @@ fn transact_through_sovereign() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1739,12 +1748,13 @@ fn transact_through_sovereign_with_custom_fee_weight() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1892,12 +1902,13 @@ fn transact_through_sovereign_with_custom_fee_weight_refund() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 4000009100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -2075,12 +2086,13 @@ fn test_automatic_versioning_on_runtime_upgrade_with_relay() { )); // Transfer assets. Since it is an unknown destination, it will query for version - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); // Let's advance the relay. This should trigger the subscription message @@ -2147,7 +2159,7 @@ fn test_automatic_versioning_on_runtime_upgrade_with_para_b() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -2332,12 +2344,13 @@ fn receive_asset_with_no_sufficients_not_possible_if_non_existent_account() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2358,12 +2371,13 @@ fn receive_asset_with_no_sufficients_not_possible_if_non_existent_account() { // Re-send tokens Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2410,12 +2424,13 @@ fn receive_assets_with_sufficients_true_allows_non_funded_account_to_receive_ass } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2470,12 +2485,13 @@ fn evm_account_receiving_assets_should_handle_sufficients_ref_count() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2548,12 +2564,13 @@ fn empty_account_should_not_be_reset() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([], 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2615,7 +2632,7 @@ fn test_statemint_like() { ], ); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(&statemint_asset_a_balances) + xcm_builder::WithLatestLocationConverter::convert(&statemint_asset_a_balances) .expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -2676,7 +2693,7 @@ fn test_statemint_like() { .into(); // Send asset with previous prefix - assert_ok!(StatemintChainPalletXcm::reserve_transfer_assets( + assert_ok!(StatemintChainPalletXcm::limited_reserve_transfer_assets( statemint_like::RuntimeOrigin::signed(RELAYALICE), Box::new(Location::new(1, [Parachain(1)]).into()), Box::new(VersionedLocation::V4(dest).clone().into()), @@ -2693,6 +2710,7 @@ fn test_statemint_like() { .into() ), 0, + WeightLimit::Unlimited )); }); @@ -2721,7 +2739,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { [Parachain(4u32), PalletInstance(5u8), GeneralIndex(10u128)], ); let statemint_location_asset = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(&statemint_asset).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(&statemint_asset).expect("convert to v3"), ); let source_statemint_asset_id: parachain::AssetId = statemint_location_asset.clone().into(); @@ -2777,7 +2795,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { // Send relay chain asset to Alice in Parachain A Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new( @@ -2787,6 +2805,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { ), Box::new(([], 200).into()), 0, + WeightLimit::Unlimited )); }); @@ -2826,7 +2845,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { .into(); // Send with new prefix - assert_ok!(StatemintChainPalletXcm::reserve_transfer_assets( + assert_ok!(StatemintChainPalletXcm::limited_reserve_transfer_assets( statemint_like::RuntimeOrigin::signed(RELAYALICE), Box::new(Location::new(1, [Parachain(1)]).into()), Box::new( @@ -2847,6 +2866,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { .into() ), 0, + WeightLimit::Unlimited )); }); diff --git a/runtime/moonbeam/src/lib.rs b/runtime/moonbeam/src/lib.rs index f64156400a..12f5ad9db4 100644 --- a/runtime/moonbeam/src/lib.rs +++ b/runtime/moonbeam/src/lib.rs @@ -29,7 +29,9 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use account::AccountId20; -use cumulus_pallet_parachain_system::{RelayChainStateProof, RelaychainDataProvider}; +use cumulus_pallet_parachain_system::{ + RelayChainStateProof, RelayStateProof, RelaychainDataProvider, ValidationData, +}; use fp_rpc::TransactionStatus; use cumulus_primitives_core::{relay_chain, AggregateMessageOrigin}; @@ -272,6 +274,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = ConstU16<1284>; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } impl pallet_utility::Config for Runtime { @@ -289,6 +296,10 @@ impl pallet_timestamp::Config for Runtime { type WeightInfo = moonbeam_weights::pallet_timestamp::WeightInfo; } +parameter_types! { + pub const ExistentialDeposit: Balance = 0; +} + impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 4]; @@ -298,7 +309,7 @@ impl pallet_balances::Config for Runtime { /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; type DustRemoval = (); - type ExistentialDeposit = ConstU128<0>; + type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type FreezeIdentifier = (); type MaxFreezes = ConstU32<0>; @@ -1262,28 +1273,34 @@ impl pallet_moonbeam_orbiters::Config for Runtime { } /// Only callable after `set_validation_data` is called which forms this proof the same way -fn relay_chain_state_proof() -> RelayChainStateProof { - let relay_storage_root = ParachainSystem::validation_data() +fn relay_chain_state_proof() -> RelayChainStateProof +where + Runtime: cumulus_pallet_parachain_system::Config, +{ + let relay_storage_root = ValidationData::::get() .expect("set in `set_validation_data`") .relay_parent_storage_root; let relay_chain_state = - ParachainSystem::relay_state_proof().expect("set in `set_validation_data`"); + RelayStateProof::::get().expect("set in `set_validation_data`"); RelayChainStateProof::new(ParachainInfo::get(), relay_storage_root, relay_chain_state) .expect("Invalid relay chain state proof, already constructed in `set_validation_data`") } -pub struct BabeDataGetter; -impl pallet_randomness::GetBabeData> for BabeDataGetter { +pub struct BabeDataGetter(sp_std::marker::PhantomData); +impl pallet_randomness::GetBabeData> for BabeDataGetter +where + Runtime: cumulus_pallet_parachain_system::Config, +{ // Tolerate panic here because only ever called in inherent (so can be omitted) fn get_epoch_index() -> u64 { if cfg!(feature = "runtime-benchmarks") { // storage reads as per actual reads - let _relay_storage_root = ParachainSystem::validation_data(); - let _relay_chain_state = ParachainSystem::relay_state_proof(); + let _relay_storage_root = ValidationData::::get(); + let _relay_chain_state = RelayStateProof::::get(); const BENCHMARKING_NEW_EPOCH: u64 = 10u64; return BENCHMARKING_NEW_EPOCH; } - relay_chain_state_proof() + relay_chain_state_proof::() .read_optional_entry(relay_chain::well_known_keys::EPOCH_INDEX) .ok() .flatten() @@ -1292,12 +1309,12 @@ impl pallet_randomness::GetBabeData> for BabeDataGetter { fn get_epoch_randomness() -> Option { if cfg!(feature = "runtime-benchmarks") { // storage reads as per actual reads - let _relay_storage_root = ParachainSystem::validation_data(); - let _relay_chain_state = ParachainSystem::relay_state_proof(); + let _relay_storage_root = ValidationData::::get(); + let _relay_chain_state = RelayStateProof::::get(); let benchmarking_babe_output = Hash::default(); return Some(benchmarking_babe_output); } - relay_chain_state_proof() + relay_chain_state_proof::() .read_optional_entry(relay_chain::well_known_keys::ONE_EPOCH_AGO_RANDOMNESS) .ok() .flatten() @@ -1308,7 +1325,7 @@ impl pallet_randomness::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AddressMapping = sp_runtime::traits::ConvertInto; type Currency = Balances; - type BabeDataGetter = BabeDataGetter; + type BabeDataGetter = BabeDataGetter; type VrfKeyLookup = AuthorMapping; type Deposit = ConstU128<{ 1 * currency::GLMR * currency::SUPPLY_FACTOR }>; type MaxRandomWords = ConstU8<100>; diff --git a/runtime/moonbeam/src/xcm_config.rs b/runtime/moonbeam/src/xcm_config.rs index 5d95f51779..7f4e304916 100644 --- a/runtime/moonbeam/src/xcm_config.rs +++ b/runtime/moonbeam/src/xcm_config.rs @@ -304,6 +304,9 @@ impl xcm_executor::Config for XcmExecutorConfig { type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; type TransactionalProcessor = xcm_builder::FrameTransactionalProcessor; + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } type XcmExecutor = pallet_erc20_xcm_bridge::XcmExecutorWrapper< @@ -420,6 +423,7 @@ impl pallet_message_queue::Config for Runtime { // NarrowOriginToSibling calls XcmpQueue's is_paused if Origin is sibling. Allows all other origins type QueuePausedQuery = (MaintenanceMode, NarrowOriginToSibling); type WeightInfo = pallet_message_queue::weights::SubstrateWeight; + type IdleMaxServiceWeight = MessageQueueServiceWeight; } // Our AssetType. For now we only handle Xcm Assets @@ -458,7 +462,9 @@ impl Into> for AssetType { impl Into> for AssetType { fn into(self) -> Option { match self { - Self::Xcm(location) => xcm_builder::V4V3LocationConverter::convert_back(&location), + Self::Xcm(location) => { + xcm_builder::WithLatestLocationConverter::convert_back(&location) + } } } } @@ -578,6 +584,8 @@ impl orml_xtokens::Config for Runtime { type MinXcmFee = ParachainMinFee; type LocationsFilter = Everything; type ReserveProvider = AbsoluteAndRelativeReserve; + type RateLimiter = (); + type RateLimiterId = (); } // 1 DOT should be enough @@ -681,7 +689,7 @@ impl pallet_erc20_xcm_bridge::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] mod testing { use super::*; - use xcm_builder::V4V3LocationConverter; + use xcm_builder::WithLatestLocationConverter; /// This From exists for benchmarking purposes. It has the potential side-effect of calling /// AssetManager::set_asset_type_asset_id() and should NOT be used in any production code. @@ -696,7 +704,7 @@ mod testing { asset_id } else { let asset_type = AssetType::Xcm( - V4V3LocationConverter::convert(&location).expect("convert to v3"), + WithLatestLocationConverter::convert(&location).expect("convert to v3"), ); let asset_id: AssetId = asset_type.clone().into(); AssetManager::set_asset_type_asset_id(asset_type, asset_id); diff --git a/runtime/moonbeam/tests/integration_test.rs b/runtime/moonbeam/tests/integration_test.rs index 5ddca956b6..64b1952ecf 100644 --- a/runtime/moonbeam/tests/integration_test.rs +++ b/runtime/moonbeam/tests/integration_test.rs @@ -450,22 +450,29 @@ fn verify_pallet_indices() { #[test] fn verify_reserved_indices() { - use frame_metadata::*; - let metadata = moonbeam_runtime::Runtime::metadata(); - let metadata = match metadata.1 { - RuntimeMetadata::V14(metadata) => metadata, - _ => panic!("metadata has been bumped, test needs to be updated"), - }; - // 40: Sudo - // 53: BaseFee - // 108: pallet_assets:: - let reserved = vec![40, 53, 108]; - let existing = metadata - .pallets - .iter() - .map(|p| p.index) - .collect::>(); - assert!(reserved.iter().all(|index| !existing.contains(index))); + let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::::default() + .build_storage() + .unwrap() + .into(); + + t.execute_with(|| { + use frame_metadata::*; + let metadata = moonbeam_runtime::Runtime::metadata(); + let metadata = match metadata.1 { + RuntimeMetadata::V14(metadata) => metadata, + _ => panic!("metadata has been bumped, test needs to be updated"), + }; + // 40: Sudo + // 53: BaseFee + // 108: pallet_assets:: + let reserved = vec![40, 53, 108]; + let existing = metadata + .pallets + .iter() + .map(|p| p.index) + .collect::>(); + assert!(reserved.iter().all(|index| !existing.contains(index))); + }); } #[test] diff --git a/runtime/moonbeam/tests/xcm_mock/parachain.rs b/runtime/moonbeam/tests/xcm_mock/parachain.rs index 3ed310daa4..82d9ef7117 100644 --- a/runtime/moonbeam/tests/xcm_mock/parachain.rs +++ b/runtime/moonbeam/tests/xcm_mock/parachain.rs @@ -101,6 +101,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -359,8 +364,10 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } impl cumulus_pallet_xcm::Config for Runtime { @@ -431,6 +438,8 @@ impl orml_xtokens::Config for Runtime { type MinXcmFee = ParachainMinFee; type LocationsFilter = Everything; type ReserveProvider = xcm_primitives::AbsoluteAndRelativeReserve; + type RateLimiter = (); + type RateLimiterId = (); } parameter_types! { @@ -1070,7 +1079,7 @@ pub(crate) fn para_events() -> Vec { } use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; -use frame_support::traits::{OnFinalize, OnInitialize, OnRuntimeUpgrade}; +use frame_support::traits::{OnFinalize, OnInitialize, UncheckedOnRuntimeUpgrade}; pub(crate) fn on_runtime_upgrade() { VersionUncheckedMigrateToV1::::on_runtime_upgrade(); } diff --git a/runtime/moonbeam/tests/xcm_mock/relay_chain.rs b/runtime/moonbeam/tests/xcm_mock/relay_chain.rs index 40bff5e1ae..15bb49b91e 100644 --- a/runtime/moonbeam/tests/xcm_mock/relay_chain.rs +++ b/runtime/moonbeam/tests/xcm_mock/relay_chain.rs @@ -79,6 +79,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -205,6 +210,9 @@ impl Config for XcmConfig { type SafeCallFilter = Everything; type Aliasers = Nothing; type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } pub type LocalOriginToLocation = SignedToAccountId32; @@ -274,12 +282,17 @@ impl paras::Config for Runtime { impl dmp::Config for Runtime {} +parameter_types! { + pub const DefaultChannelSizeAndCapacityWithSystem: (u32, u32) = (4, 1); +} + impl hrmp::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type WeightInfo = TestHrmpWeightInfo; type ChannelManager = frame_system::EnsureRoot; + type DefaultChannelSizeAndCapacityWithSystem = DefaultChannelSizeAndCapacityWithSystem; } impl frame_system::offchain::SendTransactionTypes for Runtime @@ -333,6 +346,7 @@ impl pallet_message_queue::Config for Runtime { type QueueChangeHandler = (); type WeightInfo = (); type QueuePausedQuery = (); + type IdleMaxServiceWeight = MessageQueueServiceWeight; } construct_runtime!( @@ -409,4 +423,8 @@ impl hrmp::WeightInfo for TestHrmpWeightInfo { fn poke_channel_deposits() -> Weight { Weight::from_parts(1, 0) } + + fn establish_channel_with_system() -> Weight { + Weight::from_parts(1, 0) + } } diff --git a/runtime/moonbeam/tests/xcm_mock/statemint_like.rs b/runtime/moonbeam/tests/xcm_mock/statemint_like.rs index a3da2c2160..48a358c0a5 100644 --- a/runtime/moonbeam/tests/xcm_mock/statemint_like.rs +++ b/runtime/moonbeam/tests/xcm_mock/statemint_like.rs @@ -82,6 +82,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -314,8 +319,10 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } /// No local origins on this chain are allowed to dispatch XCM sends/executions. diff --git a/runtime/moonbeam/tests/xcm_tests.rs b/runtime/moonbeam/tests/xcm_tests.rs index 337255129f..ff3409abc9 100644 --- a/runtime/moonbeam/tests/xcm_tests.rs +++ b/runtime/moonbeam/tests/xcm_tests.rs @@ -81,12 +81,13 @@ fn receive_relay_asset_from_relay() { // First send relay chain asset to Parachain Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -137,12 +138,13 @@ fn send_relay_asset_to_relay() { // First send relay chain asset to Parachain like in previous test Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -242,12 +244,13 @@ fn send_relay_asset_to_para_b() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -297,7 +300,7 @@ fn send_para_a_asset_to_para_b() { // This represents the asset in paraA let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -370,7 +373,7 @@ fn send_para_a_asset_from_para_b_to_para_c() { // Represents para A asset let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -484,7 +487,7 @@ fn send_para_a_asset_to_para_b_and_back_to_para_a() { // para A asset let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -622,12 +625,13 @@ fn receive_relay_asset_with_trader() { // Therefore with no refund, we should receive 10 tokens less // Native trader fails for this, and we use the asset trader Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 100).into()), 0, + WeightLimit::Unlimited )); }); @@ -645,7 +649,7 @@ fn send_para_a_asset_to_para_b_with_trader() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -722,7 +726,7 @@ fn send_para_a_asset_to_para_b_with_trader_and_fee() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -828,12 +832,13 @@ fn error_when_not_paying_enough() { // If we set the dest weight to be 1e7, we know the buy_execution will spend 1e7*1e6/1e12 = 10 // Therefore with no refund, we should receive 10 tokens less Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 5).into()), 0, + WeightLimit::Unlimited )); }); @@ -897,12 +902,13 @@ fn transact_through_derivative_multilocation() { .into(); Relay::execute_with(|| { // 4000000000 transact + 3000 correspond to 4000003000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1040,12 +1046,13 @@ fn transact_through_derivative_with_custom_fee_weight() { .into(); Relay::execute_with(|| { // 4000000000 transact + 3000 correspond to 4000003000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1195,12 +1202,13 @@ fn transact_through_derivative_with_custom_fee_weight_refund() { .into(); Relay::execute_with(|| { // 4000000000 transact + 9000 correspond to 4000009000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000009100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1362,12 +1370,13 @@ fn transact_through_sovereign() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1618,12 +1627,13 @@ fn transact_through_sovereign_with_custom_fee_weight() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1771,12 +1781,13 @@ fn transact_through_sovereign_with_custom_fee_weight_refund() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000009100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1954,12 +1965,13 @@ fn test_automatic_versioning_on_runtime_upgrade_with_relay() { )); // Transfer assets. Since it is an unknown destination, it will query for version - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); // Let's advance the relay. This should trigger the subscription message @@ -2056,12 +2068,13 @@ fn receive_asset_with_no_sufficients_not_possible_if_non_existent_account() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2082,12 +2095,13 @@ fn receive_asset_with_no_sufficients_not_possible_if_non_existent_account() { // Re-send tokens Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2134,12 +2148,13 @@ fn receive_assets_with_sufficients_true_allows_non_funded_account_to_receive_ass } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2194,12 +2209,13 @@ fn evm_account_receiving_assets_should_handle_sufficients_ref_count() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2272,12 +2288,13 @@ fn empty_account_should_not_be_reset() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2339,7 +2356,7 @@ fn test_statemint_like() { ], ); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(&statemint_asset_a_balances) + xcm_builder::WithLatestLocationConverter::convert(&statemint_asset_a_balances) .expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -2401,7 +2418,7 @@ fn test_statemint_like() { .into(); // Send with new prefix - assert_ok!(StatemintChainPalletXcm::reserve_transfer_assets( + assert_ok!(StatemintChainPalletXcm::limited_reserve_transfer_assets( statemint_like::RuntimeOrigin::signed(RELAYALICE), Box::new(Location::new(1, [Parachain(1)]).into()), Box::new(VersionedLocation::V4(dest).clone().into()), @@ -2418,6 +2435,7 @@ fn test_statemint_like() { .into() ), 0, + WeightLimit::Unlimited )); }); @@ -2446,7 +2464,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { [Parachain(4u32), PalletInstance(5u8), GeneralIndex(10u128)], ); let statemint_location_asset = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(&statemint_asset).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(&statemint_asset).expect("convert to v3"), ); let source_statemint_asset_id: parachain::AssetId = statemint_location_asset.clone().into(); @@ -2502,7 +2520,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { // Send relay chain asset to Alice in Parachain A Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new( @@ -2512,6 +2530,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { ), Box::new(([] /* Here */, 200).into()), 0, + WeightLimit::Unlimited )); }); @@ -2551,7 +2570,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { .into(); // Send with new prefix - assert_ok!(StatemintChainPalletXcm::reserve_transfer_assets( + assert_ok!(StatemintChainPalletXcm::limited_reserve_transfer_assets( statemint_like::RuntimeOrigin::signed(RELAYALICE), Box::new(Location::new(1, [Parachain(1)]).into()), Box::new( @@ -2572,6 +2591,7 @@ fn send_statemint_asset_from_para_a_to_statemint_with_relay_fee() { .into() ), 0, + WeightLimit::Unlimited )); }); diff --git a/runtime/moonriver/src/lib.rs b/runtime/moonriver/src/lib.rs index 2da4f96b10..ff5c8f03bc 100644 --- a/runtime/moonriver/src/lib.rs +++ b/runtime/moonriver/src/lib.rs @@ -29,7 +29,9 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use account::AccountId20; -use cumulus_pallet_parachain_system::{RelayChainStateProof, RelaychainDataProvider}; +use cumulus_pallet_parachain_system::{ + RelayChainStateProof, RelayStateProof, RelaychainDataProvider, ValidationData, +}; use fp_rpc::TransactionStatus; // Re-export required by get! macro. @@ -274,6 +276,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = ConstU16<1285>; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } impl pallet_utility::Config for Runtime { @@ -291,6 +298,10 @@ impl pallet_timestamp::Config for Runtime { type WeightInfo = moonbeam_weights::pallet_timestamp::WeightInfo; } +parameter_types! { + pub const ExistentialDeposit: Balance = 0; +} + impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 4]; @@ -300,7 +311,7 @@ impl pallet_balances::Config for Runtime { /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; type DustRemoval = (); - type ExistentialDeposit = ConstU128<0>; + type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type FreezeIdentifier = (); type MaxFreezes = ConstU32<0>; @@ -1266,28 +1277,34 @@ impl pallet_moonbeam_orbiters::Config for Runtime { } /// Only callable after `set_validation_data` is called which forms this proof the same way -fn relay_chain_state_proof() -> RelayChainStateProof { - let relay_storage_root = ParachainSystem::validation_data() +fn relay_chain_state_proof() -> RelayChainStateProof +where + Runtime: cumulus_pallet_parachain_system::Config, +{ + let relay_storage_root = ValidationData::::get() .expect("set in `set_validation_data`") .relay_parent_storage_root; let relay_chain_state = - ParachainSystem::relay_state_proof().expect("set in `set_validation_data`"); + RelayStateProof::::get().expect("set in `set_validation_data`"); RelayChainStateProof::new(ParachainInfo::get(), relay_storage_root, relay_chain_state) .expect("Invalid relay chain state proof, already constructed in `set_validation_data`") } -pub struct BabeDataGetter; -impl pallet_randomness::GetBabeData> for BabeDataGetter { +pub struct BabeDataGetter(sp_std::marker::PhantomData); +impl pallet_randomness::GetBabeData> for BabeDataGetter +where + Runtime: cumulus_pallet_parachain_system::Config, +{ // Tolerate panic here because only ever called in inherent (so can be omitted) fn get_epoch_index() -> u64 { if cfg!(feature = "runtime-benchmarks") { // storage reads as per actual reads - let _relay_storage_root = ParachainSystem::validation_data(); - let _relay_chain_state = ParachainSystem::relay_state_proof(); + let _relay_storage_root = ValidationData::::get(); + let _relay_chain_state = RelayStateProof::::get(); const BENCHMARKING_NEW_EPOCH: u64 = 10u64; return BENCHMARKING_NEW_EPOCH; } - relay_chain_state_proof() + relay_chain_state_proof::() .read_optional_entry(relay_chain::well_known_keys::EPOCH_INDEX) .ok() .flatten() @@ -1296,12 +1313,12 @@ impl pallet_randomness::GetBabeData> for BabeDataGetter { fn get_epoch_randomness() -> Option { if cfg!(feature = "runtime-benchmarks") { // storage reads as per actual reads - let _relay_storage_root = ParachainSystem::validation_data(); - let _relay_chain_state = ParachainSystem::relay_state_proof(); + let _relay_storage_root = ValidationData::::get(); + let _relay_chain_state = RelayStateProof::::get(); let benchmarking_babe_output = Hash::default(); return Some(benchmarking_babe_output); } - relay_chain_state_proof() + relay_chain_state_proof::() .read_optional_entry(relay_chain::well_known_keys::ONE_EPOCH_AGO_RANDOMNESS) .ok() .flatten() @@ -1312,7 +1329,7 @@ impl pallet_randomness::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AddressMapping = sp_runtime::traits::ConvertInto; type Currency = Balances; - type BabeDataGetter = BabeDataGetter; + type BabeDataGetter = BabeDataGetter; type VrfKeyLookup = AuthorMapping; type Deposit = ConstU128<{ 1 * currency::MOVR * currency::SUPPLY_FACTOR }>; type MaxRandomWords = ConstU8<100>; diff --git a/runtime/moonriver/src/xcm_config.rs b/runtime/moonriver/src/xcm_config.rs index 4dc3e84624..60bc065dbd 100644 --- a/runtime/moonriver/src/xcm_config.rs +++ b/runtime/moonriver/src/xcm_config.rs @@ -83,7 +83,7 @@ parameter_types! { pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); - // Self Reserve location, defines the multilocation identifiying the self-reserve currency + // Self Reserve location, defines the multilocation identifying the self-reserve currency // This is used to match it also against our Balances pallet when we receive such // a Location: (Self Balances pallet index) // We use the RELATIVE multilocation @@ -312,6 +312,9 @@ impl xcm_executor::Config for XcmExecutorConfig { type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; type TransactionalProcessor = xcm_builder::FrameTransactionalProcessor; + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } type XcmExecutor = pallet_erc20_xcm_bridge::XcmExecutorWrapper< @@ -428,6 +431,7 @@ impl pallet_message_queue::Config for Runtime { // NarrowOriginToSibling calls XcmpQueue's is_paused if Origin is sibling. Allows all other origins type QueuePausedQuery = (MaintenanceMode, NarrowOriginToSibling); type WeightInfo = pallet_message_queue::weights::SubstrateWeight; + type IdleMaxServiceWeight = MessageQueueServiceWeight; } // Our AssetType. For now we only handle Xcm Assets @@ -466,7 +470,9 @@ impl Into> for AssetType { impl Into> for AssetType { fn into(self) -> Option { match self { - Self::Xcm(location) => xcm_builder::V4V3LocationConverter::convert_back(&location), + Self::Xcm(location) => { + xcm_builder::WithLatestLocationConverter::convert_back(&location) + } } } } @@ -591,6 +597,8 @@ impl orml_xtokens::Config for Runtime { type MinXcmFee = ParachainMinFee; type LocationsFilter = Everything; type ReserveProvider = AbsoluteAndRelativeReserve; + type RateLimiter = (); + type RateLimiterId = (); } // 1 KSM should be enough @@ -694,7 +702,7 @@ impl pallet_erc20_xcm_bridge::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] mod testing { use super::*; - use xcm_builder::V4V3LocationConverter; + use xcm_builder::WithLatestLocationConverter; /// This From exists for benchmarking purposes. It has the potential side-effect of calling /// AssetManager::set_asset_type_asset_id() and should NOT be used in any production code. @@ -709,7 +717,7 @@ mod testing { asset_id } else { let asset_type = AssetType::Xcm( - V4V3LocationConverter::convert(&location).expect("convert to v3"), + WithLatestLocationConverter::convert(&location).expect("convert to v3"), ); let asset_id: AssetId = asset_type.clone().into(); AssetManager::set_asset_type_asset_id(asset_type, asset_id); diff --git a/runtime/moonriver/tests/integration_test.rs b/runtime/moonriver/tests/integration_test.rs index 1cbfb588ef..ad91b4dde3 100644 --- a/runtime/moonriver/tests/integration_test.rs +++ b/runtime/moonriver/tests/integration_test.rs @@ -445,22 +445,29 @@ fn verify_pallet_indices() { #[test] fn verify_reserved_indices() { - use frame_metadata::*; - let metadata = moonriver_runtime::Runtime::metadata(); - let metadata = match metadata.1 { - RuntimeMetadata::V14(metadata) => metadata, - _ => panic!("metadata has been bumped, test needs to be updated"), - }; - // 40: Sudo - // 53: BaseFee - // 108: pallet_assets:: - let reserved = vec![40, 53, 108]; - let existing = metadata - .pallets - .iter() - .map(|p| p.index) - .collect::>(); - assert!(reserved.iter().all(|index| !existing.contains(index))); + let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::::default() + .build_storage() + .unwrap() + .into(); + + t.execute_with(|| { + use frame_metadata::*; + let metadata = moonriver_runtime::Runtime::metadata(); + let metadata = match metadata.1 { + RuntimeMetadata::V14(metadata) => metadata, + _ => panic!("metadata has been bumped, test needs to be updated"), + }; + // 40: Sudo + // 53: BaseFee + // 108: pallet_assets:: + let reserved = vec![40, 53, 108]; + let existing = metadata + .pallets + .iter() + .map(|p| p.index) + .collect::>(); + assert!(reserved.iter().all(|index| !existing.contains(index))); + }); } #[test] diff --git a/runtime/moonriver/tests/xcm_mock/parachain.rs b/runtime/moonriver/tests/xcm_mock/parachain.rs index 97b3051195..f2b3f920c9 100644 --- a/runtime/moonriver/tests/xcm_mock/parachain.rs +++ b/runtime/moonriver/tests/xcm_mock/parachain.rs @@ -100,6 +100,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -359,8 +364,10 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } impl cumulus_pallet_xcm::Config for Runtime { @@ -436,6 +443,8 @@ impl orml_xtokens::Config for Runtime { type MinXcmFee = ParachainMinFee; type LocationsFilter = Everything; type ReserveProvider = xcm_primitives::AbsoluteAndRelativeReserve; + type RateLimiter = (); + type RateLimiterId = (); } parameter_types! { @@ -1076,7 +1085,7 @@ pub(crate) fn para_events() -> Vec { } use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; -use frame_support::traits::{OnFinalize, OnInitialize, OnRuntimeUpgrade}; +use frame_support::traits::{OnFinalize, OnInitialize, UncheckedOnRuntimeUpgrade}; pub(crate) fn on_runtime_upgrade() { VersionUncheckedMigrateToV1::::on_runtime_upgrade(); } diff --git a/runtime/moonriver/tests/xcm_mock/relay_chain.rs b/runtime/moonriver/tests/xcm_mock/relay_chain.rs index 40bff5e1ae..15bb49b91e 100644 --- a/runtime/moonriver/tests/xcm_mock/relay_chain.rs +++ b/runtime/moonriver/tests/xcm_mock/relay_chain.rs @@ -79,6 +79,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -205,6 +210,9 @@ impl Config for XcmConfig { type SafeCallFilter = Everything; type Aliasers = Nothing; type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } pub type LocalOriginToLocation = SignedToAccountId32; @@ -274,12 +282,17 @@ impl paras::Config for Runtime { impl dmp::Config for Runtime {} +parameter_types! { + pub const DefaultChannelSizeAndCapacityWithSystem: (u32, u32) = (4, 1); +} + impl hrmp::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type WeightInfo = TestHrmpWeightInfo; type ChannelManager = frame_system::EnsureRoot; + type DefaultChannelSizeAndCapacityWithSystem = DefaultChannelSizeAndCapacityWithSystem; } impl frame_system::offchain::SendTransactionTypes for Runtime @@ -333,6 +346,7 @@ impl pallet_message_queue::Config for Runtime { type QueueChangeHandler = (); type WeightInfo = (); type QueuePausedQuery = (); + type IdleMaxServiceWeight = MessageQueueServiceWeight; } construct_runtime!( @@ -409,4 +423,8 @@ impl hrmp::WeightInfo for TestHrmpWeightInfo { fn poke_channel_deposits() -> Weight { Weight::from_parts(1, 0) } + + fn establish_channel_with_system() -> Weight { + Weight::from_parts(1, 0) + } } diff --git a/runtime/moonriver/tests/xcm_mock/statemine_like.rs b/runtime/moonriver/tests/xcm_mock/statemine_like.rs index b3d5e778c0..6168450597 100644 --- a/runtime/moonriver/tests/xcm_mock/statemine_like.rs +++ b/runtime/moonriver/tests/xcm_mock/statemine_like.rs @@ -82,6 +82,11 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -314,8 +319,10 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = Everything; type Aliasers = Nothing; - type TransactionalProcessor = (); + type HrmpNewChannelOpenRequestHandler = (); + type HrmpChannelAcceptedHandler = (); + type HrmpChannelClosingHandler = (); } /// No local origins on this chain are allowed to dispatch XCM sends/executions. diff --git a/runtime/moonriver/tests/xcm_tests.rs b/runtime/moonriver/tests/xcm_tests.rs index 9788c99468..2ca25f5530 100644 --- a/runtime/moonriver/tests/xcm_tests.rs +++ b/runtime/moonriver/tests/xcm_tests.rs @@ -79,12 +79,13 @@ fn receive_relay_asset_from_relay() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -135,12 +136,13 @@ fn send_relay_asset_to_relay() { // First send relay chain asset to Parachain like in previous test Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -240,12 +242,13 @@ fn send_relay_asset_to_para_b() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -294,7 +297,7 @@ fn send_para_a_asset_to_para_b() { // This represents the asset in paraA let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -367,7 +370,7 @@ fn send_para_a_asset_from_para_b_to_para_c() { // Represents para A asset let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -483,7 +486,7 @@ fn send_para_a_asset_to_para_b_and_back_to_para_a() { // Para A asset let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -583,7 +586,7 @@ fn send_para_a_asset_to_para_b_and_back_to_para_a_with_new_reanchoring() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -777,12 +780,13 @@ fn receive_relay_asset_with_trader() { // Therefore with no refund, we should receive 10 tokens less // Native trader fails for this, and we use the asset trader Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 100).into()), 0, + WeightLimit::Unlimited )); }); @@ -800,7 +804,7 @@ fn send_para_a_asset_to_para_b_with_trader() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -877,7 +881,7 @@ fn send_para_a_asset_to_para_b_with_trader_and_fee() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -983,12 +987,13 @@ fn error_when_not_paying_enough() { // If we set the dest weight to be 1e7, we know the buy_execution will spend 1e7*1e6/1e12 = 10 // Therefore with no refund, we should receive 10 tokens less Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 5).into()), 0, + WeightLimit::Unlimited )); }); @@ -1052,12 +1057,13 @@ fn transact_through_derivative_multilocation() { .into(); Relay::execute_with(|| { // 4000000000 transact + 3000 correspond to 4000003000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1195,12 +1201,13 @@ fn transact_through_derivative_with_custom_fee_weight() { .into(); Relay::execute_with(|| { // 4000000000 transact + 3000 correspond to 4000003000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1350,12 +1357,13 @@ fn transact_through_derivative_with_custom_fee_weight_refund() { .into(); Relay::execute_with(|| { // 4000000000 transact + 9000 correspond to 4000009000 tokens. 100 more for the transfer call - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000009100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1517,12 +1525,13 @@ fn transact_through_sovereign() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1773,12 +1782,13 @@ fn transact_through_sovereign_with_custom_fee_weight() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000003100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -1926,12 +1936,13 @@ fn transact_through_sovereign_with_custom_fee_weight_refund() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 4000009100u128).into()), 0, + WeightLimit::Unlimited )); }); @@ -2109,12 +2120,13 @@ fn test_automatic_versioning_on_runtime_upgrade_with_relay() { )); // Transfer assets. Since it is an unknown destination, it will query for version - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); // Let's advance the relay. This should trigger the subscription message @@ -2181,7 +2193,7 @@ fn test_automatic_versioning_on_runtime_upgrade_with_para_b() { let para_a_balances = Location::new(1, [Parachain(1), PalletInstance(1u8)]); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(¶_a_balances).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(¶_a_balances).expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -2366,12 +2378,13 @@ fn receive_asset_with_no_sufficients_not_possible_if_non_existent_account() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2392,12 +2405,13 @@ fn receive_asset_with_no_sufficients_not_possible_if_non_existent_account() { // Re-send tokens Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2444,12 +2458,13 @@ fn receive_assets_with_sufficients_true_allows_non_funded_account_to_receive_ass } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2504,12 +2519,13 @@ fn evm_account_receiving_assets_should_handle_sufficients_ref_count() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2582,12 +2598,13 @@ fn empty_account_should_not_be_reset() { } .into(); Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new(VersionedLocation::V4(dest.clone()).clone().into()), Box::new(([] /* Here */, 123).into()), 0, + WeightLimit::Unlimited )); }); @@ -2649,7 +2666,7 @@ fn test_statemine_like() { ], ); let source_location = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(&statemine_asset_a_balances) + xcm_builder::WithLatestLocationConverter::convert(&statemine_asset_a_balances) .expect("convert to v3"), ); let source_id: parachain::AssetId = source_location.clone().into(); @@ -2710,7 +2727,7 @@ fn test_statemine_like() { .into(); // Send with new prefix - assert_ok!(StatemineChainPalletXcm::reserve_transfer_assets( + assert_ok!(StatemineChainPalletXcm::limited_reserve_transfer_assets( statemine_like::RuntimeOrigin::signed(RELAYALICE), Box::new(Location::new(1, [Parachain(1)]).into()), Box::new(VersionedLocation::V4(dest).clone().into()), @@ -2727,6 +2744,7 @@ fn test_statemine_like() { .into() ), 0, + WeightLimit::Unlimited )); }); @@ -2755,7 +2773,7 @@ fn send_statemint_asset_from_para_a_to_statemine_with_relay_fee() { [Parachain(4u32), PalletInstance(5u8), GeneralIndex(10u128)], ); let statemine_location_asset = parachain::AssetType::Xcm( - xcm_builder::V4V3LocationConverter::convert(&statemine_asset).expect("convert to v3"), + xcm_builder::WithLatestLocationConverter::convert(&statemine_asset).expect("convert to v3"), ); let source_statemine_asset_id: parachain::AssetId = statemine_location_asset.clone().into(); @@ -2811,7 +2829,7 @@ fn send_statemint_asset_from_para_a_to_statemine_with_relay_fee() { // Send relay chain asset to Alice in Parachain A Relay::execute_with(|| { - assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( + assert_ok!(RelayChainPalletXcm::limited_reserve_transfer_assets( relay_chain::RuntimeOrigin::signed(RELAYALICE), Box::new(Parachain(1).into()), Box::new( @@ -2821,6 +2839,7 @@ fn send_statemint_asset_from_para_a_to_statemine_with_relay_fee() { ), Box::new(([] /* Here */, 200).into()), 0, + WeightLimit::Unlimited )); }); @@ -2860,7 +2879,7 @@ fn send_statemint_asset_from_para_a_to_statemine_with_relay_fee() { .into(); // Send with new prefix - assert_ok!(StatemineChainPalletXcm::reserve_transfer_assets( + assert_ok!(StatemineChainPalletXcm::limited_reserve_transfer_assets( statemine_like::RuntimeOrigin::signed(RELAYALICE), Box::new(Location::new(1, [Parachain(1)]).into()), Box::new( @@ -2881,6 +2900,7 @@ fn send_statemint_asset_from_para_a_to_statemine_with_relay_fee() { .into() ), 0, + WeightLimit::Unlimited )); }); diff --git a/test/configs/localZombie.json b/test/configs/localZombie.json index 9b3adbfe66..e58260a105 100644 --- a/test/configs/localZombie.json +++ b/test/configs/localZombie.json @@ -16,7 +16,9 @@ "patch": { "configuration": { "config": { - "scheduling_lookahead": 2, + "scheduler_params": { + "scheduling_lookahead": 2 + }, "async_backing_params": { "max_candidate_depth": 3, "allowed_ancestry_len": 2 diff --git a/test/configs/zombieAlphanet.json b/test/configs/zombieAlphanet.json index b42b2b3998..ee79f422a2 100644 --- a/test/configs/zombieAlphanet.json +++ b/test/configs/zombieAlphanet.json @@ -16,7 +16,9 @@ "patch": { "configuration": { "config": { - "scheduling_lookahead": 2, + "scheduler_params": { + "scheduling_lookahead": 2 + }, "async_backing_params": { "max_candidate_depth": 3, "allowed_ancestry_len": 2 diff --git a/test/configs/zombieAlphanetRpc.json b/test/configs/zombieAlphanetRpc.json index 94c1d0c9cd..7dfef0554b 100644 --- a/test/configs/zombieAlphanetRpc.json +++ b/test/configs/zombieAlphanetRpc.json @@ -16,7 +16,9 @@ "patch": { "configuration": { "config": { - "scheduling_lookahead": 2, + "scheduler_params": { + "scheduling_lookahead": 2 + }, "async_backing_params": { "max_candidate_depth": 3, "allowed_ancestry_len": 2 diff --git a/test/configs/zombieMoonbeam.json b/test/configs/zombieMoonbeam.json index bc248a0baa..772fd5f715 100644 --- a/test/configs/zombieMoonbeam.json +++ b/test/configs/zombieMoonbeam.json @@ -16,7 +16,9 @@ "patch": { "configuration": { "config": { - "scheduling_lookahead": 2, + "scheduler_params": { + "scheduling_lookahead": 2 + }, "async_backing_params": { "max_candidate_depth": 3, "allowed_ancestry_len": 2 diff --git a/test/configs/zombieMoonbeamRpc.json b/test/configs/zombieMoonbeamRpc.json index 3ce36c3937..4aaf1239e6 100644 --- a/test/configs/zombieMoonbeamRpc.json +++ b/test/configs/zombieMoonbeamRpc.json @@ -16,7 +16,9 @@ "patch": { "configuration": { "config": { - "scheduling_lookahead": 2, + "scheduler_params": { + "scheduling_lookahead": 2 + }, "async_backing_params": { "max_candidate_depth": 3, "allowed_ancestry_len": 2 diff --git a/test/helpers/voting.ts b/test/helpers/voting.ts index 2dfc768f3b..e768e45d53 100644 --- a/test/helpers/voting.ts +++ b/test/helpers/voting.ts @@ -18,13 +18,13 @@ export async function createProposal({ const block = await context.createBlock([ await context .polkadotJs() - .tx.preimage.notePreimage(call.toHex()) + .tx.preimage.notePreimage(call.method.toHex()) .signAsync(from, { nonce: nonce++ }), await context .polkadotJs() .tx.referenda.submit( track == "root" ? { system: "root" } : { Origins: track }, - { Lookup: { Hash: call.hash.toHex(), len: call.length } }, + { Lookup: { Hash: call.hash.toHex(), len: call.method.encodedLength } }, { After: 1 } ) .signAsync(from, { nonce: nonce++ }), diff --git a/test/helpers/xcm.ts b/test/helpers/xcm.ts index 994dfdaf7c..63675960f2 100644 --- a/test/helpers/xcm.ts +++ b/test/helpers/xcm.ts @@ -214,9 +214,12 @@ export async function injectHrmpMessageAndSeal( message?: RawXcmMessage ) { await injectHrmpMessage(context, paraId, message); - // Create a block in which the XCM will be enqueued - await context.createBlock(); - // The next block will process the hrmp message in the message queue + // Create a block in which the XCM will be enqueued. + // + // The message will be processed inside on_idle hook of this block + // using the remaining weight. + // + // See https://github.com/paritytech/polkadot-sdk/pull/3844 for more context. await context.createBlock(); } diff --git a/test/moonwall.config.json b/test/moonwall.config.json index dd0a168cb7..736f668f02 100644 --- a/test/moonwall.config.json +++ b/test/moonwall.config.json @@ -373,6 +373,7 @@ "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", + "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", @@ -415,6 +416,7 @@ "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", + "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", @@ -453,6 +455,7 @@ "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", + "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", @@ -493,6 +496,7 @@ "--reserved-only", "--rpc-cors=all", "--no-grandpa", + "--unsafe-force-node-key-generation", "--unsafe-rpc-external", "--sealing=manual", "--force-authoring", diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts index b9113ee790..8b956a71d2 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts @@ -84,7 +84,7 @@ describeSuite({ // note that this is not really affected by the high multiplier because most of its fee is // derived from the length_fee, which is not scaled by the multiplier - expect(initialBalance - afterBalance).to.equal(601_486_761_265_723_667_008n); + expect(initialBalance - afterBalance).to.equal(449_284_776_265_723_667_008n); }, }); diff --git a/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts b/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts index 457993af11..bbb7323712 100644 --- a/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts @@ -138,7 +138,6 @@ describeSuite({ type: "XcmVersionedXcm", payload: xcmMessage, } as RawXcmMessage); - await context.createBlock(); // This block is the one that processes the xcm messages const { result, block } = await context.createBlock(); @@ -239,7 +238,7 @@ describeSuite({ type: "XcmVersionedXcm", payload: xcmMessage, } as RawXcmMessage); - context.createBlock(); + // This block is the one that processes the xcm messages const { result, block } = await context.createBlock(); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-referenda.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-referenda.ts index 49bbcc0b5b..69cb051cf3 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-referenda.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-referenda.ts @@ -27,13 +27,13 @@ describeSuite({ const block = await context.createBlock([ context .polkadotJs() - .tx.preimage.notePreimage(call.toHex()) + .tx.preimage.notePreimage(call.method.toHex()) .signAsync(alith, { nonce: nonce++ }), context .polkadotJs() .tx.referenda.submit( { system: "root" }, - { Lookup: { Hash: call.hash.toHex(), len: call.length } }, + { Lookup: { Hash: call.hash.toHex(), len: call.method.encodedLength } }, { After: 1 } ) .signAsync(alith, { nonce: nonce++ }), @@ -123,7 +123,12 @@ describeSuite({ const block = await referenda .withSigner(alith) .withExpectEvents([context.polkadotJs().events.referenda.Submitted]) - .submitAt(trackId, call.hash.toHex(), call.length, blockNumber.toNumber() + 1) + .submitAt( + trackId, + call.hash.toHex(), + call.method.encodedLength, + blockNumber.toNumber() + 1 + ) .block(); expectEVMResult(block!.result!.events, "Succeed"); @@ -151,7 +156,12 @@ describeSuite({ const block = await referenda .withSigner(alith) .withExpectEvents([context.polkadotJs().events.referenda.Submitted]) - .submitAfter(trackId, call.hash.toHex(), call.length, blockNumber.toNumber() + 1) + .submitAfter( + trackId, + call.hash.toHex(), + call.method.encodedLength, + blockNumber.toNumber() + 1 + ) .block(); expectEVMResult(block!.result!.events, "Succeed"); diff --git a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts index ecdf09fe91..58036548ca 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts @@ -99,7 +99,7 @@ describeSuite({ expect( weights.mandatory.proofSize.toNumber(), "proofSize is too high, this might lead to empty block" - ).to.be.at.most(2_612_479); + ).to.be.at.most(2_615_993); // block could support ~500ms refTime but we consider it safer to error when reaching // over 210ms for the payout. After Async Backing a block could support 2000ms. diff --git a/test/suites/dev/moonbase/test-txpool/test-txpool-limits.ts b/test/suites/dev/moonbase/test-txpool/test-txpool-limits.ts index 1036b3d86b..fc4f6817d8 100644 --- a/test/suites/dev/moonbase/test-txpool/test-txpool-limits.ts +++ b/test/suites/dev/moonbase/test-txpool/test-txpool-limits.ts @@ -9,10 +9,10 @@ describeSuite({ testCases: ({ context, it, log }) => { it({ id: "T01", - title: "should be able to fill a block with 2650 tx", + title: "should be able to fill a block with 2350 tx", test: async function () { // TODO: test how many transactions can fit in the block - for (let i = 0; i < 2650; i++) { + for (let i = 0; i < 2350; i++) { const rawTxn = await createRawTransfer(context, BALTATHAR_ADDRESS, 1n, { nonce: i, }); @@ -20,7 +20,7 @@ describeSuite({ } await context.createBlock(); - expect((await context.viem().getBlock()).transactions.length).toBe(2650); + expect((await context.viem().getBlock()).transactions.length).toBe(2350); }, }); }, diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts index a1fd0e3bba..d0f8ea5888 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts @@ -102,9 +102,6 @@ describeSuite({ payload: xcmMessage, } as RawXcmMessage); - // Create a new block to include the xcm message - await context.createBlock(); - // By calling deployContract() a new block will be created, // including the ethereum xcm call + regular ethereum transaction const { contractAddress: eventEmitterAddress } = await context.deployContract!( @@ -127,18 +124,18 @@ describeSuite({ ]); // 2 ethereum transactions: ethereum xcm call + regular ethereum transaction expect(trace.length).to.eq(2); - // 1st transaction is xcm. - // - `From` is the descended origin. - // - `To` is the xcm contract address. - expect(trace[0].from).to.eq(ethereumXcmDescendedOrigin.toLowerCase()); - expect(trace[0].to).to.eq(xcmContractAddress.toLowerCase()); - expect(trace[0].type).to.eq("CALL"); - // 2nd transaction is regular ethereum transaction. + // 1st transaction is regular ethereum transaction. // - `From` is Alith's adddress. // - `To` is the ethereum contract address. - expect(trace[1].from).to.eq(alith.address.toLowerCase()); - expect(trace[1].to).to.eq(ethContractAddress.toLowerCase()); - expect(trace[1].type).be.eq("CREATE"); + expect(trace[0].from).to.eq(alith.address.toLowerCase()); + expect(trace[0].to).to.eq(ethContractAddress.toLowerCase()); + expect(trace[0].type).be.eq("CREATE"); + // 2nd transaction is xcm. + // - `From` is the descended origin. + // - `To` is the xcm contract address. + expect(trace[1].from).to.eq(ethereumXcmDescendedOrigin.toLowerCase()); + expect(trace[1].to).to.eq(xcmContractAddress.toLowerCase()); + expect(trace[1].type).to.eq("CALL"); }, }); }, diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts index 0da8a27216..d009258df9 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts @@ -113,8 +113,6 @@ describeSuite({ } as RawXcmMessage); } - // Block that includes the hrmp messages - await context.createBlock(); // Block that processes the hrmp messasges in the message queue await context.createBlock();