diff --git a/Cargo.lock b/Cargo.lock index 5dadd07bbb..12ea4aa601 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,9 +48,9 @@ dependencies = [ [[package]] name = "aes" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", "cipher 0.4.4", @@ -73,23 +73,23 @@ dependencies = [ [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" +checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" dependencies = [ "cfg-if", - "getrandom 0.2.11", + "getrandom 0.2.12", "once_cell", "version_check", "zerocopy", @@ -142,9 +142,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" dependencies = [ "anstyle", "anstyle-parse", @@ -156,9 +156,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" @@ -205,16 +205,16 @@ dependencies = [ [[package]] name = "aquamarine" -version = "0.3.3" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +checksum = "074b80d14d0240b6ce94d68f059a2d26a5d77280ae142662365a21ef6e2594ef" dependencies = [ "include_dir", "itertools 0.10.5", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.49", ] [[package]] @@ -257,18 +257,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ark-ed-on-bls12-381-bandersnatch" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-std", -] - [[package]] name = "ark-ff" version = "0.4.2" @@ -325,35 +313,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "ark-scale" -version = "0.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bd73bb6ddb72630987d37fa963e99196896c0d0ea81b7c894567e74a2f83af" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "ark-secret-scalar" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=4b09416#4b09416fd23383ec436ddac127d58c7b7cd392c6" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "ark-transcript", - "digest 0.10.7", - "rand_core 0.6.4", - "zeroize", -] - [[package]] name = "ark-serialize" version = "0.4.2" @@ -384,20 +343,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "ark-transcript" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=4b09416#4b09416fd23383ec436ddac127d58c7b7cd392c6" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "digest 0.10.7", - "rand_core 0.6.4", - "sha3", + "rand", ] [[package]] @@ -484,10 +430,69 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "asset-test-utils" +version = "1.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "assets-common", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-test-relay-sproof-builder", + "frame-support", + "frame-system", + "pallet-assets", + "pallet-balances", + "pallet-collator-selection", + "pallet-session", + "pallet-xcm", + "pallet-xcm-bridge-hub-router", + "parachains-common", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "polkadot-parachain-primitives", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", +] + +[[package]] +name = "assets-common" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "impl-trait-for-tuples", + "log", + "pallet-asset-conversion", + "pallet-asset-tx-payment", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", +] + [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "sp-api", "sp-consensus-slots", @@ -506,13 +511,13 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" +checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3" dependencies = [ "concurrent-queue", - "event-listener 4.0.2", - "event-listener-strategy", + "event-listener 5.0.0", + "event-listener-strategy 0.5.0", "futures-core", "pin-project-lite 0.2.13", ] @@ -523,11 +528,11 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.3.0", "async-task", "concurrent-queue", "fastrand 2.0.1", - "futures-lite 2.1.0", + "futures-lite 2.2.0", "slab", ] @@ -565,18 +570,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.2.2" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.3.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.2.0", "parking", - "polling 3.3.1", - "rustix 0.38.28", + "polling 3.4.0", + "rustix 0.38.31", "slab", "tracing", "windows-sys 0.52.0", @@ -593,12 +598,12 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ - "event-listener 4.0.2", - "event-listener-strategy", + "event-listener 4.0.3", + "event-listener-strategy 0.4.0", "pin-project-lite 0.2.13", ] @@ -626,7 +631,7 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.28", + "rustix 0.38.31", "windows-sys 0.48.0", ] @@ -636,13 +641,13 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io 2.2.2", + "async-io 2.3.1", "async-lock 2.8.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.28", + "rustix 0.38.31", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -650,9 +655,9 @@ dependencies = [ [[package]] name = "async-task" -version = "4.6.0" +version = "4.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d90cd0b264dfdd8eb5bad0a2c217c1f88fa96a8573f40e7b12de23fb468f46" +checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" [[package]] name = "async-trait" @@ -662,7 +667,7 @@ checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -706,30 +711,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edcdbedc2236483ab103a53415653d6b4442ea6141baf1ffa85df29635e88436" dependencies = [ "nix 0.27.1", - "rand 0.8.5", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", + "rand", ] [[package]] name = "auto_impl" -version = "1.1.0" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee3da8ef1276b0bee5dd1c7258010d8fffd31801447323115a25560e1327b89" +checksum = "823b8bb275161044e2ac7a25879cb3e2480cb403e3943022c7c769c599b756aa" dependencies = [ - "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.49", ] [[package]] @@ -753,27 +746,6 @@ dependencies = [ "rustc-demangle", ] -[[package]] -name = "bandersnatch_vrfs" -version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=4b09416#4b09416fd23383ec436ddac127d58c7b7cd392c6" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff", - "ark-serialize", - "ark-std", - "dleq_vrf", - "fflonk", - "merlin 3.0.0", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "ring 0.1.0", - "sha2 0.10.8", - "zeroize", -] - [[package]] name = "base-x" version = "0.2.11" @@ -794,9 +766,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.5" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64ct" @@ -816,9 +788,9 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", ] @@ -849,7 +821,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -859,6 +831,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", + "rand", + "rand_core 0.6.4", + "serde", + "unicode-normalization", ] [[package]] @@ -875,9 +851,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bitvec" @@ -887,6 +863,7 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] @@ -1002,12 +979,12 @@ version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ - "async-channel 2.1.1", - "async-lock 3.2.0", + "async-channel 2.2.0", + "async-lock 3.3.0", "async-task", "fastrand 2.0.1", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.2.0", "piper", "tracing", ] @@ -1033,10 +1010,142 @@ dependencies = [ "thiserror", ] +[[package]] +name = "bp-header-chain" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-runtime", + "finality-grandpa", + "frame-support", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-messages" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-header-chain", + "bp-runtime", + "frame-support", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-std", +] + +[[package]] +name = "bp-parachains" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", + "frame-support", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-polkadot-core" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support", + "frame-system", + "parity-scale-codec", + "parity-util-mem", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-relayers" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-runtime" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "frame-support", + "frame-system", + "hash-db", + "impl-trait-for-tuples", + "log", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "trie-db", +] + +[[package]] +name = "bp-test-utils" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "ed25519-dalek", + "finality-grandpa", + "parity-scale-codec", + "sp-application-crypto", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", + "sp-std", + "sp-trie", +] + +[[package]] +name = "bp-xcm-bridge-hub" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "sp-std", +] + [[package]] name = "bp-xcm-bridge-hub-router" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -1044,6 +1153,41 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "bridge-runtime-common" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-xcm-bridge-hub", + "bp-xcm-bridge-hub-router", + "frame-support", + "frame-system", + "hash-db", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-transaction-payment", + "pallet-utility", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-trie", + "staging-xcm", + "staging-xcm-builder", +] + [[package]] name = "bs58" version = "0.4.0" @@ -1091,9 +1235,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "d32a994c2b3ca201d9b263612a374263f05e7adde37c4707f693dcd375076d1f" [[package]] name = "byte-slice-cast" @@ -1109,9 +1253,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "a2ef034f05691a48569bd920a96c81b9d91bbad1ab5ac7c4616c1f6ef36cb79f" [[package]] name = "byteorder" @@ -1157,9 +1301,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceed8ef69d8518a5dda55c07425450b58a4e1946f4951eab6d7191ee86c2443d" +checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" dependencies = [ "serde", ] @@ -1197,7 +1341,7 @@ dependencies = [ [[package]] name = "ccp-authorities-noting-inherent" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1224,7 +1368,7 @@ dependencies = [ [[package]] name = "ccp-xcm" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "frame-support", "frame-system", @@ -1248,9 +1392,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.6" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6100bc57b6209840798d95cb2775684849d332f7bd788db2a8c8caf7ef82a41a" +checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d" dependencies = [ "smallvec", ] @@ -1303,16 +1447,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.48.5", + "windows-targets 0.52.0", ] [[package]] @@ -1323,7 +1467,7 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", "serde", "unsigned-varint", ] @@ -1370,9 +1514,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.12" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfab8ba68f3668e89f6ff60f5b205cea56aa7b769451a59f34b8682f51c056d" +checksum = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f" dependencies = [ "clap_builder", "clap_derive", @@ -1380,43 +1524,43 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.12" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9" +checksum = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99" dependencies = [ "anstream", "anstyle", "clap_lex", "strsim", + "terminal_size", ] [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "coarsetime" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71367d3385c716342014ad17e3d19f7788ae514885a1f4c24f500260fb365e1a" +checksum = "13b3839cf01bb7960114be3ccf2340f541b6d0c81f8690b007b2b39f750f7e5d" dependencies = [ "libc", - "once_cell", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasix", "wasm-bindgen", ] @@ -1447,22 +1591,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "common" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "fflonk", - "getrandom_or_panic", - "merlin 3.0.0", - "rand_chacha 0.3.1", -] - [[package]] name = "common-path" version = "1.0.0" @@ -1480,15 +1608,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] @@ -1512,7 +1640,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", "once_cell", "tiny-keccak", ] @@ -1548,9 +1676,9 @@ dependencies = [ "cumulus-client-consensus-aura", "cumulus-client-consensus-common", "cumulus-client-network", + "cumulus-client-parachain-inherent", "cumulus-client-service", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "cumulus-test-relay-sproof-builder", "fc-api", @@ -1602,6 +1730,7 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", + "serde_json", "sp-api", "sp-block-builder", "sp-blockchain", @@ -1671,6 +1800,7 @@ dependencies = [ "pallet-evm-precompile-xcm-utils", "pallet-hotfix-sufficients", "pallet-maintenance-mode", + "pallet-message-queue", "pallet-migrations", "pallet-proxy", "pallet-root-testing", @@ -1682,11 +1812,12 @@ dependencies = [ "pallet-utility", "pallet-xcm", "pallet-xcm-benchmarks", - "parachain-info", + "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-runtime-common", "precompile-utils", + "runtime-common", "scale-info", "serde", "smallvec", @@ -1696,6 +1827,7 @@ dependencies = [ "sp-consensus-slots", "sp-core", "sp-debug-derive", + "sp-genesis-builder", "sp-inherents", "sp-offchain", "sp-runtime", @@ -1704,6 +1836,7 @@ dependencies = [ "sp-transaction-pool", "sp-trie", "sp-version", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -1726,6 +1859,7 @@ dependencies = [ "cumulus-client-consensus-aura", "cumulus-client-consensus-common", "cumulus-client-network", + "cumulus-client-parachain-inherent", "cumulus-client-service", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", @@ -1764,6 +1898,7 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", + "serde_json", "sp-api", "sp-block-builder", "sp-blockchain", @@ -1813,6 +1948,7 @@ dependencies = [ "pallet-balances", "pallet-cc-authorities-noting", "pallet-maintenance-mode", + "pallet-message-queue", "pallet-migrations", "pallet-proxy", "pallet-root-testing", @@ -1825,10 +1961,11 @@ dependencies = [ "pallet-utility", "pallet-xcm", "pallet-xcm-benchmarks", - "parachain-info", + "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-runtime-common", + "runtime-common", "scale-info", "serde", "smallvec", @@ -1838,6 +1975,7 @@ dependencies = [ "sp-consensus-slots", "sp-core", "sp-debug-derive", + "sp-genesis-builder", "sp-inherents", "sp-offchain", "sp-runtime", @@ -1846,6 +1984,7 @@ dependencies = [ "sp-transaction-pool", "sp-trie", "sp-version", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -1913,9 +2052,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] @@ -2035,53 +2174,46 @@ checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ "cfg-if", ] [[package]] name = "crossbeam-deque" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.17" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-queue" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc6598521bb5a83d491e8c1fe51db7296019d2ca3cb93cc6c2a20369a4d78a2" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.18" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" -dependencies = [ - "cfg-if", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "crunchy" @@ -2154,7 +2286,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "clap", "parity-scale-codec", @@ -2162,6 +2294,7 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-service", + "sp-blockchain", "sp-core", "sp-runtime", "url", @@ -2170,7 +2303,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2193,15 +2326,15 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", + "cumulus-client-parachain-inherent", "cumulus-primitives-aura", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "futures 0.3.30", "parity-scale-codec", @@ -2235,7 +2368,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2264,7 +2397,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "anyhow", "async-trait", @@ -2279,30 +2412,54 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-relay-chain-interface", "futures 0.3.30", "futures-timer", "parity-scale-codec", - "parking_lot 0.12.1", - "polkadot-node-primitives", - "polkadot-parachain-primitives", - "polkadot-primitives", + "parking_lot 0.12.1", + "polkadot-node-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "sc-client-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", + "tracing", +] + +[[package]] +name = "cumulus-client-parachain-inherent" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", + "cumulus-test-relay-sproof-builder", + "parity-scale-codec", "sc-client-api", - "sp-blockchain", - "sp-consensus", + "scale-info", + "sp-api", "sp-core", + "sp-inherents", "sp-runtime", "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "tracing", ] [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2314,7 +2471,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-client-api", "sc-consensus", "sp-consensus", @@ -2326,7 +2483,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2334,6 +2491,7 @@ dependencies = [ "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", + "cumulus-primitives-proof-size-hostfunction", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", @@ -2361,9 +2519,10 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-primitives-core", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -2378,17 +2537,20 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", "environmental", + "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-message-queue", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-runtime-parachains", @@ -2409,18 +2571,18 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -2434,7 +2596,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2450,18 +2612,19 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "bounded-collections", "bp-xcm-bridge-hub-router", "cumulus-primitives-core", "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", - "rand_chacha 0.3.1", "scale-info", "sp-core", "sp-io", @@ -2474,7 +2637,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2488,7 +2651,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2505,30 +2668,32 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-primitives-core", - "cumulus-relay-chain-interface", - "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api", "scale-info", - "sp-api", "sp-core", "sp-inherents", - "sp-runtime", - "sp-state-machine", "sp-std", - "sp-storage", "sp-trie", - "tracing", +] + +[[package]] +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "sp-externalities", + "sp-runtime-interface", + "sp-trie", ] [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-primitives-core", "futures 0.3.30", @@ -2541,7 +2706,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2561,7 +2726,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2585,7 +2750,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2603,7 +2768,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -2611,34 +2776,40 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures 0.3.30", + "parking_lot 0.12.1", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", "polkadot-network-bridge", "polkadot-node-collation-generation", + "polkadot-node-core-chain-api", + "polkadot-node-core-prospective-parachains", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", "sc-authority-discovery", + "sc-client-api", "sc-network", "sc-network-common", "sc-service", "sc-tracing", "sc-utils", "sp-api", + "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-runtime", "substrate-prometheus-endpoint", + "tokio", "tracing", ] [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2650,7 +2821,7 @@ dependencies = [ "parity-scale-codec", "pin-project", "polkadot-overseer", - "rand 0.8.5", + "rand", "sc-client-api", "sc-rpc-api", "sc-service", @@ -2666,6 +2837,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-storage", + "sp-version", "thiserror", "tokio", "tokio-util", @@ -2676,7 +2848,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2715,9 +2887,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", @@ -2738,7 +2910,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -2756,9 +2928,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.113" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048948e14bc2c2652ec606c8e3bb913407f0187288fb351a0b2d972beaf12070" +checksum = "8aff472b83efd22bfc0176aa8ba34617dd5c17364670eb201a5f06d339b8abf7" dependencies = [ "cc", "cxxbridge-flags", @@ -2768,9 +2940,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.113" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85dfa5d7f0581f6ae796543fa6b2dd4a59e099e82a6adf2d6a96f908b349591d" +checksum = "bcf6e7a52c19013a9a0ec421c7d9c2d1125faf333551227e0a017288d71b47c3" dependencies = [ "cc", "codespan-reporting", @@ -2778,30 +2950,31 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "cxxbridge-flags" -version = "1.0.113" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af40b0467c68d3d9fb7550ef984edc8ad47252f703ef0f1f2d1052e0e4af8793" +checksum = "589e83d02fc1d4fb78f5ad56ca08835341e23499d086d2821315869426d618dc" [[package]] name = "cxxbridge-macro" -version = "1.0.113" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743446286141c9f6d4497c493c01234eb848e14d2e20866ae9811eae0630cb9" +checksum = "e2cb1fd8ffae4230c7cfbbaf3698dbeaf750fa8c5dadf7ed897df581b9b572a5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "dancebox-runtime" version = "0.1.0" dependencies = [ + "assets-common", "container-chain-template-frontier-runtime", "container-chain-template-simple-runtime", "cumulus-pallet-dmp-queue", @@ -2815,6 +2988,7 @@ dependencies = [ "cumulus-primitives-utility", "cumulus-test-relay-sproof-builder", "dp-core", + "emulated-integration-tests-common", "frame-benchmarking", "frame-executive", "frame-support", @@ -2840,7 +3014,6 @@ dependencies = [ "pallet-data-preservers", "pallet-foreign-asset-creator", "pallet-identity", - "pallet-im-online", "pallet-inflation-rewards", "pallet-initializer", "pallet-invulnerables", @@ -2866,7 +3039,6 @@ dependencies = [ "pallet-utility", "pallet-xcm", "pallet-xcm-benchmarks", - "parachain-info", "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", @@ -2875,8 +3047,10 @@ dependencies = [ "polkadot-service", "runtime-common", "sc-consensus-grandpa", + "sc-service", "scale-info", "serde", + "serde_json", "smallvec", "sp-api", "sp-application-crypto", @@ -2887,6 +3061,7 @@ dependencies = [ "sp-consensus-slots", "sp-core", "sp-debug-derive", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-offchain", @@ -2896,6 +3071,7 @@ dependencies = [ "sp-transaction-pool", "sp-trie", "sp-version", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -2939,7 +3115,7 @@ dependencies = [ [[package]] name = "dc-orchestrator-chain-interface" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3107,24 +3283,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", -] - -[[package]] -name = "dleq_vrf" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=4b09416#4b09416fd23383ec436ddac127d58c7b7cd392c6" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-scale", - "ark-secret-scalar", - "ark-serialize", - "ark-std", - "ark-transcript", - "arrayvec 0.7.4", - "rand_core 0.6.4", - "zeroize", + "syn 2.0.49", ] [[package]] @@ -3148,9 +3307,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.46", + "syn 2.0.49", "termcolor", - "toml 0.8.2", + "toml 0.8.10", "walkdir", ] @@ -3175,7 +3334,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "dp-chain-state-snapshot" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3187,7 +3346,7 @@ dependencies = [ [[package]] name = "dp-collator-assignment" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3207,7 +3366,7 @@ dependencies = [ [[package]] name = "dp-core" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3278,11 +3437,11 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", "rand_core 0.6.4", "serde", @@ -3311,7 +3470,7 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", "hashbrown 0.14.3", "hex", @@ -3322,9 +3481,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" dependencies = [ "serde", ] @@ -3348,6 +3507,41 @@ dependencies = [ "zeroize", ] +[[package]] +name = "emulated-integration-tests-common" +version = "1.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "asset-test-utils", + "bp-messages", + "bridge-runtime-common", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "frame-support", + "pallet-assets", + "pallet-balances", + "pallet-bridge-messages", + "pallet-im-online", + "pallet-message-queue", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "paste", + "polkadot-primitives", + "polkadot-runtime-parachains", + "polkadot-service", + "sc-consensus-grandpa", + "serde_json", + "sp-authority-discovery", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-core", + "sp-runtime", + "staging-xcm", + "xcm-emulator", +] + [[package]] name = "encode_unicode" version = "0.3.6" @@ -3368,22 +3562,22 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -3394,14 +3588,14 @@ checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -3449,20 +3643,20 @@ dependencies = [ [[package]] name = "ethereum" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a89fb87a9e103f71b903b80b670200b54cc67a07578f070681f1fffb7396fb7" +checksum = "2e04d24d20b8ff2235cffbf242d5092de3aa45f77c5270ddbfadd2778ca13fea" dependencies = [ "bytes", "ethereum-types", - "hash-db 0.15.2", + "hash-db", "hash256-std-hasher", "parity-scale-codec", "rlp", "scale-info", "serde", "sha3", - "triehash", + "trie-root", ] [[package]] @@ -3500,9 +3694,20 @@ dependencies = [ [[package]] name = "event-listener" -version = "4.0.2" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "event-listener" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "218a870470cce1469024e9fb66b901aa983929d81304a1cdb299f28118e550d5" +checksum = "b72557800024fabbaa2449dd4bf24e37b93702d457a4d4f2b0dd1f0f039f20c1" dependencies = [ "concurrent-queue", "parking", @@ -3515,14 +3720,25 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ - "event-listener 4.0.2", + "event-listener 4.0.3", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "feedafcaa9b749175d5ac357452a9d41ea2911da598fde46ce1fe02c37751291" +dependencies = [ + "event-listener 5.0.0", "pin-project-lite 0.2.13", ] [[package]] name = "evm" -version = "0.39.1" -source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" +version = "0.41.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "767f43e9630cc36cf8ff2777cbb0121b055f0d1fd6eaaa13b46a1808f0d0e7e9" dependencies = [ "auto_impl", "environmental", @@ -3541,8 +3757,9 @@ dependencies = [ [[package]] name = "evm-core" -version = "0.39.0" -source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da6cedc5cedb4208e59467106db0d1f50db01b920920589f8e672c02fdc04f" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3552,8 +3769,9 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.39.0" -source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dc0eb591abc5cd7b05bef6a036c2bb6c66ab6c5e0c5ce94bfe377ab670b1fd7" dependencies = [ "environmental", "evm-core", @@ -3563,8 +3781,9 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.39.0" -source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84bbe09b64ae13a29514048c1bb6fda6374ac0b4f6a1f15a443348ab88ef42cd" dependencies = [ "auto_impl", "environmental", @@ -3604,7 +3823,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -3668,7 +3887,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "async-trait", "fp-storage", @@ -3680,7 +3899,7 @@ dependencies = [ [[package]] name = "fc-cli" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "clap", "ethereum-types", @@ -3698,7 +3917,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "async-trait", "fp-consensus", @@ -3714,7 +3933,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "async-trait", "ethereum", @@ -3745,7 +3964,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "fc-db", "fc-storage", @@ -3768,7 +3987,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "ethereum", "ethereum-types", @@ -3788,7 +4007,7 @@ dependencies = [ "pallet-evm", "parity-scale-codec", "prometheus", - "rand 0.8.5", + "rand", "rlp", "sc-client-api", "sc-consensus-aura", @@ -3808,6 +4027,7 @@ dependencies = [ "sp-consensus", "sp-consensus-aura", "sp-core", + "sp-externalities", "sp-inherents", "sp-io", "sp-runtime", @@ -3822,7 +4042,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "ethereum", "ethereum-types", @@ -3835,7 +4055,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "ethereum", "ethereum-types", @@ -3852,11 +4072,12 @@ dependencies = [ [[package]] name = "fdlimit" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", + "thiserror", ] [[package]] @@ -3869,24 +4090,11 @@ dependencies = [ "subtle 2.5.0", ] -[[package]] -name = "fflonk" -version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "merlin 3.0.0", -] - [[package]] name = "fiat-crypto" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" [[package]] name = "file-per-thread-logger" @@ -3933,7 +4141,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -3978,7 +4186,6 @@ dependencies = [ "pallet-configuration", "pallet-data-preservers", "pallet-identity", - "pallet-im-online", "pallet-inflation-rewards", "pallet-initializer", "pallet-invulnerables", @@ -3999,7 +4206,6 @@ dependencies = [ "pallet-treasury", "pallet-tx-pause", "pallet-utility", - "parachain-info", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-runtime-common", @@ -4018,6 +4224,7 @@ dependencies = [ "sp-consensus-slots", "sp-core", "sp-debug-derive", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-offchain", @@ -4027,6 +4234,7 @@ dependencies = [ "sp-transaction-pool", "sp-trie", "sp-version", + "staging-parachain-info", "substrate-wasm-builder", "test-relay-sproof-builder", "tp-author-noting-inherent", @@ -4102,7 +4310,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", ] @@ -4119,7 +4327,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "hex", "impl-serde", @@ -4138,7 +4346,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "ethereum", "parity-scale-codec", @@ -4150,7 +4358,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "ethereum", "ethereum-types", @@ -4163,7 +4371,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "evm", "frame-support", @@ -4179,7 +4387,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "ethereum", "ethereum-types", @@ -4196,7 +4404,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "frame-support", "parity-scale-codec", @@ -4208,7 +4416,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "parity-scale-codec", "serde", @@ -4223,7 +4431,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-support-procedural", @@ -4248,7 +4456,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -4265,7 +4473,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", "sc-block-builder", "sc-cli", @@ -4296,18 +4504,18 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4324,7 +4532,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -4354,7 +4562,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "indicatif", @@ -4375,9 +4583,10 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "aquamarine", + "array-bytes 6.2.2", "bitflags 1.3.2", "docify", "environmental", @@ -4415,7 +4624,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "Inflector", "cfg-expr", @@ -4428,37 +4637,38 @@ dependencies = [ "proc-macro2", "quote", "sp-core-hashing", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cfg-if", + "docify", "frame-support", "log", "parity-scale-codec", @@ -4475,7 +4685,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -4490,7 +4700,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "sp-api", @@ -4499,7 +4709,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "parity-scale-codec", @@ -4529,11 +4739,11 @@ dependencies = [ [[package]] name = "fs4" -version = "0.6.6" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" +checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.31", "windows-sys 0.48.0", ] @@ -4626,9 +4836,9 @@ dependencies = [ [[package]] name = "futures-lite" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba" dependencies = [ "fastrand 2.0.1", "futures-core", @@ -4645,7 +4855,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -4748,9 +4958,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" dependencies = [ "cfg-if", "js-sys", @@ -4765,6 +4975,7 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ + "rand", "rand_core 0.6.4", ] @@ -4810,7 +5021,7 @@ dependencies = [ "aho-corasick", "bstr 1.9.0", "log", - "regex-automata 0.4.3", + "regex-automata 0.4.5", "regex-syntax 0.8.2", ] @@ -4827,9 +5038,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.22" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" +checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" dependencies = [ "bytes", "fnv", @@ -4837,7 +5048,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 2.2.3", "slab", "tokio", "tokio-util", @@ -4858,12 +5069,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - [[package]] name = "hash-db" version = "0.16.0" @@ -4885,7 +5090,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.8", ] [[package]] @@ -4894,7 +5099,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", ] [[package]] @@ -4903,7 +5108,7 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "allocator-api2", "serde", ] @@ -4928,18 +5133,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.3" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "bd5256b483761cd23699d0da46cc6fd2ee3be420bbe6d020ae4a091e70b7e9fd" [[package]] name = "hex" @@ -5112,14 +5308,14 @@ dependencies = [ "rustls-native-certs", "tokio", "tokio-rustls", - "webpki-roots 0.25.3", + "webpki-roots 0.25.4", ] [[package]] name = "iana-time-zone" -version = "0.1.59" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -5175,7 +5371,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.2.2", + "async-io 2.3.1", "core-foundation", "fnv", "futures 0.3.30", @@ -5264,9 +5460,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -5280,9 +5476,9 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "indicatif" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" dependencies = [ "console", "instant", @@ -5330,7 +5526,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", "windows-sys 0.48.0", ] @@ -5361,12 +5557,12 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ - "hermit-abi 0.3.3", - "rustix 0.38.28", + "hermit-abi", + "libc", "windows-sys 0.52.0", ] @@ -5399,9 +5595,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] @@ -5414,18 +5610,18 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" dependencies = [ "wasm-bindgen", ] @@ -5461,7 +5657,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tracing", - "webpki-roots 0.25.3", + "webpki-roots 0.25.4", ] [[package]] @@ -5481,7 +5677,7 @@ dependencies = [ "hyper", "jsonrpsee-types", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "rustc-hash", "serde", "serde_json", @@ -5568,9 +5764,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", "ecdsa", @@ -5581,9 +5777,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ "cpufeatures", ] @@ -5652,9 +5848,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" @@ -5681,7 +5877,7 @@ dependencies = [ "bytes", "futures 0.3.30", "futures-timer", - "getrandom 0.2.11", + "getrandom 0.2.12", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -5743,13 +5939,13 @@ dependencies = [ "libp2p-identity", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "multistream-select", "once_cell", "parking_lot 0.12.1", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink", "smallvec", "thiserror", @@ -5803,9 +5999,9 @@ dependencies = [ "ed25519-dalek", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", "zeroize", @@ -5830,7 +6026,7 @@ dependencies = [ "libp2p-swarm", "log", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "smallvec", "thiserror", @@ -5852,7 +6048,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "tokio", @@ -5888,7 +6084,7 @@ dependencies = [ "log", "once_cell", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "snow", "static_assertions", @@ -5910,7 +6106,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "void", ] @@ -5930,7 +6126,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "quinn-proto", - "rand 0.8.5", + "rand", "rustls 0.20.9", "thiserror", "tokio", @@ -5948,7 +6144,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand 0.8.5", + "rand", "smallvec", ] @@ -5967,7 +6163,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm-derive", "log", - "rand 0.8.5", + "rand", "smallvec", "tokio", "void", @@ -6071,7 +6267,7 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "libc", "redox_syscall 0.4.1", ] @@ -6104,7 +6300,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -6152,9 +6348,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.12" +version = "1.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" +checksum = "037731f5d3aaa87a5675e895b63ddff1a87624bc29f77004ea829809654e48f6" dependencies = [ "cc", "pkg-config", @@ -6208,9 +6404,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lioness" @@ -6240,6 +6436,15 @@ version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +[[package]] +name = "lru" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" +dependencies = [ + "hashbrown 0.12.3", +] + [[package]] name = "lru" version = "0.10.1" @@ -6302,7 +6507,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -6316,7 +6521,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -6327,7 +6532,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -6338,7 +6543,7 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -6404,7 +6609,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.31", ] [[package]] @@ -6431,7 +6636,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db 0.16.0", + "hash-db", ] [[package]] @@ -6465,7 +6670,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures 0.3.30", - "rand 0.8.5", + "rand", "thrift", ] @@ -6477,9 +6682,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] @@ -6506,13 +6711,13 @@ dependencies = [ "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "either", "hashlink", "lioness", "log", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rand_distr", "subtle 2.5.0", @@ -6523,7 +6728,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "log", @@ -6542,7 +6747,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "anyhow", "jsonrpsee", @@ -6593,7 +6798,7 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash", + "multihash 0.17.0", "percent-encoding", "serde", "static_assertions", @@ -6622,18 +6827,86 @@ dependencies = [ "blake2s_simd", "blake3", "core2", - "digest 0.10.7", - "multihash-derive", - "sha2 0.10.8", - "sha3", - "unsigned-varint", + "digest 0.10.7", + "multihash-derive 0.8.0", + "sha2 0.10.8", + "sha3", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "core2", + "digest 0.10.7", + "multihash-derive 0.8.0", + "sha2 0.10.8", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" +dependencies = [ + "core2", + "unsigned-varint", +] + +[[package]] +name = "multihash-codetable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive 0.9.0", + "ripemd", + "serde", + "sha1", + "sha2 0.10.8", + "sha3", + "strobe-rs", +] + +[[package]] +name = "multihash-derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", +] + +[[package]] +name = "multihash-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" +dependencies = [ + "core2", + "multihash 0.19.1", + "multihash-derive-impl", ] [[package]] -name = "multihash-derive" -version = "0.8.0" +name = "multihash-derive-impl" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" +checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro-error", @@ -6692,11 +6965,11 @@ dependencies = [ [[package]] name = "names" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" +checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -6705,7 +6978,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", ] [[package]] @@ -6795,13 +7068,14 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "async-backing-primitives", "async-trait", "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", + "cumulus-client-parachain-inherent", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", @@ -6826,6 +7100,7 @@ dependencies = [ "sp-inherents", "sp-keystore", "sp-runtime", + "sp-version", "substrate-prometheus-endpoint", "tracing", ] @@ -6833,7 +7108,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "async-trait", "frame-benchmarking", @@ -6865,7 +7140,7 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "cfg-if", "libc", ] @@ -7004,13 +7279,19 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -7023,19 +7304,18 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-iter" -version = "0.1.43" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" +checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" dependencies = [ "autocfg", "num-integer", @@ -7056,9 +7336,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", "libm", @@ -7070,29 +7350,29 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", ] [[package]] name = "num_enum" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683751d591e6d81200c39fb0d1032608b77724f34114db54f571ff1317b337c0" +checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" dependencies = [ "num_enum_derive", ] [[package]] name = "num_enum_derive" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c11e44798ad209ccdd91fc192f0526a369a01234f7373e1b141c96d7cee4f0e" +checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -7151,11 +7431,11 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.62" +version = "0.10.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cde4d2d9200ad5909f8dac647e29482e07c3a35de8a13fce7c9c7747ad9f671" +checksum = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "cfg-if", "foreign-types", "libc", @@ -7172,7 +7452,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -7183,9 +7463,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.98" +version = "0.9.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1665caf8ab2dc9aef43d1c0023bd904633a6a05cb30b0ad59bec2ae986e57a7" +checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" dependencies = [ "cc", "libc", @@ -7201,9 +7481,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "orchestra" -version = "0.3.3" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46d78e1deb2a8d54fc1f063a544130db4da31dfe4d5d3b493186424910222a76" +checksum = "2356622ffdfe72362a45a1e5e87bb113b8327e596e39b91f11f0ef4395c8da79" dependencies = [ "async-trait", "dyn-clonable", @@ -7211,19 +7491,19 @@ dependencies = [ "futures-timer", "orchestra-proc-macro", "pin-project", - "prioritized-metered-channel", + "prioritized-metered-channel 0.6.1", "thiserror", "tracing", ] [[package]] name = "orchestra-proc-macro" -version = "0.3.3" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d035b1f968d91a826f2e34a9d6d02cb2af5aa7ca39ebd27922d850ab4b2dd2c6" +checksum = "eedb646674596266dc9bb2b5c7eea7c36b32ecc7777eba0d510196972d72c4fd" dependencies = [ "expander 2.0.0", - "indexmap 2.1.0", + "indexmap 2.2.3", "itertools 0.11.0", "petgraph", "proc-macro-crate 1.3.1", @@ -7241,10 +7521,28 @@ dependencies = [ "num-traits", ] +[[package]] +name = "pallet-asset-conversion" +version = "4.0.0-dev" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-asset-rate" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7259,7 +7557,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7277,7 +7575,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7293,7 +7591,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7313,7 +7611,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "frame-benchmarking", "frame-support", @@ -7393,7 +7691,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -7423,7 +7721,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -7437,7 +7735,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7461,7 +7759,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "aquamarine", "docify", @@ -7483,7 +7781,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7498,7 +7796,7 @@ dependencies = [ [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "fp-evm", "frame-support", @@ -7512,7 +7810,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -7532,7 +7830,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "binary-merkle-tree", @@ -7557,7 +7855,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7572,10 +7870,107 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-bridge-grandpa" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-header-chain", + "bp-runtime", + "bp-test-utils", + "finality-grandpa", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-consensus-grandpa", + "sp-runtime", + "sp-std", + "sp-trie", +] + +[[package]] +name = "pallet-bridge-messages" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "num-traits", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-bridge-parachains" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-bridge-grandpa", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", + "sp-trie", +] + +[[package]] +name = "pallet-bridge-relayers" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bp-messages", + "bp-relayers", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-bridge-messages", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-broker" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "bitvec", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-cc-authorities-noting" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "ccp-authorities-noting-inherent", "cumulus-pallet-parachain-system", @@ -7604,7 +7999,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7630,7 +8025,7 @@ dependencies = [ "frame-system", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "scale-info", "serde", @@ -7655,7 +8050,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7664,7 +8059,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-runtime", "sp-staking", @@ -7674,7 +8069,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7709,7 +8104,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7750,7 +8145,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7768,7 +8163,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7777,7 +8172,7 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic", "sp-core", @@ -7791,7 +8186,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7805,7 +8200,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -7824,7 +8219,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "ethereum", "ethereum-types", @@ -7847,7 +8242,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "environmental", "evm", @@ -7856,7 +8251,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hash-db 0.16.0", + "hash-db", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -7873,7 +8268,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "frame-support", "frame-system", @@ -7884,7 +8279,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-balances-erc20" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "fp-evm", "frame-support", @@ -7900,13 +8295,14 @@ dependencies = [ "slices", "sp-core", "sp-io", + "sp-runtime", "sp-std", ] [[package]] name = "pallet-evm-precompile-batch" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "evm", "fp-evm", @@ -7927,7 +8323,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-call-permit" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "evm", "fp-evm", @@ -7943,13 +8339,14 @@ dependencies = [ "slices", "sp-core", "sp-io", + "sp-runtime", "sp-std", ] [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "fp-evm", "num", @@ -7958,7 +8355,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "fp-evm", "tiny-keccak", @@ -7967,7 +8364,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "fp-evm", "ripemd", @@ -7977,7 +8374,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-xcm-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "fp-evm", "frame-support", @@ -7999,7 +8396,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "docify", "frame-benchmarking", @@ -8018,7 +8415,7 @@ dependencies = [ [[package]] name = "pallet-foreign-asset-creator" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "frame-benchmarking", "frame-support", @@ -8037,7 +8434,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8060,7 +8457,7 @@ dependencies = [ [[package]] name = "pallet-hotfix-sufficients" version = "1.0.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8076,12 +8473,13 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "enumflags2", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-io", @@ -8092,7 +8490,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8112,7 +8510,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8176,7 +8574,7 @@ dependencies = [ "pallet-balances", "pallet-session", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-core", "sp-io", @@ -8189,7 +8587,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8205,7 +8603,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8222,8 +8620,9 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "environmental", "frame-benchmarking", "frame-support", "frame-system", @@ -8241,7 +8640,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "frame-benchmarking", "frame-support", @@ -8260,7 +8659,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8278,7 +8677,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8294,7 +8693,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8310,7 +8709,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -8329,7 +8728,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8349,7 +8748,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8360,7 +8759,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -8377,7 +8776,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8425,7 +8824,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8442,7 +8841,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8457,7 +8856,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8475,7 +8874,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8490,7 +8889,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8542,7 +8941,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8565,7 +8964,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -8580,7 +8979,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "docify", "frame-benchmarking", @@ -8618,7 +9017,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -8640,7 +9039,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8648,7 +9047,7 @@ dependencies = [ "pallet-session", "pallet-staking", "parity-scale-codec", - "rand 0.8.5", + "rand", "sp-runtime", "sp-session", "sp-std", @@ -8657,7 +9056,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8675,7 +9074,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8698,18 +9097,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "log", "sp-arithmetic", @@ -8718,16 +9117,17 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "sp-api", + "sp-staking", ] [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8768,7 +9168,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "docify", "frame-benchmarking", @@ -8784,7 +9184,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "docify", "frame-benchmarking", @@ -8804,7 +9204,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8823,7 +9223,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -8839,7 +9239,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -8855,7 +9255,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8867,7 +9267,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "docify", "frame-benchmarking", @@ -8886,8 +9286,9 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -8903,7 +9304,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8919,7 +9320,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8934,7 +9335,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8949,13 +9350,14 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", @@ -8964,13 +9366,14 @@ dependencies = [ "sp-runtime", "sp-std", "staging-xcm", + "staging-xcm-builder", "staging-xcm-executor", ] [[package]] name = "pallet-xcm-benchmarks" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-benchmarking", "frame-support", @@ -8987,23 +9390,28 @@ dependencies = [ ] [[package]] -name = "parachain-info" +name = "pallet-xcm-bridge-hub-router" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "cumulus-primitives-core", + "bp-xcm-bridge-hub-router", + "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", + "sp-core", "sp-runtime", "sp-std", + "staging-xcm", + "staging-xcm-builder", ] [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -9016,7 +9424,8 @@ dependencies = [ "pallet-authorship", "pallet-balances", "pallet-collator-selection", - "parachain-info", + "pallet-message-queue", + "pallet-xcm", "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", @@ -9028,12 +9437,47 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", + "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", ] +[[package]] +name = "parachains-runtimes-test-utils" +version = "1.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "assets-common", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-test-relay-sproof-builder", + "frame-support", + "frame-system", + "pallet-assets", + "pallet-balances", + "pallet-collator-selection", + "pallet-session", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "polkadot-parachain-primitives", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-executor", + "substrate-wasm-builder", +] + [[package]] name = "parity-db" version = "0.4.13" @@ -9049,7 +9493,7 @@ dependencies = [ "lz4", "memmap2", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "siphasher", "snap", "winapi", @@ -9076,7 +9520,7 @@ version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -9088,6 +9532,35 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" +[[package]] +name = "parity-util-mem" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +dependencies = [ + "cfg-if", + "ethereum-types", + "hashbrown 0.12.3", + "impl-trait-for-tuples", + "lru 0.8.1", + "parity-util-mem-derive", + "parking_lot 0.12.1", + "primitive-types", + "smallvec", + "winapi", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +dependencies = [ + "proc-macro2", + "syn 1.0.109", + "synstructure", +] + [[package]] name = "parity-wasm" version = "0.45.0" @@ -9169,15 +9642,6 @@ dependencies = [ "crypto-mac 0.11.0", ] -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest 0.10.7", -] - [[package]] name = "pbkdf2" version = "0.12.2" @@ -9210,9 +9674,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" +checksum = "219c0dcc30b6a27553f9cc242972b67f75b60eb0db71f0b5462f38b058c41546" dependencies = [ "memchr", "thiserror", @@ -9221,9 +9685,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" +checksum = "22e1288dbd7786462961e69bfd4df7848c1e37e8b74303dbdab82c3a9cdd2809" dependencies = [ "pest", "pest_generator", @@ -9231,22 +9695,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" +checksum = "1381c29a877c6d34b8c176e734f35d7f7f5b3adaefe940cb4d1bb7af94678e2e" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "pest_meta" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" +checksum = "d0934d6907f148c22a3acbda520c7eed243ad7487a30f51f6ce52b58b7077a8a" dependencies = [ "once_cell", "pest", @@ -9260,27 +9724,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.1.0", + "indexmap 2.2.3", ] [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -9324,9 +9788,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "platforms" @@ -9337,10 +9801,12 @@ checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" [[package]] name = "polkadot-approval-distribution" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "bitvec", "futures 0.3.30", "futures-timer", + "itertools 0.10.5", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -9348,14 +9814,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "always-assert", "futures 0.3.30", @@ -9364,14 +9830,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "derive_more", "fatality", @@ -9383,7 +9849,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "schnellru", "sp-core", "sp-keystore", @@ -9394,7 +9860,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "fatality", @@ -9406,18 +9872,20 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-network", "schnellru", "thiserror", + "tokio", "tracing-gum", ] [[package]] name = "polkadot-cli" version = "1.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "cfg-if", "clap", "frame-benchmarking-cli", "futures 0.3.30", @@ -9443,7 +9911,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "fatality", @@ -9465,7 +9933,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -9477,7 +9945,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "derive_more", "fatality", @@ -9502,7 +9970,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9516,7 +9984,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "futures-timer", @@ -9524,7 +9992,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "sc-network", "sc-network-common", @@ -9537,7 +10005,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "always-assert", "async-trait", @@ -9560,7 +10028,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "parity-scale-codec", @@ -9578,14 +10046,15 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "derive_more", "futures 0.3.30", "futures-timer", + "itertools 0.10.5", "kvdb", - "merlin 2.0.1", + "merlin 3.0.0", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -9593,9 +10062,12 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "rand", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "sc-keystore", "schnellru", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "sp-application-crypto", "sp-consensus", "sp-consensus-slots", @@ -9607,7 +10079,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "futures 0.3.30", @@ -9629,7 +10101,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "fatality", @@ -9648,7 +10120,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "polkadot-node-subsystem", @@ -9663,7 +10135,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -9684,22 +10156,21 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", "polkadot-node-subsystem", - "polkadot-primitives", + "polkadot-node-subsystem-types", "sc-client-api", "sc-consensus-babe", - "sp-blockchain", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-selection" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "futures-timer", @@ -9716,7 +10187,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "fatality", "futures 0.3.30", @@ -9735,7 +10206,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -9752,7 +10223,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "fatality", @@ -9769,7 +10240,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "fatality", @@ -9786,9 +10257,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "always-assert", + "array-bytes 6.2.2", + "blake3", "cfg-if", "futures 0.3.30", "futures-timer", @@ -9800,14 +10273,16 @@ dependencies = [ "polkadot-node-core-pvf-common", "polkadot-node-metrics", "polkadot-node-primitives", + "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "slotmap", "sp-core", "sp-maybe-compressed-blob", "sp-wasm-interface", "tempfile", + "thiserror", "tokio", "tracing-gum", ] @@ -9815,7 +10290,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "polkadot-node-primitives", @@ -9831,7 +10306,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cfg-if", "cpu-time", @@ -9844,18 +10319,19 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", + "seccompiler", "sp-core", "sp-externalities", "sp-io", "sp-tracing", - "tokio", + "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", @@ -9870,7 +10346,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "lazy_static", "log", @@ -9888,7 +10364,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bs58 0.5.0", "futures 0.3.30", @@ -9896,7 +10372,7 @@ dependencies = [ "log", "parity-scale-codec", "polkadot-primitives", - "prioritized-metered-channel", + "prioritized-metered-channel 0.5.1", "sc-cli", "sc-service", "sc-tracing", @@ -9907,7 +10383,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -9920,7 +10396,7 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-authority-discovery", "sc-network", "strum 0.24.1", @@ -9931,14 +10407,15 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "bitvec", "bounded-vec", "futures 0.3.30", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "serde", "sp-application-crypto", "sp-consensus-babe", @@ -9953,7 +10430,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9963,9 +10440,10 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", + "bitvec", "derive_more", "futures 0.3.30", "orchestra", @@ -9980,7 +10458,9 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", + "sp-blockchain", "sp-consensus-babe", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -9988,7 +10468,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "derive_more", @@ -9999,7 +10479,7 @@ dependencies = [ "kvdb", "parity-db", "parity-scale-codec", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "pin-project", "polkadot-node-jaeger", "polkadot-node-metrics", @@ -10009,8 +10489,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-overseer", "polkadot-primitives", - "prioritized-metered-channel", - "rand 0.8.5", + "prioritized-metered-channel 0.5.1", + "rand", "sc-client-api", "schnellru", "sp-application-crypto", @@ -10023,7 +10503,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -10045,11 +10525,10 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bounded-collections", "derive_more", - "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", @@ -10057,12 +10536,13 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", + "sp-weights", ] [[package]] name = "polkadot-primitives" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -10088,7 +10568,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -10104,6 +10584,7 @@ dependencies = [ "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-rpc", + "sc-rpc-spec-v2", "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", @@ -10120,7 +10601,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitvec", "frame-benchmarking", @@ -10134,8 +10615,10 @@ dependencies = [ "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-election-provider-multi-phase", "pallet-fast-unstake", + "pallet-identity", "pallet-session", "pallet-staking", "pallet-staking-reward-fn", @@ -10170,7 +10653,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -10183,7 +10666,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -10197,6 +10680,7 @@ dependencies = [ "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-message-queue", "pallet-session", "pallet-staking", @@ -10207,13 +10691,14 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rustc-hex", "scale-info", "serde", "sp-api", "sp-application-crypto", + "sp-arithmetic", "sp-core", "sp-inherents", "sp-io", @@ -10230,7 +10715,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "frame-benchmarking", @@ -10252,6 +10737,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", + "parking_lot 0.12.1", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -10346,7 +10832,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10358,7 +10844,6 @@ dependencies = [ "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", - "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore", @@ -10370,7 +10855,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10395,14 +10880,14 @@ dependencies = [ [[package]] name = "polling" -version = "3.3.1" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "30054e72317ab98eddd8561db0f6524df3367636884b7b21b703e4b280a84a14" dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite 0.2.13", - "rustix 0.38.28", + "rustix 0.38.31", "tracing", "windows-sys 0.52.0", ] @@ -10451,7 +10936,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "environmental", "evm", @@ -10476,7 +10961,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.3.0#17b64ada67c9b52eeb32cea33565e456a0f39fbb" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-v1.6.0#4414529b910e8cf802969b11505a14665e4a55d1" dependencies = [ "case", "num_enum", @@ -10534,7 +11019,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" dependencies = [ "proc-macro2", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -10567,24 +11052,48 @@ dependencies = [ "tracing", ] +[[package]] +name = "prioritized-metered-channel" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" +dependencies = [ + "coarsetime", + "crossbeam-queue", + "derive_more", + "futures 0.3.30", + "futures-timer", + "nanorand", + "thiserror", + "tracing", +] + +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit 0.19.15", +] + [[package]] name = "proc-macro-crate" -version = "1.3.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" dependencies = [ - "once_cell", - "toml_edit 0.19.15", + "toml_edit 0.20.7", ] [[package]] name = "proc-macro-crate" -version = "2.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "toml_datetime", - "toml_edit 0.20.2", + "toml_edit 0.21.1", ] [[package]] @@ -10619,14 +11128,14 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "proc-macro2" -version = "1.0.74" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -10665,7 +11174,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -10777,7 +11286,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustc-hash", "rustls 0.20.9", @@ -10803,19 +11312,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -10862,7 +11358,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", ] [[package]] @@ -10872,16 +11368,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", + "rand", ] [[package]] @@ -10901,9 +11388,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" dependencies = [ "either", "rayon-core", @@ -10911,9 +11398,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -10955,7 +11442,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", "libredox", "thiserror", ] @@ -10990,7 +11477,7 @@ checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -11007,13 +11494,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", + "regex-automata 0.4.5", "regex-syntax 0.8.2", ] @@ -11028,9 +11515,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", @@ -11069,22 +11556,6 @@ dependencies = [ "subtle 2.5.0", ] -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "blake2 0.10.6", - "common", - "fflonk", - "merlin 3.0.0", -] - [[package]] name = "ring" version = "0.16.20" @@ -11107,7 +11578,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" dependencies = [ "cc", - "getrandom 0.2.11", + "getrandom 0.2.12", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -11158,7 +11629,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11198,6 +11669,7 @@ dependencies = [ "pallet-ranked-collective", "pallet-recovery", "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-society", @@ -11253,7 +11725,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "polkadot-primitives", @@ -11263,6 +11735,7 @@ dependencies = [ "sp-runtime", "sp-weights", "staging-xcm", + "staging-xcm-builder", ] [[package]] @@ -11305,6 +11778,7 @@ dependencies = [ name = "runtime-common" version = "0.1.0" dependencies = [ + "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "frame-support", "frame-system", @@ -11391,14 +11865,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "errno", "libc", - "linux-raw-sys 0.4.12", + "linux-raw-sys 0.4.13", "windows-sys 0.52.0", ] @@ -11444,7 +11918,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ - "base64 0.21.5", + "base64 0.21.7", ] [[package]] @@ -11512,7 +11986,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "log", "sp-core", @@ -11523,7 +11997,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -11531,11 +12005,12 @@ dependencies = [ "ip_network", "libp2p", "log", - "multihash", + "multihash 0.18.1", + "multihash-codetable", "parity-scale-codec", "prost", "prost-build", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sp-api", @@ -11551,14 +12026,13 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "futures-timer", "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api", "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", @@ -11574,24 +12048,28 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", - "sc-client-api", "sp-api", "sp-block-builder", "sp-blockchain", "sp-core", "sp-inherents", "sp-runtime", + "sp-trie", ] [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "array-bytes 6.2.2", + "docify", + "log", "memmap2", + "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", "sc-executor", @@ -11601,6 +12079,8 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", + "sp-genesis-builder", + "sp-io", "sp-runtime", "sp-state-machine", ] @@ -11608,29 +12088,31 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", + "bip39", "chrono", "clap", "fdlimit", "futures 0.3.30", + "itertools 0.10.5", "libp2p-identity", "log", "names", "parity-scale-codec", - "rand 0.8.5", + "rand", "regex", "rpassword", "sc-client-api", @@ -11652,14 +12134,13 @@ dependencies = [ "sp-runtime", "sp-version", "thiserror", - "tiny-bip39", "tokio", ] [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "fnv", "futures 0.3.30", @@ -11686,9 +12167,9 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "hash-db 0.16.0", + "hash-db", "kvdb", "kvdb-memorydb", "kvdb-rocksdb", @@ -11712,7 +12193,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -11737,7 +12218,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -11766,7 +12247,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "fork-tree", @@ -11801,7 +12282,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -11823,7 +12304,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -11851,13 +12332,14 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", "wasm-timer", ] [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -11876,7 +12358,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11889,9 +12371,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "array-bytes 6.2.2", "async-trait", "dyn-clone", @@ -11902,7 +12384,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -11910,6 +12392,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-gossip", + "sc-network-sync", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", @@ -11930,7 +12413,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "finality-grandpa", "futures 0.3.30", @@ -11950,7 +12433,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "assert_matches", "async-trait", @@ -11985,7 +12468,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -12008,7 +12491,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -12030,7 +12513,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -12042,7 +12525,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "anyhow", "cfg-if", @@ -12060,7 +12543,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "ansi_term", "futures 0.3.30", @@ -12069,6 +12552,7 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-sync", "sp-blockchain", "sp-runtime", ] @@ -12076,7 +12560,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.1", @@ -12090,11 +12574,12 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", "blake2 0.10.6", + "bytes", "futures 0.3.30", "futures-timer", "libp2p-identity", @@ -12118,7 +12603,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -12138,7 +12623,7 @@ dependencies = [ "parking_lot 0.12.1", "partial_sort", "pin-project", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network-common", "sc-utils", @@ -12151,6 +12636,8 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", "unsigned-varint", "wasm-timer", "zeroize", @@ -12159,7 +12646,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-channel 1.9.0", "cid", @@ -12179,7 +12666,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12196,15 +12683,16 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "futures 0.3.30", "futures-timer", "libp2p", "log", "sc-network", "sc-network-common", + "sc-network-sync", "schnellru", "sp-runtime", "substrate-prometheus-endpoint", @@ -12214,7 +12702,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -12235,7 +12723,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -12264,13 +12752,14 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", "tokio-stream", ] [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -12278,7 +12767,7 @@ dependencies = [ "libp2p", "log", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -12301,7 +12790,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "futures 0.3.30", @@ -12310,6 +12799,7 @@ dependencies = [ "parity-scale-codec", "sc-network", "sc-network-common", + "sc-network-sync", "sc-utils", "sp-consensus", "sp-runtime", @@ -12319,7 +12809,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -12334,7 +12824,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sc-network-common", @@ -12353,7 +12843,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12362,7 +12852,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -12394,7 +12884,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12414,7 +12904,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "http", "jsonrpsee", @@ -12429,7 +12919,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "futures 0.3.30", @@ -12447,6 +12937,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", + "sp-rpc", "sp-runtime", "sp-version", "thiserror", @@ -12457,7 +12948,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "directories", @@ -12469,8 +12960,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", - "sc-block-builder", + "rand", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -12521,7 +13011,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "log", "parity-scale-codec", @@ -12532,12 +13022,11 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "clap", "fs4", "log", - "sc-client-db", "sp-core", "thiserror", "tokio", @@ -12546,7 +13035,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12565,12 +13054,13 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "derive_more", "futures 0.3.30", "libc", "log", - "rand 0.8.5", + "rand", "rand_pcg", "regex", "sc-telemetry", @@ -12584,7 +13074,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "chrono", "futures 0.3.30", @@ -12592,7 +13082,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "sc-utils", "serde", "serde_json", @@ -12603,14 +13093,15 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "ansi_term", - "atty", "chrono", + "is-terminal", "lazy_static", "libc", "log", + "parity-scale-codec", "parking_lot 0.12.1", "regex", "rustc-hash", @@ -12632,18 +13123,18 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -12669,7 +13160,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -12685,7 +13176,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-channel 1.9.0", "futures 0.3.30", @@ -12738,7 +13229,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "cfg-if", "hashbrown 0.13.2", ] @@ -12752,9 +13243,7 @@ dependencies = [ "arrayref", "arrayvec 0.5.2", "curve25519-dalek 2.1.3", - "getrandom 0.1.16", "merlin 2.0.1", - "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", "subtle 2.5.0", @@ -12777,6 +13266,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "schnorrkel" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +dependencies = [ + "aead", + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek 4.1.2", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "serde_bytes", + "sha2 0.10.8", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "scopeguard" version = "1.2.0" @@ -12813,20 +13321,29 @@ dependencies = [ "zeroize", ] +[[package]] +name = "seccompiler" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "345a3e4dddf721a478089d4697b83c6c0a8f5bf16086f6c13397e4534eb6e2e5" +dependencies = [ + "libc", +] + [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ "secp256k1-sys", ] [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] @@ -12889,29 +13406,38 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.194" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773" +checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" -version = "1.0.194" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0" +checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "serde_json" -version = "1.0.110" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fbd975230bada99c8bb618e0c365c2eefa219158d5c6c29610fd09ff1833257" +checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" dependencies = [ "itoa", "ryu", @@ -12940,6 +13466,17 @@ dependencies = [ "opaque-debug 0.3.0", ] +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "sha2" version = "0.8.2" @@ -12997,9 +13534,9 @@ dependencies = [ [[package]] name = "shlex" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" @@ -13053,6 +13590,11 @@ dependencies = [ "similar", ] +[[package]] +name = "simple-mermaid" +version = "0.1.0" +source = "git+https://github.com/kianenigma/simple-mermaid.git?rev=e48b187bcfd5cc75111acd9d241f1bd36604344b#e48b187bcfd5cc75111acd9d241f1bd36604344b" + [[package]] name = "siphasher" version = "0.3.11" @@ -13089,7 +13631,7 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "enumn", "parity-scale-codec", @@ -13109,9 +13651,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smol" @@ -13139,7 +13681,7 @@ dependencies = [ "arrayvec 0.7.4", "async-lock 2.8.0", "atomic-take", - "base64 0.21.5", + "base64 0.21.7", "bip39", "blake2-rfc", "bs58 0.5.0", @@ -13166,7 +13708,7 @@ dependencies = [ "pbkdf2 0.12.2", "pin-project", "poly1305", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "ruzstd", "schnorrkel 0.10.2", @@ -13180,7 +13722,7 @@ dependencies = [ "soketto", "twox-hash", "wasmi", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.1", "zeroize", ] @@ -13192,7 +13734,7 @@ checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" dependencies = [ "async-channel 1.9.0", "async-lock 2.8.0", - "base64 0.21.5", + "base64 0.21.7", "blake2-rfc", "derive_more", "either", @@ -13209,7 +13751,7 @@ dependencies = [ "no-std-net", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "serde", "serde_json", @@ -13228,14 +13770,14 @@ checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "snow" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" dependencies = [ "aes-gcm", "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "ring 0.17.7", "rustc_version", @@ -13276,16 +13818,16 @@ dependencies = [ "http", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1", ] [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", "parity-scale-codec", "scale-info", @@ -13304,21 +13846,21 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "Inflector", "blake2 0.10.6", "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -13331,7 +13873,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "integer-sqrt", "num-traits", @@ -13345,7 +13887,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -13358,7 +13900,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "sp-api", "sp-inherents", @@ -13369,7 +13911,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "log", @@ -13387,7 +13929,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "futures 0.3.30", @@ -13402,7 +13944,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "parity-scale-codec", @@ -13419,7 +13961,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "parity-scale-codec", @@ -13438,7 +13980,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13457,7 +13999,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "finality-grandpa", "log", @@ -13475,7 +14017,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -13487,10 +14029,10 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", - "bandersnatch_vrfs", + "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", @@ -13498,21 +14040,20 @@ dependencies = [ "dyn-clonable", "ed25519-zebra 3.1.0", "futures 0.3.30", - "hash-db 0.16.0", + "hash-db", "hash256-std-hasher", "impl-serde", - "lazy_static", + "itertools 0.10.5", "libsecp256k1", "log", - "merlin 2.0.1", + "merlin 3.0.0", "parity-scale-codec", "parking_lot 0.12.1", "paste", "primitive-types", - "rand 0.8.5", - "regex", + "rand", "scale-info", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "secp256k1", "secrecy", "serde", @@ -13525,7 +14066,6 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", "tracing", "w3f-bls", "zeroize", @@ -13534,7 +14074,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "blake2b_simd", "byteorder", @@ -13547,17 +14087,17 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13566,17 +14106,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "environmental", "parity-scale-codec", @@ -13587,7 +14127,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "serde_json", "sp-api", @@ -13598,7 +14138,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13612,7 +14152,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bytes", "ed25519-dalek", @@ -13636,9 +14176,8 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "lazy_static", "sp-core", "sp-runtime", "strum 0.24.1", @@ -13647,7 +14186,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -13659,7 +14198,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13668,7 +14207,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13679,7 +14218,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -13691,7 +14230,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13709,7 +14248,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -13723,7 +14262,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "sp-api", "sp-core", @@ -13733,7 +14272,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "backtrace", "lazy_static", @@ -13743,7 +14282,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "rustc-hash", "serde", @@ -13753,17 +14292,19 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", + "simple-mermaid", "sp-application-crypto", "sp-arithmetic", "sp-core", @@ -13775,7 +14316,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13793,19 +14334,20 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "Inflector", - "proc-macro-crate 1.3.1", + "expander 2.0.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "scale-info", @@ -13820,7 +14362,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -13834,13 +14376,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "smallvec", "sp-core", "sp-externalities", @@ -13855,14 +14397,14 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sha2 0.10.8", "sp-api", @@ -13873,18 +14415,18 @@ dependencies = [ "sp-runtime-interface", "sp-std", "thiserror", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.1", ] [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13897,7 +14439,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "parity-scale-codec", @@ -13910,7 +14452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "sp-std", @@ -13922,7 +14464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "sp-api", "sp-runtime", @@ -13931,7 +14473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "parity-scale-codec", @@ -13946,20 +14488,20 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ - "ahash 0.8.7", - "hash-db 0.16.0", - "hashbrown 0.13.2", + "ahash 0.8.8", + "hash-db", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "scale-info", "schnellru", "sp-core", + "sp-externalities", "sp-std", "thiserror", "tracing", @@ -13970,7 +14512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13987,18 +14529,18 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -14011,14 +14553,14 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", "sp-arithmetic", - "sp-core", "sp-debug-derive", "sp-std", ] @@ -14065,7 +14607,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce81b7bd7c4493975347ef60d8c7e8b742d4694f4c49f93e0a12ea263938176c" dependencies = [ - "itertools 0.12.0", + "itertools 0.12.1", "nom", "unicode_categories", ] @@ -14087,7 +14629,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d84b0a3c3739e220d94b3239fd69fb1f74bc36e16643423bd99de3b43c21bfbd" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "atoi", "byteorder", "bytes", @@ -14103,7 +14645,7 @@ dependencies = [ "futures-util", "hashlink", "hex", - "indexmap 2.1.0", + "indexmap 2.2.3", "log", "memchr", "native-tls", @@ -14184,9 +14726,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.44.0" +version = "1.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35935738370302d5e33963665b77541e4b990a3e919ec904c837a56cfc891de1" +checksum = "b1114ee5900b8569bbc8b1a014a942f937b752af4b44f4607430b5f86cedaac0" dependencies = [ "Inflector", "num-format", @@ -14203,11 +14745,26 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "staging-parachain-info" +version = "0.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ + "array-bytes 6.2.2", "bounded-collections", "derivative", "environmental", @@ -14223,7 +14780,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "frame-system", @@ -14245,7 +14802,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "environmental", "frame-benchmarking", @@ -14253,6 +14810,7 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", + "scale-info", "sp-arithmetic", "sp-core", "sp-io", @@ -14296,11 +14854,24 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strobe-rs" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" +dependencies = [ + "bitflags 1.3.2", + "byteorder", + "keccak", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "strum" @@ -14340,7 +14911,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -14359,12 +14930,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.30", @@ -14383,7 +14954,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "hyper", "log", @@ -14395,7 +14966,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "jsonrpsee", @@ -14408,7 +14979,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -14425,7 +14996,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -14451,7 +15022,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "array-bytes 6.2.2", "frame-executive", @@ -14465,8 +15036,6 @@ dependencies = [ "parity-scale-codec", "sc-service", "scale-info", - "serde", - "serde_json", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -14494,7 +15063,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "futures 0.3.30", "sc-block-builder", @@ -14512,7 +15081,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "ansi_term", "build-helper", @@ -14522,7 +15091,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", - "toml 0.7.8", + "toml 0.8.10", "walkdir", "wasm-opt", ] @@ -14558,9 +15127,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.46" +version = "2.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e" +checksum = "915aea9e586f80826ee59f8453c1101f9d1c4b3964cd2460185ee8e299ada496" dependencies = [ "proc-macro2", "quote", @@ -14614,10 +15183,10 @@ dependencies = [ "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", "cumulus-client-network", + "cumulus-client-parachain-inherent", "cumulus-client-pov-recovery", "cumulus-client-service", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "dancebox-runtime", "dc-orchestrator-chain-interface", @@ -14709,8 +15278,8 @@ dependencies = [ "cumulus-client-consensus-aura", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", + "cumulus-client-parachain-inherent", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "cumulus-test-relay-sproof-builder", "fc-rpc", @@ -14760,26 +15329,35 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.9.0" +version = "3.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" +checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" dependencies = [ "cfg-if", "fastrand 2.0.1", - "redox_syscall 0.4.1", - "rustix 0.38.28", + "rustix 0.38.31", "windows-sys 0.52.0", ] [[package]] name = "termcolor" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix 0.38.31", + "windows-sys 0.48.0", +] + [[package]] name = "termtree" version = "0.4.1" @@ -14789,7 +15367,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.3.0#3b75e7f6d5c43d93aa0cc39d9df6c6a5bf815da0" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-v1.6.0#723ab880d7cb91dead467fdd779059ca552b8bc8" dependencies = [ "cumulus-primitives-core", "dp-collator-assignment", @@ -14803,9 +15381,9 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] @@ -14827,18 +15405,18 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] name = "thiserror-impl" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -14902,12 +15480,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -14922,32 +15501,14 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ + "num-conv", "time-core", ] -[[package]] -name = "tiny-bip39" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" -dependencies = [ - "anyhow", - "hmac 0.12.1", - "once_cell", - "pbkdf2 0.11.0", - "rand 0.8.5", - "rustc-hash", - "sha2 0.10.8", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - [[package]] name = "tiny-keccak" version = "2.0.2" @@ -14974,9 +15535,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" dependencies = [ "backtrace", "bytes", @@ -14999,7 +15560,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -15009,7 +15570,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -15061,61 +15622,69 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.19.15", + "toml_edit 0.22.6", ] [[package]] -name = "toml" -version = "0.8.2" +name = "toml_datetime" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", - "serde_spanned", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.2.3", "toml_datetime", - "toml_edit 0.20.2", + "winnow 0.5.40", ] [[package]] -name = "toml_datetime" -version = "0.6.3" +name = "toml_edit" +version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ - "serde", + "indexmap 2.2.3", + "toml_datetime", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.19.15" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.1.0", - "serde", - "serde_spanned", + "indexmap 2.2.3", "toml_datetime", - "winnow", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.20.2" +version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +checksum = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.3", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.1", ] [[package]] @@ -15135,7 +15704,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "bytes", "futures-core", "futures-util", @@ -15283,7 +15852,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -15309,10 +15878,9 @@ dependencies = [ [[package]] name = "tracing-gum" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "coarsetime", - "polkadot-node-jaeger", "polkadot-primitives", "tracing", "tracing-gum-proc-macro", @@ -15321,13 +15889,13 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -15380,7 +15948,7 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" dependencies = [ - "hash-db 0.16.0", + "hash-db", "hashbrown 0.13.2", "log", "rustc-hex", @@ -15393,17 +15961,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db 0.16.0", -] - -[[package]] -name = "triehash" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" -dependencies = [ - "hash-db 0.15.2", - "rlp", + "hash-db", ] [[package]] @@ -15422,7 +15980,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "thiserror", @@ -15461,7 +16019,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "async-trait", "clap", @@ -15508,7 +16066,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.7.3", + "rand", "static_assertions", ] @@ -15538,9 +16096,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -15559,9 +16117,9 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" +checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" @@ -15677,7 +16235,7 @@ dependencies = [ "arrayref", "constcat", "digest 0.10.7", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rand_core 0.6.4", "sha2 0.10.8", @@ -15723,11 +16281,20 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasix" +version = "0.12.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1fbb4ef9bbca0c1170e0b00dd28abc9e3b68669821600cad1caaed606583c6d" +dependencies = [ + "wasi 0.11.0+wasi-snapshot-preview1", +] + [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -15735,24 +16302,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" dependencies = [ "cfg-if", "js-sys", @@ -15762,9 +16329,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -15772,22 +16339,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" [[package]] name = "wasm-instrument" @@ -15855,9 +16422,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acfc1e384a36ca532d070a315925887247f3c7e23567e23e0ac9b1c5d6b8bf76" +checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ "smallvec", "spin 0.9.8", @@ -15868,9 +16435,9 @@ dependencies = [ [[package]] name = "wasmi_arena" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" @@ -15947,7 +16514,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.21.5", + "base64 0.21.7", "bincode", "directories-next", "file-per-thread-logger", @@ -16078,7 +16645,7 @@ dependencies = [ "memfd", "memoffset", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", @@ -16100,9 +16667,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" dependencies = [ "js-sys", "wasm-bindgen", @@ -16129,14 +16696,14 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.25.3" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "westend-runtime" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16182,6 +16749,7 @@ dependencies = [ "pallet-proxy", "pallet-recovery", "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", @@ -16241,7 +16809,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "frame-support", "polkadot-primitives", @@ -16251,6 +16819,7 @@ dependencies = [ "sp-runtime", "sp-weights", "staging-xcm", + "staging-xcm-builder", ] [[package]] @@ -16262,14 +16831,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.28", + "rustix 0.38.31", ] [[package]] name = "wide" -version = "0.7.13" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +checksum = "89beec544f246e679fc25490e3f8e08003bc4bf612068f325120dad4cea02c1c" dependencies = [ "bytemuck", "safe_arch", @@ -16540,9 +17109,18 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.5.31" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97a4882e6b134d6c28953a387571f1acdd3496830d5e36c5e3a1075580ea641c" +checksum = "d90f4e0f530c4c69f62b80d839e9ef3855edc9cba471a160c4d692deed62b401" dependencies = [ "memchr", ] @@ -16579,11 +17157,11 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "serde", "zeroize", @@ -16610,9 +17188,10 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", @@ -16644,7 +17223,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.3.0#4320d4e0fe00b4a3b0540ceeb2cb5cd922dc2d3f" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-v1.6.0#9a46cd8304672472f0bec9c9f19783fc5909a734" dependencies = [ "sp-runtime", ] @@ -16652,12 +17231,12 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.3.0#5968669019a8340ba5571ec5f2c428cbc7a8e81c" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-v1.6.0#335795e63441a7c3c409ee5c532d4560a01cf3ae" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -16670,7 +17249,7 @@ dependencies = [ "log", "nohash-hasher", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -16700,7 +17279,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] @@ -16720,7 +17299,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.46", + "syn 2.0.49", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index c7aa2e8b57..549f374d1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,196 +55,199 @@ tp-maths = { path = "primitives/maths", default-features = false } tp-traits = { path = "primitives/traits", default-features = false } # Dancekit (wasm) -ccp-authorities-noting-inherent = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -ccp-xcm = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -dp-chain-state-snapshot = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -dp-collator-assignment = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -dp-core = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-cc-authorities-noting = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -test-relay-sproof-builder = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0", default-features = false } +ccp-authorities-noting-inherent = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +ccp-xcm = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +dp-chain-state-snapshot = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +dp-collator-assignment = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +dp-core = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-cc-authorities-noting = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +test-relay-sproof-builder = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0", default-features = false } # Dancekit (client) -dc-orchestrator-chain-interface = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.3.0" } +dc-orchestrator-chain-interface = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0" } # Moonkit (wasm) -nimbus-consensus = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0" } -nimbus-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-async-backing = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-author-inherent = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-precompile-balances-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-precompile-batch = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-precompile-call-permit = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-precompile-xcm-utils = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-foreign-asset-creator = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-maintenance-mode = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-migrations = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-relay-storage-roots = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } -xcm-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.3.0", default-features = false } +nimbus-consensus = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0" } +nimbus-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-async-backing = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-author-inherent = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-precompile-balances-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-precompile-batch = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-precompile-call-permit = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-precompile-xcm-utils = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-foreign-asset-creator = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-maintenance-mode = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-migrations = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-relay-storage-roots = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } +xcm-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false } # Substrate (wasm) -frame-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -frame-executive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -frame-support = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.3.0", version = "4.0.0-dev", default-features = false } -frame-system = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.3.0", version = "4.0.0-dev", default-features = false } -frame-system-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -frame-try-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-asset-rate = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-assets = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-balances = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-identity = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-im-online = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-message-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-proxy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-root-testing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-sudo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-transaction-payment = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-treasury = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-tx-pause = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } +frame-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +frame-executive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +frame-support = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.6.0", version = "4.0.0-dev", default-features = false } +frame-system = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.6.0", version = "4.0.0-dev", default-features = false } +frame-system-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +frame-try-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-asset-rate = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-assets = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-balances = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-identity = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-message-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-proxy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-root-testing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-sudo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-treasury = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-tx-pause = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", "max-encoded-len" ] } scale-info = { version = "2.10.0", default-features = false } -sp-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-application-crypto = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-consensus-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-consensus-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-core = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.3.0", version = "21.0.0", default-features = false } -sp-debug-derive = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-inherents = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-io = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.3.0", version = "23.0.0", default-features = false } -sp-keyring = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.3.0", version = "24.0.0", default-features = false } -sp-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.3.0", version = "24.0.0", default-features = false } -sp-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-state-machine = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-std = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-trie = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-version = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } +sp-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-application-crypto = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-consensus-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-consensus-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-core = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.6.0", version = "21.0.0", default-features = false } +sp-debug-derive = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-inherents = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-io = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.6.0", version = "23.0.0", default-features = false } +sp-keyring = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.6.0", version = "24.0.0", default-features = false } +sp-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk.git", branch = "tanssi-polkadot-v1.6.0", version = "24.0.0", default-features = false } +sp-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-state-machine = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-std = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-trie = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-version = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } # Substrate (client) -frame-benchmarking-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -pallet-transaction-payment-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sc-basic-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-chain-spec = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-client-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-consensus-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-consensus-manual-seal = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-network-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-network-sync = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-network-test = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-network-transactions = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-sysinfo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-telemetry = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-transaction-pool-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sc-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sp-blockchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -sp-externalities = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-storage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -sp-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -substrate-build-script-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -substrate-frame-rpc-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -substrate-prometheus-endpoint = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -substrate-test-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -substrate-test-runtime-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -substrate-wasm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -try-runtime-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } +frame-benchmarking-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +pallet-transaction-payment-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sc-basic-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-chain-spec = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-client-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-consensus-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-consensus-manual-seal = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-network-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-network-sync = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-network-test = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-network-transactions = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-sysinfo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-telemetry = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-transaction-pool-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sc-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sp-blockchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +sp-externalities = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-genesis-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-storage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +sp-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +substrate-build-script-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +substrate-frame-rpc-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +substrate-prometheus-endpoint = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +substrate-test-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +substrate-test-runtime-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +substrate-wasm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +try-runtime-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } # Polkadot (wasm) -pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-xcm-benchmarks = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -polkadot-core-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -polkadot-node-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -polkadot-parachain-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -polkadot-runtime-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -staging-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -staging-xcm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -staging-xcm-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -westend-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -westend-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } +pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-xcm-benchmarks = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +polkadot-core-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +polkadot-node-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +polkadot-parachain-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +polkadot-runtime-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +staging-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +staging-xcm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +staging-xcm-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +westend-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +westend-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } # Polkadot (client) -polkadot-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -polkadot-overseer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } -polkadot-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -polkadot-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0" } +polkadot-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +polkadot-overseer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +polkadot-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +polkadot-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } # Cumulus (wasm) -cumulus-pallet-dmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false, features = [ "parameterized-consensus-hook" ] } -cumulus-pallet-session-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-primitives-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -parachain-info = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -parachains-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false, features = [ "parameterized-consensus-hook" ] } +cumulus-pallet-session-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-primitives-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +parachains-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } # Cumulus (client) -cumulus-client-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-client-collator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-client-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-client-consensus-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-client-consensus-proposer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-client-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-client-pov-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-client-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } -xcm-emulator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false } +assets-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +cumulus-client-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-collator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-consensus-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-consensus-proposer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-pov-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-client-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } +emulated-integration-tests-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" } +xcm-emulator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false } # Frontier (wasm) -fp-account = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fp-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fp-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fp-self-contained = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-base-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-ethereum = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -pallet-hotfix-sufficients = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -precompile-utils = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } +fp-account = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fp-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fp-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fp-self-contained = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-base-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-ethereum = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +pallet-hotfix-sufficients = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +precompile-utils = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } # Frontier (client) -fc-api = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fc-cli = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fc-consensus = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fc-db = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fc-mapping-sync = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fc-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", features = [ +fc-api = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fc-cli = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fc-consensus = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fc-db = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fc-mapping-sync = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fc-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", features = [ "rpc-binary-search-estimate", ] } -fc-rpc-core = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } -fc-storage = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false } +fc-rpc-core = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } +fc-storage = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.6.0", default-features = false } # General (wasm) bounded-collections = { version = "0.1.8", default-features = false } diff --git a/client/consensus/Cargo.toml b/client/consensus/Cargo.toml index 9113c75ca2..f242b0bfa5 100644 --- a/client/consensus/Cargo.toml +++ b/client/consensus/Cargo.toml @@ -37,8 +37,8 @@ cumulus-client-collator = { workspace = true } cumulus-client-consensus-aura = { workspace = true } cumulus-client-consensus-common = { workspace = true } cumulus-client-consensus-proposer = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } cumulus-primitives-core = { workspace = true } -cumulus-primitives-parachain-inherent = { workspace = true } cumulus-relay-chain-interface = { workspace = true } # Polkadot diff --git a/client/consensus/src/collators.rs b/client/consensus/src/collators.rs index 725e279393..fc5e0a8b70 100644 --- a/client/consensus/src/collators.rs +++ b/client/consensus/src/collators.rs @@ -21,10 +21,10 @@ use { cumulus_client_collator::service::ServiceInterface as CollatorServiceInterface, cumulus_client_consensus_common::ParachainCandidate, cumulus_client_consensus_proposer::ProposerInterface, + cumulus_client_parachain_inherent::{ParachainInherentData, ParachainInherentDataProvider}, cumulus_primitives_core::{ relay_chain::Hash as PHash, DigestItem, ParachainBlockData, PersistedValidationData, }, - cumulus_primitives_parachain_inherent::ParachainInherentData, cumulus_relay_chain_interface::RelayChainInterface, futures::prelude::*, nimbus_primitives::{CompatibleDigestItem as NimbusCompatibleDigestItem, NIMBUS_KEY_ID}, @@ -113,7 +113,7 @@ where parent_hash: Block::Hash, _timestamp: impl Into>, ) -> Result<(ParachainInherentData, InherentData), Box> { - let paras_inherent_data = ParachainInherentData::create_at( + let paras_inherent_data = ParachainInherentDataProvider::create_at( relay_parent, &self.relay_client, validation_data, @@ -158,12 +158,14 @@ where inherent_data: (ParachainInherentData, InherentData), proposal_duration: Duration, max_pov_size: usize, - ) -> Result<(Collation, ParachainBlockData, Block::Hash), Box> - { + ) -> Result< + Option<(Collation, ParachainBlockData, Block::Hash)>, + Box, + > { let mut digest = additional_pre_digest.into().unwrap_or_default(); digest.append(&mut slot_claim.pre_digest); - let proposal = self + let maybe_proposal = self .proposer .propose( &parent_header, @@ -176,6 +178,11 @@ where .await .map_err(|e| Box::new(e) as Box)?; + let proposal = match maybe_proposal { + None => return Ok(None), + Some(p) => p, + }; + let sealed_importable = seal_tanssi::<_, P>( proposal.block, proposal.storage_changes, @@ -223,7 +230,7 @@ where ); } - Ok((collation, block_data, post_hash)) + Ok(Some((collation, block_data, post_hash))) } else { Err( Box::::from("Unable to produce collation") diff --git a/client/consensus/src/collators/basic.rs b/client/consensus/src/collators/basic.rs index c51508d78f..f25c4c26f9 100644 --- a/client/consensus/src/collators/basic.rs +++ b/client/consensus/src/collators/basic.rs @@ -224,7 +224,7 @@ where .await ); - let (collation, _, post_hash) = try_request!( + let maybe_collation = try_request!( collator .collate( &parent_header, @@ -241,11 +241,17 @@ where .await ); - let result_sender = Some(collator.collator_service().announce_with_barrier(post_hash)); - request.complete(Some(CollationResult { - collation, - result_sender, - })); + if let Some((collation, _, post_hash)) = maybe_collation { + let result_sender = + Some(collator.collator_service().announce_with_barrier(post_hash)); + request.complete(Some(CollationResult { + collation, + result_sender, + })); + } else { + request.complete(None); + tracing::debug!(target: crate::LOG_TARGET, "No block proposal"); + } } } } diff --git a/client/consensus/src/consensus_orchestrator.rs b/client/consensus/src/consensus_orchestrator.rs index 1999317eba..f941b8c987 100644 --- a/client/consensus/src/consensus_orchestrator.rs +++ b/client/consensus/src/consensus_orchestrator.rs @@ -27,11 +27,6 @@ use { sp_runtime::traits::Block as BlockT, }; -pub use { - sc_consensus_aura::{slot_duration, AuraVerifier, BuildAuraWorkerParams, SlotProportion}, - sc_consensus_slots::InherentDataProviderExt, -}; - #[async_trait::async_trait] pub trait RetrieveAuthoritiesFromOrchestrator: Send + Sync { /// Create the inherent data providers at the given `parent` block using the given `extra_args`. diff --git a/client/consensus/src/manual_seal.rs b/client/consensus/src/manual_seal.rs index 2bc2f6f560..faee2b6cab 100644 --- a/client/consensus/src/manual_seal.rs +++ b/client/consensus/src/manual_seal.rs @@ -24,13 +24,16 @@ use { sc_client_api::{AuxStore, UsageProvider}, sc_consensus::BlockImportParams, sc_consensus_manual_seal::{ConsensusDataProvider, Error}, - sp_api::{HeaderT, ProvideRuntimeApi}, + sp_api::ProvideRuntimeApi, sp_blockchain::{HeaderBackend, HeaderMetadata}, sp_consensus_aura::{digests::CompatibleDigestItem, AuraApi, Slot, SlotDuration}, sp_core::Pair, sp_inherents::InherentData, sp_keystore::KeystorePtr, - sp_runtime::{traits::Block as BlockT, Digest, DigestItem}, + sp_runtime::{ + traits::{Block as BlockT, Header as HeaderT}, + Digest, DigestItem, + }, sp_timestamp::TimestampInherentData, std::{marker::PhantomData, sync::Arc}, tp_consensus::TanssiAuthorityAssignmentApi, diff --git a/client/consensus/src/tests.rs b/client/consensus/src/tests.rs index 419d648bfc..75fe189089 100644 --- a/client/consensus/src/tests.rs +++ b/client/consensus/src/tests.rs @@ -43,7 +43,7 @@ use { polkadot_primitives::{ Hash as PHash, OccupiedCoreAssumption, PersistedValidationData, ValidatorId, }, - sc_block_builder::BlockBuilderProvider, + sc_block_builder::BlockBuilderBuilder, sc_client_api::HeaderBackend, sc_consensus::{BoxJustificationImport, ForkChoiceStrategy}, sc_keystore::LocalKeystore, @@ -373,7 +373,14 @@ impl Proposer for DummyProposer { _: Duration, _: Option, ) -> Self::Proposal { - let r = self.1.new_block(digests).unwrap().build(); + let r = BlockBuilderBuilder::new(&*self.1) + .on_parent_block(self.1.chain_info().best_hash) + .fetch_parent_block_number(&*self.1) + .unwrap() + .with_inherent_digests(digests) + .build() + .unwrap() + .build(); let (_relay_parent_storage_root, proof) = RelayStateSproofBuilder::default().into_state_root_and_proof(); @@ -636,6 +643,7 @@ async fn collate_returns_correct_block() { ) .await .unwrap() + .unwrap() .1; // The returned block should be imported and we should be able to get its header by now. diff --git a/client/node-common/src/command.rs b/client/node-common/src/command.rs new file mode 100644 index 0000000000..477894026e --- /dev/null +++ b/client/node-common/src/command.rs @@ -0,0 +1,58 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see . + +use parity_scale_codec::Encode; +use sc_chain_spec::ChainSpec; +use sp_runtime::{ + traits::{Block as BlockT, Hash as HashT, Header as HeaderT, Zero}, + StateVersion, +}; + +/// Generate the genesis block from a given ChainSpec. +pub fn generate_genesis_block( + chain_spec: &dyn ChainSpec, + genesis_state_version: StateVersion, +) -> Result { + let storage = chain_spec.build_storage()?; + + let child_roots = storage.children_default.iter().map(|(sk, child_content)| { + let state_root = <<::Header as HeaderT>::Hashing as HashT>::trie_root( + child_content.data.clone().into_iter().collect(), + genesis_state_version, + ); + (sk.clone(), state_root.encode()) + }); + let state_root = <<::Header as HeaderT>::Hashing as HashT>::trie_root( + storage.top.clone().into_iter().chain(child_roots).collect(), + genesis_state_version, + ); + + let extrinsics_root = <<::Header as HeaderT>::Hashing as HashT>::trie_root( + Vec::new(), + genesis_state_version, + ); + + Ok(Block::new( + <::Header as HeaderT>::new( + Zero::zero(), + extrinsics_root, + state_root, + Default::default(), + Default::default(), + ), + Default::default(), + )) +} diff --git a/client/node-common/src/lib.rs b/client/node-common/src/lib.rs index 673211af33..36a704bf0b 100644 --- a/client/node-common/src/lib.rs +++ b/client/node-common/src/lib.rs @@ -15,3 +15,5 @@ // along with Tanssi. If not, see . pub mod service; + +pub mod command; diff --git a/client/node-common/src/service.rs b/client/node-common/src/service.rs index 7fb13e662a..9d97868a8b 100644 --- a/client/node-common/src/service.rs +++ b/client/node-common/src/service.rs @@ -549,10 +549,13 @@ where // Here you can check whether the hardware meets your chains' requirements. Putting a link // in there and swapping out the requirements for your own are probably a good idea. The // requirements for a para-chain are dictated by its relay-chain. - if collator && !SUBSTRATE_REFERENCE_HARDWARE.check_hardware(hwbench) { - log::warn!( - "⚠️ The hardware does not meet the minimal requirements for role 'Authority'." - ); + if collator { + if let Err(err) = SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) { + log::warn!( + "⚠️ The hardware does not meet the minimal requirements {} for role 'Authority'.", + err + ); + } } if let Some(ref mut telemetry) = telemetry { diff --git a/container-chains/templates/frontier/node/Cargo.toml b/container-chains/templates/frontier/node/Cargo.toml index 700e63958b..590203e3f8 100644 --- a/container-chains/templates/frontier/node/Cargo.toml +++ b/container-chains/templates/frontier/node/Cargo.toml @@ -18,6 +18,7 @@ jsonrpsee = { workspace = true, features = [ "server" ] } log = { workspace = true } parity-scale-codec = { workspace = true } serde = { workspace = true, features = [ "derive" ] } +serde_json = { workspace = true, features = [ "arbitrary_precision" ] } url = { workspace = true } # Local @@ -88,9 +89,9 @@ cumulus-client-cli = { workspace = true } cumulus-client-consensus-aura = { workspace = true } cumulus-client-consensus-common = { workspace = true } cumulus-client-network = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } cumulus-client-service = { workspace = true } cumulus-primitives-core = { workspace = true } -cumulus-primitives-parachain-inherent = { workspace = true } cumulus-relay-chain-interface = { workspace = true } cumulus-test-relay-sproof-builder = { workspace = true } @@ -113,6 +114,7 @@ substrate-build-script-utils = { workspace = true } default = [] runtime-benchmarks = [ "container-chain-template-frontier-runtime/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "nimbus-primitives/runtime-benchmarks", diff --git a/container-chains/templates/frontier/node/src/chain_spec.rs b/container-chains/templates/frontier/node/src/chain_spec.rs index 8caed7b99e..d8a3e91934 100644 --- a/container-chains/templates/frontier/node/src/chain_spec.rs +++ b/container-chains/templates/frontier/node/src/chain_spec.rs @@ -73,29 +73,25 @@ pub fn development_config(para_id: ParaId, boot_nodes: Vec) -> ChainSpec }) .collect(); - ChainSpec::from_genesis( - // Name - "Development", - // ID - "dev", - ChainType::Development, - move || { - testnet_genesis( - default_funded_accounts.clone(), - para_id, - AccountId::from(hex!("f24FF3a9CF04c71Dbc94D0b566f7A27B94566cac")), // Alith - ) - }, - boot_nodes, - None, - None, - None, - Some(properties), + ChainSpec::builder( + container_chain_template_frontier_runtime::WASM_BINARY + .expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name("Development") + .with_id("dev") + .with_chain_type(ChainType::Development) + .with_genesis_config(testnet_genesis( + default_funded_accounts.clone(), + para_id, + AccountId::from(hex!("f24FF3a9CF04c71Dbc94D0b566f7A27B94566cac")), // Alith + )) + .with_properties(properties) + .with_boot_nodes(boot_nodes) + .build() } pub fn local_testnet_config(para_id: ParaId, boot_nodes: Vec) -> ChainSpec { @@ -105,7 +101,7 @@ pub fn local_testnet_config(para_id: ParaId, boot_nodes: Vec) -> ChainSp properties.insert("tokenDecimals".into(), 18.into()); properties.insert("ss58Format".into(), 42.into()); properties.insert("isEthereum".into(), true.into()); - let protocol_id = Some(format!("container-chain-{}", para_id)); + let protocol_id = format!("container-chain-{}", para_id); let mut default_funded_accounts = pre_funded_accounts(); default_funded_accounts.sort(); @@ -118,55 +114,41 @@ pub fn local_testnet_config(para_id: ParaId, boot_nodes: Vec) -> ChainSp }) .collect(); - ChainSpec::from_genesis( - // Name - &format!("Frontier Container {}", para_id), - // ID - &format!("frontier_container_{}", para_id), - ChainType::Local, - move || { - testnet_genesis( - default_funded_accounts.clone(), - para_id, - AccountId::from(hex!("f24FF3a9CF04c71Dbc94D0b566f7A27B94566cac")), // Alith - ) - }, - // Bootnodes - boot_nodes, - // Telemetry - None, - // Protocol ID - protocol_id.as_deref(), - // Fork ID - None, - // Properties - Some(properties), - // Extensions + ChainSpec::builder( + container_chain_template_frontier_runtime::WASM_BINARY + .expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name(&format!("Frontier Container {}", para_id)) + .with_id(&format!("frontier_container_{}", para_id)) + .with_chain_type(ChainType::Local) + .with_genesis_config(testnet_genesis( + default_funded_accounts.clone(), + para_id, + AccountId::from(hex!("f24FF3a9CF04c71Dbc94D0b566f7A27B94566cac")), // Alith + )) + .with_properties(properties) + .with_protocol_id(&protocol_id) + .with_boot_nodes(boot_nodes) + .build() } fn testnet_genesis( endowed_accounts: Vec, id: ParaId, root_key: AccountId, -) -> container_chain_template_frontier_runtime::RuntimeGenesisConfig { +) -> serde_json::Value { // This is the simplest bytecode to revert without returning any data. // We will pre-deploy it under all of our precompiles to ensure they can be called from // within contracts. // (PUSH1 0x00 PUSH1 0x00 REVERT) let revert_bytecode = vec![0x60, 0x00, 0x60, 0x00, 0xFD]; - container_chain_template_frontier_runtime::RuntimeGenesisConfig { - system: container_chain_template_frontier_runtime::SystemConfig { - code: container_chain_template_frontier_runtime::WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), - ..Default::default() - }, + let g = container_chain_template_frontier_runtime::RuntimeGenesisConfig { + system: Default::default(), balances: container_chain_template_frontier_runtime::BalancesConfig { balances: endowed_accounts .iter() @@ -224,7 +206,9 @@ fn testnet_genesis( // This should initialize it to whatever we have set in the pallet polkadot_xcm: PolkadotXcmConfig::default(), tx_pause: Default::default(), - } + }; + + serde_json::to_value(&g).unwrap() } /// Get pre-funded accounts diff --git a/container-chains/templates/frontier/node/src/cli.rs b/container-chains/templates/frontier/node/src/cli.rs index e92d65ccad..20629a03bc 100644 --- a/container-chains/templates/frontier/node/src/cli.rs +++ b/container-chains/templates/frontier/node/src/cli.rs @@ -47,7 +47,8 @@ pub enum Subcommand { PurgeChain(cumulus_client_cli::PurgeChainCmd), /// Export the genesis state of the parachain. - ExportGenesisState(cumulus_client_cli::ExportGenesisStateCommand), + #[command(alias = "export-genesis-state")] + ExportGenesisHead(cumulus_client_cli::ExportGenesisHeadCommand), /// Export the genesis wasm of the parachain. ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand), diff --git a/container-chains/templates/frontier/node/src/command.rs b/container-chains/templates/frontier/node/src/command.rs index 823f9954c1..d8fa1b9cd2 100644 --- a/container-chains/templates/frontier/node/src/command.rs +++ b/container-chains/templates/frontier/node/src/command.rs @@ -21,10 +21,10 @@ use { service::{self, frontier_database_dir, NodeConfig}, }, container_chain_template_frontier_runtime::Block, - cumulus_client_cli::generate_genesis_block, cumulus_primitives_core::ParaId, frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}, log::{info, warn}, + node_common::command::generate_genesis_block, node_common::service::NodeBuilderConfig as _, parity_scale_codec::Encode, polkadot_cli::IdentifyVariant, @@ -41,14 +41,6 @@ use { std::net::SocketAddr, }; -#[cfg(feature = "try-runtime")] -use { - crate::client::TemplateRuntimeExecutor, try_runtime_cli::block_building_info::substrate_info, -}; - -#[cfg(feature = "try-runtime")] -const SLOT_DURATION: u64 = 12; - fn load_spec(id: &str, para_id: ParaId) -> std::result::Result, String> { Ok(match id { "dev" => Box::new(chain_spec::development_config(para_id, vec![])), @@ -235,11 +227,11 @@ pub fn run() -> Result<()> { cmd.run(config, polkadot_config) }) } - Some(Subcommand::ExportGenesisState(cmd)) => { + Some(Subcommand::ExportGenesisHead(cmd)) => { let runner = cli.create_runner(cmd)?; runner.sync_run(|mut config| { let partials = NodeConfig::new_builder(&mut config, None)?; - cmd.run(&*config.chain_spec, &*partials.client) + cmd.run(partials.client) }) } Some(Subcommand::ExportGenesisWasm(cmd)) => { @@ -289,39 +281,17 @@ pub fn run() -> Result<()> { } } #[cfg(feature = "try-runtime")] - Some(Subcommand::TryRuntime(cmd)) => { - let runner = cli.create_runner(cmd)?; - - use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; - type HostFunctionsOf = ExtendedHostFunctions< - sp_io::SubstrateHostFunctions, - ::ExtendHostFunctions, - >; - - // grab the task manager. - let registry = &runner - .config() - .prometheus_config - .as_ref() - .map(|cfg| &cfg.registry); - let task_manager = - sc_service::TaskManager::new(runner.config().tokio_handle.clone(), *registry) - .map_err(|e| format!("Error: {:?}", e))?; - - let info_provider = substrate_info(SLOT_DURATION); - runner.async_run(|_| { - Ok(( - cmd.run::, _>(Some( - info_provider, - )), - task_manager, - )) - }) + Some(Subcommand::TryRuntime(_)) => { + Err("Substrate's `try-runtime` subcommand has been migrated \ + to a standalone CLI (https://github.com/paritytech/try-runtime-cli)" + .into()) } #[cfg(not(feature = "try-runtime"))] - Some(Subcommand::TryRuntime) => Err("Try-runtime was not enabled when building the node. \ - You can enable it with `--features try-runtime`." - .into()), + Some(Subcommand::TryRuntime) => { + Err("Substrate's `try-runtime` subcommand has been migrated \ + to a standalone CLI (https://github.com/paritytech/try-runtime-cli)" + .into()) + } None => { let runner = cli.create_runner(&cli.run.normalize())?; let collator_options = cli.run.collator_options(); diff --git a/container-chains/templates/frontier/node/src/eth.rs b/container-chains/templates/frontier/node/src/eth.rs index f99e04145f..2ddf51e76c 100644 --- a/container-chains/templates/frontier/node/src/eth.rs +++ b/container-chains/templates/frontier/node/src/eth.rs @@ -14,11 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see . -// Frontier -pub use { - fc_consensus::FrontierBlockImport, - fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}, -}; // Local use container_chain_template_frontier_runtime::opaque::Block; diff --git a/container-chains/templates/frontier/node/src/rpc/eth.rs b/container-chains/templates/frontier/node/src/rpc/eth.rs index 81a728a105..7a9597e84a 100644 --- a/container-chains/templates/frontier/node/src/rpc/eth.rs +++ b/container-chains/templates/frontier/node/src/rpc/eth.rs @@ -25,7 +25,7 @@ use { // Frontier use fc_db::Backend as FrontierBackend; pub use { - fc_rpc::{EthBlockDataCacheTask, EthConfig, OverrideHandle, StorageOverride}, + fc_rpc::{EthBlockDataCacheTask, OverrideHandle}, fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}, fc_storage::overrides_handle, }; diff --git a/container-chains/templates/frontier/node/src/rpc/mod.rs b/container-chains/templates/frontier/node/src/rpc/mod.rs index b227b48cc3..681200c6d6 100644 --- a/container-chains/templates/frontier/node/src/rpc/mod.rs +++ b/container-chains/templates/frontier/node/src/rpc/mod.rs @@ -25,8 +25,8 @@ pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; use { container_chain_template_frontier_runtime::{opaque::Block, AccountId, Hash, Index}, + cumulus_client_parachain_inherent::ParachainInherentData, cumulus_primitives_core::{ParaId, PersistedValidationData}, - cumulus_primitives_parachain_inherent::ParachainInherentData, cumulus_test_relay_sproof_builder::RelayStateSproofBuilder, fc_rpc::{EthTask, TxPool}, fc_rpc_core::TxPoolApiServer, @@ -45,14 +45,14 @@ use { sc_service::TaskManager, sc_transaction_pool::{ChainApi, Pool}, sc_transaction_pool_api::TransactionPool, - sp_api::{CallApiAt, HeaderT, ProvideRuntimeApi}, + sp_api::{CallApiAt, ProvideRuntimeApi}, sp_block_builder::BlockBuilder, sp_blockchain::{ Backend as BlockchainBackend, Error as BlockChainError, HeaderBackend, HeaderMetadata, }, sp_consensus_aura::SlotDuration, sp_core::H256, - sp_runtime::traits::{BlakeTwo256, Block as BlockT}, + sp_runtime::traits::{BlakeTwo256, Block as BlockT, Header as HeaderT}, std::{sync::Arc, time::Duration}, }; pub struct DefaultEthConfig(std::marker::PhantomData<(C, BE)>); diff --git a/container-chains/templates/frontier/node/src/service.rs b/container-chains/templates/frontier/node/src/service.rs index 56733c83a4..1fe9af91b3 100644 --- a/container-chains/templates/frontier/node/src/service.rs +++ b/container-chains/templates/frontier/node/src/service.rs @@ -22,11 +22,9 @@ use { container_chain_template_frontier_runtime::{opaque::Block, RuntimeApi}, cumulus_client_cli::CollatorOptions, cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport, + cumulus_client_parachain_inherent::{MockValidationDataInherentDataProvider, MockXcmConfig}, cumulus_client_service::prepare_node_config, cumulus_primitives_core::{relay_chain::well_known_keys as RelayWellKnownKeys, ParaId}, - cumulus_primitives_parachain_inherent::{ - MockValidationDataInherentDataProvider, MockXcmConfig, - }, fc_consensus::FrontierBlockImport, fc_db::DatabaseSource, fc_rpc_core::types::{FeeHistoryCache, FilterPool}, @@ -490,7 +488,6 @@ pub async fn start_dev_node( let backend = node_builder.backend.clone(); let max_past_logs = rpc_config.max_past_logs; let overrides = overrides; - let fee_history_cache = fee_history_cache; let block_data_cache = block_data_cache; Box::new(move |deny_unsafe, subscription_task_executor| { diff --git a/container-chains/templates/frontier/runtime/Cargo.toml b/container-chains/templates/frontier/runtime/Cargo.toml index 9d4343689b..d946d1b620 100644 --- a/container-chains/templates/frontier/runtime/Cargo.toml +++ b/container-chains/templates/frontier/runtime/Cargo.toml @@ -21,6 +21,7 @@ smallvec = { workspace = true } # Local ccp-xcm = { workspace = true } pallet-cc-authorities-noting = { workspace = true } +runtime-common = { workspace = true } tp-consensus = { workspace = true } tp-impl-tanssi-pallets-config = { workspace = true } @@ -43,6 +44,7 @@ frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } frame-try-runtime = { workspace = true, optional = true } pallet-balances = { workspace = true, features = [ "insecure_zero_ed" ] } +pallet-message-queue = { workspace = true } pallet-proxy = { workspace = true } pallet-root-testing = { workspace = true } pallet-sudo = { workspace = true } @@ -57,6 +59,7 @@ sp-consensus-aura = { workspace = true } sp-consensus-slots = { workspace = true } sp-core = { workspace = true } sp-debug-derive = { workspace = true } +sp-genesis-builder = { workspace = true } sp-inherents = { workspace = true } sp-offchain = { workspace = true } sp-runtime = { workspace = true } @@ -86,6 +89,7 @@ cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } +parachains-common = { workspace = true } # Frontier fp-account = { workspace = true, features = [ "serde" ] } @@ -153,6 +157,7 @@ std = [ "pallet-evm/std", "pallet-hotfix-sufficients/std", "pallet-maintenance-mode/std", + "pallet-message-queue/std", "pallet-migrations/std", "pallet-proxy/std", "pallet-root-testing/std", @@ -165,10 +170,12 @@ std = [ "pallet-xcm-benchmarks?/std", "pallet-xcm/std", "parachain-info/std", + "parachains-common/std", "parity-scale-codec/std", "polkadot-parachain-primitives/std", "polkadot-runtime-common/std", "precompile-utils/std", + "runtime-common/std", "scale-info/std", "serde", "serde?/std", @@ -178,6 +185,7 @@ std = [ "sp-consensus-slots/std", "sp-core/std", "sp-debug-derive/std", + "sp-genesis-builder/std", "sp-inherents/std", "sp-offchain/std", "sp-runtime/std", @@ -198,9 +206,11 @@ std = [ force-debug = [ "sp-debug-derive/force-debug" ] runtime-benchmarks = [ + "cumulus-pallet-dmp-queue/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", @@ -215,6 +225,7 @@ runtime-benchmarks = [ "pallet-evm-precompile-xcm-utils/runtime-benchmarks", "pallet-evm/runtime-benchmarks", "pallet-hotfix-sufficients/runtime-benchmarks", + "pallet-message-queue/runtime-benchmarks", "pallet-migrations/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", @@ -223,8 +234,10 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "parachains-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", + "runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "staging-xcm-builder/runtime-benchmarks", "staging-xcm-executor/runtime-benchmarks", @@ -243,6 +256,7 @@ try-runtime = [ "frame-system/try-runtime", "frame-try-runtime/try-runtime", "nimbus-primitives/try-runtime", + "pallet-async-backing/try-runtime", "pallet-author-inherent/try-runtime", "pallet-balances/try-runtime", "pallet-base-fee/try-runtime", @@ -252,6 +266,7 @@ try-runtime = [ "pallet-evm/try-runtime", "pallet-hotfix-sufficients/try-runtime", "pallet-maintenance-mode/try-runtime", + "pallet-message-queue/try-runtime", "pallet-migrations/try-runtime", "pallet-proxy/try-runtime", "pallet-root-testing/try-runtime", @@ -263,5 +278,6 @@ try-runtime = [ "pallet-xcm/try-runtime", "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", + "runtime-common/try-runtime", "sp-runtime/try-runtime", ] diff --git a/container-chains/templates/frontier/runtime/src/lib.rs b/container-chains/templates/frontier/runtime/src/lib.rs index 07010ced59..3f117cac3a 100644 --- a/container-chains/templates/frontier/runtime/src/lib.rs +++ b/container-chains/templates/frontier/runtime/src/lib.rs @@ -35,19 +35,19 @@ pub mod xcm_config; use { crate::precompiles::TemplatePrecompiles, cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases, - cumulus_primitives_core::{relay_chain::BlockNumber as RelayBlockNumber, DmpMessageHandler}, + cumulus_primitives_core::AggregateMessageOrigin, fp_account::EthereumSignature, fp_evm::weight_per_gas, fp_rpc::TransactionStatus, frame_support::{ construct_runtime, dispatch::{DispatchClass, GetDispatchInfo}, + genesis_builder_helper::{build_config, create_default_config}, pallet_prelude::DispatchResult, parameter_types, traits::{ ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, Contains, Currency as CurrencyT, - FindAuthor, Imbalance, InsideBoth, InstanceFilter, OffchainWorker, OnFinalize, OnIdle, - OnInitialize, OnRuntimeUpgrade, OnUnbalanced, + FindAuthor, Imbalance, InsideBoth, InstanceFilter, OnFinalize, OnUnbalanced, }, weights::{ constants::{ @@ -99,8 +99,6 @@ pub use { // Polkadot imports use polkadot_runtime_common::BlockHashCount; -const LOG_TARGET: &str = "runtime::evm_template"; - pub type Precompiles = TemplatePrecompiles; /// Alias to 512-bit hash when used in the context of a transaction signature on the chain. @@ -164,7 +162,7 @@ pub type Executive = frame_executive::Executive< Block, frame_system::ChainContext, Runtime, - pallet_maintenance_mode::ExecutiveHooks, + AllPalletsWithSystem, >; impl fp_self_contained::SelfContainedCall for RuntimeCall { @@ -450,6 +448,7 @@ impl frame_system::Config for Runtime { /// The action to take on a Runtime Upgrade type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = RuntimeTask; } parameter_types! { @@ -493,6 +492,7 @@ impl pallet_balances::Config for Runtime { parameter_types! { pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } pub const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000; @@ -506,11 +506,12 @@ type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensu >; impl cumulus_pallet_parachain_system::Config for Runtime { + type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = parachain_info::Pallet; type OutboundXcmpMessageSource = XcmpQueue; - type DmpMessageHandler = MaintenanceMode; + type DmpQueue = frame_support::traits::EnqueueWithOrigin; type ReservedDmpWeight = ReservedDmpWeight; type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; @@ -651,7 +652,7 @@ impl xcm_primitives::PauseXcmExecution for XcmExecutionManager { impl pallet_migrations::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type MigrationsList = (migrations::TemplateMigrations,); + type MigrationsList = (migrations::TemplateMigrations,); type XcmExecutionManager = XcmExecutionManager; } @@ -696,89 +697,12 @@ impl Contains for NormalFilter { } } -pub struct NormalDmpHandler; -impl DmpMessageHandler for NormalDmpHandler { - // This implementation makes messages be queued - // Since the limit is 0, messages are queued for next iteration - fn handle_dmp_messages( - iter: impl Iterator)>, - limit: Weight, - ) -> Weight { - (if Migrations::should_pause_xcm() { - DmpQueue::handle_dmp_messages(iter, Weight::zero()) - } else { - DmpQueue::handle_dmp_messages(iter, limit) - }) + ::DbWeight::get().reads(1) - } -} - -pub struct MaintenanceDmpHandler; -impl DmpMessageHandler for MaintenanceDmpHandler { - // This implementation makes messages be queued - // Since the limit is 0, messages are queued for next iteration - fn handle_dmp_messages( - iter: impl Iterator)>, - _limit: Weight, - ) -> Weight { - DmpQueue::handle_dmp_messages(iter, Weight::zero()) - } -} - -/// The hooks we want to run in Maintenance Mode -pub struct MaintenanceHooks; - -impl OnInitialize for MaintenanceHooks { - fn on_initialize(n: BlockNumber) -> Weight { - AllPalletsWithSystem::on_initialize(n) - } -} - -// We override onIdle for xcmQueue and dmpQueue pallets to not process messages inside it -impl OnIdle for MaintenanceHooks { - fn on_idle(_n: BlockNumber, _max_weight: Weight) -> Weight { - Weight::zero() - } -} - -impl OnRuntimeUpgrade for MaintenanceHooks { - fn on_runtime_upgrade() -> Weight { - AllPalletsWithSystem::on_runtime_upgrade() - } - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, sp_runtime::DispatchError> { - AllPalletsWithSystem::pre_upgrade() - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), sp_runtime::DispatchError> { - AllPalletsWithSystem::post_upgrade(state) - } -} - -impl OnFinalize for MaintenanceHooks { - fn on_finalize(n: BlockNumber) { - AllPalletsWithSystem::on_finalize(n) - } -} - -impl OffchainWorker for MaintenanceHooks { - fn offchain_worker(n: BlockNumber) { - AllPalletsWithSystem::offchain_worker(n) - } -} - impl pallet_maintenance_mode::Config for Runtime { type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = MaintenanceFilter; type MaintenanceOrigin = EnsureRoot; type XcmExecutionManager = XcmExecutionManager; - type NormalDmpHandler = NormalDmpHandler; - type MaintenanceDmpHandler = MaintenanceDmpHandler; - // We use AllPalletsWithSystem because we dont want to change the hooks in normal - // operation - type NormalExecutiveHooks = AllPalletsWithSystem; - type MaintenanceExecutiveHooks = MaintenanceHooks; } // To match ethereum expectations @@ -877,7 +801,9 @@ impl pallet_hotfix_sufficients::Config for Runtime { type WeightInfo = pallet_hotfix_sufficients::weights::SubstrateWeight; } -impl pallet_root_testing::Config for Runtime {} +impl pallet_root_testing::Config for Runtime { + type RuntimeEvent = RuntimeEvent; +} impl pallet_tx_pause::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -934,6 +860,7 @@ construct_runtime!( CumulusXcm: cumulus_pallet_xcm::{Pallet, Event, Origin} = 71, DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event} = 72, PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 73, + MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event} = 74, RootTesting: pallet_root_testing = 100, AsyncBacking: pallet_async_backing::{Pallet, Storage} = 110, @@ -953,7 +880,7 @@ mod benches { [pallet_cc_authorities_noting, AuthoritiesNoting] [pallet_author_inherent, AuthorInherent] [cumulus_pallet_xcmp_queue, XcmpQueue] - [pallet_xcm, PolkadotXcm] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] [pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::] ); } @@ -1104,6 +1031,16 @@ impl_runtime_apis! { } } + impl sp_genesis_builder::GenesisBuilder for Runtime { + fn create_default_config() -> Vec { + create_default_config::() + } + + fn build_config(config: Vec) -> sp_genesis_builder::Result { + build_config::(config) + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata( @@ -1114,6 +1051,7 @@ impl_runtime_apis! { ) { use frame_benchmarking::{Benchmarking, BenchmarkList}; use frame_support::traits::StorageInfoTrait; + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; let mut list = Vec::::new(); list_benchmarks!(list, extra); @@ -1201,6 +1139,44 @@ impl_runtime_apis! { } } + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; + impl pallet_xcm::benchmarking::Config for Runtime { + fn reachable_dest() -> Option { + Some(Parent.into()) + } + + fn teleportable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + // Relay/native token can be teleported between AH and Relay. + Some(( + MultiAsset { + fun: Fungible(EXISTENTIAL_DEPOSIT), + id: Concrete(Parent.into()) + }, + Parent.into(), + )) + } + + fn reserve_transferable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + // AH can reserve transfer native token to some random parachain. + let random_para_id = 43211234; + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + random_para_id.into() + ); + Some(( + MultiAsset { + fun: Fungible(EXISTENTIAL_DEPOSIT), + id: Concrete(Parent.into()) + }, + ParentThen(Parachain(random_para_id).into()).into(), + )) + } + + fn set_up_complex_asset_transfer( + ) -> Option<(MultiAssets, u32, MultiLocation, Box)> { + None + } + } + let whitelist: Vec = vec![ // Block Number hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac") @@ -1391,7 +1367,7 @@ impl_runtime_apis! { fn gas_limit_multiplier_support() {} - fn pending_block(xts: Vec<::Extrinsic>) -> (Option, Option>) { + fn pending_block(xts: Vec<::Extrinsic>) -> (Option, Option>) { for ext in xts.into_iter() { let _ = Executive::apply_extrinsic(ext); } diff --git a/container-chains/templates/frontier/runtime/src/migrations.rs b/container-chains/templates/frontier/runtime/src/migrations.rs index f5f0d72448..cd50a67a06 100644 --- a/container-chains/templates/frontier/runtime/src/migrations.rs +++ b/container-chains/templates/frontier/runtime/src/migrations.rs @@ -20,77 +20,43 @@ //! the "Migration" trait declared in the pallet-migrations crate. use { - crate::{Precompiles, LOG_TARGET}, - frame_support::weights::Weight, + frame_support::{pallet_prelude::GetStorageVersion, traits::PalletInfoAccess}, pallet_migrations::{GetMigrations, Migration}, - sp_core::Get, + runtime_common::migrations::{ + PolkadotXcmMigrationFixVersion, XcmpQueueMigrationFixVersion, XcmpQueueMigrationV3, + XcmpQueueMigrationV4, + }, sp_std::{marker::PhantomData, prelude::*}, }; -pub struct MigratePrecompileDummyCode(pub PhantomData); -impl Migration for MigratePrecompileDummyCode -where - T: pallet_evm::Config, - T: frame_system::Config, -{ - fn friendly_name(&self) -> &str { - "TM_MigratePrecompileCode" - } - - fn migrate(&self, _available_weight: Weight) -> Weight { - log::info!(target: LOG_TARGET, "migrate"); - let revert_bytecode = vec![0x60, 0x00, 0x60, 0x00, 0xFD]; - - let db_weights = T::DbWeight::get(); - - let mut count = 0u64; - - for address in Precompiles::used_addresses() { - pallet_evm::Pallet::::create_account(address.into(), revert_bytecode.clone()); - count += 1; - } - db_weights.reads_writes(count, count * 2) - } - - /// Run a standard pre-runtime test. This works the same way as in a normal runtime upgrade. - #[cfg(feature = "try-runtime")] - fn pre_upgrade(&self) -> Result, sp_runtime::DispatchError> { - log::info!(target: LOG_TARGET, "pre_upgrade"); +pub struct TemplateMigrations( + PhantomData<(Runtime, XcmpQueue, PolkadotXcm)>, +); - for address in Precompiles::used_addresses() { - let account: sp_core::H160 = address.into(); - assert!(pallet_evm::AccountCodes::::get(account).is_empty()); - } - Ok(vec![]) - } - - /// Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. - #[cfg(feature = "try-runtime")] - fn post_upgrade(&self, _: Vec) -> Result<(), sp_runtime::DispatchError> { - log::info!(target: LOG_TARGET, "post_upgrade"); - let revert_bytecode = vec![0x60, 0x00, 0x60, 0x00, 0xFD]; - for address in Precompiles::used_addresses() { - let account: sp_core::H160 = address.into(); - assert_eq!(pallet_evm::AccountCodes::::get(account), revert_bytecode); - } - - Ok(()) - } -} - -pub struct TemplateMigrations(PhantomData); - -impl GetMigrations for TemplateMigrations +impl GetMigrations + for TemplateMigrations where + PolkadotXcm: GetStorageVersion + PalletInfoAccess + 'static, + XcmpQueue: GetStorageVersion + PalletInfoAccess + 'static, Runtime: pallet_evm::Config, Runtime: frame_system::Config, + Runtime: cumulus_pallet_xcmp_queue::Config, { fn get_migrations() -> Vec> { - let migrate_precompiles = MigratePrecompileDummyCode::(Default::default()); - + // let migrate_precompiles = MigratePrecompileDummyCode::(Default::default()); + let migrate_polkadot_xcm_v1 = + PolkadotXcmMigrationFixVersion::(Default::default()); + let migrate_xcmp_queue_v2 = + XcmpQueueMigrationFixVersion::(Default::default()); + let migrate_xcmp_queue_v3 = XcmpQueueMigrationV3::(Default::default()); + let migrate_xcmp_queue_v4 = XcmpQueueMigrationV4::(Default::default()); vec![ - // Comment after runtime 300 - Box::new(migrate_precompiles), + // Applied in runtime 400 + // Box::new(migrate_precompiles), + Box::new(migrate_polkadot_xcm_v1), + Box::new(migrate_xcmp_queue_v2), + Box::new(migrate_xcmp_queue_v3), + Box::new(migrate_xcmp_queue_v4), ] } } diff --git a/container-chains/templates/frontier/runtime/src/xcm_config.rs b/container-chains/templates/frontier/runtime/src/xcm_config.rs index 0a2eb0089b..74c986d978 100644 --- a/container-chains/templates/frontier/runtime/src/xcm_config.rs +++ b/container-chains/templates/frontier/runtime/src/xcm_config.rs @@ -16,24 +16,27 @@ use { super::{ - AccountId, AllPalletsWithSystem, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, - Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmpQueue, + AccountId, AllPalletsWithSystem, Balances, MaintenanceMode, MessageQueue, ParachainInfo, + ParachainSystem, PolkadotXcm, Runtime, RuntimeBlockWeights, RuntimeCall, RuntimeEvent, + RuntimeOrigin, WeightToFee, XcmpQueue, }, ccp_xcm::SignedToAccountKey20, - cumulus_primitives_core::ParaId, + cumulus_primitives_core::{AggregateMessageOrigin, ParaId}, frame_support::{ parameter_types, - traits::{Everything, Nothing, PalletInfoAccess}, + traits::{Everything, Nothing, PalletInfoAccess, TransformOrigin}, weights::Weight, }, frame_system::EnsureRoot, pallet_xcm::XcmPassthrough, + parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}, polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery, sp_core::ConstU32, + sp_runtime::Perbill, staging_xcm::latest::prelude::*, staging_xcm_builder::{ AccountKey20Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, CurrencyAdapter, EnsureXcmOrigin, FixedWeightBounds, + AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, FungibleAdapter, IsConcrete, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountKey20AsNative, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WithComputedOrigin, @@ -116,7 +119,7 @@ pub type LocationToAccountId = ( pub type LocalOriginToLocation = SignedToAccountKey20; /// Means for transacting the native currency on this chain. -pub type CurrencyTransactor = CurrencyAdapter< +pub type CurrencyTransactor = FungibleAdapter< // Use this currency: Balances, // Use this currency when it is a fungible asset matching the given location or name: @@ -217,21 +220,19 @@ impl pallet_xcm::Config for Runtime { type RemoteLockConsumerIdentifier = (); // TODO pallet-xcm weights type WeightInfo = pallet_xcm::TestWeightInfo; - #[cfg(feature = "runtime-benchmarks")] - type ReachableDest = ReachableDest; type AdminOrigin = EnsureRoot; } impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; type PriceForSiblingDelivery = NoPriceForMessageDelivery; + type XcmpQueue = TransformOrigin; + type MaxInboundSuspended = sp_core::ConstU32<1_000>; } impl cumulus_pallet_xcm::Config for Runtime { @@ -239,8 +240,40 @@ impl cumulus_pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; } +parameter_types! { + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; +} + impl cumulus_pallet_dmp_queue::Config for Runtime { + type WeightInfo = cumulus_pallet_dmp_queue::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = EnsureRoot; + type DmpSink = frame_support::traits::EnqueueWithOrigin; +} + +parameter_types! { + pub MessageQueueServiceWeight: Weight = Perbill::from_percent(25) * RuntimeBlockWeights::get().max_block; +} + +impl pallet_message_queue::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = pallet_message_queue::weights::SubstrateWeight; + #[cfg(feature = "runtime-benchmarks")] + type MessageProcessor = pallet_message_queue::mock_helpers::NoopMessageProcessor< + cumulus_primitives_core::AggregateMessageOrigin, + >; + #[cfg(not(feature = "runtime-benchmarks"))] + type MessageProcessor = staging_xcm_builder::ProcessXcmMessage< + AggregateMessageOrigin, + XcmExecutor, + RuntimeCall, + >; + type Size = u32; + // The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin: + type QueueChangeHandler = NarrowOriginToSibling; + // NarrowOriginToSibling calls XcmpQueue's is_pause if Origin is sibling. Allows all other origins + type QueuePausedQuery = (MaintenanceMode, NarrowOriginToSibling); + // TODO verify values + type HeapSize = sp_core::ConstU32<{ 64 * 1024 }>; + type MaxStale = sp_core::ConstU32<8>; + type ServiceWeight = MessageQueueServiceWeight; } diff --git a/container-chains/templates/simple/node/Cargo.toml b/container-chains/templates/simple/node/Cargo.toml index f1aeac8089..99c1cc1257 100644 --- a/container-chains/templates/simple/node/Cargo.toml +++ b/container-chains/templates/simple/node/Cargo.toml @@ -17,6 +17,7 @@ jsonrpsee = { workspace = true, features = [ "server" ] } log = { workspace = true } parity-scale-codec = { workspace = true } serde = { workspace = true, features = [ "derive" ] } +serde_json = { workspace = true } # Local ccp-authorities-noting-inherent = { workspace = true } @@ -81,6 +82,7 @@ cumulus-client-cli = { workspace = true } cumulus-client-consensus-aura = { workspace = true } cumulus-client-consensus-common = { workspace = true } cumulus-client-network = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } cumulus-client-service = { workspace = true } cumulus-primitives-core = { workspace = true } cumulus-primitives-parachain-inherent = { workspace = true } @@ -92,6 +94,7 @@ substrate-build-script-utils = { workspace = true } default = [] runtime-benchmarks = [ "container-chain-template-simple-runtime/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "nimbus-primitives/runtime-benchmarks", diff --git a/container-chains/templates/simple/node/src/chain_spec.rs b/container-chains/templates/simple/node/src/chain_spec.rs index 45ee29dd37..3525a39591 100644 --- a/container-chains/templates/simple/node/src/chain_spec.rs +++ b/container-chains/templates/simple/node/src/chain_spec.rs @@ -89,29 +89,25 @@ pub fn development_config(para_id: ParaId, boot_nodes: Vec) -> ChainSpec }) .collect(); - ChainSpec::from_genesis( - // Name - "Development", - // ID - "dev", - ChainType::Development, - move || { - testnet_genesis( - default_funded_accounts.clone(), - para_id, - get_account_id_from_seed::("Alice"), - ) - }, - boot_nodes, - None, - None, - None, - Some(properties), + ChainSpec::builder( + container_chain_template_simple_runtime::WASM_BINARY + .expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name("Development") + .with_id("dev") + .with_chain_type(ChainType::Development) + .with_genesis_config(testnet_genesis( + default_funded_accounts.clone(), + para_id, + get_account_id_from_seed::("Alice"), + )) + .with_properties(properties) + .with_boot_nodes(boot_nodes) + .build() } pub fn local_testnet_config(para_id: ParaId, boot_nodes: Vec) -> ChainSpec { @@ -121,7 +117,7 @@ pub fn local_testnet_config(para_id: ParaId, boot_nodes: Vec) -> ChainSp properties.insert("tokenDecimals".into(), 12.into()); properties.insert("ss58Format".into(), 42.into()); properties.insert("isEthereum".into(), false.into()); - let protocol_id = Some(format!("container-chain-{}", para_id)); + let protocol_id = format!("container-chain-{}", para_id); let mut default_funded_accounts = pre_funded_accounts(); default_funded_accounts.sort(); @@ -134,49 +130,34 @@ pub fn local_testnet_config(para_id: ParaId, boot_nodes: Vec) -> ChainSp }) .collect(); - ChainSpec::from_genesis( - // Name - &format!("Simple Container {}", para_id), - // ID - &format!("simple_container_{}", para_id), - ChainType::Local, - move || { - testnet_genesis( - default_funded_accounts.clone(), - para_id, - get_account_id_from_seed::("Alice"), - ) - }, - // Bootnodes - boot_nodes, - // Telemetry - None, - // Protocol ID - protocol_id.as_deref(), - // Fork ID - None, - // Properties - Some(properties), - // Extensions + ChainSpec::builder( + container_chain_template_simple_runtime::WASM_BINARY + .expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name(&format!("Simple Container {}", para_id)) + .with_id(&format!("simple_container_{}", para_id)) + .with_chain_type(ChainType::Local) + .with_genesis_config(testnet_genesis( + default_funded_accounts.clone(), + para_id, + get_account_id_from_seed::("Alice"), + )) + .with_properties(properties) + .with_protocol_id(&protocol_id) + .with_boot_nodes(boot_nodes) + .build() } fn testnet_genesis( endowed_accounts: Vec, id: ParaId, root_key: AccountId, -) -> container_chain_template_simple_runtime::RuntimeGenesisConfig { - container_chain_template_simple_runtime::RuntimeGenesisConfig { - system: container_chain_template_simple_runtime::SystemConfig { - code: container_chain_template_simple_runtime::WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), - ..Default::default() - }, +) -> serde_json::Value { + let g = container_chain_template_simple_runtime::RuntimeGenesisConfig { balances: container_chain_template_simple_runtime::BalancesConfig { balances: endowed_accounts .iter() @@ -205,7 +186,10 @@ fn testnet_genesis( polkadot_xcm: PolkadotXcmConfig::default(), transaction_payment: Default::default(), tx_pause: Default::default(), - } + system: Default::default(), + }; + + serde_json::to_value(&g).unwrap() } /// Get pre-funded accounts diff --git a/container-chains/templates/simple/node/src/cli.rs b/container-chains/templates/simple/node/src/cli.rs index f82f8d68d1..7dac6ee3cb 100644 --- a/container-chains/templates/simple/node/src/cli.rs +++ b/container-chains/templates/simple/node/src/cli.rs @@ -47,7 +47,8 @@ pub enum Subcommand { PurgeChain(cumulus_client_cli::PurgeChainCmd), /// Export the genesis state of the parachain. - ExportGenesisState(cumulus_client_cli::ExportGenesisStateCommand), + #[command(alias = "export-genesis-state")] + ExportGenesisHead(cumulus_client_cli::ExportGenesisHeadCommand), /// Export the genesis wasm of the parachain. ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand), diff --git a/container-chains/templates/simple/node/src/command.rs b/container-chains/templates/simple/node/src/command.rs index 9c8b8b71ab..2a990eed31 100644 --- a/container-chains/templates/simple/node/src/command.rs +++ b/container-chains/templates/simple/node/src/command.rs @@ -21,10 +21,10 @@ use { service::{self, NodeConfig}, }, container_chain_template_simple_runtime::Block, - cumulus_client_cli::generate_genesis_block, cumulus_primitives_core::ParaId, frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}, log::{info, warn}, + node_common::command::generate_genesis_block, node_common::service::NodeBuilderConfig as _, parity_scale_codec::Encode, polkadot_service::IdentifyVariant as _, @@ -38,14 +38,6 @@ use { std::net::SocketAddr, }; -#[cfg(feature = "try-runtime")] -use { - crate::service::ParachainNativeExecutor, try_runtime_cli::block_building_info::substrate_info, -}; - -#[cfg(feature = "try-runtime")] -const SLOT_DURATION: u64 = 12; - fn load_spec(id: &str, para_id: ParaId) -> std::result::Result, String> { Ok(match id { "dev" => Box::new(chain_spec::development_config(para_id, vec![])), @@ -69,9 +61,9 @@ impl SubstrateCli for Cli { fn description() -> String { format!( "Parachain Collator Template\n\nThe command-line arguments provided first will be \ - passed to the parachain node, while the arguments provided after -- will be passed \ - to the relay chain node.\n\n\ - {} -- ", + passed to the parachain node, while the arguments provided after -- will be passed \ + to the relay chain node.\n\n\ + {} -- ", Self::executable_name() ) } @@ -105,9 +97,9 @@ impl SubstrateCli for RelayChainCli { fn description() -> String { format!( "Parachain Collator Template\n\nThe command-line arguments provided first will be \ - passed to the parachain node, while the arguments provided after -- will be passed \ - to the relay chain node.\n\n\ - {} -- ", + passed to the parachain node, while the arguments provided after -- will be passed \ + to the relay chain node.\n\n\ + {} -- ", Self::executable_name() ) } @@ -130,16 +122,16 @@ impl SubstrateCli for RelayChainCli { } macro_rules! construct_async_run { - (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{ - let runner = $cli.create_runner($cmd)?; - runner.async_run(|$config| { - let $components = NodeConfig::new_builder(&$config, None)?; + (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{ + let runner = $cli.create_runner($cmd)?; + runner.async_run(|$config| { + let $components = NodeConfig::new_builder(&$config, None)?; let inner = { $( $code )* }; - let task_manager = $components.task_manager; - inner.map(|v| (v, task_manager)) - }) - }} + let task_manager = $components.task_manager; + inner.map(|v| (v, task_manager)) + }) + }} } /// Parse command line arguments into service configuration. @@ -216,11 +208,11 @@ pub fn run() -> Result<()> { cmd.run(config, polkadot_config) }) } - Some(Subcommand::ExportGenesisState(cmd)) => { + Some(Subcommand::ExportGenesisHead(cmd)) => { let runner = cli.create_runner(cmd)?; runner.sync_run(|config| { let partials = NodeConfig::new_builder(&config, None)?; - cmd.run(&*config.chain_spec, &*partials.client) + cmd.run(partials.client) }) } Some(Subcommand::ExportGenesisWasm(cmd)) => { @@ -239,7 +231,7 @@ pub fn run() -> Result<()> { runner.sync_run(|config| cmd.run::(config)) } else { Err("Benchmarking wasn't enabled when building the node. \ - You can enable it with `--features runtime-benchmarks`." + You can enable it with `--features runtime-benchmarks`." .into()) } } @@ -250,7 +242,7 @@ pub fn run() -> Result<()> { #[cfg(not(feature = "runtime-benchmarks"))] BenchmarkCmd::Storage(_) => Err(sc_cli::Error::Input( "Compile with --features=runtime-benchmarks \ - to enable storage benchmarks." + to enable storage benchmarks." .into(), )), #[cfg(feature = "runtime-benchmarks")] @@ -270,114 +262,92 @@ pub fn run() -> Result<()> { } } #[cfg(feature = "try-runtime")] - Some(Subcommand::TryRuntime(cmd)) => { - let runner = cli.create_runner(cmd)?; - - use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; - type HostFunctionsOf = ExtendedHostFunctions< - sp_io::SubstrateHostFunctions, - ::ExtendHostFunctions, - >; - - // grab the task manager. - let registry = &runner - .config() - .prometheus_config - .as_ref() - .map(|cfg| &cfg.registry); - let task_manager = - sc_service::TaskManager::new(runner.config().tokio_handle.clone(), *registry) - .map_err(|e| format!("Error: {:?}", e))?; - - let info_provider = substrate_info(SLOT_DURATION); - runner.async_run(|_| { - Ok(( - cmd.run::, _>(Some( - info_provider, - )), - task_manager, - )) - }) + Some(Subcommand::TryRuntime(_)) => { + Err("Substrate's `try-runtime` subcommand has been migrated \ + to a standalone CLI (https://github.com/paritytech/try-runtime-cli)" + .into()) } #[cfg(not(feature = "try-runtime"))] - Some(Subcommand::TryRuntime) => Err("Try-runtime was not enabled when building the node. \ - You can enable it with `--features try-runtime`." - .into()), + Some(Subcommand::TryRuntime) => { + Err("Substrate's `try-runtime` subcommand has been migrated \ + to a standalone CLI (https://github.com/paritytech/try-runtime-cli)" + .into()) + } None => { let runner = cli.create_runner(&cli.run.normalize())?; let collator_options = cli.run.collator_options(); runner.run_node_until_exit(|config| async move { - let hwbench = (!cli.no_hardware_benchmarks).then_some( - config.database.path().map(|database_path| { - let _ = std::fs::create_dir_all(database_path); - sc_sysinfo::gather_hwbench(Some(database_path)) - })).flatten(); + let hwbench = (!cli.no_hardware_benchmarks).then_some( + config.database.path().map(|database_path| { + let _ = std::fs::create_dir_all(database_path); + sc_sysinfo::gather_hwbench(Some(database_path)) + })).flatten(); - let para_id = chain_spec::Extensions::try_get(&*config.chain_spec) - .map(|e| e.para_id) - .ok_or("Could not find parachain ID in chain-spec.")?; + let para_id = chain_spec::Extensions::try_get(&*config.chain_spec) + .map(|e| e.para_id) + .ok_or("Could not find parachain ID in chain-spec.")?; - let polkadot_cli = RelayChainCli::new( - &config, - [RelayChainCli::executable_name()].iter().chain(cli.relay_chain_args.iter()), - ); + let polkadot_cli = RelayChainCli::new( + &config, + [RelayChainCli::executable_name()].iter().chain(cli.relay_chain_args.iter()), + ); let extension = chain_spec::Extensions::try_get(&*config.chain_spec); let relay_chain_id = extension.map(|e| e.relay_chain.clone()); let dev_service = - config.chain_spec.is_dev() || relay_chain_id == Some("dev-service".to_string()); + config.chain_spec.is_dev() || relay_chain_id == Some("dev-service".to_string()); let id = ParaId::from(para_id); if dev_service { - return crate::service::start_dev_node(config, cli.run.sealing, id, hwbench).await + return crate::service::start_dev_node(config, cli.run.sealing, id, hwbench).await .map_err(Into::into) - } + } - let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + let parachain_account = + AccountIdConversion::::into_account_truncating(&id); // We log both genesis states for reference, as fetching it from runtime would take significant time - let block_state_v0: Block = generate_genesis_block(&*config.chain_spec, sp_runtime::StateVersion::V0) - .map_err(|e| format!("{:?}", e))?; + let block_state_v0: Block = generate_genesis_block(&*config.chain_spec, sp_runtime::StateVersion::V0) + .map_err(|e| format!("{:?}", e))?; let block_state_v1: Block = generate_genesis_block(&*config.chain_spec, sp_runtime::StateVersion::V1) - .map_err(|e| format!("{:?}", e))?; + .map_err(|e| format!("{:?}", e))?; - let genesis_state_v0 = format!("0x{:?}", HexDisplay::from(&block_state_v0.header().encode())); - let genesis_state_v1 = format!("0x{:?}", HexDisplay::from(&block_state_v1.header().encode())); + let genesis_state_v0 = format!("0x{:?}", HexDisplay::from(&block_state_v0.header().encode())); + let genesis_state_v1 = format!("0x{:?}", HexDisplay::from(&block_state_v1.header().encode())); - let tokio_handle = config.tokio_handle.clone(); - let polkadot_config = - SubstrateCli::create_configuration(&polkadot_cli, &polkadot_cli, tokio_handle) - .map_err(|err| format!("Relay chain argument error: {}", err))?; + let tokio_handle = config.tokio_handle.clone(); + let polkadot_config = + SubstrateCli::create_configuration(&polkadot_cli, &polkadot_cli, tokio_handle) + .map_err(|err| format!("Relay chain argument error: {}", err))?; - info!("Parachain id: {:?}", id); - info!("Parachain Account: {}", parachain_account); - info!("Parachain genesis state V0: {}", genesis_state_v0); + info!("Parachain id: {:?}", id); + info!("Parachain Account: {}", parachain_account); + info!("Parachain genesis state V0: {}", genesis_state_v0); info!("Parachain genesis state V1: {}", genesis_state_v1); info!("Is collating: {}", if config.role.is_authority() { "yes" } else { "no" }); if let cumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) = - collator_options.clone().relay_chain_mode { - if !rpc_target_urls.is_empty() && !cli.relay_chain_args.is_empty() { - warn!("Detected relay chain node arguments together with --relay-chain-rpc-url. This command starts a minimal Polkadot node that only uses a network-related subset of all relay chain CLI options."); - } + collator_options.clone().relay_chain_mode { + if !rpc_target_urls.is_empty() && !cli.relay_chain_args.is_empty() { + warn!("Detected relay chain node arguments together with --relay-chain-rpc-url. This command starts a minimal Polkadot node that only uses a network-related subset of all relay chain CLI options."); + } } - crate::service::start_parachain_node( - config, - polkadot_config, - collator_options, - id, - hwbench, - ) - .await - .map(|r| r.0) - .map_err(Into::into) - }) + crate::service::start_parachain_node( + config, + polkadot_config, + collator_options, + id, + hwbench, + ) + .await + .map(|r| r.0) + .map_err(Into::into) + }) } } } diff --git a/container-chains/templates/simple/node/src/rpc.rs b/container-chains/templates/simple/node/src/rpc.rs index 2ce1392a81..a65afce7b1 100644 --- a/container-chains/templates/simple/node/src/rpc.rs +++ b/container-chains/templates/simple/node/src/rpc.rs @@ -21,7 +21,7 @@ #![warn(missing_docs)] -pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; +pub use sc_rpc::DenyUnsafe; use { container_chain_template_simple_runtime::{opaque::Block, AccountId, Hash, Index as Nonce}, diff --git a/container-chains/templates/simple/node/src/service.rs b/container-chains/templates/simple/node/src/service.rs index fc7463c3ea..ef7907164b 100644 --- a/container-chains/templates/simple/node/src/service.rs +++ b/container-chains/templates/simple/node/src/service.rs @@ -21,10 +21,9 @@ use { container_chain_template_simple_runtime::{opaque::Block, RuntimeApi}, cumulus_client_cli::CollatorOptions, cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport, + cumulus_client_parachain_inherent::{MockValidationDataInherentDataProvider, MockXcmConfig}, cumulus_client_service::prepare_node_config, cumulus_primitives_core::{relay_chain::well_known_keys as RelayWellKnownKeys, ParaId}, - cumulus_primitives_parachain_inherent::MockValidationDataInherentDataProvider, - cumulus_primitives_parachain_inherent::MockXcmConfig, nimbus_primitives::NimbusId, node_common::service::ManualSealConfiguration, node_common::service::Sealing, diff --git a/container-chains/templates/simple/runtime/Cargo.toml b/container-chains/templates/simple/runtime/Cargo.toml index f5433df668..9561ef0b99 100644 --- a/container-chains/templates/simple/runtime/Cargo.toml +++ b/container-chains/templates/simple/runtime/Cargo.toml @@ -19,6 +19,7 @@ smallvec = { workspace = true } # Local pallet-cc-authorities-noting = { workspace = true } +runtime-common = { workspace = true } tp-consensus = { workspace = true } tp-impl-tanssi-pallets-config = { workspace = true } @@ -36,6 +37,7 @@ frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } pallet-proxy = { workspace = true } pallet-root-testing = { workspace = true } pallet-session = { workspace = true } @@ -51,6 +53,7 @@ sp-consensus-aura = { workspace = true } sp-consensus-slots = { workspace = true } sp-core = { workspace = true } sp-debug-derive = { workspace = true } +sp-genesis-builder = { workspace = true } sp-inherents = { workspace = true } sp-offchain = { workspace = true } sp-runtime = { workspace = true } @@ -80,6 +83,7 @@ cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } +parachains-common = { workspace = true } # Benchmarking frame-benchmarking = { workspace = true, optional = true } @@ -113,6 +117,7 @@ std = [ "pallet-balances/std", "pallet-cc-authorities-noting/std", "pallet-maintenance-mode/std", + "pallet-message-queue/std", "pallet-migrations/std", "pallet-proxy/std", "pallet-root-testing/std", @@ -126,9 +131,11 @@ std = [ "pallet-xcm-benchmarks?/std", "pallet-xcm/std", "parachain-info/std", + "parachains-common/std", "parity-scale-codec/std", "polkadot-parachain-primitives/std", "polkadot-runtime-common/std", + "runtime-common/std", "scale-info/std", "serde", "serde?/std", @@ -138,6 +145,7 @@ std = [ "sp-consensus-slots/std", "sp-core/std", "sp-debug-derive/std", + "sp-genesis-builder/std", "sp-inherents/std", "sp-offchain/std", "sp-runtime/std", @@ -158,9 +166,11 @@ std = [ force-debug = [ "sp-debug-derive/force-debug" ] runtime-benchmarks = [ + "cumulus-pallet-dmp-queue/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", @@ -171,6 +181,7 @@ runtime-benchmarks = [ "pallet-author-inherent/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-cc-authorities-noting/runtime-benchmarks", + "pallet-message-queue/runtime-benchmarks", "pallet-migrations/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", @@ -179,8 +190,10 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "parachains-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", + "runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "staging-xcm-builder/runtime-benchmarks", "staging-xcm-executor/runtime-benchmarks", @@ -199,10 +212,12 @@ try-runtime = [ "frame-try-runtime", "frame-try-runtime/try-runtime", "nimbus-primitives/try-runtime", + "pallet-async-backing/try-runtime", "pallet-author-inherent/try-runtime", "pallet-balances/try-runtime", "pallet-cc-authorities-noting/try-runtime", "pallet-maintenance-mode/try-runtime", + "pallet-message-queue/try-runtime", "pallet-migrations/try-runtime", "pallet-proxy/try-runtime", "pallet-root-testing/try-runtime", @@ -215,5 +230,6 @@ try-runtime = [ "pallet-xcm/try-runtime", "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", + "runtime-common/try-runtime", "sp-runtime/try-runtime", ] diff --git a/container-chains/templates/simple/runtime/src/lib.rs b/container-chains/templates/simple/runtime/src/lib.rs index caa1ca4589..336acc2928 100644 --- a/container-chains/templates/simple/runtime/src/lib.rs +++ b/container-chains/templates/simple/runtime/src/lib.rs @@ -28,18 +28,20 @@ use sp_version::NativeVersion; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; +pub mod migrations; + pub use sp_runtime::{MultiAddress, Perbill, Permill}; use { cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases, - cumulus_primitives_core::{relay_chain::BlockNumber as RelayBlockNumber, DmpMessageHandler}, + cumulus_primitives_core::AggregateMessageOrigin, frame_support::{ construct_runtime, dispatch::DispatchClass, + genesis_builder_helper::{build_config, create_default_config}, pallet_prelude::DispatchResult, parameter_types, traits::{ - ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, Contains, InsideBoth, - InstanceFilter, OffchainWorker, OnFinalize, OnIdle, OnInitialize, OnRuntimeUpgrade, + ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, Contains, InsideBoth, InstanceFilter, }, weights::{ constants::{ @@ -137,7 +139,7 @@ pub type Executive = frame_executive::Executive< Block, frame_system::ChainContext, Runtime, - pallet_maintenance_mode::ExecutiveHooks, + AllPalletsWithSystem, >; /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the @@ -336,6 +338,7 @@ impl frame_system::Config for Runtime { /// The action to take on a Runtime Upgrade type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = RuntimeTask; } parameter_types! { @@ -379,6 +382,7 @@ impl pallet_transaction_payment::Config for Runtime { parameter_types! { pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } pub const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000; @@ -392,11 +396,12 @@ type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensu >; impl cumulus_pallet_parachain_system::Config for Runtime { + type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); - type SelfParaId = parachain_info::Pallet; type OutboundXcmpMessageSource = XcmpQueue; - type DmpMessageHandler = MaintenanceMode; + type SelfParaId = parachain_info::Pallet; + type DmpQueue = frame_support::traits::EnqueueWithOrigin; type ReservedDmpWeight = ReservedDmpWeight; type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; @@ -537,7 +542,7 @@ impl xcm_primitives::PauseXcmExecution for XcmExecutionManager { impl pallet_migrations::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type MigrationsList = (); + type MigrationsList = (migrations::TemplateMigrations,); type XcmExecutionManager = XcmExecutionManager; } @@ -574,92 +579,17 @@ impl Contains for NormalFilter { } } -pub struct NormalDmpHandler; -impl DmpMessageHandler for NormalDmpHandler { - // This implementation makes messages be queued - // Since the limit is 0, messages are queued for next iteration - fn handle_dmp_messages( - iter: impl Iterator)>, - limit: Weight, - ) -> Weight { - (if Migrations::should_pause_xcm() { - DmpQueue::handle_dmp_messages(iter, Weight::zero()) - } else { - DmpQueue::handle_dmp_messages(iter, limit) - }) + ::DbWeight::get().reads(1) - } -} - -pub struct MaintenanceDmpHandler; -impl DmpMessageHandler for MaintenanceDmpHandler { - // This implementation makes messages be queued - // Since the limit is 0, messages are queued for next iteration - fn handle_dmp_messages( - iter: impl Iterator)>, - _limit: Weight, - ) -> Weight { - DmpQueue::handle_dmp_messages(iter, Weight::zero()) - } -} - -/// The hooks we want to run in Maintenance Mode -pub struct MaintenanceHooks; - -impl OnInitialize for MaintenanceHooks { - fn on_initialize(n: BlockNumber) -> Weight { - AllPalletsWithSystem::on_initialize(n) - } -} - -// We override onIdle for xcmQueue and dmpQueue pallets to not process messages inside it -impl OnIdle for MaintenanceHooks { - fn on_idle(_n: BlockNumber, _max_weight: Weight) -> Weight { - Weight::zero() - } -} - -impl OnRuntimeUpgrade for MaintenanceHooks { - fn on_runtime_upgrade() -> Weight { - AllPalletsWithSystem::on_runtime_upgrade() - } - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, sp_runtime::DispatchError> { - AllPalletsWithSystem::pre_upgrade() - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), sp_runtime::DispatchError> { - AllPalletsWithSystem::post_upgrade(state) - } -} - -impl OnFinalize for MaintenanceHooks { - fn on_finalize(n: BlockNumber) { - AllPalletsWithSystem::on_finalize(n) - } -} - -impl OffchainWorker for MaintenanceHooks { - fn offchain_worker(n: BlockNumber) { - AllPalletsWithSystem::offchain_worker(n) - } -} - impl pallet_maintenance_mode::Config for Runtime { type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = MaintenanceFilter; type MaintenanceOrigin = EnsureRoot; type XcmExecutionManager = XcmExecutionManager; - type NormalDmpHandler = NormalDmpHandler; - type MaintenanceDmpHandler = MaintenanceDmpHandler; - // We use AllPalletsWithSystem because we dont want to change the hooks in normal - // operation - type NormalExecutiveHooks = AllPalletsWithSystem; - type MaintenanceExecutiveHooks = MaintenanceHooks; } -impl pallet_root_testing::Config for Runtime {} +impl pallet_root_testing::Config for Runtime { + type RuntimeEvent = RuntimeEvent; +} impl pallet_tx_pause::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -709,6 +639,7 @@ construct_runtime!( CumulusXcm: cumulus_pallet_xcm::{Pallet, Event, Origin} = 71, DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event} = 72, PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 73, + MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event} = 74, RootTesting: pallet_root_testing = 100, AsyncBacking: pallet_async_backing::{Pallet, Storage} = 110, @@ -729,7 +660,7 @@ mod benches { [pallet_cc_authorities_noting, AuthoritiesNoting] [pallet_author_inherent, AuthorInherent] [cumulus_pallet_xcmp_queue, XcmpQueue] - [pallet_xcm, PolkadotXcm] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] [pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::] ); } @@ -824,6 +755,16 @@ impl_runtime_apis! { } } + impl sp_genesis_builder::GenesisBuilder for Runtime { + fn create_default_config() -> Vec { + create_default_config::() + } + + fn build_config(config: Vec) -> sp_genesis_builder::Result { + build_config::(config) + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata( @@ -834,6 +775,7 @@ impl_runtime_apis! { ) { use frame_benchmarking::{Benchmarking, BenchmarkList}; use frame_support::traits::StorageInfoTrait; + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; let mut list = Vec::::new(); list_benchmarks!(list, extra); @@ -921,6 +863,44 @@ impl_runtime_apis! { } } + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; + impl pallet_xcm::benchmarking::Config for Runtime { + fn reachable_dest() -> Option { + Some(Parent.into()) + } + + fn teleportable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + // Relay/native token can be teleported between AH and Relay. + Some(( + MultiAsset { + fun: Fungible(EXISTENTIAL_DEPOSIT), + id: Concrete(Parent.into()) + }, + Parent.into(), + )) + } + + fn reserve_transferable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + // AH can reserve transfer native token to some random parachain. + let random_para_id = 43211234; + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + random_para_id.into() + ); + Some(( + MultiAsset { + fun: Fungible(EXISTENTIAL_DEPOSIT), + id: Concrete(Parent.into()) + }, + ParentThen(Parachain(random_para_id).into()).into(), + )) + } + + fn set_up_complex_asset_transfer( + ) -> Option<(MultiAssets, u32, MultiLocation, Box)> { + None + } + } + let whitelist: Vec = vec![ // Block Number hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac") diff --git a/container-chains/templates/simple/runtime/src/migrations.rs b/container-chains/templates/simple/runtime/src/migrations.rs new file mode 100644 index 0000000000..36c6445300 --- /dev/null +++ b/container-chains/templates/simple/runtime/src/migrations.rs @@ -0,0 +1,58 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + +//! # Migrations +//! +//! This module acts as a registry where each migration is defined. Each migration should implement +//! the "Migration" trait declared in the pallet-migrations crate. + +use { + frame_support::{pallet_prelude::GetStorageVersion, traits::PalletInfoAccess}, + pallet_migrations::{GetMigrations, Migration}, + runtime_common::migrations::{ + PolkadotXcmMigrationFixVersion, XcmpQueueMigrationFixVersion, XcmpQueueMigrationV3, + XcmpQueueMigrationV4, + }, + sp_std::{marker::PhantomData, prelude::*}, +}; + +pub struct TemplateMigrations( + PhantomData<(Runtime, XcmpQueue, PolkadotXcm)>, +); + +impl GetMigrations + for TemplateMigrations +where + PolkadotXcm: GetStorageVersion + PalletInfoAccess + 'static, + XcmpQueue: GetStorageVersion + PalletInfoAccess + 'static, + Runtime: frame_system::Config, + Runtime: cumulus_pallet_xcmp_queue::Config, +{ + fn get_migrations() -> Vec> { + let migrate_polkadot_xcm_v1 = + PolkadotXcmMigrationFixVersion::(Default::default()); + let migrate_xcmp_queue_v2 = + XcmpQueueMigrationFixVersion::(Default::default()); + let migrate_xcmp_queue_v3 = XcmpQueueMigrationV3::(Default::default()); + let migrate_xcmp_queue_v4 = XcmpQueueMigrationV4::(Default::default()); + vec![ + Box::new(migrate_polkadot_xcm_v1), + Box::new(migrate_xcmp_queue_v2), + Box::new(migrate_xcmp_queue_v3), + Box::new(migrate_xcmp_queue_v4), + ] + } +} diff --git a/container-chains/templates/simple/runtime/src/xcm_config.rs b/container-chains/templates/simple/runtime/src/xcm_config.rs index 2bdd6e332f..92da6bc820 100644 --- a/container-chains/templates/simple/runtime/src/xcm_config.rs +++ b/container-chains/templates/simple/runtime/src/xcm_config.rs @@ -16,23 +16,26 @@ use { super::{ - AccountId, AllPalletsWithSystem, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, - Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmpQueue, + AccountId, AllPalletsWithSystem, Balances, MaintenanceMode, MessageQueue, ParachainInfo, + ParachainSystem, PolkadotXcm, Runtime, RuntimeBlockWeights, RuntimeCall, RuntimeEvent, + RuntimeOrigin, WeightToFee, XcmpQueue, }, - cumulus_primitives_core::ParaId, + cumulus_primitives_core::{AggregateMessageOrigin, ParaId}, frame_support::{ parameter_types, - traits::{Everything, Nothing, PalletInfoAccess}, + traits::{Everything, Nothing, PalletInfoAccess, TransformOrigin}, weights::Weight, }, frame_system::EnsureRoot, pallet_xcm::XcmPassthrough, + parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}, polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery, sp_core::ConstU32, + sp_runtime::Perbill, staging_xcm::latest::prelude::*, staging_xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, CurrencyAdapter, EnsureXcmOrigin, FixedWeightBounds, + AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, FungibleAdapter, IsConcrete, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WithComputedOrigin, @@ -41,7 +44,7 @@ use { }; parameter_types! { - // 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 MultiLocation: (Self Balances pallet index) // We use the RELATIVE multilocation @@ -115,7 +118,7 @@ pub type LocationToAccountId = ( pub type LocalOriginToLocation = SignedToAccountId32; /// Means for transacting the native currency on this chain. -pub type CurrencyTransactor = CurrencyAdapter< +pub type CurrencyTransactor = FungibleAdapter< // Use this currency: Balances, // Use this currency when it is a fungible asset matching the given location or name: @@ -216,21 +219,20 @@ impl pallet_xcm::Config for Runtime { type RemoteLockConsumerIdentifier = (); // TODO pallet-xcm weights type WeightInfo = pallet_xcm::TestWeightInfo; - #[cfg(feature = "runtime-benchmarks")] - type ReachableDest = ReachableDest; type AdminOrigin = EnsureRoot; } impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; type PriceForSiblingDelivery = NoPriceForMessageDelivery; + // Enqueue XCMP messages from siblings for later processing. + type XcmpQueue = TransformOrigin; + type MaxInboundSuspended = sp_core::ConstU32<1_000>; } impl cumulus_pallet_xcm::Config for Runtime { @@ -238,8 +240,40 @@ impl cumulus_pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; } +parameter_types! { + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; +} + impl cumulus_pallet_dmp_queue::Config for Runtime { + type WeightInfo = cumulus_pallet_dmp_queue::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = EnsureRoot; + type DmpSink = frame_support::traits::EnqueueWithOrigin; +} + +parameter_types! { + pub MessageQueueServiceWeight: Weight = Perbill::from_percent(25) * RuntimeBlockWeights::get().max_block; +} + +impl pallet_message_queue::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = pallet_message_queue::weights::SubstrateWeight; + #[cfg(feature = "runtime-benchmarks")] + type MessageProcessor = pallet_message_queue::mock_helpers::NoopMessageProcessor< + cumulus_primitives_core::AggregateMessageOrigin, + >; + #[cfg(not(feature = "runtime-benchmarks"))] + type MessageProcessor = staging_xcm_builder::ProcessXcmMessage< + AggregateMessageOrigin, + XcmExecutor, + RuntimeCall, + >; + type Size = u32; + // The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin: + type QueueChangeHandler = NarrowOriginToSibling; + // NarrowOriginToSibling calls XcmpQueue's is_pause if Origin is sibling. Allows all other origins + type QueuePausedQuery = (MaintenanceMode, NarrowOriginToSibling); + // TODO verify values + type HeapSize = sp_core::ConstU32<{ 64 * 1024 }>; + type MaxStale = sp_core::ConstU32<8>; + type ServiceWeight = MessageQueueServiceWeight; } diff --git a/node/Cargo.toml b/node/Cargo.toml index 541d68b708..5a8d00a4c9 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -97,10 +97,10 @@ cumulus-client-consensus-aura = { workspace = true } cumulus-client-consensus-common = { workspace = true } cumulus-client-consensus-proposer = { workspace = true } cumulus-client-network = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } cumulus-client-pov-recovery = { workspace = true } cumulus-client-service = { workspace = true } cumulus-primitives-core = { workspace = true } -cumulus-primitives-parachain-inherent = { workspace = true } cumulus-relay-chain-interface = { workspace = true } [build-dependencies] substrate-build-script-utils = { workspace = true } @@ -108,6 +108,7 @@ substrate-build-script-utils = { workspace = true } [features] default = [] runtime-benchmarks = [ + "cumulus-primitives-core/runtime-benchmarks", "dancebox-runtime/runtime-benchmarks", "flashbox-runtime/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", diff --git a/node/src/chain_spec/dancebox.rs b/node/src/chain_spec/dancebox.rs index d10390c103..10f31c1467 100644 --- a/node/src/chain_spec/dancebox.rs +++ b/node/src/chain_spec/dancebox.rs @@ -57,59 +57,53 @@ pub fn development_config( properties.insert("ss58Format".into(), 42.into()); properties.insert("isEthereum".into(), false.into()); - ChainSpec::from_genesis( - // Name - "Dancebox Development Testnet", - // ID - "dancebox_dev", - ChainType::Development, - move || { - testnet_genesis( - // initial collators. - invulnerables_from_seeds(invulnerables.iter()), - account_ids(&[ - "Alice", - "Bob", - "Charlie", - "Dave", - "Eve", - "Ferdie", - "Alice//stash", - "Bob//stash", - "Charlie//stash", - "Dave//stash", - "Eve//stash", - "Ferdie//stash", - ]), - para_id, - get_account_id_from_seed::("Alice"), - &container_chains, - &mock_container_chains, - pallet_configuration::GenesisConfig { - config: HostConfiguration { - max_collators: 100u32, - min_orchestrator_collators: 1u32, - max_orchestrator_collators: 1u32, - collators_per_container: 2u32, - full_rotation_period: prod_or_fast!(24u32, 5u32), - collators_per_parathread: 1, - parathreads_per_collator: 1, - target_container_chain_fullness: Perbill::from_percent(80), - }, - ..Default::default() - }, - ) - }, - vec![], - None, - None, - None, - Some(properties), + ChainSpec::builder( + dancebox_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name("Dancebox Development Testnet") + .with_id("dancebox_dev") + .with_chain_type(ChainType::Development) + .with_genesis_config(testnet_genesis( + // initial collators. + invulnerables_from_seeds(invulnerables.iter()), + account_ids(&[ + "Alice", + "Bob", + "Charlie", + "Dave", + "Eve", + "Ferdie", + "Alice//stash", + "Bob//stash", + "Charlie//stash", + "Dave//stash", + "Eve//stash", + "Ferdie//stash", + ]), + para_id, + get_account_id_from_seed::("Alice"), + &container_chains, + &mock_container_chains, + pallet_configuration::GenesisConfig { + config: HostConfiguration { + max_collators: 100u32, + min_orchestrator_collators: 1u32, + max_orchestrator_collators: 1u32, + collators_per_container: 2u32, + full_rotation_period: prod_or_fast!(24u32, 5u32), + collators_per_parathread: 1, + parathreads_per_collator: 1, + target_container_chain_fullness: Perbill::from_percent(80), + }, + ..Default::default() + }, + )) + .with_properties(properties) + .build() } pub fn local_dancebox_config( @@ -125,65 +119,54 @@ pub fn local_dancebox_config( properties.insert("ss58Format".into(), 42.into()); properties.insert("isEthereum".into(), false.into()); - ChainSpec::from_genesis( - // Name - "Dancebox Local Testnet", - // ID - "dancebox_local", - ChainType::Local, - move || { - testnet_genesis( - // initial collators. - invulnerables_from_seeds(invulnerables.iter()), - account_ids(&[ - "Alice", - "Bob", - "Charlie", - "Dave", - "Eve", - "Ferdie", - "Alice//stash", - "Bob//stash", - "Charlie//stash", - "Dave//stash", - "Eve//stash", - "Ferdie//stash", - ]), - para_id, - get_account_id_from_seed::("Alice"), - &container_chains, - &mock_container_chains, - pallet_configuration::GenesisConfig { - config: HostConfiguration { - max_collators: 100u32, - min_orchestrator_collators: 2u32, - max_orchestrator_collators: 5u32, - collators_per_container: 2u32, - full_rotation_period: prod_or_fast!(24u32, 5u32), - collators_per_parathread: 1, - parathreads_per_collator: 1, - target_container_chain_fullness: Perbill::from_percent(80), - }, - ..Default::default() - }, - ) - }, - // Bootnodes - vec![], - // Telemetry - None, - // Protocol ID - Some("orchestrator"), - // Fork ID - None, - // Properties - Some(properties), - // Extensions + ChainSpec::builder( + dancebox_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name("Dancebox Local Testnet") + .with_id("dancebox_local") + .with_chain_type(ChainType::Local) + .with_genesis_config(testnet_genesis( + // initial collators. + invulnerables_from_seeds(invulnerables.iter()), + account_ids(&[ + "Alice", + "Bob", + "Charlie", + "Dave", + "Eve", + "Ferdie", + "Alice//stash", + "Bob//stash", + "Charlie//stash", + "Dave//stash", + "Eve//stash", + "Ferdie//stash", + ]), + para_id, + get_account_id_from_seed::("Alice"), + &container_chains, + &mock_container_chains, + pallet_configuration::GenesisConfig { + config: HostConfiguration { + max_collators: 100u32, + min_orchestrator_collators: 2u32, + max_orchestrator_collators: 5u32, + collators_per_container: 2u32, + full_rotation_period: prod_or_fast!(24u32, 5u32), + collators_per_parathread: 1, + parathreads_per_collator: 1, + target_container_chain_fullness: Perbill::from_percent(80), + }, + ..Default::default() + }, + )) + .with_properties(properties) + .with_protocol_id("orchestrator") + .build() } fn testnet_genesis( @@ -194,7 +177,7 @@ fn testnet_genesis( container_chains: &[String], mock_container_chains: &[ParaId], configuration: pallet_configuration::GenesisConfig, -) -> dancebox_runtime::RuntimeGenesisConfig { +) -> serde_json::Value { let para_ids: Vec<_> = container_chains .iter() .map(|x| { @@ -231,13 +214,8 @@ fn testnet_genesis( dancebox_runtime::ParachainBondAccount::get(), dancebox_runtime::PendingRewardsAccount::get(), ]; - dancebox_runtime::RuntimeGenesisConfig { - system: dancebox_runtime::SystemConfig { - code: dancebox_runtime::WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), - ..Default::default() - }, + let g = dancebox_runtime::RuntimeGenesisConfig { + system: Default::default(), balances: dancebox_runtime::BalancesConfig { balances: endowed_accounts .iter() @@ -293,7 +271,9 @@ fn testnet_genesis( transaction_payment: Default::default(), tx_pause: Default::default(), treasury: Default::default(), - } + }; + + serde_json::to_value(&g).unwrap() } fn mock_container_chain_genesis_data>( diff --git a/node/src/chain_spec/flashbox.rs b/node/src/chain_spec/flashbox.rs index a7573b4fb0..5926e8f0cf 100644 --- a/node/src/chain_spec/flashbox.rs +++ b/node/src/chain_spec/flashbox.rs @@ -57,59 +57,53 @@ pub fn development_config( properties.insert("ss58Format".into(), 42.into()); properties.insert("isEthereum".into(), false.into()); - ChainSpec::from_genesis( - // Name - "Flashbox Development Testnet", - // ID - "flashbox_dev", - ChainType::Development, - move || { - testnet_genesis( - // initial collators. - invulnerables_from_seeds(invulnerables.iter()), - account_ids(&[ - "Alice", - "Bob", - "Charlie", - "Dave", - "Eve", - "Ferdie", - "Alice//stash", - "Bob//stash", - "Charlie//stash", - "Dave//stash", - "Eve//stash", - "Ferdie//stash", - ]), - para_id, - get_account_id_from_seed::("Alice"), - &container_chains, - &mock_container_chains, - pallet_configuration::GenesisConfig { - config: HostConfiguration { - max_collators: 100u32, - min_orchestrator_collators: 1u32, - max_orchestrator_collators: 1u32, - collators_per_container: 2u32, - full_rotation_period: 0, - collators_per_parathread: 1, - parathreads_per_collator: 1, - target_container_chain_fullness: Perbill::from_percent(80), - }, - ..Default::default() - }, - ) - }, - vec![], - None, - None, - None, - Some(properties), + ChainSpec::builder( + flashbox_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name("Flashbox Development Testnet") + .with_id("flashbox_dev") + .with_chain_type(ChainType::Development) + .with_genesis_config(testnet_genesis( + // initial collators. + invulnerables_from_seeds(invulnerables.iter()), + account_ids(&[ + "Alice", + "Bob", + "Charlie", + "Dave", + "Eve", + "Ferdie", + "Alice//stash", + "Bob//stash", + "Charlie//stash", + "Dave//stash", + "Eve//stash", + "Ferdie//stash", + ]), + para_id, + get_account_id_from_seed::("Alice"), + &container_chains, + &mock_container_chains, + pallet_configuration::GenesisConfig { + config: HostConfiguration { + max_collators: 100u32, + min_orchestrator_collators: 1u32, + max_orchestrator_collators: 1u32, + collators_per_container: 2u32, + full_rotation_period: 0, + collators_per_parathread: 1, + parathreads_per_collator: 1, + target_container_chain_fullness: Perbill::from_percent(80), + }, + ..Default::default() + }, + )) + .with_properties(properties) + .build() } pub fn local_flashbox_config( @@ -125,65 +119,54 @@ pub fn local_flashbox_config( properties.insert("ss58Format".into(), 42.into()); properties.insert("isEthereum".into(), false.into()); - ChainSpec::from_genesis( - // Name - "Flashbox Local Testnet", - // ID - "flashbox_local", - ChainType::Local, - move || { - testnet_genesis( - // initial collators. - invulnerables_from_seeds(invulnerables.iter()), - account_ids(&[ - "Alice", - "Bob", - "Charlie", - "Dave", - "Eve", - "Ferdie", - "Alice//stash", - "Bob//stash", - "Charlie//stash", - "Dave//stash", - "Eve//stash", - "Ferdie//stash", - ]), - para_id, - get_account_id_from_seed::("Alice"), - &container_chains, - &mock_container_chains, - pallet_configuration::GenesisConfig { - config: HostConfiguration { - max_collators: 100u32, - min_orchestrator_collators: 2u32, - max_orchestrator_collators: 5u32, - collators_per_container: 2u32, - full_rotation_period: 0, - collators_per_parathread: 1, - parathreads_per_collator: 1, - target_container_chain_fullness: Perbill::from_percent(80), - }, - ..Default::default() - }, - ) - }, - // Bootnodes - vec![], - // Telemetry - None, - // Protocol ID - Some("orchestrator"), - // Fork ID - None, - // Properties - Some(properties), - // Extensions + ChainSpec::builder( + flashbox_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), Extensions { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: para_id.into(), }, ) + .with_name("Flashbox Local Testnet") + .with_id("flashbox_local") + .with_chain_type(ChainType::Local) + .with_genesis_config(testnet_genesis( + // initial collators. + invulnerables_from_seeds(invulnerables.iter()), + account_ids(&[ + "Alice", + "Bob", + "Charlie", + "Dave", + "Eve", + "Ferdie", + "Alice//stash", + "Bob//stash", + "Charlie//stash", + "Dave//stash", + "Eve//stash", + "Ferdie//stash", + ]), + para_id, + get_account_id_from_seed::("Alice"), + &container_chains, + &mock_container_chains, + pallet_configuration::GenesisConfig { + config: HostConfiguration { + max_collators: 100u32, + min_orchestrator_collators: 2u32, + max_orchestrator_collators: 5u32, + collators_per_container: 2u32, + full_rotation_period: 0, + collators_per_parathread: 1, + parathreads_per_collator: 1, + target_container_chain_fullness: Perbill::from_percent(80), + }, + ..Default::default() + }, + )) + .with_properties(properties) + .with_protocol_id("orchestrator") + .build() } fn testnet_genesis( @@ -194,7 +177,7 @@ fn testnet_genesis( container_chains: &[String], mock_container_chains: &[ParaId], configuration: pallet_configuration::GenesisConfig, -) -> flashbox_runtime::RuntimeGenesisConfig { +) -> serde_json::Value { let para_ids: Vec<_> = container_chains .iter() .map(|x| { @@ -231,13 +214,8 @@ fn testnet_genesis( flashbox_runtime::ParachainBondAccount::get(), flashbox_runtime::PendingRewardsAccount::get(), ]; - flashbox_runtime::RuntimeGenesisConfig { - system: flashbox_runtime::SystemConfig { - code: flashbox_runtime::WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), - ..Default::default() - }, + let g = flashbox_runtime::RuntimeGenesisConfig { + system: Default::default(), balances: flashbox_runtime::BalancesConfig { balances: endowed_accounts .iter() @@ -291,7 +269,9 @@ fn testnet_genesis( transaction_payment: Default::default(), tx_pause: Default::default(), treasury: Default::default(), - } + }; + + serde_json::to_value(&g).unwrap() } fn mock_container_chain_genesis_data>( diff --git a/node/src/cli.rs b/node/src/cli.rs index 5f9e6f730d..9ab2ce5ef4 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see . +use sc_chain_spec::ChainSpec; +use sp_runtime::Storage; use { crate::chain_spec::RawGenesisConfig, node_common::service::Sealing, @@ -51,7 +53,8 @@ pub enum Subcommand { PurgeChain(cumulus_client_cli::PurgeChainCmd), /// Export the genesis state of the parachain. - ExportGenesisState(cumulus_client_cli::ExportGenesisStateCommand), + #[command(alias = "export-genesis-state")] + ExportGenesisHead(cumulus_client_cli::ExportGenesisHeadCommand), /// Export the genesis wasm of the parachain. ExportGenesisWasm(ExportGenesisWasmCommand), @@ -323,36 +326,45 @@ impl ContainerChainCli { String::from_utf8(genesis_data.id).map_err(|_e| "Invalid id".to_string())?; let storage_raw: BTreeMap<_, _> = genesis_data.storage.into_iter().map(|x| x.into()).collect(); - let telemetry_endpoints = None; - let protocol_id = Some(format!("container-chain-{}", para_id)); - let fork_id = genesis_data - .fork_id - .map(|fork_id| String::from_utf8(fork_id).map_err(|_e| "Invalid fork_id".to_string())) - .transpose()?; - let properties = Some( - properties_to_map(&genesis_data.properties) - .map_err(|e| format!("Invalid properties: {}", e))?, - ); + let protocol_id = format!("container-chain-{}", para_id); + let properties = properties_to_map(&genesis_data.properties) + .map_err(|e| format!("Invalid properties: {}", e))?; let extensions = crate::chain_spec::Extensions { relay_chain, para_id, }; - let chain_spec = crate::chain_spec::RawChainSpec::from_genesis( - &name, - &id, - chain_type, - move || RawGenesisConfig { - storage_raw: storage_raw.clone(), - }, - boot_nodes, - telemetry_endpoints, - protocol_id.as_deref(), - fork_id.as_deref(), - properties, + let raw_genesis_config = RawGenesisConfig { + storage_raw: storage_raw.clone(), + }; + + let chain_spec = crate::chain_spec::RawChainSpec::builder( + // This code is not used, we override it in `set_storage` below + &[], // TODO: what to do with extensions? We are hardcoding the relay_chain and the para_id, any // other extensions are being ignored extensions, - ); + ) + .with_name(&name) + .with_id(&id) + .with_chain_type(chain_type) + .with_properties(properties) + .with_boot_nodes(boot_nodes) + .with_protocol_id(&protocol_id); + + let chain_spec = if let Some(fork_id) = genesis_data.fork_id { + let fork_id_string = + String::from_utf8(fork_id).map_err(|_e| "Invalid fork_id".to_string())?; + chain_spec.with_fork_id(&fork_id_string) + } else { + chain_spec + }; + + let mut chain_spec = chain_spec.build(); + + chain_spec.set_storage(Storage { + top: raw_genesis_config.storage_raw, + children_default: Default::default(), + }); Ok(chain_spec) } diff --git a/node/src/command.rs b/node/src/command.rs index 88dcab8fe2..dc3167af61 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -20,11 +20,12 @@ use { cli::{Cli, ContainerChainCli, RelayChainCli, Subcommand}, service::{self, IdentifyVariant, NodeConfig}, }, - cumulus_client_cli::{extract_genesis_wasm, generate_genesis_block}, + cumulus_client_cli::extract_genesis_wasm, cumulus_primitives_core::ParaId, dancebox_runtime::Block, frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}, log::{info, warn}, + node_common::command::generate_genesis_block, node_common::service::NodeBuilderConfig as _, parity_scale_codec::Encode, sc_cli::{ @@ -37,9 +38,6 @@ use { std::{io::Write, net::SocketAddr}, }; -#[cfg(feature = "try-runtime")] -use crate::service::ParachainNativeExecutor; - fn load_spec(id: &str, para_id: ParaId) -> std::result::Result, String> { Ok(match id { "dev" => Box::new(chain_spec::dancebox::development_config( @@ -344,11 +342,11 @@ pub fn run() -> Result<()> { cmd.run(config, polkadot_config) }) } - Some(Subcommand::ExportGenesisState(cmd)) => { + Some(Subcommand::ExportGenesisHead(cmd)) => { let runner = cli.create_runner(cmd)?; runner.sync_run(|config| { let client = NodeConfig::new_builder(&config, None)?.client; - cmd.run(&*config.chain_spec, &*client) + cmd.run(client) }) } Some(Subcommand::ExportGenesisWasm(params)) => { @@ -411,47 +409,19 @@ pub fn run() -> Result<()> { _ => Err("Benchmarking sub-command unsupported".into()), } } + Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?), #[cfg(feature = "try-runtime")] - Some(Subcommand::TryRuntime(cmd)) => { - use { - dancebox_runtime::MILLISECS_PER_BLOCK, - sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}, - try_runtime_cli::block_building_info::timestamp_with_aura_info, - }; - - let runner = cli.create_runner(cmd)?; - - type HostFunctionsOf = ExtendedHostFunctions< - sp_io::SubstrateHostFunctions, - ::ExtendHostFunctions, - >; - - // grab the task manager. - let registry = &runner - .config() - .prometheus_config - .as_ref() - .map(|cfg| &cfg.registry); - let task_manager = - sc_service::TaskManager::new(runner.config().tokio_handle.clone(), *registry) - .map_err(|e| format!("Error: {:?}", e))?; - - let info_provider = timestamp_with_aura_info(MILLISECS_PER_BLOCK); - - runner.async_run(|_| { - Ok(( - cmd.run::, _>(Some( - info_provider, - )), - task_manager, - )) - }) + Some(Subcommand::TryRuntime(_)) => { + Err("Substrate's `try-runtime` subcommand has been migrated \ + to a standalone CLI (https://github.com/paritytech/try-runtime-cli)" + .into()) } #[cfg(not(feature = "try-runtime"))] - Some(Subcommand::TryRuntime) => Err("Try-runtime was not enabled when building the node. \ - You can enable it with `--features try-runtime`." - .into()), - Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?), + Some(Subcommand::TryRuntime) => { + Err("Substrate's `try-runtime` subcommand has been migrated \ + to a standalone CLI (https://github.com/paritytech/try-runtime-cli)" + .into()) + } None => { let runner = cli.create_runner(&cli.run.normalize())?; let collator_options = cli.run.collator_options(); diff --git a/node/src/container_chain_spawner.rs b/node/src/container_chain_spawner.rs index c063d59258..523c46735c 100644 --- a/node/src/container_chain_spawner.rs +++ b/node/src/container_chain_spawner.rs @@ -27,12 +27,12 @@ use { container_chain_monitor::{SpawnedContainer, SpawnedContainersMonitor}, service::{start_node_impl_container, NodeConfig, ParachainClient}, }, - cumulus_client_cli::generate_genesis_block, cumulus_primitives_core::ParaId, cumulus_relay_chain_interface::RelayChainInterface, dancebox_runtime::{AccountId, Block, BlockNumber}, dc_orchestrator_chain_interface::OrchestratorChainInterface, futures::FutureExt, + node_common::command::generate_genesis_block, node_common::service::NodeBuilderConfig, pallet_author_noting_runtime_api::AuthorNotingApi, pallet_registrar_runtime_api::RegistrarApi, diff --git a/node/src/rpc.rs b/node/src/rpc.rs index d68f61736f..5c37f60366 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -21,7 +21,7 @@ #![warn(missing_docs)] -pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; +pub use sc_rpc::DenyUnsafe; use { cumulus_primitives_core::ParaId, dancebox_runtime::{opaque::Block, AccountId, Index as Nonce}, diff --git a/node/src/service.rs b/node/src/service.rs index 5e5ebf0700..b19323a19e 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -28,6 +28,7 @@ use { ParachainBlockImport as TParachainBlockImport, ParachainBlockImportMarker, }, cumulus_client_consensus_proposer::Proposer, + cumulus_client_parachain_inherent::{MockValidationDataInherentDataProvider, MockXcmConfig}, cumulus_client_service::{ prepare_node_config, start_relay_chain_tasks, DARecoveryProfile, StartRelayChainTasksParams, }, @@ -35,9 +36,6 @@ use { relay_chain::{well_known_keys as RelayWellKnownKeys, CollatorPair, Hash as PHash}, ParaId, }, - cumulus_primitives_parachain_inherent::{ - MockValidationDataInherentDataProvider, MockXcmConfig, - }, cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}, dancebox_runtime::{ opaque::{Block, Hash}, diff --git a/pallets/author-noting/Cargo.toml b/pallets/author-noting/Cargo.toml index b4d4817e47..cef3962d3e 100644 --- a/pallets/author-noting/Cargo.toml +++ b/pallets/author-noting/Cargo.toml @@ -80,6 +80,7 @@ std = [ ] runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "frame-benchmarking", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/author-noting/src/mock.rs b/pallets/author-noting/src/mock.rs index 6e8cd5393c..167413236d 100644 --- a/pallets/author-noting/src/mock.rs +++ b/pallets/author-noting/src/mock.rs @@ -75,6 +75,7 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); } parameter_types! { diff --git a/pallets/authority-assignment/src/mock.rs b/pallets/authority-assignment/src/mock.rs index fdb52f1fb9..7318011ebe 100644 --- a/pallets/authority-assignment/src/mock.rs +++ b/pallets/authority-assignment/src/mock.rs @@ -65,6 +65,7 @@ impl system::Config for Test { type SS58Prefix = ConstU16<42>; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); } // Pallet to provide some mock data, used to test diff --git a/pallets/authority-mapping/src/mock.rs b/pallets/authority-mapping/src/mock.rs index 3aac26e740..36f5389054 100644 --- a/pallets/authority-mapping/src/mock.rs +++ b/pallets/authority-mapping/src/mock.rs @@ -64,6 +64,7 @@ impl system::Config for Test { type SS58Prefix = ConstU16<42>; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); } parameter_types! { diff --git a/pallets/collator-assignment/src/mock.rs b/pallets/collator-assignment/src/mock.rs index 4c9740e163..cd9fdd29f7 100644 --- a/pallets/collator-assignment/src/mock.rs +++ b/pallets/collator-assignment/src/mock.rs @@ -74,6 +74,7 @@ impl system::Config for Test { type SS58Prefix = ConstU16<42>; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); } // Pallet to provide some mock data, used to test diff --git a/pallets/configuration/src/mock.rs b/pallets/configuration/src/mock.rs index cf4f399855..5ffa997d1f 100644 --- a/pallets/configuration/src/mock.rs +++ b/pallets/configuration/src/mock.rs @@ -61,6 +61,7 @@ impl system::Config for Test { type SS58Prefix = ConstU16<42>; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); } pub struct CurrentSessionIndexGetter; diff --git a/pallets/data-preservers/src/mock.rs b/pallets/data-preservers/src/mock.rs index e6c1cab858..d4f99cfd74 100644 --- a/pallets/data-preservers/src/mock.rs +++ b/pallets/data-preservers/src/mock.rs @@ -70,6 +70,7 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); } parameter_types! { diff --git a/pallets/inflation-rewards/src/mock.rs b/pallets/inflation-rewards/src/mock.rs index e159c9c637..2cf1d346ca 100644 --- a/pallets/inflation-rewards/src/mock.rs +++ b/pallets/inflation-rewards/src/mock.rs @@ -72,6 +72,7 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); } parameter_types! { diff --git a/pallets/initializer/src/mock.rs b/pallets/initializer/src/mock.rs index d3a90a0892..0b9153fc77 100644 --- a/pallets/initializer/src/mock.rs +++ b/pallets/initializer/src/mock.rs @@ -62,6 +62,7 @@ impl system::Config for Test { type SS58Prefix = ConstU16<42>; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); } thread_local! { diff --git a/pallets/invulnerables/src/mock.rs b/pallets/invulnerables/src/mock.rs index e86f607452..62a843b6f4 100644 --- a/pallets/invulnerables/src/mock.rs +++ b/pallets/invulnerables/src/mock.rs @@ -72,6 +72,7 @@ impl system::Config for Test { type MaxConsumers = frame_support::traits::ConstU32<16>; type Nonce = u64; type Block = Block; + type RuntimeTask = (); } parameter_types! { diff --git a/pallets/pooled-staking/src/mock.rs b/pallets/pooled-staking/src/mock.rs index edf9b46763..0b735253fb 100644 --- a/pallets/pooled-staking/src/mock.rs +++ b/pallets/pooled-staking/src/mock.rs @@ -108,6 +108,7 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); } /// Allows to change ED mid-test. diff --git a/pallets/registrar/src/mock.rs b/pallets/registrar/src/mock.rs index 541cd54429..5b06c4dc47 100644 --- a/pallets/registrar/src/mock.rs +++ b/pallets/registrar/src/mock.rs @@ -70,6 +70,7 @@ impl frame_system::Config for Test { type SS58Prefix = ConstU16<42>; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); } parameter_types! { diff --git a/pallets/services-payment/Cargo.toml b/pallets/services-payment/Cargo.toml index 0997687395..a1a26d1ef1 100644 --- a/pallets/services-payment/Cargo.toml +++ b/pallets/services-payment/Cargo.toml @@ -46,6 +46,7 @@ std = [ "tp-traits/std", ] runtime-benchmarks = [ + "cumulus-primitives-core/runtime-benchmarks", "frame-benchmarking", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/services-payment/src/benchmarks.rs b/pallets/services-payment/src/benchmarks.rs index ca767687a5..7a2cb3575d 100644 --- a/pallets/services-payment/src/benchmarks.rs +++ b/pallets/services-payment/src/benchmarks.rs @@ -148,8 +148,8 @@ mod benchmarks { fn on_container_author_noted() { let para_id = 1001u32; let block_cost = T::ProvideBlockProductionCost::block_cost(¶_id.into()).0; - let max_credit_stored = T::FreeBlockProductionCredits::get(); - let balance_to_purchase = block_cost.saturating_mul(max_credit_stored.into()); + let credits: BalanceOf = 1000u32.into(); + let balance_to_purchase = block_cost.saturating_mul(credits); let caller = create_funded_user::("caller", 1, 1_000_000_000u32); let existential_deposit = ::minimum_balance(); assert_ok!(Pallet::::purchase_credits( diff --git a/pallets/services-payment/src/lib.rs b/pallets/services-payment/src/lib.rs index 229d917ed7..d30fbc3c77 100644 --- a/pallets/services-payment/src/lib.rs +++ b/pallets/services-payment/src/lib.rs @@ -161,7 +161,7 @@ pub mod pallet { #[pallet::call] impl Pallet where - BalanceOf: From>, + BlockNumberFor: Into>, { #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::purchase_credits())] diff --git a/pallets/services-payment/src/mock.rs b/pallets/services-payment/src/mock.rs index caa7b30bc4..c8fb9fbd55 100644 --- a/pallets/services-payment/src/mock.rs +++ b/pallets/services-payment/src/mock.rs @@ -83,6 +83,7 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); } parameter_types! { diff --git a/pallets/stream-payment/Cargo.toml b/pallets/stream-payment/Cargo.toml index 8ea4e83adb..333bdd3c4f 100644 --- a/pallets/stream-payment/Cargo.toml +++ b/pallets/stream-payment/Cargo.toml @@ -64,3 +64,9 @@ runtime-benchmarks = [ "tp-maths/runtime-benchmarks", "tp-traits/runtime-benchmarks", ] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/stream-payment/src/benchmarking.rs b/pallets/stream-payment/src/benchmarking.rs index 9d86be2b26..429a119ad7 100644 --- a/pallets/stream-payment/src/benchmarking.rs +++ b/pallets/stream-payment/src/benchmarking.rs @@ -22,7 +22,6 @@ use { frame_benchmarking::{account, impl_benchmark_test_suite, v2::*, BenchmarkError}, frame_support::{assert_ok, dispatch::RawOrigin}, frame_system::EventRecord, - sp_std::vec, }; /// Create a funded user. diff --git a/pallets/stream-payment/src/mock.rs b/pallets/stream-payment/src/mock.rs index b48292f706..d7f5920e26 100644 --- a/pallets/stream-payment/src/mock.rs +++ b/pallets/stream-payment/src/mock.rs @@ -84,6 +84,7 @@ impl frame_system::Config for Runtime { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); } parameter_types! { diff --git a/primitives/author-noting-inherent/src/lib.rs b/primitives/author-noting-inherent/src/lib.rs index 6904ac3445..b57504bce7 100644 --- a/primitives/author-noting-inherent/src/lib.rs +++ b/primitives/author-noting-inherent/src/lib.rs @@ -29,8 +29,6 @@ #[cfg(feature = "std")] mod client_side; -#[cfg(feature = "std")] -pub use client_side::*; #[cfg(feature = "std")] mod mock; diff --git a/primitives/consensus/Cargo.toml b/primitives/consensus/Cargo.toml index 5226d895ce..7a5cbae46b 100644 --- a/primitives/consensus/Cargo.toml +++ b/primitives/consensus/Cargo.toml @@ -45,6 +45,7 @@ std = [ ] runtime-benchmarks = [ + "cumulus-primitives-core/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "nimbus-primitives/runtime-benchmarks", diff --git a/primitives/consensus/src/mock.rs b/primitives/consensus/src/mock.rs index e00d5c3851..9f987cf965 100644 --- a/primitives/consensus/src/mock.rs +++ b/primitives/consensus/src/mock.rs @@ -57,6 +57,7 @@ impl frame_system::Config for Test { type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); } pub fn new_test_ext() -> sp_io::TestExternalities { diff --git a/primitives/container-chain-genesis-data/src/lib.rs b/primitives/container-chain-genesis-data/src/lib.rs index 73dfd65c94..8680b4fc1b 100644 --- a/primitives/container-chain-genesis-data/src/lib.rs +++ b/primitives/container-chain-genesis-data/src/lib.rs @@ -72,12 +72,12 @@ pub mod json; pub struct ContainerChainGenesisData> { pub storage: Vec, // TODO: make all these Vec bounded - #[cfg_attr(feature = "std", serde(with = "sp_core::bytes"))] + #[serde(with = "sp_core::bytes")] pub name: Vec, - #[cfg_attr(feature = "std", serde(with = "sp_core::bytes"))] + #[serde(with = "sp_core::bytes")] pub id: Vec, pub fork_id: Option>, - #[cfg_attr(feature = "std", serde(with = "sp_core::bytes"))] + #[serde(with = "sp_core::bytes")] pub extensions: Vec, pub properties: Properties, } diff --git a/primitives/traits/Cargo.toml b/primitives/traits/Cargo.toml index 621360dba6..e135805b8a 100644 --- a/primitives/traits/Cargo.toml +++ b/primitives/traits/Cargo.toml @@ -26,5 +26,6 @@ std = [ "sp-std/std", ] runtime-benchmarks = [ + "cumulus-primitives-core/runtime-benchmarks", "frame-support/runtime-benchmarks", ] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 104b879b99..845750cc5b 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -31,6 +31,9 @@ frame-system = { workspace = true } frame-try-runtime = { workspace = true, optional = true } pallet-balances = { workspace = true } +# Cumulus +cumulus-pallet-xcmp-queue = { workspace = true } + sp-core = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } @@ -43,6 +46,7 @@ default = [ "std", ] std = [ + "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-core/std", "frame-support/std", "frame-system/std", @@ -63,6 +67,8 @@ std = [ ] runtime-benchmarks = [ + "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", @@ -77,6 +83,7 @@ runtime-benchmarks = [ ] try-runtime = [ + "cumulus-pallet-xcmp-queue/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime/try-runtime", diff --git a/runtime/common/src/migrations.rs b/runtime/common/src/migrations.rs index 8fff7f868d..6e52584c0a 100644 --- a/runtime/common/src/migrations.rs +++ b/runtime/common/src/migrations.rs @@ -34,22 +34,18 @@ //! This module acts as a registry where each migration is defined. Each migration should implement //! the "Migration" trait declared in the pallet-migrations crate. +#[cfg(feature = "try-runtime")] +use frame_support::ensure; + use { - cumulus_primitives_core::ParaId, frame_support::{ - migration::storage_key_iter, - pallet_prelude::ValueQuery, - storage::types::{StorageMap, StorageValue}, - traits::OriginTrait, + pallet_prelude::GetStorageVersion, + traits::{OnRuntimeUpgrade, PalletInfoAccess, StorageVersion}, weights::Weight, - Blake2_128Concat, }, - pallet_balances::IdAmount, pallet_configuration::{weights::WeightInfo as _, HostConfiguration}, - pallet_invulnerables::WeightInfo, pallet_migrations::{GetMigrations, Migration}, sp_core::Get, - sp_runtime::BoundedVec, sp_std::{collections::btree_set::BTreeSet, marker::PhantomData, prelude::*}, }; @@ -69,82 +65,6 @@ struct HostConfigurationV1 { pub full_rotation_period: u32, } -pub struct CollatorSelectionStorageValuePrefix; -impl frame_support::traits::StorageInstance for CollatorSelectionStorageValuePrefix { - const STORAGE_PREFIX: &'static str = "Invulnerables"; - fn pallet_prefix() -> &'static str { - "CollatorSelection" - } -} -pub type CollatorSelectionInvulnerablesValue = StorageValue< - CollatorSelectionStorageValuePrefix, - BoundedVec< - ::AccountId, - ::MaxInvulnerables, - >, ->; - -pub struct MigrateInvulnerables(pub PhantomData); -impl Migration for MigrateInvulnerables -where - T: pallet_invulnerables::Config, -{ - fn friendly_name(&self) -> &str { - "TM_MigrateInvulnerables" - } - - fn migrate(&self, _available_weight: Weight) -> Weight { - let invulnerables = CollatorSelectionInvulnerablesValue::::take() - .expect("Failed to get invulnerables from CollatorSelection pallet storage."); - let invulnerables_len = invulnerables.len(); - pallet_invulnerables::Pallet::::set_invulnerables( - T::RuntimeOrigin::root(), - invulnerables.to_vec(), - ) - .expect("Failed to set invulnerables"); - ::WeightInfo::set_invulnerables(invulnerables_len as u32) - } - - /// Run a standard pre-runtime test. This works the same way as in a normal runtime upgrade. - #[cfg(feature = "try-runtime")] - fn pre_upgrade(&self) -> Result, sp_runtime::DispatchError> { - use parity_scale_codec::Encode; - - let number_of_invulnerables = CollatorSelectionInvulnerablesValue::::get() - .expect("Failed to get invulnerables from CollatorSelection pallet storage.") - .to_vec() - .len(); - Ok((number_of_invulnerables as u32).encode()) - } - - /// Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. - #[cfg(feature = "try-runtime")] - fn post_upgrade( - &self, - number_of_invulnerables: Vec, - ) -> Result<(), sp_runtime::DispatchError> { - use parity_scale_codec::Decode; - - let stored_invulnerables = pallet_invulnerables::Pallet::::invulnerables().to_vec(); - let mut sorted_invulnerables = stored_invulnerables.clone(); - sorted_invulnerables.sort(); - assert_eq!( - stored_invulnerables, sorted_invulnerables, - "after migration, the stored invulnerables should be sorted" - ); - - let number_of_invulnerables: u32 = Decode::decode(&mut number_of_invulnerables.as_slice()) - .expect("the state parameter should be something that was generated by pre_upgrade"); - let stored_invulnerables_len = stored_invulnerables.len() as u32; - assert_eq!( - number_of_invulnerables, stored_invulnerables_len, - "after migration, there should be the same number of invulnerables" - ); - - Ok(()) - } -} - pub struct MigrateConfigurationParathreads(pub PhantomData); impl Migration for MigrateConfigurationParathreads where @@ -247,42 +167,6 @@ where } } -pub struct MigrateServicesPaymentAddCredits(pub PhantomData); -impl Migration for MigrateServicesPaymentAddCredits -where - T: pallet_registrar::Config + pallet_services_payment::Config, -{ - fn friendly_name(&self) -> &str { - "TM_MigrateServicesPaymentAddCredits" - } - - fn migrate(&self, _available_weight: Weight) -> Weight { - // For each parachain in pallet_registrar (active, pending or pending_verification), - // insert `MaxCreditsStored` to pallet_services_payment, - // and mark that parachain as "given_free_credits". - let mut para_ids = BTreeSet::new(); - let active = pallet_registrar::RegisteredParaIds::::get(); - let pending = pallet_registrar::PendingParaIds::::get(); - let pending_verification = pallet_registrar::PendingVerification::::get(); - // This migration ignores Paused and PendingPaused because they do not exist yet in flashbox - - para_ids.extend(active); - para_ids.extend(pending.into_iter().flat_map(|(_session, active)| active)); - para_ids.extend(pending_verification); - - let reads = 3 + 2 * para_ids.len() as u64; - let writes = 2 * para_ids.len() as u64; - - for para_id in para_ids { - // 2 reads 2 writes - pallet_services_payment::Pallet::::give_free_credits(¶_id); - } - - let db_weights = T::DbWeight::get(); - db_weights.reads_writes(reads, writes) - } -} - pub struct MigrateServicesPaymentAddCollatorAssignmentCredits(pub PhantomData); impl Migration for MigrateServicesPaymentAddCollatorAssignmentCredits where @@ -361,260 +245,135 @@ where } } -pub struct RegistrarBootNodesStorageValuePrefix(PhantomData); -impl frame_support::traits::StorageInstance for RegistrarBootNodesStorageValuePrefix { - const STORAGE_PREFIX: &'static str = "BootNodes"; - fn pallet_prefix() -> &'static str { - "Registrar" - } -} -pub type RegistrarBootNodesStorageMap = StorageMap< - RegistrarBootNodesStorageValuePrefix, - Blake2_128Concat, - ParaId, - //BoundedVec, T::MaxBootNodes>, - Vec>, - ValueQuery, ->; - -pub struct MigrateBootNodes(pub PhantomData); -impl Migration for MigrateBootNodes +pub struct PolkadotXcmMigrationFixVersion(pub PhantomData<(T, PolkadotXcm)>); +impl Migration for PolkadotXcmMigrationFixVersion where - T: pallet_registrar::Config + pallet_data_preservers::Config, + PolkadotXcm: GetStorageVersion + PalletInfoAccess, + T: cumulus_pallet_xcmp_queue::Config, { fn friendly_name(&self) -> &str { - "TM_MigrateBootNodes" + "MM_PolkadotXcmMigrationFixVersion" } fn migrate(&self, _available_weight: Weight) -> Weight { - let mut len = 0; - for (para_id, bootnodes) in RegistrarBootNodesStorageMap::::drain() { - len += 1; - // Convert Vec> into BoundedVec> - // Cannot fail because the old storage was actually a BoundedVec with the same limit as the new one - let bootnodes: Vec<_> = bootnodes - .into_iter() - .map(|bootnode| bootnode.try_into().unwrap()) - .collect(); - let bootnodes: BoundedVec<_, _> = bootnodes.try_into().unwrap(); - pallet_data_preservers::BootNodes::::insert(para_id, bootnodes); + if ::on_chain_storage_version() == 0 { + StorageVersion::new(1).put::(); + return T::DbWeight::get().writes(1); } + Weight::default() + } - let db_weights = T::DbWeight::get(); - let reads = len; - let writes = len; - db_weights.reads_writes(reads, writes) + #[cfg(feature = "try-runtime")] + fn pre_upgrade(&self) -> Result, sp_runtime::DispatchError> { + ensure!( + ::on_chain_storage_version() == 0, + "PolkadotXcm storage version should be 0" + ); + Ok(vec![]) + } + + // Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. + #[cfg(feature = "try-runtime")] + fn post_upgrade(&self, _state: Vec) -> Result<(), sp_runtime::DispatchError> { + ensure!( + ::on_chain_storage_version() == 1, + "PolkadotXcm storage version should be 1" + ); + Ok(()) } } -pub struct MigrateHoldReason(pub PhantomData); -impl Migration for MigrateHoldReason +pub struct XcmpQueueMigrationFixVersion(pub PhantomData<(T, XcmpQueue)>); +impl Migration for XcmpQueueMigrationFixVersion where - T: pallet_balances::Config, - T: pallet_pooled_staking::Config, - ::RuntimeHoldReason: From, + XcmpQueue: GetStorageVersion + PalletInfoAccess, + T: cumulus_pallet_xcmp_queue::Config, { fn friendly_name(&self) -> &str { - "TM_MigrateHoldReason" + "MM_XcmpQueueMigrationFixVersion" } fn migrate(&self, _available_weight: Weight) -> Weight { - let pallet_prefix: &[u8] = b"Balances"; - let storage_item_prefix: &[u8] = b"Holds"; - - let stored_data: Vec<_> = storage_key_iter::< - T::AccountId, - BoundedVec::Balance>, T::MaxHolds>, - Blake2_128Concat, - >(pallet_prefix, storage_item_prefix) - .collect(); - - let migrated_count_read = stored_data.len() as u64; - let mut migrated_count_write = 0u64; - - // Write to the new storage - for (account_id, holds) in stored_data { - let mut new_holds = vec![]; - - for hold in holds { - let new_item: pallet_balances::IdAmount< - ::RuntimeHoldReason, - ::Balance, - > = pallet_balances::IdAmount { - id: pallet_pooled_staking::HoldReason::PooledStake.into(), - amount: hold.amount, - }; - new_holds.push(new_item); - } - let bounded = BoundedVec::<_, T::MaxHolds>::truncate_from(new_holds.clone()); - pallet_balances::Holds::::insert(&account_id, bounded); - migrated_count_write += 1; + if ::on_chain_storage_version() == 0 { + StorageVersion::new(2).put::(); + return T::DbWeight::get().writes(1); } - let db_weights = T::DbWeight::get(); - db_weights.reads_writes(migrated_count_read, migrated_count_write) + Weight::default() } - /// Run a standard pre-runtime test. This works the same way as in a normal runtime upgrade. #[cfg(feature = "try-runtime")] fn pre_upgrade(&self) -> Result, sp_runtime::DispatchError> { - let pallet_prefix: &[u8] = b"Balances"; - let storage_item_prefix: &[u8] = b"Holds"; - - let stored_data: Vec<_> = storage_key_iter::< - T::AccountId, - BoundedVec::Balance>, T::MaxHolds>, - Blake2_128Concat, - >(pallet_prefix, storage_item_prefix) - .collect(); - use parity_scale_codec::Encode; - - Ok(stored_data.encode()) + ensure!( + ::on_chain_storage_version() == 0, + "XcmpQueue storage version should be 0" + ); + Ok(vec![]) } - /// Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. + // Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. #[cfg(feature = "try-runtime")] - fn post_upgrade(&self, migrated_holds: Vec) -> Result<(), sp_runtime::DispatchError> { - use parity_scale_codec::Decode; - let should_be_migrated: Vec<( - T::AccountId, - BoundedVec::Balance>, T::MaxHolds>, - )> = Decode::decode(&mut migrated_holds.as_slice()).expect("should be decodable"); - - // Write to the new storage - for (account_id, holds) in should_be_migrated { - let migrated = pallet_balances::Holds::::get(&account_id); - - for (index, hold) in holds.iter().enumerate() { - assert_eq!( - migrated[index].amount, hold.amount, - "after migration, there should be the same number held amount" - ); - assert_eq!( - migrated[index].id, - pallet_pooled_staking::HoldReason::PooledStake.into(), - "Pooled stake should be migrated" - ); - } - } - + fn post_upgrade(&self, _state: Vec) -> Result<(), sp_runtime::DispatchError> { + // Greater than because the post_upgrade is run after all the migrations, so + // it can be greater if the following XcmpQueue migrations are applied in the + // same runtime + ensure!( + ::on_chain_storage_version() >= 2, + "XcmpQueue storage version should be at least 2" + ); Ok(()) } } -/// A reason for placing a hold on funds. -#[derive( - Clone, - parity_scale_codec::Encode, - parity_scale_codec::Decode, - PartialEq, - sp_core::RuntimeDebug, - scale_info::TypeInfo, -)] -pub enum OldHoldReason { - /// The Pooled Stake holds - PooledStake, -} - -pub struct MigrateHoldReasonRuntimeEnum(pub PhantomData); -impl Migration for MigrateHoldReasonRuntimeEnum +pub struct XcmpQueueMigrationV3(pub PhantomData); +impl Migration for XcmpQueueMigrationV3 where - T: pallet_balances::Config, - T: pallet_pooled_staking::Config, - ::RuntimeHoldReason: From, + T: cumulus_pallet_xcmp_queue::Config, { fn friendly_name(&self) -> &str { - "TM_MigrateHoldReasonRuntimeHold" + "MM_XcmpQueueMigrationV3" } fn migrate(&self, _available_weight: Weight) -> Weight { - let pallet_prefix: &[u8] = b"Balances"; - let storage_item_prefix: &[u8] = b"Holds"; - - let stored_data: Vec<_> = storage_key_iter::< - T::AccountId, - BoundedVec< - IdAmount::Balance>, - T::MaxHolds, - >, - Blake2_128Concat, - >(pallet_prefix, storage_item_prefix) - .collect(); - - let migrated_count_read = stored_data.len() as u64; - let mut migrated_count_write = 0u64; - - // Write to the new storage - for (account_id, holds) in stored_data { - let mut new_holds = vec![]; - - for hold in holds { - let new_item: pallet_balances::IdAmount< - ::RuntimeHoldReason, - ::Balance, - > = pallet_balances::IdAmount { - id: pallet_pooled_staking::HoldReason::PooledStake.into(), - amount: hold.amount, - }; - new_holds.push(new_item); - } - let bounded = BoundedVec::<_, T::MaxHolds>::truncate_from(new_holds.clone()); - pallet_balances::Holds::::insert(&account_id, bounded); - migrated_count_write += 1; - } - let db_weights = T::DbWeight::get(); - db_weights.reads_writes(migrated_count_read, migrated_count_write) + cumulus_pallet_xcmp_queue::migration::v3::MigrationToV3::::on_runtime_upgrade() } - /// Run a standard pre-runtime test. This works the same way as in a normal runtime upgrade. + // #[cfg(feature = "try-runtime")] + // let mut pre_upgrade_result: Vec; + #[cfg(feature = "try-runtime")] fn pre_upgrade(&self) -> Result, sp_runtime::DispatchError> { - let pallet_prefix: &[u8] = b"Balances"; - let storage_item_prefix: &[u8] = b"Holds"; - - let stored_data: Vec<_> = storage_key_iter::< - T::AccountId, - BoundedVec< - IdAmount::Balance>, - T::MaxHolds, - >, - Blake2_128Concat, - >(pallet_prefix, storage_item_prefix) - .collect(); - use parity_scale_codec::Encode; + cumulus_pallet_xcmp_queue::migration::v3::MigrationToV3::::pre_upgrade() + } - Ok(stored_data.encode()) + // Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. + #[cfg(feature = "try-runtime")] + fn post_upgrade(&self, state: Vec) -> Result<(), sp_runtime::DispatchError> { + cumulus_pallet_xcmp_queue::migration::v3::MigrationToV3::::post_upgrade(state) + } +} + +pub struct XcmpQueueMigrationV4(pub PhantomData); +impl Migration for XcmpQueueMigrationV4 +where + T: cumulus_pallet_xcmp_queue::Config, +{ + fn friendly_name(&self) -> &str { + "MM_XcmpQueueMigrationV4" + } + + fn migrate(&self, _available_weight: Weight) -> Weight { + cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4::::on_runtime_upgrade() } - /// Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. #[cfg(feature = "try-runtime")] - fn post_upgrade(&self, migrated_holds: Vec) -> Result<(), sp_runtime::DispatchError> { - use parity_scale_codec::Decode; - let should_be_migrated: Vec<( - T::AccountId, - BoundedVec< - IdAmount::Balance>, - T::MaxHolds, - >, - )> = Decode::decode(&mut migrated_holds.as_slice()).expect("should be decodable"); - - // Write to the new storage - for (account_id, holds) in should_be_migrated { - let migrated = pallet_balances::Holds::::get(&account_id); - - for (index, hold) in holds.iter().enumerate() { - assert_eq!( - migrated[index].amount, hold.amount, - "after migration, there should be the same number held amount" - ); - assert_eq!( - migrated[index].id, - pallet_pooled_staking::HoldReason::PooledStake.into(), - "Pooled stake should be migrated" - ); - } - } + fn pre_upgrade(&self) -> Result, sp_runtime::DispatchError> { + cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4::::pre_upgrade() + } - Ok(()) + // Run a standard post-runtime test. This works the same way as in a normal runtime upgrade. + #[cfg(feature = "try-runtime")] + fn post_upgrade(&self, state: Vec) -> Result<(), sp_runtime::DispatchError> { + cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4::::post_upgrade(state) } } @@ -654,32 +413,32 @@ pub struct DanceboxMigrations(PhantomData); impl GetMigrations for DanceboxMigrations where - Runtime: pallet_invulnerables::Config, Runtime: pallet_pooled_staking::Config, Runtime: pallet_registrar::Config, Runtime: pallet_balances::Config, Runtime: pallet_configuration::Config, Runtime: pallet_services_payment::Config, + Runtime: cumulus_pallet_xcmp_queue::Config, ::RuntimeHoldReason: From, { fn get_migrations() -> Vec> { - //let migrate_invulnerables = MigrateInvulnerables::(Default::default()); - //let migrate_holds = MigrateHoldReason::(Default::default()); - //let migrate_config = MigrateConfigurationFullRotationPeriod::(Default::default()); - //let migrate_xcm = PolkadotXcmMigration::(Default::default()); + // let migrate_invulnerables = MigrateInvulnerables::(Default::default()); + // let migrate_holds = MigrateHoldReason::(Default::default()); + // let migrate_config = MigrateConfigurationFullRotationPeriod::(Default::default()); + // let migrate_xcm = PolkadotXcmMigration::(Default::default()); // let migrate_xcmp_queue = XcmpQueueMigration::(Default::default()); - //let migrate_services_payment = - // MigrateServicesPaymentAddCredits::(Default::default()); - //let migrate_boot_nodes = MigrateBootNodes::(Default::default()); + // let migrate_services_payment = + // MigrateServicesPaymentAddCredits::(Default::default()); + // let migrate_boot_nodes = MigrateBootNodes::(Default::default()); + // let migrate_hold_reason_runtime_enum = + // MigrateHoldReasonRuntimeEnum::(Default::default()); + let migrate_config_parathread_params = MigrateConfigurationParathreads::(Default::default()); - - //let migrate_hold_reason_runtime_enum = - // MigrateHoldReasonRuntimeEnum::(Default::default()); - let migrate_add_collator_assignment_credits = MigrateServicesPaymentAddCollatorAssignmentCredits::(Default::default()); + let migrate_xcmp_queue_v4 = XcmpQueueMigrationV4::(Default::default()); vec![ // Applied in runtime 200 //Box::new(migrate_invulnerables), @@ -699,6 +458,7 @@ where //Box::new(migrate_boot_nodes), Box::new(migrate_config_parathread_params), Box::new(migrate_add_collator_assignment_credits), + Box::new(migrate_xcmp_queue_v4), ] } } diff --git a/runtime/dancebox/Cargo.toml b/runtime/dancebox/Cargo.toml index 2ccc6ea0a6..871eab33c9 100644 --- a/runtime/dancebox/Cargo.toml +++ b/runtime/dancebox/Cargo.toml @@ -15,6 +15,7 @@ log = { workspace = true } parity-scale-codec = { workspace = true, features = [ "derive" ] } scale-info = { workspace = true, features = [ "derive" ] } serde = { workspace = true, optional = true, features = [ "derive" ] } +serde_json = { workspace = true, features = [ "arbitrary_precision" ] } smallvec = { workspace = true } # Own @@ -56,6 +57,7 @@ pallet-asset-rate = { workspace = true } pallet-assets = { workspace = true } pallet-balances = { workspace = true } pallet-identity = { workspace = true } +pallet-message-queue = { workspace = true } pallet-root-testing = { workspace = true } pallet-session = { workspace = true } pallet-sudo = { workspace = true } @@ -72,6 +74,7 @@ sp-consensus-aura = { workspace = true } sp-consensus-slots = { workspace = true } sp-core = { workspace = true } sp-debug-derive = { workspace = true } +sp-genesis-builder = { workspace = true } sp-inherents = { workspace = true } sp-offchain = { workspace = true } sp-runtime = { workspace = true } @@ -113,16 +116,19 @@ frame-system-benchmarking = { workspace = true, optional = true } frame-try-runtime = { workspace = true, optional = true } [dev-dependencies] +# Needed to force include the runtime-benchmark feature as emulated-integration-tests-common +# hasn't implemented that feature +assets-common = { workspace = true } container-chain-template-frontier-runtime = { workspace = true, features = [ "std" ] } container-chain-template-simple-runtime = { workspace = true, features = [ "std" ] } cumulus-primitives-parachain-inherent = { workspace = true } cumulus-test-relay-sproof-builder = { workspace = true } -pallet-im-online = { workspace = true, features = [ "std" ] } -pallet-message-queue = { workspace = true } +emulated-integration-tests-common = { workspace = true } pallet-staking = { workspace = true, features = [ "std" ] } polkadot-runtime-parachains = { workspace = true, features = [ "std" ] } polkadot-service = { workspace = true } sc-consensus-grandpa = { workspace = true } +sc-service = { workspace = true } sp-consensus-babe = { workspace = true, features = [ "std" ] } sp-consensus-beefy = { workspace = true, features = [ "std" ] } sp-io = { workspace = true } @@ -176,7 +182,6 @@ std = [ "pallet-data-preservers/std", "pallet-foreign-asset-creator/std", "pallet-identity/std", - "pallet-im-online/std", "pallet-inflation-rewards/std", "pallet-initializer/std", "pallet-invulnerables/std", @@ -212,6 +217,7 @@ std = [ "scale-info/std", "serde", "serde?/std", + "serde_json/std", "sp-api/std", "sp-application-crypto/std", "sp-application-crypto/std", @@ -222,6 +228,7 @@ std = [ "sp-consensus-slots/std", "sp-core/std", "sp-debug-derive/std", + "sp-genesis-builder/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", @@ -247,11 +254,14 @@ std = [ force-debug = [ "sp-debug-derive/force-debug" ] runtime-benchmarks = [ + "assets-common/runtime-benchmarks", "container-chain-template-frontier-runtime/runtime-benchmarks", "container-chain-template-simple-runtime/runtime-benchmarks", + "cumulus-pallet-dmp-queue/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking", "frame-benchmarking/runtime-benchmarks", @@ -269,7 +279,6 @@ runtime-benchmarks = [ "pallet-data-preservers/runtime-benchmarks", "pallet-foreign-asset-creator/runtime-benchmarks", "pallet-identity/runtime-benchmarks", - "pallet-im-online/runtime-benchmarks", "pallet-inflation-rewards/runtime-benchmarks", "pallet-invulnerables/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", @@ -294,6 +303,7 @@ runtime-benchmarks = [ "polkadot-runtime-parachains/runtime-benchmarks", "polkadot-service/runtime-benchmarks", "runtime-common/runtime-benchmarks", + "sc-service/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "staging-xcm-builder/runtime-benchmarks", "staging-xcm-executor/runtime-benchmarks", @@ -319,6 +329,7 @@ try-runtime = [ "pallet-asset-rate/try-runtime", "pallet-assets/try-runtime", "pallet-assets/try-runtime", + "pallet-async-backing/try-runtime", "pallet-author-inherent/try-runtime", "pallet-author-noting/try-runtime", "pallet-authority-assignment/try-runtime", @@ -330,7 +341,6 @@ try-runtime = [ "pallet-foreign-asset-creator/try-runtime", "pallet-foreign-asset-creator/try-runtime", "pallet-identity/try-runtime", - "pallet-im-online/try-runtime", "pallet-inflation-rewards/try-runtime", "pallet-initializer/try-runtime", "pallet-invulnerables/try-runtime", @@ -345,6 +355,7 @@ try-runtime = [ "pallet-services-payment/try-runtime", "pallet-session/try-runtime", "pallet-staking/try-runtime", + "pallet-stream-payment/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", diff --git a/runtime/dancebox/src/lib.rs b/runtime/dancebox/src/lib.rs index 8bc2112d5f..624b250f07 100644 --- a/runtime/dancebox/src/lib.rs +++ b/runtime/dancebox/src/lib.rs @@ -32,26 +32,23 @@ pub use sp_runtime::BuildStorage; pub mod weights; -#[cfg(feature = "try-runtime")] -use sp_runtime::TryRuntimeError; - use { cumulus_pallet_parachain_system::{RelayChainStateProof, RelayNumberStrictlyIncreases}, cumulus_primitives_core::{ - relay_chain::{self, BlockNumber as RelayBlockNumber, SessionIndex}, - BodyId, DmpMessageHandler, ParaId, + relay_chain::{self, SessionIndex}, + AggregateMessageOrigin, BodyId, ParaId, }, frame_support::{ construct_runtime, dispatch::DispatchClass, + genesis_builder_helper::{build_config, create_default_config}, pallet_prelude::DispatchResult, parameter_types, traits::{ fungible::{Balanced, Credit, Inspect, InspectHold, Mutate, MutateHold}, tokens::{PayFromAccount, Precision, Preservation, UnityAssetBalanceConversion}, ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, Contains, EitherOfDiverse, - Imbalance, InsideBoth, InstanceFilter, OffchainWorker, OnFinalize, OnIdle, - OnInitialize, OnRuntimeUpgrade, OnUnbalanced, ValidatorRegistration, + Imbalance, InsideBoth, InstanceFilter, OnUnbalanced, ValidatorRegistration, }, weights::{ constants::{ @@ -89,7 +86,7 @@ use { create_runtime_str, generic, impl_opaque_keys, traits::{ AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Hash as HashT, - IdentityLookup, + IdentityLookup, Verify, }, transaction_validity::{TransactionSource, TransactionValidity}, AccountId32, ApplyExtrinsicResult, @@ -135,7 +132,7 @@ pub type Executive = frame_executive::Executive< Block, frame_system::ChainContext, Runtime, - pallet_maintenance_mode::ExecutiveHooks, + AllPalletsWithSystem, >; /// DANCE, the native token, uses 12 decimals of precision. @@ -353,6 +350,7 @@ impl frame_system::Config for Runtime { /// The action to take on a Runtime Upgrade type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = RuntimeTask; } impl pallet_timestamp::Config for Runtime { @@ -477,6 +475,7 @@ impl pallet_transaction_payment::Config for Runtime { parameter_types! { pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } pub const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000; @@ -490,11 +489,12 @@ type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensu >; impl cumulus_pallet_parachain_system::Config for Runtime { + type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = parachain_info::Pallet; type OutboundXcmpMessageSource = XcmpQueue; - type DmpMessageHandler = MaintenanceMode; + type DmpQueue = frame_support::traits::EnqueueWithOrigin; type ReservedDmpWeight = ReservedDmpWeight; type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; @@ -1199,85 +1199,12 @@ impl Contains for NormalFilter { } } -pub struct NormalDmpHandler; -impl DmpMessageHandler for NormalDmpHandler { - // This implementation makes messages be queued - // Since the limit is 0, messages are queued for next iteration - fn handle_dmp_messages( - iter: impl Iterator)>, - limit: Weight, - ) -> Weight { - (if Migrations::should_pause_xcm() { - DmpQueue::handle_dmp_messages(iter, Weight::zero()) - } else { - DmpQueue::handle_dmp_messages(iter, limit) - }) + ::DbWeight::get().reads(1) - } -} - -pub struct MaintenanceDmpHandler; -impl DmpMessageHandler for MaintenanceDmpHandler { - // This implementation makes messages be queued - // Since the limit is 0, messages are queued for next iteration - fn handle_dmp_messages( - iter: impl Iterator)>, - _limit: Weight, - ) -> Weight { - DmpQueue::handle_dmp_messages(iter, Weight::zero()) - } -} - -/// The hooks we want to run in Maintenance Mode -pub struct MaintenanceHooks; - -impl OnInitialize for MaintenanceHooks { - fn on_initialize(n: BlockNumber) -> Weight { - AllPalletsWithSystem::on_initialize(n) - } -} - -// We override onIdle for xcmQueue and dmpQueue pallets to not process messages inside it -impl OnIdle for MaintenanceHooks { - fn on_idle(_n: BlockNumber, _max_weight: Weight) -> Weight { - Weight::zero() - } -} - -impl OnRuntimeUpgrade for MaintenanceHooks { - fn on_runtime_upgrade() -> Weight { - AllPalletsWithSystem::on_runtime_upgrade() - } - - #[cfg(feature = "try-runtime")] - fn try_on_runtime_upgrade(checks: bool) -> Result { - AllPalletsWithSystem::try_on_runtime_upgrade(checks) - } -} - -impl OnFinalize for MaintenanceHooks { - fn on_finalize(n: BlockNumber) { - AllPalletsWithSystem::on_finalize(n) - } -} - -impl OffchainWorker for MaintenanceHooks { - fn offchain_worker(n: BlockNumber) { - AllPalletsWithSystem::offchain_worker(n) - } -} - impl pallet_maintenance_mode::Config for Runtime { type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = MaintenanceFilter; type MaintenanceOrigin = EnsureRoot; type XcmExecutionManager = XcmExecutionManager; - type NormalDmpHandler = NormalDmpHandler; - type MaintenanceDmpHandler = MaintenanceDmpHandler; - // We use AllPalletsWithSystem because we dont want to change the hooks in normal - // operation - type NormalExecutiveHooks = AllPalletsWithSystem; - type MaintenanceExecutiveHooks = MaintenanceHooks; } parameter_types! { @@ -1290,7 +1217,9 @@ impl pallet_relay_storage_roots::Config for Runtime { type WeightInfo = (); } -impl pallet_root_testing::Config for Runtime {} +impl pallet_root_testing::Config for Runtime { + type RuntimeEvent = RuntimeEvent; +} parameter_types! { pub StakingAccount: AccountId32 = PalletId(*b"POOLSTAK").into_account_truncating(); @@ -1574,8 +1503,8 @@ parameter_types! { pub const BasicDeposit: Balance = currency::deposit(1, 258); // 1 entry, storing 53 bytes on-chain pub const SubAccountDeposit: Balance = currency::deposit(1, 53); - // Additional fields add 0 entries, storing 66 bytes on-chain - pub const FieldDeposit: Balance = currency::deposit(0, 66); + // Additional bytes adds 0 entries, storing 1 byte on-chain + pub const ByteDeposit: Balance = currency::deposit(0, 1); pub const MaxSubAccounts: u32 = 100; pub const MaxAdditionalFields: u32 = 100; pub const MaxRegistrars: u32 = 20; @@ -1585,16 +1514,21 @@ impl pallet_identity::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type BasicDeposit = BasicDeposit; - type FieldDeposit = FieldDeposit; + type ByteDeposit = ByteDeposit; type SubAccountDeposit = SubAccountDeposit; type MaxSubAccounts = MaxSubAccounts; - type MaxAdditionalFields = MaxAdditionalFields; type MaxRegistrars = MaxRegistrars; - type IdentityInformation = pallet_identity::simple::IdentityInfo; + type IdentityInformation = pallet_identity::legacy::IdentityInfo; // Slashed balances are burnt type Slashed = (); type ForceOrigin = EnsureRoot; type RegistrarOrigin = EnsureRoot; + type OffchainSignature = Signature; + type SigningPublicKey = ::Signer; + type UsernameAuthorityOrigin = EnsureRoot; + type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>; + type MaxSuffixLength = ConstU32<7>; + type MaxUsernameLength = ConstU32<32>; type WeightInfo = pallet_identity::weights::SubstrateWeight; } @@ -1688,6 +1622,7 @@ construct_runtime!( ForeignAssets: pallet_assets::::{Pallet, Call, Storage, Event} = 54, ForeignAssetsCreator: pallet_foreign_asset_creator::{Pallet, Call, Storage, Event} = 55, AssetRate: pallet_asset_rate::{Pallet, Call, Storage, Event} = 56, + MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event} = 57, // More system support stuff RelayStorageRoots: pallet_relay_storage_roots = 60, @@ -1720,7 +1655,7 @@ mod benches { [pallet_author_inherent, AuthorInherent] [pallet_pooled_staking, PooledStaking] [cumulus_pallet_xcmp_queue, XcmpQueue] - [pallet_xcm, PolkadotXcm] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] [pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::] [pallet_stream_payment, StreamPayment] [pallet_relay_storage_roots, RelayStorageRoots] @@ -1841,6 +1776,16 @@ impl_runtime_apis! { } } + impl sp_genesis_builder::GenesisBuilder for Runtime { + fn create_default_config() -> Vec { + create_default_config::() + } + + fn build_config(config: Vec) -> sp_genesis_builder::Result { + build_config::(config) + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata( @@ -1851,6 +1796,7 @@ impl_runtime_apis! { ) { use frame_benchmarking::{Benchmarking, BenchmarkList}; use frame_support::traits::StorageInfoTrait; + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; let mut list = Vec::::new(); list_benchmarks!(list, extra); @@ -1940,6 +1886,88 @@ impl_runtime_apis! { } } + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; + impl pallet_xcm::benchmarking::Config for Runtime { + fn reachable_dest() -> Option { + Some(Parent.into()) + } + + fn teleportable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + // Relay/native token can be teleported between AH and Relay. + Some(( + MultiAsset { + fun: Fungible(EXISTENTIAL_DEPOSIT), + id: Concrete(Parent.into()) + }, + Parent.into(), + )) + } + + fn reserve_transferable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + // AH can reserve transfer native token to some random parachain. + let random_para_id = 43211234; + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + random_para_id.into() + ); + Some(( + MultiAsset { + fun: Fungible(EXISTENTIAL_DEPOSIT), + id: Concrete(Parent.into()) + }, + ParentThen(Parachain(random_para_id).into()).into(), + )) + } + + fn set_up_complex_asset_transfer( + ) -> Option<(MultiAssets, u32, MultiLocation, Box)> { + // Transfer to Relay some local AH asset (local-reserve-transfer) while paying + // fees using teleported native token. + // (We don't care that Relay doesn't accept incoming unknown AH local asset) + let dest = Parent.into(); + + let fee_amount = EXISTENTIAL_DEPOSIT; + let fee_asset: MultiAsset = (MultiLocation::parent(), fee_amount).into(); + + let who = frame_benchmarking::whitelisted_caller(); + // Give some multiple of the existential deposit + let balance = fee_amount + EXISTENTIAL_DEPOSIT * 1000; + let _ = >::make_free_balance_be( + &who, balance, + ); + // verify initial balance + assert_eq!(Balances::free_balance(&who), balance); + + // set up local asset + let asset_amount = 10u128; + let initial_asset_amount = asset_amount * 10; + let (asset_id, _, _) = pallet_assets::benchmarking::create_default_minted_asset::< + Runtime, + pallet_assets::Instance1 + >(true, initial_asset_amount); + let asset_location = MultiLocation::new( + 0, + X2(PalletInstance(50), GeneralIndex(u32::from(asset_id).into())) + ); + let transfer_asset: MultiAsset = (asset_location, asset_amount).into(); + + let assets: MultiAssets = vec![fee_asset.clone(), transfer_asset].into(); + let fee_index = if assets.get(0).unwrap().eq(&fee_asset) { 0 } else { 1 }; + + // verify transferred successfully + let verify = Box::new(move || { + // verify native balance after transfer, decreased by transferred fee amount + // (plus transport fees) + assert!(Balances::free_balance(&who) <= balance - fee_amount); + // verify asset balance decreased by exactly transferred amount + assert_eq!( + ForeignAssets::balance(asset_id, &who), + initial_asset_amount - asset_amount, + ); + }); + Some((assets, fee_index as u32, dest, verify)) + } + } + let whitelist: Vec = vec![ // Block Number hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac") diff --git a/runtime/dancebox/src/xcm_config.rs b/runtime/dancebox/src/xcm_config.rs index 4108afbe8a..ef9abd3e4e 100644 --- a/runtime/dancebox/src/xcm_config.rs +++ b/runtime/dancebox/src/xcm_config.rs @@ -17,23 +17,26 @@ use { super::{ weights::xcm::XcmWeight as XcmGenericWeights, AccountId, AllPalletsWithSystem, Balance, - Balances, ForeignAssetsCreator, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, - RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmpQueue, + Balances, ForeignAssetsCreator, MaintenanceMode, MessageQueue, ParachainInfo, + ParachainSystem, PolkadotXcm, Runtime, RuntimeBlockWeights, RuntimeCall, RuntimeEvent, + RuntimeOrigin, WeightToFee, XcmpQueue, }, - cumulus_primitives_core::ParaId, + cumulus_primitives_core::{AggregateMessageOrigin, ParaId}, frame_support::{ parameter_types, - traits::{Everything, Nothing, PalletInfoAccess}, + traits::{Everything, Nothing, PalletInfoAccess, TransformOrigin}, weights::Weight, }, frame_system::EnsureRoot, pallet_xcm::XcmPassthrough, + parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}, polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery, sp_core::ConstU32, + sp_runtime::Perbill, staging_xcm::latest::prelude::*, staging_xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, ConvertedConcreteId, CurrencyAdapter, EnsureXcmOrigin, + AllowTopLevelPaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FungibleAdapter, IsConcrete, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, @@ -117,7 +120,7 @@ pub type LocationToAccountId = ( pub type LocalOriginToLocation = SignedToAccountId32; /// Means for transacting the native currency on this chain. -pub type CurrencyTransactor = CurrencyAdapter< +pub type CurrencyTransactor = FungibleAdapter< // Use this currency: Balances, // Use this currency when it is a fungible asset matching the given location or name: @@ -229,21 +232,20 @@ impl pallet_xcm::Config for Runtime { type RemoteLockConsumerIdentifier = (); // TODO pallet-xcm weights type WeightInfo = pallet_xcm::TestWeightInfo; - #[cfg(feature = "runtime-benchmarks")] - type ReachableDest = ReachableDest; type AdminOrigin = EnsureRoot; } impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; type PriceForSiblingDelivery = NoPriceForMessageDelivery; + // Enqueue XCMP messages from siblings for later processing. + type XcmpQueue = TransformOrigin; + type MaxInboundSuspended = sp_core::ConstU32<1_000>; } impl cumulus_pallet_xcm::Config for Runtime { @@ -251,10 +253,14 @@ impl cumulus_pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; } +parameter_types! { + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; +} + impl cumulus_pallet_dmp_queue::Config for Runtime { + type WeightInfo = cumulus_pallet_dmp_queue::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = EnsureRoot; + type DmpSink = frame_support::traits::EnqueueWithOrigin; } parameter_types! { @@ -438,3 +444,31 @@ impl Parse for MultiLocation { } } } + +parameter_types! { + pub MessageQueueServiceWeight: Weight = Perbill::from_percent(25) * RuntimeBlockWeights::get().max_block; +} + +impl pallet_message_queue::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = pallet_message_queue::weights::SubstrateWeight; + #[cfg(feature = "runtime-benchmarks")] + type MessageProcessor = pallet_message_queue::mock_helpers::NoopMessageProcessor< + cumulus_primitives_core::AggregateMessageOrigin, + >; + #[cfg(not(feature = "runtime-benchmarks"))] + type MessageProcessor = staging_xcm_builder::ProcessXcmMessage< + AggregateMessageOrigin, + XcmExecutor, + RuntimeCall, + >; + type Size = u32; + // The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin: + type QueueChangeHandler = NarrowOriginToSibling; + // NarrowOriginToSibling calls XcmpQueue's is_pause if Origin is sibling. Allows all other origins + type QueuePausedQuery = (MaintenanceMode, NarrowOriginToSibling); + // TODO verify values + type HeapSize = sp_core::ConstU32<{ 64 * 1024 }>; + type MaxStale = sp_core::ConstU32<8>; + type ServiceWeight = MessageQueueServiceWeight; +} diff --git a/runtime/dancebox/tests/common/mod.rs b/runtime/dancebox/tests/common/mod.rs index 886132cd1d..c231256ac3 100644 --- a/runtime/dancebox/tests/common/mod.rs +++ b/runtime/dancebox/tests/common/mod.rs @@ -46,7 +46,7 @@ pub use dancebox_runtime::{ AccountId, AssetRate, AuthorNoting, AuthorityAssignment, AuthorityMapping, Balance, Balances, CollatorAssignment, Configuration, DataPreservers, ForeignAssets, ForeignAssetsCreator, InflationRewards, Initializer, Invulnerables, MinimumSelfDelegation, ParachainInfo, - PooledStaking, Proxy, ProxyType, Registrar, RewardsPortion, Runtime, RuntimeCall, RuntimeEvent, + PooledStaking, Proxy, ProxyType, Registrar, RewardsPortion, Runtime, RuntimeCall, ServicesPayment, Session, System, }; diff --git a/runtime/dancebox/tests/common/xcm/constants.rs b/runtime/dancebox/tests/common/xcm/constants.rs index 6ac66dbed3..5acd6c0d35 100644 --- a/runtime/dancebox/tests/common/xcm/constants.rs +++ b/runtime/dancebox/tests/common/xcm/constants.rs @@ -17,7 +17,7 @@ use { cumulus_primitives_core::relay_chain::{ AccountId, AssignmentId, AuthorityDiscoveryId, ValidatorId, }, - pallet_im_online::sr25519::AuthorityId as ImOnlineId, + emulated_integration_tests_common::build_genesis_storage, polkadot_service::chain_spec::get_authority_keys_from_seed_no_beefy, sc_consensus_grandpa::AuthorityId as GrandpaId, sp_consensus_babe::AuthorityId as BabeId, @@ -25,7 +25,7 @@ use { sp_core::{sr25519, storage::Storage, Pair, Public}, sp_runtime::{ traits::{IdentifyAccount, Verify}, - BuildStorage, MultiSignature, + MultiSignature, }, }; @@ -88,7 +88,6 @@ pub mod validators { AccountId, BabeId, GrandpaId, - ImOnlineId, ValidatorId, AssignmentId, AuthorityDiscoveryId, @@ -121,7 +120,6 @@ pub mod westend { fn session_keys( babe: BabeId, grandpa: GrandpaId, - im_online: ImOnlineId, para_validator: ValidatorId, para_assignment: AssignmentId, authority_discovery: AuthorityDiscoveryId, @@ -130,7 +128,6 @@ pub mod westend { westend_runtime::SessionKeys { babe, grandpa, - im_online, para_validator, para_assignment, authority_discovery, @@ -140,10 +137,6 @@ pub mod westend { pub fn genesis() -> Storage { let genesis_config = westend_runtime::RuntimeGenesisConfig { - system: westend_runtime::SystemConfig { - code: westend_runtime::WASM_BINARY.unwrap().to_vec(), - ..Default::default() - }, balances: westend_runtime::BalancesConfig { balances: accounts::init_balances() .iter() @@ -164,7 +157,6 @@ pub mod westend { x.4.clone(), x.5.clone(), x.6.clone(), - x.7.clone(), get_from_seed::("Alice"), ), ) @@ -203,27 +195,22 @@ pub mod westend { }, ..Default::default() }; - - genesis_config.build_storage().unwrap() + build_genesis_storage(&genesis_config, westend_runtime::WASM_BINARY.unwrap()) } } // Frontier template pub mod frontier_template { use { - container_chain_template_frontier_runtime::AccountId, hex_literal::hex, - sp_runtime::BuildStorage, + container_chain_template_frontier_runtime::AccountId, + emulated_integration_tests_common::build_genesis_storage, hex_literal::hex, }; pub const PARA_ID: u32 = 2001; pub const ORCHESTRATOR: u32 = 2000; + pub fn genesis() -> sp_core::storage::Storage { let genesis_config = container_chain_template_frontier_runtime::RuntimeGenesisConfig { - system: container_chain_template_frontier_runtime::SystemConfig { - code: container_chain_template_frontier_runtime::WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), - ..Default::default() - }, + system: Default::default(), balances: container_chain_template_frontier_runtime::BalancesConfig { balances: pre_funded_accounts() .iter() @@ -253,7 +240,10 @@ pub mod frontier_template { ..Default::default() }; - genesis_config.build_storage().unwrap() + build_genesis_storage( + &genesis_config, + container_chain_template_frontier_runtime::WASM_BINARY.unwrap(), + ) } /// Get pre-funded accounts pub fn pre_funded_accounts() -> Vec { @@ -270,21 +260,13 @@ pub mod frontier_template { // Simple template pub mod simple_template { - use { - super::*, container_chain_template_simple_runtime::UNIT as DEV, sp_runtime::BuildStorage, - }; + use {super::*, container_chain_template_simple_runtime::UNIT as DEV}; pub const PARA_ID: u32 = 2002; pub const ORCHESTRATOR: u32 = 2000; const ENDOWMENT: u128 = 1_000_000 * DEV; pub fn genesis() -> sp_core::storage::Storage { let genesis_config = container_chain_template_simple_runtime::RuntimeGenesisConfig { - system: container_chain_template_simple_runtime::SystemConfig { - code: container_chain_template_simple_runtime::WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), - ..Default::default() - }, balances: container_chain_template_simple_runtime::BalancesConfig { balances: accounts::init_balances() .iter() @@ -305,7 +287,9 @@ pub mod simple_template { }, ..Default::default() }; - - genesis_config.build_storage().unwrap() + build_genesis_storage( + &genesis_config, + container_chain_template_simple_runtime::WASM_BINARY.unwrap(), + ) } } diff --git a/runtime/dancebox/tests/common/xcm/foreign_signed_based_sovereign.rs b/runtime/dancebox/tests/common/xcm/foreign_signed_based_sovereign.rs index fe405ba1fe..2159b24f05 100644 --- a/runtime/dancebox/tests/common/xcm/foreign_signed_based_sovereign.rs +++ b/runtime/dancebox/tests/common/xcm/foreign_signed_based_sovereign.rs @@ -17,9 +17,9 @@ use { crate::common::xcm::{ mocknets::{ - Dancebox, DanceboxEmptyReceiver, DanceboxPallet, DanceboxSender, EthereumEmptyReceiver, - EthereumSender, FrontierTemplate, FrontierTemplatePallet, Westend, WestendPallet, - WestendSender, + DanceboxEmptyReceiver, DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxSender, + EthereumEmptyReceiver, EthereumSender, FrontierTemplatePara as FrontierTemplate, + FrontierTemplateParaPallet, WestendRelay as Westend, WestendRelayPallet, WestendSender, }, *, }, @@ -88,7 +88,7 @@ fn using_signed_based_sovereign_works_in_tanssi() { let origin = ::RuntimeOrigin::signed(DanceboxSender::get()); assert_ok!( - ::Balances::transfer_allow_death( + ::Balances::transfer_allow_death( origin, sp_runtime::MultiAddress::Id(alice_westend_account_dancebox), 100 * DANCE @@ -98,7 +98,7 @@ fn using_signed_based_sovereign_works_in_tanssi() { // Send XCM message from Westend Westend::execute_with(|| { - assert_ok!(::XcmPallet::send( + assert_ok!(::XcmPallet::send( root_origin, bx!(dancebox_dest), bx!(xcm), @@ -107,21 +107,10 @@ fn using_signed_based_sovereign_works_in_tanssi() { // Send XCM message from Dancebox Dancebox::execute_with(|| { - type RuntimeEvent = ::RuntimeEvent; - assert_expected_events!( - Dancebox, - vec![ - RuntimeEvent::DmpQueue( - cumulus_pallet_dmp_queue::Event::ExecutedDownward { - outcome, .. - }) => { - outcome: outcome.clone().ensure_complete().is_ok(), - }, - ] - ); + Dancebox::assert_dmp_queue_complete(None); // Assert empty receiver received funds assert!( - ::System::account(DanceboxEmptyReceiver::get()) + ::System::account(DanceboxEmptyReceiver::get()) .data .free > 0 @@ -189,7 +178,7 @@ fn using_signed_based_sovereign_works_from_tanssi_to_frontier_template() { let origin = ::RuntimeOrigin::signed(EthereumSender::get()); assert_ok!( - ::Balances::transfer_allow_death( + ::Balances::transfer_allow_death( origin, alice_dancebox_account_frontier, 100 * FRONTIER_DEV @@ -197,7 +186,7 @@ fn using_signed_based_sovereign_works_from_tanssi_to_frontier_template() { ); // Assert empty receiver has 0 funds assert_eq!( - ::System::account( + ::System::account( EthereumEmptyReceiver::get() ) .data @@ -208,7 +197,7 @@ fn using_signed_based_sovereign_works_from_tanssi_to_frontier_template() { // Send XCM message from Dancebox Dancebox::execute_with(|| { - assert_ok!(::PolkadotXcm::send( + assert_ok!(::PolkadotXcm::send( alice_origin, bx!(frontier_destination), bx!(xcm), @@ -226,19 +215,10 @@ fn using_signed_based_sovereign_works_from_tanssi_to_frontier_template() { }); FrontierTemplate::execute_with(|| { - type RuntimeEvent = ::RuntimeEvent; - assert_expected_events!( - FrontierTemplate, - vec![ - RuntimeEvent::XcmpQueue( - cumulus_pallet_xcmp_queue::Event::Success { - .. - }) => {}, - ] - ); + FrontierTemplate::assert_xcmp_queue_success(None); // Assert empty receiver received funds assert!( - ::System::account( + ::System::account( EthereumEmptyReceiver::get() ) .data diff --git a/runtime/dancebox/tests/common/xcm/foreign_sovereigns.rs b/runtime/dancebox/tests/common/xcm/foreign_sovereigns.rs index f41ebe9f9f..b1c6a7378e 100644 --- a/runtime/dancebox/tests/common/xcm/foreign_sovereigns.rs +++ b/runtime/dancebox/tests/common/xcm/foreign_sovereigns.rs @@ -17,8 +17,9 @@ use { crate::common::xcm::{ mocknets::{ - Dancebox, DanceboxPallet, EthereumEmptyReceiver, EthereumSender, FrontierTemplate, - FrontierTemplatePallet, Westend, WestendEmptyReceiver, WestendPallet, WestendSender, + DanceboxPara as Dancebox, DanceboxParaPallet, EthereumEmptyReceiver, EthereumSender, + FrontierTemplatePara as FrontierTemplate, FrontierTemplateParaPallet, + WestendEmptyReceiver, WestendRelay as Westend, WestendRelayPallet, WestendSender, }, *, }, @@ -76,11 +77,13 @@ fn using_sovereign_works_from_tanssi() { .unwrap(); let origin = ::RuntimeOrigin::signed(WestendSender::get()); - assert_ok!(::Balances::transfer_allow_death( - origin, - sp_runtime::MultiAddress::Id(sovereign_account), - 100 * WND - )); + assert_ok!( + ::Balances::transfer_allow_death( + origin, + sp_runtime::MultiAddress::Id(sovereign_account), + 100 * WND + ) + ); // Assert empty receiver has 0 funds assert_eq!( ::System::account(WestendEmptyReceiver::get()) @@ -92,7 +95,7 @@ fn using_sovereign_works_from_tanssi() { // Send XCM message from Dancebox Dancebox::execute_with(|| { - assert_ok!(::PolkadotXcm::send( + assert_ok!(::PolkadotXcm::send( sudo_origin, bx!(relay_destination), bx!(xcm), @@ -183,7 +186,7 @@ fn using_sovereign_works_from_tanssi_frontier_template() { let origin = ::RuntimeOrigin::signed(EthereumSender::get()); assert_ok!( - ::Balances::transfer_allow_death( + ::Balances::transfer_allow_death( origin, sovereign_account, 100 * FRONTIER_DEV @@ -191,7 +194,7 @@ fn using_sovereign_works_from_tanssi_frontier_template() { ); // Assert empty receiver has 0 funds assert_eq!( - ::System::account( + ::System::account( EthereumEmptyReceiver::get() ) .data @@ -202,7 +205,7 @@ fn using_sovereign_works_from_tanssi_frontier_template() { // Send XCM message from Dancebox Dancebox::execute_with(|| { - assert_ok!(::PolkadotXcm::send( + assert_ok!(::PolkadotXcm::send( sudo_origin, bx!(frontier_destination), bx!(xcm), @@ -220,19 +223,10 @@ fn using_sovereign_works_from_tanssi_frontier_template() { }); FrontierTemplate::execute_with(|| { - type RuntimeEvent = ::RuntimeEvent; - assert_expected_events!( - FrontierTemplate, - vec![ - RuntimeEvent::XcmpQueue( - cumulus_pallet_xcmp_queue::Event::Success { - .. - }) => {}, - ] - ); + FrontierTemplate::assert_xcmp_queue_success(None); // Assert empty receiver received funds assert!( - ::System::account( + ::System::account( EthereumEmptyReceiver::get() ) .data diff --git a/runtime/dancebox/tests/common/xcm/mocknets.rs b/runtime/dancebox/tests/common/xcm/mocknets.rs index a522920a0e..3b9bebad0d 100644 --- a/runtime/dancebox/tests/common/xcm/mocknets.rs +++ b/runtime/dancebox/tests/common/xcm/mocknets.rs @@ -13,13 +13,15 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see -pub use sp_core::{sr25519, storage::Storage, Get}; +pub use sp_core::Get; use { super::constants::{ accounts::{ALICE, BOB, RANDOM}, frontier_template, simple_template, westend, }, - cumulus_primitives_core::relay_chain::runtime_api::runtime_decl_for_parachain_host::ParachainHostV8, + emulated_integration_tests_common::{ + impl_assert_events_helpers_for_parachain, xcm_emulator::decl_test_parachains, + }, frame_support::parameter_types, parity_scale_codec::Encode, sp_consensus_aura::AURA_ENGINE_ID, @@ -27,20 +29,16 @@ use { staging_xcm::prelude::*, staging_xcm_builder::{ParentIsPreset, SiblingParachainConvertsVia}, staging_xcm_executor::traits::ConvertLocation, - xcm_emulator::{ - decl_test_networks, decl_test_parachains, decl_test_relay_chains, Chain, - DefaultMessageProcessor, - }, + xcm_emulator::{decl_test_networks, decl_test_relay_chains, Chain}, }; decl_test_relay_chains! { - #[api_version(5)] + #[api_version(10)] pub struct Westend { genesis = westend::genesis(), on_init = (), runtime = westend_runtime, core = { - MessageProcessor: DefaultMessageProcessor, SovereignAccountOf: westend_runtime::xcm_config::LocationConverter, //TODO: rename to SovereignAccountOf, }, pallets = { @@ -85,9 +83,9 @@ decl_test_parachains! { runtime = dancebox_runtime, core = { XcmpMessageHandler: dancebox_runtime::XcmpQueue, - DmpMessageHandler: dancebox_runtime::DmpQueue, LocationToAccountId: dancebox_runtime::xcm_config::LocationToAccountId, ParachainInfo: dancebox_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, }, pallets = { System: dancebox_runtime::System, @@ -105,9 +103,9 @@ decl_test_parachains! { runtime = container_chain_template_frontier_runtime, core = { XcmpMessageHandler: container_chain_template_frontier_runtime::XcmpQueue, - DmpMessageHandler: container_chain_template_frontier_runtime::DmpQueue, LocationToAccountId: container_chain_template_frontier_runtime::xcm_config::LocationToAccountId, ParachainInfo: container_chain_template_frontier_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, }, pallets = { System: container_chain_template_frontier_runtime::System, @@ -122,9 +120,9 @@ decl_test_parachains! { runtime = container_chain_template_simple_runtime, core = { XcmpMessageHandler: container_chain_template_simple_runtime::XcmpQueue, - DmpMessageHandler: container_chain_template_simple_runtime::DmpQueue, LocationToAccountId: container_chain_template_simple_runtime::xcm_config::LocationToAccountId, ParachainInfo: container_chain_template_simple_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, }, pallets = { System: container_chain_template_simple_runtime::System, @@ -135,6 +133,10 @@ decl_test_parachains! { } } +impl_assert_events_helpers_for_parachain!(Dancebox); +impl_assert_events_helpers_for_parachain!(FrontierTemplate); +impl_assert_events_helpers_for_parachain!(SimpleTemplate); + decl_test_networks! { pub struct WestendMockNet { relay_chain = Westend, @@ -149,17 +151,17 @@ decl_test_networks! { parameter_types! { // Westend - pub WestendSender: cumulus_primitives_core::relay_chain::AccountId = Westend::account_id_of(ALICE); - pub WestendReceiver: cumulus_primitives_core::relay_chain::AccountId = Westend::account_id_of(BOB); - pub WestendEmptyReceiver: cumulus_primitives_core::relay_chain::AccountId = Westend::account_id_of(RANDOM); + pub WestendSender: cumulus_primitives_core::relay_chain::AccountId = WestendRelay::account_id_of(ALICE); + pub WestendReceiver: cumulus_primitives_core::relay_chain::AccountId = WestendRelay::account_id_of(BOB); + pub WestendEmptyReceiver: cumulus_primitives_core::relay_chain::AccountId = WestendRelay::account_id_of(RANDOM); // Dancebox pub DanceboxSender: dancebox_runtime::AccountId = crate::AccountId::from(crate::ALICE); pub DanceboxReceiver: dancebox_runtime::AccountId = crate::AccountId::from(crate::BOB); - pub DanceboxEmptyReceiver: dancebox_runtime::AccountId = Dancebox::account_id_of(RANDOM); + pub DanceboxEmptyReceiver: dancebox_runtime::AccountId = DanceboxPara::account_id_of(RANDOM); // SimpleTemplate - pub SimpleTemplateSender: container_chain_template_simple_runtime::AccountId = SimpleTemplate::account_id_of(ALICE); - pub SimpleTemplateReceiver: container_chain_template_simple_runtime::AccountId = SimpleTemplate::account_id_of(BOB); + pub SimpleTemplateSender: container_chain_template_simple_runtime::AccountId = SimpleTemplatePara::account_id_of(ALICE); + pub SimpleTemplateReceiver: container_chain_template_simple_runtime::AccountId = SimpleTemplatePara::account_id_of(BOB); pub EthereumSender: container_chain_template_frontier_runtime::AccountId = frontier_template::pre_funded_accounts()[0]; pub EthereumReceiver: container_chain_template_frontier_runtime::AccountId = frontier_template::pre_funded_accounts()[1]; diff --git a/runtime/dancebox/tests/common/xcm/mod.rs b/runtime/dancebox/tests/common/xcm/mod.rs index 64cccedec7..aeb8a92edb 100644 --- a/runtime/dancebox/tests/common/xcm/mod.rs +++ b/runtime/dancebox/tests/common/xcm/mod.rs @@ -24,6 +24,5 @@ mod transact; mod trap; pub use xcm_emulator::{ - assert_expected_events, bx, helpers::weight_within_threshold, Parachain as Para, - RelayChain as Relay, TestExt, + assert_expected_events, bx, Parachain as Para, RelayChain as Relay, TestExt, }; diff --git a/runtime/dancebox/tests/common/xcm/token_derivative_reception_container.rs b/runtime/dancebox/tests/common/xcm/token_derivative_reception_container.rs index debc1b3ce5..702640a0cf 100644 --- a/runtime/dancebox/tests/common/xcm/token_derivative_reception_container.rs +++ b/runtime/dancebox/tests/common/xcm/token_derivative_reception_container.rs @@ -17,8 +17,8 @@ use { crate::common::xcm::{ mocknets::{ - Dancebox, DanceboxPallet, DanceboxReceiver, SimpleTemplate, SimpleTemplatePallet, - SimpleTemplateSender, + DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxReceiver, + SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet, SimpleTemplateSender, }, *, }, @@ -59,7 +59,7 @@ fn receive_tokens_from_the_container_to_tanssi() { container_chain_template_simple_runtime::ExistentialDeposit::get() * 1000; let simple_template_pallet_info_junction = PalletInstance( - <::Balances as PalletInfoAccess>::index() as u8, + <::Balances as PalletInfoAccess>::index() as u8, ); let assets: MultiAssets = (X1(simple_template_pallet_info_junction), amount_to_send).into(); let fee_asset_item = 0; @@ -70,7 +70,7 @@ fn receive_tokens_from_the_container_to_tanssi() { let root_origin = ::RuntimeOrigin::root(); assert_ok!( - ::ForeignAssetsCreator::create_foreign_asset( + ::ForeignAssetsCreator::create_foreign_asset( root_origin.clone(), MultiLocation { parents: 1, @@ -83,7 +83,7 @@ fn receive_tokens_from_the_container_to_tanssi() { ) ); - assert_ok!(::AssetRate::create( + assert_ok!(::AssetRate::create( root_origin, bx!(1), FixedU128::from_u32(1) @@ -93,7 +93,7 @@ fn receive_tokens_from_the_container_to_tanssi() { // Send XCM message from SimpleTemplate SimpleTemplate::execute_with(|| { assert_ok!( - ::PolkadotXcm::limited_reserve_transfer_assets( + ::PolkadotXcm::limited_reserve_transfer_assets( alice_origin, bx!(dancebox_dest), bx!(dancebox_beneficiary), @@ -110,19 +110,20 @@ fn receive_tokens_from_the_container_to_tanssi() { assert_expected_events!( Dancebox, vec![ - RuntimeEvent::XcmpQueue( - cumulus_pallet_xcmp_queue::Event::Success { - weight, - .. - }) => { - weight: { - outcome_weight = *weight; - weight.all_gte(Weight::from_parts(0, 0)) + RuntimeEvent::MessageQueue( + pallet_message_queue::Event::Processed { + success: true, + weight_used, + .. + }) => { + weight_used: { + outcome_weight = *weight_used; + weight_used.all_gte(Weight::from_parts(0,0)) + }, }, - }, ] ); - type ForeignAssets = ::ForeignAssets; + type ForeignAssets = ::ForeignAssets; // We should have charged an amount of tokens that is identical to the weight spent let native_balance = dancebox_runtime::WeightToFee::weight_to_fee(&outcome_weight); diff --git a/runtime/dancebox/tests/common/xcm/token_derivative_reception_relay.rs b/runtime/dancebox/tests/common/xcm/token_derivative_reception_relay.rs index ddce496330..ba72c5bac5 100644 --- a/runtime/dancebox/tests/common/xcm/token_derivative_reception_relay.rs +++ b/runtime/dancebox/tests/common/xcm/token_derivative_reception_relay.rs @@ -17,7 +17,8 @@ use { crate::common::xcm::{ mocknets::{ - Dancebox, DanceboxPallet, DanceboxReceiver, Westend, WestendPallet, WestendSender, + DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxReceiver, + WestendRelay as Westend, WestendRelayPallet, WestendSender, }, *, }, @@ -62,7 +63,7 @@ fn receive_tokens_from_the_relay_to_tanssi() { let root_origin = ::RuntimeOrigin::root(); assert_ok!( - ::ForeignAssetsCreator::create_foreign_asset( + ::ForeignAssetsCreator::create_foreign_asset( root_origin.clone(), MultiLocation::parent(), westend_token_asset_id, @@ -72,7 +73,7 @@ fn receive_tokens_from_the_relay_to_tanssi() { ) ); - assert_ok!(::AssetRate::create( + assert_ok!(::AssetRate::create( root_origin, bx!(1), FixedU128::from_u32(1) @@ -82,7 +83,7 @@ fn receive_tokens_from_the_relay_to_tanssi() { // Send XCM message from Westend Westend::execute_with(|| { assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::limited_reserve_transfer_assets( alice_origin, bx!(dancebox_dest), bx!(dancebox_beneficiary), @@ -99,18 +100,20 @@ fn receive_tokens_from_the_relay_to_tanssi() { assert_expected_events!( Dancebox, vec![ - RuntimeEvent::DmpQueue( - cumulus_pallet_dmp_queue::Event::ExecutedDownward { - outcome, .. + RuntimeEvent::MessageQueue( + pallet_message_queue::Event::Processed { + success: true, + weight_used, + .. }) => { - outcome: { - outcome_weight = outcome.clone().weight_used(); - outcome.clone().ensure_complete().is_ok() + weight_used: { + outcome_weight = *weight_used; + weight_used.all_gte(Weight::from_parts(0,0)) + }, }, - }, ] ); - type ForeignAssets = ::ForeignAssets; + type ForeignAssets = ::ForeignAssets; // We should have charged an amount of tokens that is identical to the weight spent let native_balance = dancebox_runtime::WeightToFee::weight_to_fee(&outcome_weight); @@ -157,7 +160,7 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned() { let root_origin = ::RuntimeOrigin::root(); assert_ok!( - ::ForeignAssetsCreator::create_foreign_asset( + ::ForeignAssetsCreator::create_foreign_asset( root_origin.clone(), MultiLocation::parent(), westend_token_asset_id, @@ -172,7 +175,7 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned() { // Send XCM message from Westend Westend::execute_with(|| { assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::limited_reserve_transfer_assets( alice_origin, bx!(dancebox_dest), bx!(dancebox_beneficiary), @@ -184,21 +187,8 @@ fn cannot_receive_tokens_from_the_relay_if_no_rate_is_assigned() { }); // We should have received the tokens Dancebox::execute_with(|| { - type RuntimeEvent = ::RuntimeEvent; - assert_expected_events!( - Dancebox, - vec![ - RuntimeEvent::DmpQueue( - cumulus_pallet_dmp_queue::Event::ExecutedDownward { - outcome, .. - }) => { - outcome: { - outcome.clone().ensure_complete().is_err() - }, - }, - ] - ); - type ForeignAssets = ::ForeignAssets; + Dancebox::assert_dmp_queue_incomplete(None); + type ForeignAssets = ::ForeignAssets; // Assert receiver should not have received funds assert_eq!( @@ -240,7 +230,7 @@ fn cannot_receive_tokens_from_the_relay_if_no_token_is_registered() { // Send XCM message from Westend Westend::execute_with(|| { assert_ok!( - ::XcmPallet::limited_reserve_transfer_assets( + ::XcmPallet::limited_reserve_transfer_assets( alice_origin, bx!(dancebox_dest), bx!(dancebox_beneficiary), @@ -252,21 +242,8 @@ fn cannot_receive_tokens_from_the_relay_if_no_token_is_registered() { }); // We should have received the tokens Dancebox::execute_with(|| { - type RuntimeEvent = ::RuntimeEvent; - assert_expected_events!( - Dancebox, - vec![ - RuntimeEvent::DmpQueue( - cumulus_pallet_dmp_queue::Event::ExecutedDownward { - outcome, .. - }) => { - outcome: { - outcome.clone().ensure_complete().is_err() - }, - }, - ] - ); - type ForeignAssets = ::ForeignAssets; + Dancebox::assert_dmp_queue_incomplete(None); + type ForeignAssets = ::ForeignAssets; // Assert receiver should not have received funds assert_eq!( diff --git a/runtime/dancebox/tests/common/xcm/transact.rs b/runtime/dancebox/tests/common/xcm/transact.rs index ad57e95f20..2f6413519f 100644 --- a/runtime/dancebox/tests/common/xcm/transact.rs +++ b/runtime/dancebox/tests/common/xcm/transact.rs @@ -18,21 +18,16 @@ use crate::common::xcm::*; use { crate::common::xcm::mocknets::{ - Dancebox, FrontierTemplate, FrontierTemplatePallet, SimpleTemplate, SimpleTemplatePallet, - Westend, WestendPallet, + DanceboxPara as Dancebox, FrontierTemplatePara as FrontierTemplate, + FrontierTemplateParaPallet, SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet, + WestendRelay as Westend, WestendRelayPallet, }, frame_support::{ assert_ok, weights::{Weight, WeightToFee}, }, parity_scale_codec::Encode, - staging_xcm::{ - latest::{ - prelude::*, - Error::{BadOrigin, Barrier}, - }, - VersionedMultiLocation, VersionedXcm, - }, + staging_xcm::{latest::prelude::*, VersionedMultiLocation, VersionedXcm}, staging_xcm_builder::{ParentIsPreset, SiblingParachainConvertsVia}, staging_xcm_executor::traits::ConvertLocation, xcm_emulator::Chain, @@ -72,7 +67,7 @@ fn transact_sudo_from_relay_hits_barrier_dancebox_without_buy_exec() { // Send XCM message from Relay Chain Westend::execute_with(|| { - assert_ok!(::XcmPallet::send( + assert_ok!(::XcmPallet::send( sudo_origin, bx!(dancebox_para_destination), bx!(xcm), @@ -90,15 +85,7 @@ fn transact_sudo_from_relay_hits_barrier_dancebox_without_buy_exec() { // Receive XCM message in Assets Parachain Dancebox::execute_with(|| { - type RuntimeEvent = ::RuntimeEvent; - assert_expected_events!( - Dancebox, - vec![ - RuntimeEvent::DmpQueue(cumulus_pallet_dmp_queue::Event::ExecutedDownward { outcome, .. }) => { - outcome: *outcome == Outcome::Error(Barrier), - }, - ] - ); + Dancebox::assert_dmp_queue_error(); }); } @@ -145,7 +132,7 @@ fn transact_sudo_from_relay_does_not_have_sudo_power() { // Send XCM message from Relay Chain Westend::execute_with(|| { - assert_ok!(::XcmPallet::send( + assert_ok!(::XcmPallet::send( sudo_origin, bx!(dancebox_para_destination), bx!(xcm), @@ -163,18 +150,7 @@ fn transact_sudo_from_relay_does_not_have_sudo_power() { // Receive XCM message in Assets Parachain Dancebox::execute_with(|| { - type RuntimeEvent = ::RuntimeEvent; - assert_expected_events!( - Dancebox, - vec![ - RuntimeEvent::DmpQueue( - cumulus_pallet_dmp_queue::Event::ExecutedDownward { - outcome: Outcome::Incomplete(_w, error), .. - }) => { - error: *error == BadOrigin, - }, - ] - ); + Dancebox::assert_dmp_queue_incomplete(None); }); } @@ -222,7 +198,7 @@ fn transact_sudo_from_relay_has_signed_origin_powers() { // Send XCM message from Relay Chain Westend::execute_with(|| { - assert_ok!(::XcmPallet::send( + assert_ok!(::XcmPallet::send( sudo_origin, bx!(dancebox_para_destination), bx!(xcm), @@ -304,7 +280,7 @@ fn transact_sudo_from_frontier_has_signed_origin_powers() { // Send XCM message from Frontier Template FrontierTemplate::execute_with(|| { assert_ok!( - ::PolkadotXcm::send( + ::PolkadotXcm::send( sudo_origin, bx!(dancebox_para_destination), bx!(xcm), @@ -388,11 +364,13 @@ fn transact_sudo_from_simple_has_signed_origin_powers() { // Send XCM message from Relay Chain SimpleTemplate::execute_with(|| { - assert_ok!(::PolkadotXcm::send( - sudo_origin, - bx!(dancebox_para_destination), - bx!(xcm), - )); + assert_ok!( + ::PolkadotXcm::send( + sudo_origin, + bx!(dancebox_para_destination), + bx!(xcm), + ) + ); type RuntimeEvent = ::RuntimeEvent; diff --git a/runtime/dancebox/tests/common/xcm/trap.rs b/runtime/dancebox/tests/common/xcm/trap.rs index 704b7eeab8..e056541c57 100644 --- a/runtime/dancebox/tests/common/xcm/trap.rs +++ b/runtime/dancebox/tests/common/xcm/trap.rs @@ -17,15 +17,14 @@ use crate::common::xcm::*; use { - crate::common::xcm::mocknets::{Dancebox, Westend, WestendPallet}, + crate::common::xcm::mocknets::{ + DanceboxPara as Dancebox, WestendRelay as Westend, WestendRelayPallet, + }, frame_support::{ assert_ok, weights::{Weight, WeightToFee}, }, - staging_xcm::{ - latest::{prelude::*, Error::Trap as TrapError}, - VersionedMultiLocation, VersionedXcm, - }, + staging_xcm::{latest::prelude::*, VersionedMultiLocation, VersionedXcm}, xcm_emulator::Chain, }; @@ -57,7 +56,7 @@ fn trapping_asserts_works_with_polkadot_xcm() { // Send XCM message from Relay Chain Westend::execute_with(|| { - assert_ok!(::XcmPallet::send( + assert_ok!(::XcmPallet::send( sudo_origin, bx!(dancebox_para_destination), bx!(xcm), @@ -76,15 +75,10 @@ fn trapping_asserts_works_with_polkadot_xcm() { // Receive XCM message in Assets Parachain Dancebox::execute_with(|| { type RuntimeEvent = ::RuntimeEvent; + Dancebox::assert_dmp_queue_incomplete(None); assert_expected_events!( Dancebox, vec![ - RuntimeEvent::DmpQueue( - cumulus_pallet_dmp_queue::Event::ExecutedDownward { - outcome: Outcome::Incomplete(_w, error), .. - }) => { - error: *error == TrapError(0), - }, RuntimeEvent::PolkadotXcm( pallet_xcm::Event::AssetsTrapped{origin, ..}) => { origin: *origin == MultiLocation::parent(), diff --git a/runtime/dancebox/tests/integration_test.rs b/runtime/dancebox/tests/integration_test.rs index 58f7a9a0b3..bfcc5815cd 100644 --- a/runtime/dancebox/tests/integration_test.rs +++ b/runtime/dancebox/tests/integration_test.rs @@ -37,9 +37,7 @@ use { }, parity_scale_codec::Encode, runtime_common::migrations::{ - CollatorSelectionInvulnerablesValue, MigrateBootNodes, MigrateConfigurationParathreads, - MigrateInvulnerables, MigrateServicesPaymentAddCollatorAssignmentCredits, - MigrateServicesPaymentAddCredits, + MigrateConfigurationParathreads, MigrateServicesPaymentAddCollatorAssignmentCredits, }, sp_consensus_aura::AURA_ENGINE_ID, sp_core::Get, @@ -2421,43 +2419,6 @@ fn check_well_known_keys() { ); } -#[test] -fn test_invulnerables_migration() { - ExtBuilder::default() - .with_balances(vec![ - // Alice gets 10k extra tokens for her mapping deposit - (AccountId::from(ALICE), 210_000 * UNIT), - (AccountId::from(BOB), 100_000 * UNIT), - ]) - .with_collators(vec![ - (AccountId::from(ALICE), 210 * UNIT), - (AccountId::from(BOB), 100 * UNIT), - ]) - .with_config(default_config()) - .build() - .execute_with(|| { - // Populate the invulnerables storage - let collators = vec![AccountId::from(ALICE), AccountId::from(BOB)]; - CollatorSelectionInvulnerablesValue::::put( - BoundedVec::try_from(collators).expect("Failed to create BoundedVec"), - ); - - let invulnerables_before_migration = Invulnerables::invulnerables(); - assert_eq!( - invulnerables_before_migration.len(), - 2, - "invulnerables has wrong length" - ); - let migration = MigrateInvulnerables::(Default::default()); - migration.migrate(Default::default()); - let invulnerables_after_migration = Invulnerables::invulnerables(); - assert_eq!( - invulnerables_before_migration, - invulnerables_after_migration - ) - }); -} - #[test] fn test_staking_no_candidates_in_genesis() { ExtBuilder::default() @@ -3918,114 +3879,6 @@ fn test_pallet_session_limits_num_validators_from_staking() { }); } -#[test] -fn test_migration_holds() { - use { - frame_support::{migration::put_storage_value, Blake2_128Concat, StorageHasher}, - runtime_common::migrations::MigrateHoldReason, - }; - ExtBuilder::default() - .with_balances(vec![ - // Alice gets 10k extra tokens for her mapping deposit - (AccountId::from(ALICE), 210_000 * UNIT), - (AccountId::from(BOB), 100_000 * UNIT), - ]) - .with_collators(vec![ - (AccountId::from(ALICE), 210 * UNIT), - (AccountId::from(BOB), 100 * UNIT), - ]) - .with_config(default_config()) - .build() - .execute_with(|| { - let pallet_prefix: &[u8] = b"Balances"; - let storage_item_prefix: &[u8] = b"Holds"; - use parity_scale_codec::Encode; - let hold: pallet_balances::IdAmount< - [u8; 8], - ::Balance, - > = pallet_balances::IdAmount { - id: *b"POOLSTAK", - amount: 100u128, - }; - let holds = vec![hold]; - let bounded_holds = - BoundedVec::<_, ::MaxHolds>::truncate_from( - holds.clone(), - ); - - put_storage_value( - pallet_prefix, - storage_item_prefix, - &Blake2_128Concat::hash(&AccountId::from(ALICE).encode()), - bounded_holds, - ); - let migration = MigrateHoldReason::(Default::default()); - migration.migrate(Default::default()); - let new_holds = pallet_balances::Holds::::get(AccountId::from(ALICE)); - - assert_eq!(new_holds.len() as u32, 1u32); - assert_eq!( - new_holds[0].id, - pallet_pooled_staking::HoldReason::PooledStake.into() - ); - assert_eq!(new_holds[0].amount, 100u128); - }); -} - -#[test] -fn test_migration_holds_runtime_enum() { - use { - frame_support::{migration::put_storage_value, Blake2_128Concat, StorageHasher}, - runtime_common::migrations::{MigrateHoldReasonRuntimeEnum, OldHoldReason}, - }; - ExtBuilder::default() - .with_balances(vec![ - // Alice gets 10k extra tokens for her mapping deposit - (AccountId::from(ALICE), 210_000 * UNIT), - (AccountId::from(BOB), 100_000 * UNIT), - ]) - .with_collators(vec![ - (AccountId::from(ALICE), 210 * UNIT), - (AccountId::from(BOB), 100 * UNIT), - ]) - .with_config(default_config()) - .build() - .execute_with(|| { - let pallet_prefix: &[u8] = b"Balances"; - let storage_item_prefix: &[u8] = b"Holds"; - use parity_scale_codec::Encode; - let hold: pallet_balances::IdAmount< - OldHoldReason, - ::Balance, - > = pallet_balances::IdAmount { - id: OldHoldReason::PooledStake, - amount: 100u128, - }; - let holds = vec![hold]; - let bounded_holds = - BoundedVec::<_, ::MaxHolds>::truncate_from( - holds.clone(), - ); - - put_storage_value( - pallet_prefix, - storage_item_prefix, - &Blake2_128Concat::hash(&AccountId::from(ALICE).encode()), - bounded_holds, - ); - let migration = MigrateHoldReasonRuntimeEnum::(Default::default()); - migration.migrate(Default::default()); - let new_holds = pallet_balances::Holds::::get(AccountId::from(ALICE)); - - assert_eq!(new_holds.len() as u32, 1u32); - assert_eq!( - new_holds[0].id, - pallet_pooled_staking::HoldReason::PooledStake.into() - ); - assert_eq!(new_holds[0].amount, 100u128); - }); -} - #[test] fn test_reward_to_staking_candidate() { // Alice, Bob, Charlie are invulnerables @@ -4366,149 +4219,6 @@ fn test_migration_config_full_rotation_period() { }); } -#[test] -fn test_migration_bootnodes() { - ExtBuilder::default() - .with_balances(vec![ - // Alice gets 10k extra tokens for her mapping deposit - (AccountId::from(ALICE), 210_000 * UNIT), - (AccountId::from(BOB), 100_000 * UNIT), - ]) - .with_collators(vec![ - (AccountId::from(ALICE), 210 * UNIT), - (AccountId::from(BOB), 100 * UNIT), - ]) - .with_config(default_config()) - .build() - .execute_with(|| { - const KEY_BOOTNODES_3020: &[u8] = - &hex_literal::hex!("3fba98689ebed1138735e0e7a5a790ab253a9125cb0317c86ff7493156974217f27780ac9847469aeafec9361489307ecc0b0000"); - const KEY_BOOTNODES_3021: &[u8] = - &hex_literal::hex!("3fba98689ebed1138735e0e7a5a790ab253a9125cb0317c86ff74931569742179dd8d6ac9c6f5cd42c639b4877667c44cd0b0000"); - let boot_nodes = dummy_boot_nodes(); - - frame_support::storage::unhashed::put_raw(KEY_BOOTNODES_3020, &boot_nodes.encode()); - frame_support::storage::unhashed::put_raw(KEY_BOOTNODES_3021, &boot_nodes.encode()); - assert_eq!(DataPreservers::boot_nodes(ParaId::from(3020)), vec![]); - assert_eq!(DataPreservers::boot_nodes(ParaId::from(3021)), vec![]); - - let migration = MigrateBootNodes::(Default::default()); - migration.migrate(Default::default()); - - assert_eq!(DataPreservers::boot_nodes(ParaId::from(3020)), boot_nodes); - assert_eq!(DataPreservers::boot_nodes(ParaId::from(3021)), boot_nodes); - - // Old keys have been deleted - assert_eq!(frame_support::storage::unhashed::get_raw(KEY_BOOTNODES_3020), None); - assert_eq!(frame_support::storage::unhashed::get_raw(KEY_BOOTNODES_3021), None); - - }); -} - -#[test] -fn test_migration_services_payment() { - ExtBuilder::default() - .with_balances(vec![ - // Alice gets 10k extra tokens for her mapping deposit - (AccountId::from(ALICE), 210_000 * UNIT), - (AccountId::from(BOB), 100_000 * UNIT), - ]) - .with_collators(vec![ - (AccountId::from(ALICE), 210 * UNIT), - (AccountId::from(BOB), 100 * UNIT), - ]) - .with_config(default_config()) - .build() - .execute_with(|| { - // Register a new parachain with no credits - assert_ok!(Registrar::register( - origin_of(ALICE.into()), - 1001.into(), - empty_genesis_data() - )); - assert_ok!(DataPreservers::set_boot_nodes( - origin_of(ALICE.into()), - 1001.into(), - dummy_boot_nodes() - )); - assert_ok!(Registrar::mark_valid_for_collating( - root_origin(), - 1001.into() - )); - // Register another parachain with no credits, do not mark this as valid for collation - assert_ok!(Registrar::register( - origin_of(ALICE.into()), - 1002.into(), - empty_genesis_data() - )); - assert_ok!(DataPreservers::set_boot_nodes( - origin_of(ALICE.into()), - 1002.into(), - dummy_boot_nodes() - )); - - // Need to reset credits to 0 because now parachains are given free credits on register - assert_ok!(ServicesPayment::set_block_production_credits( - root_origin(), - 1001.into(), - 0 - )); - assert_ok!(ServicesPayment::set_block_production_credits( - root_origin(), - 1002.into(), - 0 - )); - // And also remove the "given_free_credits" storage because the migration will only - // give them free credits if they have not received them already - pallet_services_payment::GivenFreeCredits::::remove(ParaId::from(1001)); - pallet_services_payment::GivenFreeCredits::::remove(ParaId::from(1002)); - - let credits_1001 = pallet_services_payment::BlockProductionCredits::::get( - &ParaId::from(1001), - ) - .unwrap_or_default(); - assert_eq!(credits_1001, 0); - let credits_1002 = pallet_services_payment::BlockProductionCredits::::get( - &ParaId::from(1002), - ) - .unwrap_or_default(); - assert_eq!(credits_1002, 0); - - // Apply migration - let migration = MigrateServicesPaymentAddCredits::(Default::default()); - migration.migrate(Default::default()); - - // Both parachains have been given credits - let credits_1001 = pallet_services_payment::BlockProductionCredits::::get( - &ParaId::from(1001), - ) - .unwrap_or_default(); - assert_ne!(credits_1001, 0); - let credits_1002 = pallet_services_payment::BlockProductionCredits::::get( - &ParaId::from(1002), - ) - .unwrap_or_default(); - assert_ne!(credits_1002, 0); - - // Calling mark_valid_for_collating(1002) will not give it any credits - assert_ok!(DataPreservers::set_boot_nodes( - origin_of(ALICE.into()), - 1002.into(), - dummy_boot_nodes() - )); - assert_ok!(Registrar::mark_valid_for_collating( - root_origin(), - 1002.into() - )); - let credits_1002_after = - pallet_services_payment::BlockProductionCredits::::get(&ParaId::from( - 1002, - )) - .unwrap_or_default(); - assert_eq!(credits_1002, credits_1002_after); - }); -} - #[test] fn test_collator_assignment_gives_priority_to_invulnerables() { // Set max_collators = 2, take 1 invulnerable and the rest from staking diff --git a/runtime/flashbox/Cargo.toml b/runtime/flashbox/Cargo.toml index 59a1c4bb48..d6ebce2e24 100644 --- a/runtime/flashbox/Cargo.toml +++ b/runtime/flashbox/Cargo.toml @@ -67,6 +67,7 @@ sp-consensus-aura = { workspace = true } sp-consensus-slots = { workspace = true } sp-core = { workspace = true } sp-debug-derive = { workspace = true } +sp-genesis-builder = { workspace = true } sp-inherents = { workspace = true } sp-offchain = { workspace = true } sp-runtime = { workspace = true } @@ -101,7 +102,6 @@ frame-try-runtime = { workspace = true, optional = true } [dev-dependencies] cumulus-primitives-parachain-inherent = { workspace = true } cumulus-test-relay-sproof-builder = { workspace = true } -pallet-im-online = { workspace = true, features = [ "std" ] } polkadot-runtime-parachains = { workspace = true, features = [ "std" ] } sc-consensus-grandpa = { workspace = true } sp-consensus-babe = { workspace = true, features = [ "std" ] } @@ -146,7 +146,6 @@ std = [ "pallet-configuration/std", "pallet-data-preservers/std", "pallet-identity/std", - "pallet-im-online/std", "pallet-inflation-rewards/std", "pallet-initializer/std", "pallet-invulnerables/std", @@ -186,6 +185,7 @@ std = [ "sp-consensus-slots/std", "sp-core/std", "sp-debug-derive/std", + "sp-genesis-builder/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", @@ -207,6 +207,7 @@ force-debug = [ "sp-debug-derive/force-debug" ] runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking", "frame-benchmarking/runtime-benchmarks", @@ -221,7 +222,6 @@ runtime-benchmarks = [ "pallet-configuration/runtime-benchmarks", "pallet-data-preservers/runtime-benchmarks", "pallet-identity/runtime-benchmarks", - "pallet-im-online/runtime-benchmarks", "pallet-inflation-rewards/runtime-benchmarks", "pallet-invulnerables/runtime-benchmarks", "pallet-migrations/runtime-benchmarks", @@ -251,6 +251,7 @@ try-runtime = [ "frame-system/try-runtime", "frame-try-runtime/try-runtime", "nimbus-primitives/try-runtime", + "pallet-async-backing/try-runtime", "pallet-author-inherent/try-runtime", "pallet-author-noting/try-runtime", "pallet-authority-assignment/try-runtime", @@ -260,7 +261,6 @@ try-runtime = [ "pallet-configuration/try-runtime", "pallet-data-preservers/try-runtime", "pallet-identity/try-runtime", - "pallet-im-online/try-runtime", "pallet-inflation-rewards/try-runtime", "pallet-initializer/try-runtime", "pallet-invulnerables/try-runtime", @@ -272,6 +272,7 @@ try-runtime = [ "pallet-root-testing/try-runtime", "pallet-services-payment/try-runtime", "pallet-session/try-runtime", + "pallet-stream-payment/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", diff --git a/runtime/flashbox/src/lib.rs b/runtime/flashbox/src/lib.rs index d655aef6d7..546a8ebbfa 100644 --- a/runtime/flashbox/src/lib.rs +++ b/runtime/flashbox/src/lib.rs @@ -29,23 +29,20 @@ use sp_version::NativeVersion; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; -#[cfg(feature = "try-runtime")] -use sp_runtime::TryRuntimeError; - use { cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases, cumulus_primitives_core::{relay_chain::SessionIndex, BodyId, ParaId}, frame_support::{ construct_runtime, dispatch::DispatchClass, + genesis_builder_helper::{build_config, create_default_config}, pallet_prelude::DispatchResult, parameter_types, traits::{ fungible::{Balanced, Credit, Inspect, InspectHold, Mutate, MutateHold}, tokens::{PayFromAccount, Precision, Preservation, UnityAssetBalanceConversion}, ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, Contains, EitherOfDiverse, - Imbalance, InsideBoth, InstanceFilter, OffchainWorker, OnFinalize, OnIdle, - OnInitialize, OnRuntimeUpgrade, OnUnbalanced, + Imbalance, InsideBoth, InstanceFilter, OnUnbalanced, }, weights::{ constants::{ @@ -79,6 +76,7 @@ use { create_runtime_str, generic, impl_opaque_keys, traits::{ AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, IdentityLookup, + Verify, }, transaction_validity::{TransactionSource, TransactionValidity}, AccountId32, ApplyExtrinsicResult, RuntimeDebug, @@ -127,7 +125,7 @@ pub type Executive = frame_executive::Executive< Block, frame_system::ChainContext, Runtime, - pallet_maintenance_mode::ExecutiveHooks, + AllPalletsWithSystem, >; /// DANCE, the native token, uses 12 decimals of precision. @@ -339,6 +337,7 @@ impl frame_system::Config for Runtime { /// The action to take on a Runtime Upgrade type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = RuntimeTask; } impl pallet_timestamp::Config for Runtime { @@ -465,11 +464,13 @@ type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensu >; impl cumulus_pallet_parachain_system::Config for Runtime { + type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = parachain_info::Pallet; type OutboundXcmpMessageSource = (); - type DmpMessageHandler = (); + // Ignore all DMP messages by enqueueing them into `()`: + type DmpQueue = frame_support::traits::EnqueueWithOrigin<(), sp_core::ConstU8<0>>; type ReservedDmpWeight = (); type XcmpMessageHandler = (); type ReservedXcmpWeight = (); @@ -1044,57 +1045,12 @@ impl Contains for NormalFilter { } } -/// The hooks we want to run in Maintenance Mode -pub struct MaintenanceHooks; - -impl OnInitialize for MaintenanceHooks { - fn on_initialize(n: BlockNumber) -> Weight { - AllPalletsWithSystem::on_initialize(n) - } -} - -// We override onIdle for xcmQueue and dmpQueue pallets to not process messages inside it -impl OnIdle for MaintenanceHooks { - fn on_idle(_n: BlockNumber, _max_weight: Weight) -> Weight { - Weight::zero() - } -} - -impl OnRuntimeUpgrade for MaintenanceHooks { - fn on_runtime_upgrade() -> Weight { - AllPalletsWithSystem::on_runtime_upgrade() - } - - #[cfg(feature = "try-runtime")] - fn try_on_runtime_upgrade(checks: bool) -> Result { - AllPalletsWithSystem::try_on_runtime_upgrade(checks) - } -} - -impl OnFinalize for MaintenanceHooks { - fn on_finalize(n: BlockNumber) { - AllPalletsWithSystem::on_finalize(n) - } -} - -impl OffchainWorker for MaintenanceHooks { - fn offchain_worker(n: BlockNumber) { - AllPalletsWithSystem::offchain_worker(n) - } -} - impl pallet_maintenance_mode::Config for Runtime { type RuntimeEvent = RuntimeEvent; type NormalCallFilter = NormalFilter; type MaintenanceCallFilter = MaintenanceFilter; type MaintenanceOrigin = EnsureRoot; type XcmExecutionManager = (); - type NormalDmpHandler = (); - type MaintenanceDmpHandler = (); - // We use AllPalletsWithSystem because we dont want to change the hooks in normal - // operation - type NormalExecutiveHooks = AllPalletsWithSystem; - type MaintenanceExecutiveHooks = MaintenanceHooks; } parameter_types! { @@ -1107,7 +1063,9 @@ impl pallet_relay_storage_roots::Config for Runtime { type WeightInfo = (); } -impl pallet_root_testing::Config for Runtime {} +impl pallet_root_testing::Config for Runtime { + type RuntimeEvent = RuntimeEvent; +} parameter_types! { pub StakingAccount: AccountId32 = PalletId(*b"POOLSTAK").into_account_truncating(); @@ -1314,8 +1272,8 @@ parameter_types! { pub const BasicDeposit: Balance = currency::deposit(1, 258); // 1 entry, storing 53 bytes on-chain pub const SubAccountDeposit: Balance = currency::deposit(1, 53); - // Additional fields add 0 entries, storing 66 bytes on-chain - pub const FieldDeposit: Balance = currency::deposit(0, 66); + // Additional bytes adds 0 entries, storing 1 byte on-chain + pub const ByteDeposit: Balance = currency::deposit(0, 1); pub const MaxSubAccounts: u32 = 100; pub const MaxAdditionalFields: u32 = 100; pub const MaxRegistrars: u32 = 20; @@ -1325,16 +1283,21 @@ impl pallet_identity::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type BasicDeposit = BasicDeposit; - type FieldDeposit = FieldDeposit; + type ByteDeposit = ByteDeposit; type SubAccountDeposit = SubAccountDeposit; type MaxSubAccounts = MaxSubAccounts; - type MaxAdditionalFields = MaxAdditionalFields; type MaxRegistrars = MaxRegistrars; - type IdentityInformation = pallet_identity::simple::IdentityInfo; + type IdentityInformation = pallet_identity::legacy::IdentityInfo; // Slashed balances are burnt type Slashed = (); type ForceOrigin = EnsureRoot; type RegistrarOrigin = EnsureRoot; + type OffchainSignature = Signature; + type SigningPublicKey = ::Signer; + type UsernameAuthorityOrigin = EnsureRoot; + type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>; + type MaxSuffixLength = ConstU32<7>; + type MaxUsernameLength = ConstU32<32>; type WeightInfo = pallet_identity::weights::SubstrateWeight; } @@ -1565,6 +1528,16 @@ impl_runtime_apis! { } } + impl sp_genesis_builder::GenesisBuilder for Runtime { + fn create_default_config() -> Vec { + create_default_config::() + } + + fn build_config(config: Vec) -> sp_genesis_builder::Result { + build_config::(config) + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata( diff --git a/runtime/flashbox/tests/common/mod.rs b/runtime/flashbox/tests/common/mod.rs index 5709df1b7e..d3f47fa03c 100644 --- a/runtime/flashbox/tests/common/mod.rs +++ b/runtime/flashbox/tests/common/mod.rs @@ -43,8 +43,8 @@ use { pub use flashbox_runtime::{ AccountId, AuthorNoting, AuthorityAssignment, AuthorityMapping, Balance, Balances, CollatorAssignment, Configuration, DataPreservers, InflationRewards, Initializer, - Invulnerables, MinimumSelfDelegation, ParachainInfo, Proxy, ProxyType, Registrar, - RewardsPortion, Runtime, RuntimeCall, RuntimeEvent, ServicesPayment, Session, System, + Invulnerables, ParachainInfo, Proxy, ProxyType, Registrar, RewardsPortion, Runtime, + RuntimeCall, ServicesPayment, Session, System, }; pub fn session_to_block(n: u32) -> u32 { diff --git a/rust-toolchain b/rust-toolchain index bf9b2e0651..fa4029d55a 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -channel = "1.70.0" -components = [ "rustfmt", "clippy" ] +channel = "1.75.0" +components = [ "rustfmt", "clippy", "rust-src" ] targets = [ "wasm32-unknown-unknown" ] profile = "minimal" diff --git a/test/suites/common-tanssi/pallet-identity/test_pallet_identity.ts b/test/suites/common-tanssi/pallet-identity/test_pallet_identity.ts index ddc3b1d333..0230d1be07 100644 --- a/test/suites/common-tanssi/pallet-identity/test_pallet_identity.ts +++ b/test/suites/common-tanssi/pallet-identity/test_pallet_identity.ts @@ -92,13 +92,12 @@ describeSuite({ await context.createBlock([signedTx]); const charlie_identity = await polkadotJs.query.identity.identityOf(general_user_charlie.address); - // Display has been set - const charlie_display = hexToString(charlie_identity.toJSON().info.display["raw"]); + const charlie_display = hexToString(charlie_identity.toJSON()[0].info.display["raw"]); expect(charlie_display).to.equal("It's me, Charlie"); // Web has been set - const charlie_web = hexToString(charlie_identity.toJSON().info.web["raw"]); + const charlie_web = hexToString(charlie_identity.toJSON()[0].info.web["raw"]); expect(charlie_web).to.equal("https://charlie.io"); // Event triggered @@ -111,7 +110,7 @@ describeSuite({ // Currency reserved as deposit from Charlie's account const charlie_balance = await polkadotJs.query.system.account(general_user_charlie.address); const charlie_balance_reserved = charlie_balance.toJSON().data.reserved; - const expected_reserve = 12580000000000; // Basic deposit (1 item, 258 bytes) + const expected_reserve = 13010000000000; // Basic deposit (1 item, 301 bytes) expect(charlie_balance_reserved).to.be.equal(expected_reserve); }, }); @@ -140,7 +139,7 @@ describeSuite({ const bob_registrar_on_chain = identity_registrars.toArray()[0].toJSON(); expect(bob_registrar_on_chain.fee).to.be.equal(100); - expect(bob_registrar_on_chain.fields.length).to.be.equal(2); + expect(bob_registrar_on_chain.fields).to.be.equal(2); }, }); }, diff --git a/test/suites/common-xcm/test-maintenance/test-maintenance-dmp-queue.ts b/test/suites/common-xcm/test-maintenance/test-maintenance-dmp-queue.ts index 0c9795f400..5e214ac9a4 100644 --- a/test/suites/common-xcm/test-maintenance/test-maintenance-dmp-queue.ts +++ b/test/suites/common-xcm/test-maintenance/test-maintenance-dmp-queue.ts @@ -1,10 +1,7 @@ -import { DevModeContext, beforeAll, describeSuite, expect } from "@moonwall/cli"; +import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { KeyringPair, alith } from "@moonwall/util"; import { generateKeyringPair } from "@moonwall/util"; import { ApiPromise, Keyring } from "@polkadot/api"; -import { xxhashAsU8a } from "@polkadot/util-crypto"; -import { u8aToHex } from "@polkadot/util"; -import { CumulusPalletDmpQueueConfigData } from "@polkadot/types/lookup"; import { RawXcmMessage, XcmFragment, @@ -13,32 +10,6 @@ import { injectDmpMessageAndSeal, } from "../../../util/xcm.ts"; -async function setDmpConfigStorage(context: DevModeContext, api: ApiPromise, sudoAccount: KeyringPair) { - // Get module and storage name keys - const module = xxhashAsU8a(new TextEncoder().encode("DmpQueue"), 128); - const configuration_key = xxhashAsU8a(new TextEncoder().encode("Configuration"), 128); - - // Build the element to insert in 'Configuration' storage - const configToEncode: CumulusPalletDmpQueueConfigData = context - .polkadotJs() - .createType("CumulusPalletDmpQueueConfigData", { - maxIndividual: { - refTime: 10_000_000_000n, - proofSize: 300_000n, - }, - }); - - // Build the entire key for 'Configuration' storage - const overallConfigKey = new Uint8Array([...module, ...configuration_key]); - - await context.createBlock( - api.tx.sudo - .sudo(api.tx.system.setStorage([[u8aToHex(overallConfigKey), u8aToHex(configToEncode.toU8a())]])) - .signAsync(sudoAccount) - ); - return; -} - describeSuite({ id: "CX0101", title: "Maintenance mode - DMP queue", @@ -126,11 +97,6 @@ describeSuite({ }, }) .as_v3(); - - // In case of templates, we set a different Config for DmpQueue - if (["frontier-template", "container-chain-template"].includes(chain)) { - await setDmpConfigStorage(context, polkadotJs, alice); - } }); it({ diff --git a/test/suites/common-xcm/test-maintenance/test-maintenance-xcm-queue.ts b/test/suites/common-xcm/test-maintenance/test-maintenance-xcm-queue.ts index 50924b5dd1..6847a919a7 100644 --- a/test/suites/common-xcm/test-maintenance/test-maintenance-xcm-queue.ts +++ b/test/suites/common-xcm/test-maintenance/test-maintenance-xcm-queue.ts @@ -140,6 +140,8 @@ describeSuite({ await context.createBlock([await polkadotJs.tx.sudo.sudo(resumeTx).signAsync(alice)]); // Create a block in which the XCM message will be executed + // MessageQueue takes two blocks to resume execution + await context.createBlock(); await context.createBlock(); // Ensure we are NOT in maintenance mode diff --git a/test/suites/common-xcm/xcm/test-mock-dmp-transact.ts b/test/suites/common-xcm/xcm/test-mock-dmp-transact.ts index de72b0e4e5..ed3da92afa 100644 --- a/test/suites/common-xcm/xcm/test-mock-dmp-transact.ts +++ b/test/suites/common-xcm/xcm/test-mock-dmp-transact.ts @@ -105,6 +105,8 @@ describeSuite({ payload: xcmMessage, } as RawXcmMessage); + await context.createBlock(); + // Make sure the state has ALITH's foreign parachain tokens const testAccountBalance = (await polkadotJs.query.system.account(random.address)).data.free.toBigInt(); diff --git a/test/suites/common-xcm/xcm/test-mock-hrmp-transact.ts b/test/suites/common-xcm/xcm/test-mock-hrmp-transact.ts index ba963fe2e6..53d6bbd532 100644 --- a/test/suites/common-xcm/xcm/test-mock-hrmp-transact.ts +++ b/test/suites/common-xcm/xcm/test-mock-hrmp-transact.ts @@ -118,6 +118,8 @@ describeSuite({ payload: xcmMessage, } as RawXcmMessage); + await context.createBlock(); + // Make sure the state has ALITH's foreign parachain tokens const testAccountBalance = (await polkadotJs.query.system.account(random.address)).data.free.toBigInt(); @@ -181,6 +183,8 @@ describeSuite({ payload: xcmMessage, } as RawXcmMessage); + await context.createBlock(); + // Make sure the state has ALITH's foreign parachain tokens const testAccountBalance = (await polkadotJs.query.system.account(random.address)).data.free.toBigInt(); diff --git a/test/suites/para/test_tanssi_containers.ts b/test/suites/para/test_tanssi_containers.ts index 7a79ce017b..d24707b8ee 100644 --- a/test/suites/para/test_tanssi_containers.ts +++ b/test/suites/para/test_tanssi_containers.ts @@ -283,7 +283,7 @@ describeSuite({ it({ id: "T13", title: "Blocks are being produced on container 2002", - timeout: 90000, + timeout: 120000, test: async function () { // Wait 3 blocks because the next test needs to get a non empty value from // container2002Api.query.authoritiesNoting() @@ -352,8 +352,12 @@ describeSuite({ // TODO: this passes if only 2 authors are creating blocks, think a way to test that case await countUniqueBlockAuthors(paraApi, blockNumber, blockNumber2002Start - 1, 4); + expect(sessionPeriod * 5 < blockNumber2002End, "2002 should have deregistered after first rotation"); + expect(sessionPeriod * 10 > blockNumber2002End, "2002 should have deregistered before second rotation"); + // While 2002 is live: 2 authors (the other 2 went to container chain 2002) - await countUniqueBlockAuthors(paraApi, blockNumber2002Start, blockNumber2002End - 1, 2); + // We take from the first block that rotates, otherwise rotation kicks in + await countUniqueBlockAuthors(paraApi, sessionPeriod * 5, blockNumber2002End - 1, 2); // Need to wait one session because the following blocks don't exist yet await waitSessions(context, paraApi, 1); diff --git a/test/suites/parathreads/test_tanssi_parathreads.ts b/test/suites/parathreads/test_tanssi_parathreads.ts index 1eee85323e..5824145ab4 100644 --- a/test/suites/parathreads/test_tanssi_parathreads.ts +++ b/test/suites/parathreads/test_tanssi_parathreads.ts @@ -139,7 +139,8 @@ describeSuite({ title: "Blocks are being produced on container 2000", test: async function () { // Produces 1 block every 5 slots, which is every 60 seconds - await sleep(60000); + // Give it a bit more time just in case + await sleep(120000); const blockNum = (await container2000Api.rpc.chain.getBlock()).block.header.number.toNumber(); expect(blockNum).to.be.greaterThan(0); }, diff --git a/typescript-api/src/dancebox/interfaces/augment-api-consts.ts b/typescript-api/src/dancebox/interfaces/augment-api-consts.ts index 76fbec8fc0..98ecc62837 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-consts.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-consts.ts @@ -15,6 +15,7 @@ import type { FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, + SpWeightsWeightV2Weight, } from "@polkadot/types/lookup"; export type __AugmentedConst = AugmentedConst; @@ -66,19 +67,20 @@ declare module "@polkadot/api-base/types/consts" { [key: string]: Codec; }; identity: { - /** The amount held on deposit for a registered identity */ + /** The amount held on deposit for a registered identity. */ basicDeposit: u128 & AugmentedConst; - /** The amount held on deposit per additional field for a registered identity. */ - fieldDeposit: u128 & AugmentedConst; - /** - * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O required to access an - * identity, but can be pretty high. - */ - maxAdditionalFields: u32 & AugmentedConst; + /** The amount held on deposit per encoded byte for a registered identity. */ + byteDeposit: u128 & AugmentedConst; /** Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements. */ maxRegistrars: u32 & AugmentedConst; /** The maximum number of sub-accounts allowed per identified account. */ maxSubAccounts: u32 & AugmentedConst; + /** The maximum length of a suffix. */ + maxSuffixLength: u32 & AugmentedConst; + /** The maximum length of a username, including its suffix and any system-added delimiters. */ + maxUsernameLength: u32 & AugmentedConst; + /** The number of blocks within which a username grant must be accepted. */ + pendingUsernameExpiration: u32 & AugmentedConst; /** * The amount held on deposit for a registered subaccount. This should account for the fact that one storage * item's value will increase by the size of an account ID, and there will be another trie item whose value is the @@ -88,6 +90,30 @@ declare module "@polkadot/api-base/types/consts" { /** Generic const */ [key: string]: Codec; }; + messageQueue: { + /** + * The size of the page; this implies the maximum message size which can be sent. + * + * A good value depends on the expected message sizes, their weights, the weight that is available for processing + * them and the maximal needed message size. The maximal message size is slightly lower than this as defined by + * [`MaxMessageLenOf`]. + */ + heapSize: u32 & AugmentedConst; + /** + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can happen. Once there + * are more stale pages than this, then historical pages may be dropped, even if they contain unprocessed + * overweight messages. + */ + maxStale: u32 & AugmentedConst; + /** + * The amount of weight (if any) which should be provided to the message queue for servicing enqueued items. + * + * This may be legitimately `None` in the case that you will call `ServiceQueues::service_queues` manually. + */ + serviceWeight: Option & AugmentedConst; + /** Generic const */ + [key: string]: Codec; + }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. @@ -177,9 +203,9 @@ declare module "@polkadot/api-base/types/consts" { }; transactionPayment: { /** - * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` * - * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later added to a tip component in + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later added to a tip component in * regular `priority` calculations. It means that a `Normal` transaction can front-run a similarly-sized * `Operational` extrinsic (with no tip), by including a tip value greater than the virtual tip. * @@ -243,5 +269,16 @@ declare module "@polkadot/api-base/types/consts" { /** Generic const */ [key: string]: Codec; }; + xcmpQueue: { + /** + * The maximum number of inbound XCMP channels that can be suspended simultaneously. + * + * Any further channel suspensions will fail and messages may get dropped without further notice. Choosing a high + * value (1000) is okay; the trade-off that is described in [`InboundXcmpSuspended`] still applies at that scale. + */ + maxInboundSuspended: u32 & AugmentedConst; + /** Generic const */ + [key: string]: Codec; + }; } // AugmentedConsts } // declare module diff --git a/typescript-api/src/dancebox/interfaces/augment-api-errors.ts b/typescript-api/src/dancebox/interfaces/augment-api-errors.ts index 7f6b654568..9bc4bf8a8e 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-errors.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-errors.ts @@ -71,24 +71,12 @@ declare module "@polkadot/api-base/types/errors" { /** Generic error */ [key: string]: AugmentedError; }; - cumulusXcm: { - /** Generic error */ - [key: string]: AugmentedError; - }; dataPreservers: { /** This container chain does not have any boot nodes */ NoBootNodes: AugmentedError; /** Generic error */ [key: string]: AugmentedError; }; - dmpQueue: { - /** The amount of weight given is possibly not enough for executing the message. */ - OverLimit: AugmentedError; - /** The message index given is unknown. */ - Unknown: AugmentedError; - /** Generic error */ - [key: string]: AugmentedError; - }; foreignAssets: { /** The asset-account already exists. */ AlreadyExists: AugmentedError; @@ -157,16 +145,26 @@ declare module "@polkadot/api-base/types/errors" { InvalidIndex: AugmentedError; /** Invalid judgement. */ InvalidJudgement: AugmentedError; + /** The signature on a username was not valid. */ + InvalidSignature: AugmentedError; + /** The provided suffix is too long. */ + InvalidSuffix: AugmentedError; /** The target is invalid. */ InvalidTarget: AugmentedError; + /** The username does not meet the requirements. */ + InvalidUsername: AugmentedError; /** The provided judgement was for a different identity. */ JudgementForDifferentIdentity: AugmentedError; /** Judgement given. */ JudgementGiven: AugmentedError; /** Error that occurs when there is an issue paying for judgement. */ JudgementPaymentFailed: AugmentedError; + /** The authority cannot allocate any more usernames. */ + NoAllocation: AugmentedError; /** No identity found. */ NoIdentity: AugmentedError; + /** The username cannot be forcefully removed because it can still be accepted. */ + NotExpired: AugmentedError; /** Account isn't found. */ NotFound: AugmentedError; /** Account isn't named. */ @@ -175,14 +173,20 @@ declare module "@polkadot/api-base/types/errors" { NotOwned: AugmentedError; /** Sender is not a sub-account. */ NotSub: AugmentedError; + /** The sender does not have permission to issue a username. */ + NotUsernameAuthority: AugmentedError; + /** The requested username does not exist. */ + NoUsername: AugmentedError; + /** Setting this username requires a signature, but none was provided. */ + RequiresSignature: AugmentedError; /** Sticky judgement. */ StickyJudgement: AugmentedError; - /** Too many additional fields. */ - TooManyFields: AugmentedError; /** Maximum amount of registrars reached. Cannot add any more. */ TooManyRegistrars: AugmentedError; /** Too many subs-accounts. */ TooManySubAccounts: AugmentedError; + /** The username is already taken. */ + UsernameTaken: AugmentedError; /** Generic error */ [key: string]: AugmentedError; }; @@ -206,6 +210,36 @@ declare module "@polkadot/api-base/types/errors" { /** Generic error */ [key: string]: AugmentedError; }; + messageQueue: { + /** The message was already processed and cannot be processed again. */ + AlreadyProcessed: AugmentedError; + /** There is temporarily not enough weight to continue servicing messages. */ + InsufficientWeight: AugmentedError; + /** The referenced message could not be found. */ + NoMessage: AugmentedError; + /** Page to be reaped does not exist. */ + NoPage: AugmentedError; + /** Page is not reapable because it has items remaining to be processed and is not old enough. */ + NotReapable: AugmentedError; + /** The message is queued for future execution. */ + Queued: AugmentedError; + /** + * The queue is paused and no message can be executed from it. + * + * This can change at any time and may resolve in the future by re-trying. + */ + QueuePaused: AugmentedError; + /** Another call is in progress and needs to finish before this call can happen. */ + RecursiveDisallowed: AugmentedError; + /** + * This message is temporarily unprocessable. + * + * Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying. + */ + TemporarilyUnprocessable: AugmentedError; + /** Generic error */ + [key: string]: AugmentedError; + }; migrations: { /** Preimage already exists in the new storage. */ PreimageAlreadyExists: AugmentedError; @@ -247,6 +281,8 @@ declare module "@polkadot/api-base/types/errors" { BadLocation: AugmentedError; /** The version of the `Versioned` value used is not able to be interpreted. */ BadVersion: AugmentedError; + /** Could not check-out the assets for teleportation to the destination chain. */ + CannotCheckOutTeleport: AugmentedError; /** Could not re-anchor the assets to declare the fees for the destination chain. */ CannotReanchor: AugmentedError; /** The destination `MultiLocation` provided cannot be inverted. */ @@ -259,10 +295,16 @@ declare module "@polkadot/api-base/types/errors" { Filtered: AugmentedError; /** The unlock operation cannot succeed because there are still consumers of the lock. */ InUse: AugmentedError; - /** Invalid asset for the operation. */ - InvalidAsset: AugmentedError; + /** Invalid non-concrete asset. */ + InvalidAssetNotConcrete: AugmentedError; + /** Invalid asset, reserve chain could not be determined for it. */ + InvalidAssetUnknownReserve: AugmentedError; + /** Invalid asset, do not support remote asset reserves with different fees reserves. */ + InvalidAssetUnsupportedReserve: AugmentedError; /** Origin is invalid for sending. */ InvalidOrigin: AugmentedError; + /** Local XCM execution incomplete. */ + LocalExecutionIncomplete: AugmentedError; /** A remote lock with the corresponding data could not be found. */ LockNotFound: AugmentedError; /** The owner does not own (all) of the asset that they wish to do the operation on. */ @@ -278,6 +320,8 @@ declare module "@polkadot/api-base/types/errors" { TooManyAssets: AugmentedError; /** The asset owner has too many locks on the asset. */ TooManyLocks: AugmentedError; + /** Too many assets with different reserve locations have been attempted for transfer. */ + TooManyReserves: AugmentedError; /** The desired destination was unreachable, generally because there is a no way of routing to it. */ Unreachable: AugmentedError; /** The message's weight could not be determined. */ @@ -388,7 +432,7 @@ declare module "@polkadot/api-base/types/errors" { [key: string]: AugmentedError; }; sudo: { - /** Sender must be the Sudo account */ + /** Sender must be the Sudo account. */ RequireSudo: AugmentedError; /** Generic error */ [key: string]: AugmentedError; @@ -408,8 +452,12 @@ declare module "@polkadot/api-base/types/errors" { NonDefaultComposite: AugmentedError; /** There is a non-zero reference count preventing the account from being purged. */ NonZeroRefCount: AugmentedError; + /** No upgrade authorized. */ + NothingAuthorized: AugmentedError; /** The specification version is not allowed to decrease between the current runtime and the new runtime. */ SpecVersionNeedsToIncrease: AugmentedError; + /** The submitted code is not authorized. */ + Unauthorized: AugmentedError; /** Generic error */ [key: string]: AugmentedError; }; @@ -459,16 +507,12 @@ declare module "@polkadot/api-base/types/errors" { [key: string]: AugmentedError; }; xcmpQueue: { - /** Bad overweight index. */ - BadOverweightIndex: AugmentedError; - /** Bad XCM data. */ - BadXcm: AugmentedError; - /** Bad XCM origin. */ - BadXcmOrigin: AugmentedError; - /** Failed to send XCM message. */ - FailedToSend: AugmentedError; - /** Provided weight is possibly not enough to execute the message. */ - WeightOverLimit: AugmentedError; + /** The execution is already resumed. */ + AlreadyResumed: AugmentedError; + /** The execution is already suspended. */ + AlreadySuspended: AugmentedError; + /** Setting the queue config failed since one of its values was invalid. */ + BadQueueConfig: AugmentedError; /** Generic error */ [key: string]: AugmentedError; }; diff --git a/typescript-api/src/dancebox/interfaces/augment-api-events.ts b/typescript-api/src/dancebox/interfaces/augment-api-events.ts index 13ae734ba6..182cfc6316 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-events.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-events.ts @@ -10,8 +10,10 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, import type { ITuple } from "@polkadot/types-codec/types"; import type { AccountId32, H256 } from "@polkadot/types/interfaces/runtime"; import type { + CumulusPrimitivesCoreAggregateMessageOrigin, DanceboxRuntimeProxyType, FrameSupportDispatchDispatchInfo, + FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, PalletPooledStakingTargetPool, PalletStreamPaymentDepositChange, @@ -157,56 +159,36 @@ declare module "@polkadot/api-base/types/events" { [key: string]: AugmentedEvent; }; dmpQueue: { - /** Downward message executed with the given outcome. */ - ExecutedDownward: AugmentedEvent< - ApiType, - [messageHash: U8aFixed, messageId: U8aFixed, outcome: XcmV3TraitsOutcome], - { messageHash: U8aFixed; messageId: U8aFixed; outcome: XcmV3TraitsOutcome } - >; - /** Downward message is invalid XCM. */ - InvalidFormat: AugmentedEvent; - /** The maximum number of downward messages was reached. */ - MaxMessagesExhausted: AugmentedEvent; - /** Downward message is overweight and was placed in the overweight queue. */ - OverweightEnqueued: AugmentedEvent< - ApiType, - [ - messageHash: U8aFixed, - messageId: U8aFixed, - overweightIndex: u64, - requiredWeight: SpWeightsWeightV2Weight - ], - { - messageHash: U8aFixed; - messageId: U8aFixed; - overweightIndex: u64; - requiredWeight: SpWeightsWeightV2Weight; - } - >; - /** Downward message from the overweight queue was executed. */ - OverweightServiced: AugmentedEvent< - ApiType, - [overweightIndex: u64, weightUsed: SpWeightsWeightV2Weight], - { overweightIndex: u64; weightUsed: SpWeightsWeightV2Weight } - >; - /** Downward message is unsupported version of XCM. */ - UnsupportedVersion: AugmentedEvent; - /** The weight limit for handling downward messages was reached. */ - WeightExhausted: AugmentedEvent< - ApiType, - [ - messageHash: U8aFixed, - messageId: U8aFixed, - remainingWeight: SpWeightsWeightV2Weight, - requiredWeight: SpWeightsWeightV2Weight - ], - { - messageHash: U8aFixed; - messageId: U8aFixed; - remainingWeight: SpWeightsWeightV2Weight; - requiredWeight: SpWeightsWeightV2Weight; - } - >; + /** Some debris was cleaned up. */ + CleanedSome: AugmentedEvent; + /** The cleanup of remaining pallet storage completed. */ + Completed: AugmentedEvent; + /** The export of pages completed. */ + CompletedExport: AugmentedEvent; + /** The export of overweight messages completed. */ + CompletedOverweightExport: AugmentedEvent; + /** The export of a page completed. */ + Exported: AugmentedEvent; + /** The export of an overweight message completed. */ + ExportedOverweight: AugmentedEvent; + /** + * The export of a page failed. + * + * This should never be emitted. + */ + ExportFailed: AugmentedEvent; + /** + * The export of an overweight message failed. + * + * This should never be emitted. + */ + ExportOverweightFailed: AugmentedEvent; + /** The cleanup of remaining pallet storage started. */ + StartedCleanup: AugmentedEvent; + /** The export of pages started. */ + StartedExport: AugmentedEvent; + /** The export of overweight messages started. */ + StartedOverweightExport: AugmentedEvent; /** Generic event */ [key: string]: AugmentedEvent; }; @@ -351,6 +333,16 @@ declare module "@polkadot/api-base/types/events" { [key: string]: AugmentedEvent; }; identity: { + /** A username authority was added. */ + AuthorityAdded: AugmentedEvent; + /** A username authority was removed. */ + AuthorityRemoved: AugmentedEvent; + /** A dangling username (as in, a username corresponding to an account that has removed its identity) has been removed. */ + DanglingUsernameRemoved: AugmentedEvent< + ApiType, + [who: AccountId32, username: Bytes], + { who: AccountId32; username: Bytes } + >; /** A name was cleared, and the given balance returned. */ IdentityCleared: AugmentedEvent< ApiType, @@ -383,6 +375,14 @@ declare module "@polkadot/api-base/types/events" { [who: AccountId32, registrarIndex: u32], { who: AccountId32; registrarIndex: u32 } >; + /** A queued username passed its expiration without being claimed and was removed. */ + PreapprovalExpired: AugmentedEvent; + /** A username was set as a primary and can be looked up from `who`. */ + PrimaryUsernameSet: AugmentedEvent< + ApiType, + [who: AccountId32, username: Bytes], + { who: AccountId32; username: Bytes } + >; /** A registrar was added. */ RegistrarAdded: AugmentedEvent; /** A sub-identity was added to an identity and the deposit paid. */ @@ -403,6 +403,18 @@ declare module "@polkadot/api-base/types/events" { [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32; main: AccountId32; deposit: u128 } >; + /** A username was queued, but `who` must accept it prior to `expiration`. */ + UsernameQueued: AugmentedEvent< + ApiType, + [who: AccountId32, username: Bytes, expiration: u32], + { who: AccountId32; username: Bytes; expiration: u32 } + >; + /** A username was set for `who`. */ + UsernameSet: AugmentedEvent< + ApiType, + [who: AccountId32, username: Bytes], + { who: AccountId32; username: Bytes } + >; /** Generic event */ [key: string]: AugmentedEvent; }; @@ -461,6 +473,52 @@ declare module "@polkadot/api-base/types/events" { /** Generic event */ [key: string]: AugmentedEvent; }; + messageQueue: { + /** Message placed in overweight queue. */ + OverweightEnqueued: AugmentedEvent< + ApiType, + [id: U8aFixed, origin: CumulusPrimitivesCoreAggregateMessageOrigin, pageIndex: u32, messageIndex: u32], + { id: U8aFixed; origin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: u32; messageIndex: u32 } + >; + /** This page was reaped. */ + PageReaped: AugmentedEvent< + ApiType, + [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], + { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 } + >; + /** Message is processed. */ + Processed: AugmentedEvent< + ApiType, + [ + id: H256, + origin: CumulusPrimitivesCoreAggregateMessageOrigin, + weightUsed: SpWeightsWeightV2Weight, + success: bool + ], + { + id: H256; + origin: CumulusPrimitivesCoreAggregateMessageOrigin; + weightUsed: SpWeightsWeightV2Weight; + success: bool; + } + >; + /** Message discarded due to an error in the `MessageProcessor` (usually a format error). */ + ProcessingFailed: AugmentedEvent< + ApiType, + [ + id: H256, + origin: CumulusPrimitivesCoreAggregateMessageOrigin, + error: FrameSupportMessagesProcessMessageError + ], + { + id: H256; + origin: CumulusPrimitivesCoreAggregateMessageOrigin; + error: FrameSupportMessagesProcessMessageError; + } + >; + /** Generic event */ + [key: string]: AugmentedEvent; + }; migrations: { /** XCM execution resume failed with inner error */ FailedToResumeIdleXcmExecution: AugmentedEvent< @@ -502,8 +560,6 @@ declare module "@polkadot/api-base/types/events" { >; /** Some downward messages have been received and will be processed. */ DownwardMessagesReceived: AugmentedEvent; - /** An upgrade has been authorized. */ - UpgradeAuthorized: AugmentedEvent; /** An upward message was sent to the relay chain. */ UpwardMessageSent: AugmentedEvent< ApiType, @@ -934,6 +990,12 @@ declare module "@polkadot/api-base/types/events" { /** Generic event */ [key: string]: AugmentedEvent; }; + rootTesting: { + /** Event dispatched when the trigger_defensive extrinsic is called. */ + DefensiveTestCall: AugmentedEvent; + /** Generic event */ + [key: string]: AugmentedEvent; + }; servicesPayment: { BlockProductionCreditBurned: AugmentedEvent< ApiType, @@ -1019,7 +1081,13 @@ declare module "@polkadot/api-base/types/events" { }; sudo: { /** The sudo key has been updated. */ - KeyChanged: AugmentedEvent], { oldSudoer: Option }>; + KeyChanged: AugmentedEvent< + ApiType, + [old: Option, new_: AccountId32], + { old: Option; new_: AccountId32 } + >; + /** The key was permanently removed. */ + KeyRemoved: AugmentedEvent; /** A sudo call just took place. */ Sudid: AugmentedEvent< ApiType, @@ -1056,6 +1124,12 @@ declare module "@polkadot/api-base/types/events" { NewAccount: AugmentedEvent; /** On on-chain remark happened. */ Remarked: AugmentedEvent; + /** An upgrade was authorized. */ + UpgradeAuthorized: AugmentedEvent< + ApiType, + [codeHash: H256, checkVersion: bool], + { codeHash: H256; checkVersion: bool } + >; /** Generic event */ [key: string]: AugmentedEvent; }; @@ -1162,34 +1236,6 @@ declare module "@polkadot/api-base/types/events" { [key: string]: AugmentedEvent; }; xcmpQueue: { - /** Bad XCM format used. */ - BadFormat: AugmentedEvent; - /** Bad XCM version used. */ - BadVersion: AugmentedEvent; - /** Some XCM failed. */ - Fail: AugmentedEvent< - ApiType, - [messageHash: U8aFixed, messageId: U8aFixed, error: XcmV3TraitsError, weight: SpWeightsWeightV2Weight], - { messageHash: U8aFixed; messageId: U8aFixed; error: XcmV3TraitsError; weight: SpWeightsWeightV2Weight } - >; - /** An XCM exceeded the individual message weight budget. */ - OverweightEnqueued: AugmentedEvent< - ApiType, - [sender: u32, sentAt: u32, index: u64, required: SpWeightsWeightV2Weight], - { sender: u32; sentAt: u32; index: u64; required: SpWeightsWeightV2Weight } - >; - /** An XCM from the overweight queue was executed with the given actual weight used. */ - OverweightServiced: AugmentedEvent< - ApiType, - [index: u64, used: SpWeightsWeightV2Weight], - { index: u64; used: SpWeightsWeightV2Weight } - >; - /** Some XCM was executed ok. */ - Success: AugmentedEvent< - ApiType, - [messageHash: U8aFixed, messageId: U8aFixed, weight: SpWeightsWeightV2Weight], - { messageHash: U8aFixed; messageId: U8aFixed; weight: SpWeightsWeightV2Weight } - >; /** An HRMP message was sent to a sibling parachain. */ XcmpMessageSent: AugmentedEvent; /** Generic event */ diff --git a/typescript-api/src/dancebox/interfaces/augment-api-query.ts b/typescript-api/src/dancebox/interfaces/augment-api-query.ts index 898a78242f..20f4598e43 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-query.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-query.ts @@ -7,24 +7,36 @@ import "@polkadot/api-base/types/storage"; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; -import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from "@polkadot/types-codec"; +import type { + BTreeMap, + BTreeSet, + Bytes, + Null, + Option, + U8aFixed, + Vec, + bool, + u128, + u16, + u32, + u64, +} from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { AccountId32, H256 } from "@polkadot/types/interfaces/runtime"; import type { - CumulusPalletDmpQueueConfigData, - CumulusPalletDmpQueuePageIndexData, - CumulusPalletParachainSystemCodeUpgradeAuthorization, + CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, - CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, + CumulusPrimitivesCoreAggregateMessageOrigin, DanceboxRuntimeSessionKeys, DpCollatorAssignmentAssignedCollatorsAccountId32, DpCollatorAssignmentAssignedCollatorsPublic, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, + FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, @@ -40,9 +52,12 @@ import type { PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletConfigurationHostConfiguration, + PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationRewardsChainsToRewardValue, + PalletMessageQueueBookState, + PalletMessageQueuePage, PalletPooledStakingCandidateEligibleCandidate, PalletPooledStakingPendingOperationKey, PalletPooledStakingPoolsKey, @@ -107,6 +122,8 @@ declare module "@polkadot/api-base/types/storage" { /** Author of current block. */ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** Check if the inherent was included */ + inherentIncluded: AugmentedQuery Observable, []> & QueryableStorageEntry; /** Generic query */ [key: string]: QueryableStorageEntry; }; @@ -277,29 +294,9 @@ declare module "@polkadot/api-base/types/storage" { [key: string]: QueryableStorageEntry; }; dmpQueue: { - /** The configuration. */ - configuration: AugmentedQuery Observable, []> & - QueryableStorageEntry; - /** Counter for the related counted storage map */ - counterForOverweight: AugmentedQuery Observable, []> & - QueryableStorageEntry; - /** The overweight messages. */ - overweight: AugmentedQuery< - ApiType, - (arg: u64 | AnyNumber | Uint8Array) => Observable>>, - [u64] - > & - QueryableStorageEntry; - /** The page index. */ - pageIndex: AugmentedQuery Observable, []> & + /** The migration state of this pallet. */ + migrationStatus: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The queue pages. */ - pages: AugmentedQuery< - ApiType, - (arg: u32 | AnyNumber | Uint8Array) => Observable>>, - [u32] - > & - QueryableStorageEntry; /** Generic query */ [key: string]: QueryableStorageEntry; }; @@ -374,16 +371,44 @@ declare module "@polkadot/api-base/types/storage" { }; identity: { /** - * Information that is pertinent to identify the entity behind an account. + * Reverse lookup from `username` to the `AccountId` that has registered it. The value should be a key in the + * `IdentityOf` map, but it may not if the user has cleared their identity. + * + * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one primary username. + */ + accountOfUsername: AugmentedQuery< + ApiType, + (arg: Bytes | string | Uint8Array) => Observable>, + [Bytes] + > & + QueryableStorageEntry; + /** + * Information that is pertinent to identify the entity behind an account. First item is the registration, second + * is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. */ identityOf: AugmentedQuery< ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable>, + ( + arg: AccountId32 | string | Uint8Array + ) => Observable]>>>, [AccountId32] > & QueryableStorageEntry; + /** + * Usernames that an authority has granted, but that the account controller has not confirmed that they want it. + * Used primarily in cases where the `AccountId` cannot provide a signature because they are a pure proxy, + * multisig, etc. In order to confirm it, they should call [`Call::accept_username`]. + * + * First tuple item is the account and second is the acceptance deadline. + */ + pendingUsernames: AugmentedQuery< + ApiType, + (arg: Bytes | string | Uint8Array) => Observable>>, + [Bytes] + > & + QueryableStorageEntry; /** * The set of registrars. Not expected to get very big as can only be added through a special origin (likely a * council motion). @@ -415,6 +440,13 @@ declare module "@polkadot/api-base/types/storage" { [AccountId32] > & QueryableStorageEntry; + /** A map of the accounts who are authorized to grant usernames. */ + usernameAuthorities: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; /** Generic query */ [key: string]: QueryableStorageEntry; }; @@ -442,6 +474,48 @@ declare module "@polkadot/api-base/types/storage" { /** Generic query */ [key: string]: QueryableStorageEntry; }; + messageQueue: { + /** The index of the first and last (non-empty) pages. */ + bookStateFor: AugmentedQuery< + ApiType, + ( + arg: + | CumulusPrimitivesCoreAggregateMessageOrigin + | { Here: any } + | { Parent: any } + | { Sibling: any } + | string + | Uint8Array + ) => Observable, + [CumulusPrimitivesCoreAggregateMessageOrigin] + > & + QueryableStorageEntry; + /** The map of page indices to pages. */ + pages: AugmentedQuery< + ApiType, + ( + arg1: + | CumulusPrimitivesCoreAggregateMessageOrigin + | { Here: any } + | { Parent: any } + | { Sibling: any } + | string + | Uint8Array, + arg2: u32 | AnyNumber | Uint8Array + ) => Observable>, + [CumulusPrimitivesCoreAggregateMessageOrigin, u32] + > & + QueryableStorageEntry; + /** The origin at which we should begin servicing. */ + serviceHead: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** Generic query */ + [key: string]: QueryableStorageEntry; + }; migrations: { /** True if all required migrations have completed */ fullyUpgraded: AugmentedQuery Observable, []> & QueryableStorageEntry; @@ -481,13 +555,6 @@ declare module "@polkadot/api-base/types/storage" { */ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The next authorized upgrade, if there is one. */ - authorizedUpgrade: AugmentedQuery< - ApiType, - () => Observable>, - [] - > & - QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * @@ -1041,6 +1108,13 @@ declare module "@polkadot/api-base/types/storage" { /** Total length (in bytes) for all extrinsics put together, for the current block. */ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** `Some` if a code upgrade has been authorized. */ + authorizedUpgrade: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; /** Map of block numbers to block hashes. */ blockHash: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; @@ -1167,25 +1241,19 @@ declare module "@polkadot/api-base/types/storage" { [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** Counter for the related counted storage map */ - counterForOverweight: AugmentedQuery Observable, []> & - QueryableStorageEntry; /** The factor to multiply the base delivery fee by. */ deliveryFeeFactor: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** Inbound aggregate XCMP messages. It can only be one per ParaId/block. */ - inboundXcmpMessages: AugmentedQuery< - ApiType, - (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable, - [u32, u32] - > & - QueryableStorageEntry; - /** Status of the inbound XCMP channels. */ - inboundXcmpStatus: AugmentedQuery< - ApiType, - () => Observable>, - [] - > & + /** + * The suspended inbound XCMP channels. All others are not suspended. + * + * This is a `StorageValue` instead of a `StorageMap` since we expect multiple reads per block to different keys + * with a one byte payload. The access to `BoundedBTreeSet` will be cached within the block and therefore only + * included once in the proof size. + * + * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof will be smaller. + */ + inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** The messages outbound in a given XCMP channel. */ outboundXcmpMessages: AugmentedQuery< @@ -1207,22 +1275,6 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** - * The messages that exceeded max individual message weight budget. - * - * These message stay in this storage map until they are manually dispatched via `service_overweight`. - */ - overweight: AugmentedQuery< - ApiType, - (arg: u64 | AnyNumber | Uint8Array) => Observable>>, - [u64] - > & - QueryableStorageEntry; - /** - * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next available free - * overweight index. - */ - overweightCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** The configuration which controls the dynamics of the outbound queue. */ queueConfig: AugmentedQuery Observable, []> & QueryableStorageEntry; diff --git a/typescript-api/src/dancebox/interfaces/augment-api-tx.ts b/typescript-api/src/dancebox/interfaces/augment-api-tx.ts index 66d41bd0f2..6f8cca55b2 100644 --- a/typescript-api/src/dancebox/interfaces/augment-api-tx.ts +++ b/typescript-api/src/dancebox/interfaces/augment-api-tx.ts @@ -16,14 +16,14 @@ import type { Bytes, Compact, Null, Option, Vec, bool, u128, u16, u32, u64, u8 } import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { AccountId32, Call, H256, MultiAddress, Perbill } from "@polkadot/types/interfaces/runtime"; import type { + CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, DanceboxRuntimeOriginCaller, DanceboxRuntimeProxyType, DanceboxRuntimeSessionKeys, DanceboxRuntimeStreamPaymentAssetId, - PalletIdentityBitFlags, PalletIdentityJudgement, - PalletIdentitySimpleIdentityInfo, + PalletIdentityLegacyIdentityInfo, PalletPooledStakingAllTargetPool, PalletPooledStakingPendingOperationQuery, PalletPooledStakingSharesOrStake, @@ -31,6 +31,7 @@ import type { PalletStreamPaymentChangeKind, PalletStreamPaymentDepositChange, PalletStreamPaymentStreamConfig, + SpRuntimeMultiSignature, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, TpAuthorNotingInherentOwnParachainInherentData, @@ -292,14 +293,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; dmpQueue: { - /** See [`Pallet::service_overweight`]. */ - serviceOverweight: AugmentedSubmittable< - ( - index: u64 | AnyNumber | Uint8Array, - weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic, - [u64, SpWeightsWeightV2Weight] - >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; @@ -806,6 +799,11 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; identity: { + /** See [`Pallet::accept_username`]. */ + acceptUsername: AugmentedSubmittable< + (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; /** See [`Pallet::add_registrar`]. */ addRegistrar: AugmentedSubmittable< ( @@ -846,6 +844,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MultiAddress, Data] >; + /** See [`Pallet::add_username_authority`]. */ + addUsernameAuthority: AugmentedSubmittable< + ( + authority: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + suffix: Bytes | string | Uint8Array, + allocation: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress, Bytes, u32] + >; /** See [`Pallet::cancel_request`]. */ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, @@ -898,6 +913,16 @@ declare module "@polkadot/api-base/types/submittable" { >; /** See [`Pallet::quit_sub`]. */ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** See [`Pallet::remove_dangling_username`]. */ + removeDanglingUsername: AugmentedSubmittable< + (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** See [`Pallet::remove_expired_approval`]. */ + removeExpiredApproval: AugmentedSubmittable< + (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; /** See [`Pallet::remove_sub`]. */ removeSub: AugmentedSubmittable< ( @@ -913,6 +938,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MultiAddress] >; + /** See [`Pallet::remove_username_authority`]. */ + removeUsernameAuthority: AugmentedSubmittable< + ( + authority: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress] + >; /** See [`Pallet::rename_sub`]. */ renameSub: AugmentedSubmittable< ( @@ -974,15 +1014,15 @@ declare module "@polkadot/api-base/types/submittable" { setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, - fields: PalletIdentityBitFlags + fields: u64 | AnyNumber | Uint8Array ) => SubmittableExtrinsic, - [Compact, PalletIdentityBitFlags] + [Compact, u64] >; /** See [`Pallet::set_identity`]. */ setIdentity: AugmentedSubmittable< ( info: - | PalletIdentitySimpleIdentityInfo + | PalletIdentityLegacyIdentityInfo | { additional?: any; display?: any; @@ -997,7 +1037,12 @@ declare module "@polkadot/api-base/types/submittable" { | string | Uint8Array ) => SubmittableExtrinsic, - [PalletIdentitySimpleIdentityInfo] + [PalletIdentityLegacyIdentityInfo] + >; + /** See [`Pallet::set_primary_username`]. */ + setPrimaryUsername: AugmentedSubmittable< + (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] >; /** See [`Pallet::set_subs`]. */ setSubs: AugmentedSubmittable< @@ -1021,6 +1066,31 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; + /** See [`Pallet::set_username_for`]. */ + setUsernameFor: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + username: Bytes | string | Uint8Array, + signature: + | Option + | null + | Uint8Array + | SpRuntimeMultiSignature + | { Ed25519: any } + | { Sr25519: any } + | { Ecdsa: any } + | string + ) => SubmittableExtrinsic, + [MultiAddress, Bytes, Option] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; @@ -1051,6 +1121,40 @@ declare module "@polkadot/api-base/types/submittable" { /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; + messageQueue: { + /** See [`Pallet::execute_overweight`]. */ + executeOverweight: AugmentedSubmittable< + ( + messageOrigin: + | CumulusPrimitivesCoreAggregateMessageOrigin + | { Here: any } + | { Parent: any } + | { Sibling: any } + | string + | Uint8Array, + page: u32 | AnyNumber | Uint8Array, + index: u32 | AnyNumber | Uint8Array, + weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] + >; + /** See [`Pallet::reap_page`]. */ + reapPage: AugmentedSubmittable< + ( + messageOrigin: + | CumulusPrimitivesCoreAggregateMessageOrigin + | { Here: any } + | { Parent: any } + | { Sibling: any } + | string + | Uint8Array, + pageIndex: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [CumulusPrimitivesCoreAggregateMessageOrigin, u32] + >; + /** Generic tx */ + [key: string]: SubmittableExtrinsicFunction; + }; parachainInfo: { /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; @@ -1184,6 +1288,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32] >; + /** See [`Pallet::transfer_assets`]. */ + transferAssets: AugmentedSubmittable< + ( + dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, + beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, + assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, + feeAssetItem: u32 | AnyNumber | Uint8Array, + weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit] + >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; @@ -1559,6 +1674,8 @@ declare module "@polkadot/api-base/types/submittable" { (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; + /** See `Pallet::trigger_defensive`. */ + triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; @@ -1717,6 +1834,8 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; sudo: { + /** See [`Pallet::remove_key`]. */ + removeKey: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** See [`Pallet::set_key`]. */ setKey: AugmentedSubmittable< ( @@ -1765,6 +1884,21 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; system: { + /** See [`Pallet::apply_authorized_upgrade`]. */ + applyAuthorizedUpgrade: AugmentedSubmittable< + (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, + [Bytes] + >; + /** See [`Pallet::authorize_upgrade`]. */ + authorizeUpgrade: AugmentedSubmittable< + (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; + /** See [`Pallet::authorize_upgrade_without_checks`]. */ + authorizeUpgradeWithoutChecks: AugmentedSubmittable< + (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, + [H256] + >; /** See [`Pallet::kill_prefix`]. */ killPrefix: AugmentedSubmittable< ( @@ -1966,14 +2100,6 @@ declare module "@polkadot/api-base/types/submittable" { xcmpQueue: { /** See [`Pallet::resume_xcm_execution`]. */ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** See [`Pallet::service_overweight`]. */ - serviceOverweight: AugmentedSubmittable< - ( - index: u64 | AnyNumber | Uint8Array, - weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic, - [u64, SpWeightsWeightV2Weight] - >; /** See [`Pallet::suspend_xcm_execution`]. */ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** See [`Pallet::update_drop_threshold`]. */ @@ -1991,27 +2117,6 @@ declare module "@polkadot/api-base/types/submittable" { (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** See [`Pallet::update_threshold_weight`]. */ - updateThresholdWeight: AugmentedSubmittable< - ( - updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic, - [SpWeightsWeightV2Weight] - >; - /** See [`Pallet::update_weight_restrict_decay`]. */ - updateWeightRestrictDecay: AugmentedSubmittable< - ( - updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic, - [SpWeightsWeightV2Weight] - >; - /** See [`Pallet::update_xcmp_max_individual_weight`]. */ - updateXcmpMaxIndividualWeight: AugmentedSubmittable< - ( - updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic, - [SpWeightsWeightV2Weight] - >; /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; diff --git a/typescript-api/src/dancebox/interfaces/lookup.ts b/typescript-api/src/dancebox/interfaces/lookup.ts index c1f45e2aa1..2fafbac4d9 100644 --- a/typescript-api/src/dancebox/interfaces/lookup.ts +++ b/typescript-api/src/dancebox/interfaces/lookup.ts @@ -78,6 +78,10 @@ export default { sender: "AccountId32", hash_: "H256", }, + UpgradeAuthorized: { + codeHash: "H256", + checkVersion: "bool", + }, }, }, /** Lookup22: frame_support::dispatch::DispatchInfo */ @@ -141,7 +145,7 @@ export default { SpRuntimeTransactionalError: { _enum: ["LimitReached", "NoLayer"], }, - /** Lookup30: cumulus_pallet_parachain_system::pallet::Event */ + /** Lookup31: cumulus_pallet_parachain_system::pallet::Event */ CumulusPalletParachainSystemEvent: { _enum: { ValidationFunctionStored: "Null", @@ -149,9 +153,6 @@ export default { relayChainBlockNum: "u32", }, ValidationFunctionDiscarded: "Null", - UpgradeAuthorized: { - codeHash: "H256", - }, DownwardMessagesReceived: { count: "u32", }, @@ -164,21 +165,26 @@ export default { }, }, }, - /** Lookup32: pallet_sudo::pallet::Event */ + /** Lookup33: pallet_sudo::pallet::Event */ PalletSudoEvent: { _enum: { Sudid: { sudoResult: "Result", }, KeyChanged: { - oldSudoer: "Option", + _alias: { + new_: "new", + }, + old: "Option", + new_: "AccountId32", }, + KeyRemoved: "Null", SudoAsDone: { sudoResult: "Result", }, }, }, - /** Lookup36: pallet_utility::pallet::Event */ + /** Lookup37: pallet_utility::pallet::Event */ PalletUtilityEvent: { _enum: { BatchInterrupted: { @@ -196,7 +202,7 @@ export default { }, }, }, - /** Lookup37: pallet_proxy::pallet::Event */ + /** Lookup38: pallet_proxy::pallet::Event */ PalletProxyEvent: { _enum: { ProxyExecuted: { @@ -227,11 +233,11 @@ export default { }, }, }, - /** Lookup38: dancebox_runtime::ProxyType */ + /** Lookup39: dancebox_runtime::ProxyType */ DanceboxRuntimeProxyType: { _enum: ["Any", "NonTransfer", "Governance", "Staking", "CancelProxy", "Balances", "Registrar", "SudoRegistrar"], }, - /** Lookup40: pallet_migrations::pallet::Event */ + /** Lookup41: pallet_migrations::pallet::Event */ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", @@ -253,7 +259,7 @@ export default { }, }, }, - /** Lookup41: pallet_maintenance_mode::pallet::Event */ + /** Lookup42: pallet_maintenance_mode::pallet::Event */ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", @@ -266,7 +272,7 @@ export default { }, }, }, - /** Lookup42: pallet_tx_pause::pallet::Event */ + /** Lookup43: pallet_tx_pause::pallet::Event */ PalletTxPauseEvent: { _enum: { CallPaused: { @@ -277,7 +283,7 @@ export default { }, }, }, - /** Lookup45: pallet_balances::pallet::Event */ + /** Lookup46: pallet_balances::pallet::Event */ PalletBalancesEvent: { _enum: { Endowed: { @@ -366,11 +372,11 @@ export default { }, }, }, - /** Lookup46: frame_support::traits::tokens::misc::BalanceStatus */ + /** Lookup47: frame_support::traits::tokens::misc::BalanceStatus */ FrameSupportTokensMiscBalanceStatus: { _enum: ["Free", "Reserved"], }, - /** Lookup47: pallet_transaction_payment::pallet::Event */ + /** Lookup48: pallet_transaction_payment::pallet::Event */ PalletTransactionPaymentEvent: { _enum: { TransactionFeePaid: { @@ -380,7 +386,7 @@ export default { }, }, }, - /** Lookup48: pallet_stream_payment::pallet::Event */ + /** Lookup49: pallet_stream_payment::pallet::Event */ PalletStreamPaymentEvent: { _enum: { StreamOpened: { @@ -485,9 +491,35 @@ export default { main: "AccountId32", deposit: "u128", }, + AuthorityAdded: { + authority: "AccountId32", + }, + AuthorityRemoved: { + authority: "AccountId32", + }, + UsernameSet: { + who: "AccountId32", + username: "Bytes", + }, + UsernameQueued: { + who: "AccountId32", + username: "Bytes", + expiration: "u32", + }, + PreapprovalExpired: { + whose: "AccountId32", + }, + PrimaryUsernameSet: { + who: "AccountId32", + username: "Bytes", + }, + DanglingUsernameRemoved: { + who: "AccountId32", + username: "Bytes", + }, }, }, - /** Lookup57: pallet_registrar::pallet::Event */ + /** Lookup58: pallet_registrar::pallet::Event */ PalletRegistrarEvent: { _enum: { ParaIdRegistered: { @@ -510,7 +542,7 @@ export default { }, }, }, - /** Lookup59: pallet_collator_assignment::pallet::Event */ + /** Lookup60: pallet_collator_assignment::pallet::Event */ PalletCollatorAssignmentEvent: { _enum: { NewPendingAssignment: { @@ -520,7 +552,7 @@ export default { }, }, }, - /** Lookup60: pallet_author_noting::pallet::Event */ + /** Lookup61: pallet_author_noting::pallet::Event */ PalletAuthorNotingEvent: { _enum: { LatestAuthorChanged: { @@ -533,7 +565,7 @@ export default { }, }, }, - /** Lookup61: pallet_services_payment::pallet::Event */ + /** Lookup62: pallet_services_payment::pallet::Event */ PalletServicesPaymentEvent: { _enum: { CreditsPurchased: { @@ -563,7 +595,7 @@ export default { }, }, }, - /** Lookup62: pallet_data_preservers::pallet::Event */ + /** Lookup63: pallet_data_preservers::pallet::Event */ PalletDataPreserversEvent: { _enum: { BootNodesChanged: { @@ -571,7 +603,7 @@ export default { }, }, }, - /** Lookup63: pallet_invulnerables::pallet::Event */ + /** Lookup64: pallet_invulnerables::pallet::Event */ PalletInvulnerablesEvent: { _enum: { NewInvulnerables: { @@ -588,7 +620,7 @@ export default { }, }, }, - /** Lookup65: pallet_session::pallet::Event */ + /** Lookup66: pallet_session::pallet::Event */ PalletSessionEvent: { _enum: { NewSession: { @@ -596,7 +628,7 @@ export default { }, }, }, - /** Lookup66: pallet_pooled_staking::pallet::Event */ + /** Lookup67: pallet_pooled_staking::pallet::Event */ PalletPooledStakingEvent: { _enum: { UpdatedCandidatePosition: { @@ -691,11 +723,11 @@ export default { }, }, }, - /** Lookup68: pallet_pooled_staking::pallet::TargetPool */ + /** Lookup69: pallet_pooled_staking::pallet::TargetPool */ PalletPooledStakingTargetPool: { _enum: ["AutoCompounding", "ManualRewards"], }, - /** Lookup69: pallet_inflation_rewards::pallet::Event */ + /** Lookup70: pallet_inflation_rewards::pallet::Event */ PalletInflationRewardsEvent: { _enum: { RewardedOrchestrator: { @@ -709,7 +741,7 @@ export default { }, }, }, - /** Lookup70: pallet_treasury::pallet::Event */ + /** Lookup71: pallet_treasury::pallet::Event */ PalletTreasuryEvent: { _enum: { Proposed: { @@ -769,42 +801,31 @@ export default { }, }, }, - /** Lookup71: cumulus_pallet_xcmp_queue::pallet::Event */ + /** Lookup72: cumulus_pallet_xcmp_queue::pallet::Event */ CumulusPalletXcmpQueueEvent: { _enum: { - Success: { - messageHash: "[u8;32]", - messageId: "[u8;32]", - weight: "SpWeightsWeightV2Weight", - }, - Fail: { - messageHash: "[u8;32]", - messageId: "[u8;32]", - error: "XcmV3TraitsError", - weight: "SpWeightsWeightV2Weight", - }, - BadVersion: { - messageHash: "[u8;32]", - }, - BadFormat: { - messageHash: "[u8;32]", - }, XcmpMessageSent: { messageHash: "[u8;32]", }, - OverweightEnqueued: { - sender: "u32", - sentAt: "u32", - index: "u64", - required: "SpWeightsWeightV2Weight", - }, - OverweightServiced: { - index: "u64", - used: "SpWeightsWeightV2Weight", - }, }, }, - /** Lookup72: xcm::v3::traits::Error */ + /** Lookup73: cumulus_pallet_xcm::pallet::Event */ + CumulusPalletXcmEvent: { + _enum: { + InvalidFormat: "[u8;32]", + UnsupportedVersion: "[u8;32]", + ExecutedDownward: "([u8;32],XcmV3TraitsOutcome)", + }, + }, + /** Lookup74: xcm::v3::traits::Outcome */ + XcmV3TraitsOutcome: { + _enum: { + Complete: "SpWeightsWeightV2Weight", + Incomplete: "(SpWeightsWeightV2Weight,XcmV3TraitsError)", + Error: "XcmV3TraitsError", + }, + }, + /** Lookup75: xcm::v3::traits::Error */ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -849,58 +870,35 @@ export default { ExceedsStackLimit: "Null", }, }, - /** Lookup73: cumulus_pallet_xcm::pallet::Event */ - CumulusPalletXcmEvent: { - _enum: { - InvalidFormat: "[u8;32]", - UnsupportedVersion: "[u8;32]", - ExecutedDownward: "([u8;32],XcmV3TraitsOutcome)", - }, - }, - /** Lookup74: xcm::v3::traits::Outcome */ - XcmV3TraitsOutcome: { - _enum: { - Complete: "SpWeightsWeightV2Weight", - Incomplete: "(SpWeightsWeightV2Weight,XcmV3TraitsError)", - Error: "XcmV3TraitsError", - }, - }, - /** Lookup75: cumulus_pallet_dmp_queue::pallet::Event */ + /** Lookup76: cumulus_pallet_dmp_queue::pallet::Event */ CumulusPalletDmpQueueEvent: { _enum: { - InvalidFormat: { - messageHash: "[u8;32]", - }, - UnsupportedVersion: { - messageHash: "[u8;32]", + StartedExport: "Null", + Exported: { + page: "u32", }, - ExecutedDownward: { - messageHash: "[u8;32]", - messageId: "[u8;32]", - outcome: "XcmV3TraitsOutcome", + ExportFailed: { + page: "u32", }, - WeightExhausted: { - messageHash: "[u8;32]", - messageId: "[u8;32]", - remainingWeight: "SpWeightsWeightV2Weight", - requiredWeight: "SpWeightsWeightV2Weight", + CompletedExport: "Null", + StartedOverweightExport: "Null", + ExportedOverweight: { + index: "u64", }, - OverweightEnqueued: { - messageHash: "[u8;32]", - messageId: "[u8;32]", - overweightIndex: "u64", - requiredWeight: "SpWeightsWeightV2Weight", + ExportOverweightFailed: { + index: "u64", }, - OverweightServiced: { - overweightIndex: "u64", - weightUsed: "SpWeightsWeightV2Weight", + CompletedOverweightExport: "Null", + StartedCleanup: "Null", + CleanedSome: { + keysRemoved: "u32", }, - MaxMessagesExhausted: { - messageHash: "[u8;32]", + Completed: { + error: "bool", }, }, }, - /** Lookup76: pallet_xcm::pallet::Event */ + /** Lookup77: pallet_xcm::pallet::Event */ PalletXcmEvent: { _enum: { Attempted: { @@ -1020,12 +1018,12 @@ export default { }, }, }, - /** Lookup77: staging_xcm::v3::multilocation::MultiLocation */ + /** Lookup78: staging_xcm::v3::multilocation::MultiLocation */ StagingXcmV3MultiLocation: { parents: "u8", interior: "XcmV3Junctions", }, - /** Lookup78: xcm::v3::junctions::Junctions */ + /** Lookup79: xcm::v3::junctions::Junctions */ XcmV3Junctions: { _enum: { Here: "Null", @@ -1039,7 +1037,7 @@ export default { X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", }, }, - /** Lookup79: xcm::v3::junction::Junction */ + /** Lookup80: xcm::v3::junction::Junction */ XcmV3Junction: { _enum: { Parachain: "Compact", @@ -1069,7 +1067,7 @@ export default { GlobalConsensus: "XcmV3JunctionNetworkId", }, }, - /** Lookup82: xcm::v3::junction::NetworkId */ + /** Lookup83: xcm::v3::junction::NetworkId */ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -1087,9 +1085,10 @@ export default { }, BitcoinCore: "Null", BitcoinCash: "Null", + PolkadotBulletin: "Null", }, }, - /** Lookup85: xcm::v3::junction::BodyId */ + /** Lookup86: xcm::v3::junction::BodyId */ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1104,7 +1103,7 @@ export default { Treasury: "Null", }, }, - /** Lookup86: xcm::v3::junction::BodyPart */ + /** Lookup87: xcm::v3::junction::BodyPart */ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", @@ -1125,9 +1124,9 @@ export default { }, }, }, - /** Lookup87: xcm::v3::Xcm */ + /** Lookup88: xcm::v3::Xcm */ XcmV3Xcm: "Vec", - /** Lookup89: xcm::v3::Instruction */ + /** Lookup90: xcm::v3::Instruction */ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -1267,28 +1266,28 @@ export default { }, }, }, - /** Lookup90: xcm::v3::multiasset::MultiAssets */ + /** Lookup91: xcm::v3::multiasset::MultiAssets */ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup92: xcm::v3::multiasset::MultiAsset */ + /** Lookup93: xcm::v3::multiasset::MultiAsset */ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetFungibility", }, - /** Lookup93: xcm::v3::multiasset::AssetId */ + /** Lookup94: xcm::v3::multiasset::AssetId */ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", Abstract: "[u8;32]", }, }, - /** Lookup94: xcm::v3::multiasset::Fungibility */ + /** Lookup95: xcm::v3::multiasset::Fungibility */ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV3MultiassetAssetInstance", }, }, - /** Lookup95: xcm::v3::multiasset::AssetInstance */ + /** Lookup96: xcm::v3::multiasset::AssetInstance */ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1299,7 +1298,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup98: xcm::v3::Response */ + /** Lookup99: xcm::v3::Response */ XcmV3Response: { _enum: { Null: "Null", @@ -1310,7 +1309,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup102: xcm::v3::PalletInfo */ + /** Lookup103: xcm::v3::PalletInfo */ XcmV3PalletInfo: { index: "Compact", name: "Bytes", @@ -1319,7 +1318,7 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup105: xcm::v3::MaybeErrorCode */ + /** Lookup106: xcm::v3::MaybeErrorCode */ XcmV3MaybeErrorCode: { _enum: { Success: "Null", @@ -1327,28 +1326,28 @@ export default { TruncatedError: "Bytes", }, }, - /** Lookup108: xcm::v2::OriginKind */ + /** Lookup109: xcm::v2::OriginKind */ XcmV2OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], }, - /** Lookup109: xcm::double_encoded::DoubleEncoded */ + /** Lookup110: xcm::double_encoded::DoubleEncoded */ XcmDoubleEncoded: { encoded: "Bytes", }, - /** Lookup110: xcm::v3::QueryResponseInfo */ + /** Lookup111: xcm::v3::QueryResponseInfo */ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup111: xcm::v3::multiasset::MultiAssetFilter */ + /** Lookup112: xcm::v3::multiasset::MultiAssetFilter */ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", Wild: "XcmV3MultiassetWildMultiAsset", }, }, - /** Lookup112: xcm::v3::multiasset::WildMultiAsset */ + /** Lookup113: xcm::v3::multiasset::WildMultiAsset */ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -1364,18 +1363,18 @@ export default { }, }, }, - /** Lookup113: xcm::v3::multiasset::WildFungibility */ + /** Lookup114: xcm::v3::multiasset::WildFungibility */ XcmV3MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup114: xcm::v3::WeightLimit */ + /** Lookup115: xcm::v3::WeightLimit */ XcmV3WeightLimit: { _enum: { Unlimited: "Null", Limited: "SpWeightsWeightV2Weight", }, }, - /** Lookup115: xcm::VersionedMultiAssets */ + /** Lookup116: xcm::VersionedMultiAssets */ XcmVersionedMultiAssets: { _enum: { __Unused0: "Null", @@ -1384,26 +1383,26 @@ export default { V3: "XcmV3MultiassetMultiAssets", }, }, - /** Lookup116: xcm::v2::multiasset::MultiAssets */ + /** Lookup117: xcm::v2::multiasset::MultiAssets */ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup118: xcm::v2::multiasset::MultiAsset */ + /** Lookup119: xcm::v2::multiasset::MultiAsset */ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", fun: "XcmV2MultiassetFungibility", }, - /** Lookup119: xcm::v2::multiasset::AssetId */ + /** Lookup120: xcm::v2::multiasset::AssetId */ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", Abstract: "Bytes", }, }, - /** Lookup120: xcm::v2::multilocation::MultiLocation */ + /** Lookup121: xcm::v2::multilocation::MultiLocation */ XcmV2MultiLocation: { parents: "u8", interior: "XcmV2MultilocationJunctions", }, - /** Lookup121: xcm::v2::multilocation::Junctions */ + /** Lookup122: xcm::v2::multilocation::Junctions */ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -1417,7 +1416,7 @@ export default { X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", }, }, - /** Lookup122: xcm::v2::junction::Junction */ + /** Lookup123: xcm::v2::junction::Junction */ XcmV2Junction: { _enum: { Parachain: "Compact", @@ -1443,7 +1442,7 @@ export default { }, }, }, - /** Lookup123: xcm::v2::NetworkId */ + /** Lookup124: xcm::v2::NetworkId */ XcmV2NetworkId: { _enum: { Any: "Null", @@ -1452,7 +1451,7 @@ export default { Kusama: "Null", }, }, - /** Lookup125: xcm::v2::BodyId */ + /** Lookup126: xcm::v2::BodyId */ XcmV2BodyId: { _enum: { Unit: "Null", @@ -1467,7 +1466,7 @@ export default { Treasury: "Null", }, }, - /** Lookup126: xcm::v2::BodyPart */ + /** Lookup127: xcm::v2::BodyPart */ XcmV2BodyPart: { _enum: { Voice: "Null", @@ -1488,14 +1487,14 @@ export default { }, }, }, - /** Lookup127: xcm::v2::multiasset::Fungibility */ + /** Lookup128: xcm::v2::multiasset::Fungibility */ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV2MultiassetAssetInstance", }, }, - /** Lookup128: xcm::v2::multiasset::AssetInstance */ + /** Lookup129: xcm::v2::multiasset::AssetInstance */ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1507,7 +1506,7 @@ export default { Blob: "Bytes", }, }, - /** Lookup129: xcm::VersionedMultiLocation */ + /** Lookup130: xcm::VersionedMultiLocation */ XcmVersionedMultiLocation: { _enum: { __Unused0: "Null", @@ -1516,7 +1515,7 @@ export default { V3: "StagingXcmV3MultiLocation", }, }, - /** Lookup130: pallet_assets::pallet::Event */ + /** Lookup131: pallet_assets::pallet::Event */ PalletAssetsEvent: { _enum: { Created: { @@ -1630,7 +1629,7 @@ export default { }, }, }, - /** Lookup131: pallet_foreign_asset_creator::pallet::Event */ + /** Lookup132: pallet_foreign_asset_creator::pallet::Event */ PalletForeignAssetCreatorEvent: { _enum: { ForeignAssetCreated: { @@ -1651,7 +1650,7 @@ export default { }, }, }, - /** Lookup132: pallet_asset_rate::pallet::Event */ + /** Lookup133: pallet_asset_rate::pallet::Event */ PalletAssetRateEvent: { _enum: { AssetRateCreated: { @@ -1671,7 +1670,55 @@ export default { }, }, }, - /** Lookup134: frame_system::Phase */ + /** Lookup135: pallet_message_queue::pallet::Event */ + PalletMessageQueueEvent: { + _enum: { + ProcessingFailed: { + id: "H256", + origin: "CumulusPrimitivesCoreAggregateMessageOrigin", + error: "FrameSupportMessagesProcessMessageError", + }, + Processed: { + id: "H256", + origin: "CumulusPrimitivesCoreAggregateMessageOrigin", + weightUsed: "SpWeightsWeightV2Weight", + success: "bool", + }, + OverweightEnqueued: { + id: "[u8;32]", + origin: "CumulusPrimitivesCoreAggregateMessageOrigin", + pageIndex: "u32", + messageIndex: "u32", + }, + PageReaped: { + origin: "CumulusPrimitivesCoreAggregateMessageOrigin", + index: "u32", + }, + }, + }, + /** Lookup136: cumulus_primitives_core::AggregateMessageOrigin */ + CumulusPrimitivesCoreAggregateMessageOrigin: { + _enum: { + Here: "Null", + Parent: "Null", + Sibling: "u32", + }, + }, + /** Lookup137: frame_support::traits::messages::ProcessMessageError */ + FrameSupportMessagesProcessMessageError: { + _enum: { + BadFormat: "Null", + Corrupt: "Null", + Unsupported: "Null", + Overweight: "SpWeightsWeightV2Weight", + Yield: "Null", + }, + }, + /** Lookup138: pallet_root_testing::pallet::Event */ + PalletRootTestingEvent: { + _enum: ["DefensiveTestCall"], + }, + /** Lookup139: frame_system::Phase */ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", @@ -1679,12 +1726,17 @@ export default { Initialization: "Null", }, }, - /** Lookup138: frame_system::LastRuntimeUpgradeInfo */ + /** Lookup143: frame_system::LastRuntimeUpgradeInfo */ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", specName: "Text", }, - /** Lookup140: frame_system::pallet::Call */ + /** Lookup145: frame_system::CodeUpgradeAuthorization */ + FrameSystemCodeUpgradeAuthorization: { + codeHash: "H256", + checkVersion: "bool", + }, + /** Lookup146: frame_system::pallet::Call */ FrameSystemCall: { _enum: { remark: { @@ -1715,43 +1767,53 @@ export default { remark_with_event: { remark: "Bytes", }, + __Unused8: "Null", + authorize_upgrade: { + codeHash: "H256", + }, + authorize_upgrade_without_checks: { + codeHash: "H256", + }, + apply_authorized_upgrade: { + code: "Bytes", + }, }, }, - /** Lookup144: frame_system::limits::BlockWeights */ + /** Lookup150: frame_system::limits::BlockWeights */ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", }, - /** Lookup145: frame_support::dispatch::PerDispatchClass */ + /** Lookup151: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", mandatory: "FrameSystemLimitsWeightsPerClass", }, - /** Lookup146: frame_system::limits::WeightsPerClass */ + /** Lookup152: frame_system::limits::WeightsPerClass */ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", reserved: "Option", }, - /** Lookup148: frame_system::limits::BlockLength */ + /** Lookup154: frame_system::limits::BlockLength */ FrameSystemLimitsBlockLength: { max: "FrameSupportDispatchPerDispatchClassU32", }, - /** Lookup149: frame_support::dispatch::PerDispatchClass */ + /** Lookup155: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", mandatory: "u32", }, - /** Lookup150: sp_weights::RuntimeDbWeight */ + /** Lookup156: sp_weights::RuntimeDbWeight */ SpWeightsRuntimeDbWeight: { read: "u64", write: "u64", }, - /** Lookup151: sp_version::RuntimeVersion */ + /** Lookup157: sp_version::RuntimeVersion */ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -1762,7 +1824,7 @@ export default { transactionVersion: "u32", stateVersion: "u8", }, - /** Lookup155: frame_system::pallet::Error */ + /** Lookup161: frame_system::pallet::Error */ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -1771,51 +1833,53 @@ export default { "NonDefaultComposite", "NonZeroRefCount", "CallFiltered", + "NothingAuthorized", + "Unauthorized", ], }, - /** Lookup157: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** Lookup163: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", consumedGoAheadSignal: "Option", }, - /** Lookup158: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** Lookup164: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", hrmpOutgoing: "BTreeMap", }, - /** Lookup160: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** Lookup166: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", totalBytes: "u32", }, - /** Lookup165: polkadot_primitives::v6::UpgradeGoAhead */ + /** Lookup171: polkadot_primitives::v6::UpgradeGoAhead */ PolkadotPrimitivesV6UpgradeGoAhead: { _enum: ["Abort", "GoAhead"], }, - /** Lookup166: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** Lookup172: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", consumedGoAheadSignal: "Option", }, - /** Lookup167: polkadot_primitives::v6::PersistedValidationData */ + /** Lookup173: polkadot_primitives::v6::PersistedValidationData */ PolkadotPrimitivesV6PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", maxPovSize: "u32", }, - /** Lookup170: polkadot_primitives::v6::UpgradeRestriction */ + /** Lookup176: polkadot_primitives::v6::UpgradeRestriction */ PolkadotPrimitivesV6UpgradeRestriction: { _enum: ["Present"], }, - /** Lookup171: sp_trie::storage_proof::StorageProof */ + /** Lookup177: sp_trie::storage_proof::StorageProof */ SpTrieStorageProof: { trieNodes: "BTreeSet", }, - /** Lookup173: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** Lookup179: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: @@ -1823,12 +1887,12 @@ export default { ingressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", egressChannels: "Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>", }, - /** Lookup174: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** Lookup180: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", remainingSize: "u32", }, - /** Lookup177: polkadot_primitives::v6::AbridgedHrmpChannel */ + /** Lookup183: polkadot_primitives::v6::AbridgedHrmpChannel */ PolkadotPrimitivesV6AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", @@ -1837,7 +1901,7 @@ export default { totalSize: "u32", mqcHead: "Option", }, - /** Lookup178: polkadot_primitives::v6::AbridgedHostConfiguration */ + /** Lookup184: polkadot_primitives::v6::AbridgedHostConfiguration */ PolkadotPrimitivesV6AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -1850,22 +1914,17 @@ export default { validationUpgradeDelay: "u32", asyncBackingParams: "PolkadotPrimitivesV6AsyncBackingAsyncBackingParams", }, - /** Lookup179: polkadot_primitives::v6::async_backing::AsyncBackingParams */ + /** Lookup185: polkadot_primitives::v6::async_backing::AsyncBackingParams */ PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32", }, - /** Lookup185: polkadot_core_primitives::OutboundHrmpMessage */ + /** Lookup191: polkadot_core_primitives::OutboundHrmpMessage */ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", data: "Bytes", }, - /** Lookup186: cumulus_pallet_parachain_system::CodeUpgradeAuthorization */ - CumulusPalletParachainSystemCodeUpgradeAuthorization: { - codeHash: "H256", - checkVersion: "bool", - }, - /** Lookup187: cumulus_pallet_parachain_system::pallet::Call */ + /** Lookup192: cumulus_pallet_parachain_system::pallet::Call */ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { @@ -1883,24 +1942,24 @@ export default { }, }, }, - /** Lookup188: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** Lookup193: cumulus_primitives_parachain_inherent::ParachainInherentData */ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV6PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>", }, - /** Lookup190: polkadot_core_primitives::InboundDownwardMessage */ + /** Lookup195: polkadot_core_primitives::InboundDownwardMessage */ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes", }, - /** Lookup193: polkadot_core_primitives::InboundHrmpMessage */ + /** Lookup198: polkadot_core_primitives::InboundHrmpMessage */ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes", }, - /** Lookup196: cumulus_pallet_parachain_system::pallet::Error */ + /** Lookup201: cumulus_pallet_parachain_system::pallet::Error */ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -1913,7 +1972,7 @@ export default { "Unauthorized", ], }, - /** Lookup197: pallet_timestamp::pallet::Call */ + /** Lookup202: pallet_timestamp::pallet::Call */ PalletTimestampCall: { _enum: { set: { @@ -1921,9 +1980,9 @@ export default { }, }, }, - /** Lookup198: parachain_info::pallet::Call */ - ParachainInfoCall: "Null", - /** Lookup199: pallet_sudo::pallet::Call */ + /** Lookup203: staging_parachain_info::pallet::Call */ + StagingParachainInfoCall: "Null", + /** Lookup204: pallet_sudo::pallet::Call */ PalletSudoCall: { _enum: { sudo: { @@ -1943,9 +2002,10 @@ export default { who: "MultiAddress", call: "Call", }, + remove_key: "Null", }, }, - /** Lookup201: pallet_utility::pallet::Call */ + /** Lookup206: pallet_utility::pallet::Call */ PalletUtilityCall: { _enum: { batch: { @@ -1971,7 +2031,7 @@ export default { }, }, }, - /** Lookup203: dancebox_runtime::OriginCaller */ + /** Lookup208: dancebox_runtime::OriginCaller */ DanceboxRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -2030,7 +2090,7 @@ export default { PolkadotXcm: "PalletXcmOrigin", }, }, - /** Lookup204: frame_support::dispatch::RawOrigin */ + /** Lookup209: frame_support::dispatch::RawOrigin */ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", @@ -2038,23 +2098,23 @@ export default { None: "Null", }, }, - /** Lookup205: cumulus_pallet_xcm::pallet::Origin */ + /** Lookup210: cumulus_pallet_xcm::pallet::Origin */ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", SiblingParachain: "u32", }, }, - /** Lookup206: pallet_xcm::pallet::Origin */ + /** Lookup211: pallet_xcm::pallet::Origin */ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV3MultiLocation", Response: "StagingXcmV3MultiLocation", }, }, - /** Lookup207: sp_core::Void */ + /** Lookup212: sp_core::Void */ SpCoreVoid: "Null", - /** Lookup208: pallet_proxy::pallet::Call */ + /** Lookup213: pallet_proxy::pallet::Call */ PalletProxyCall: { _enum: { proxy: { @@ -2105,11 +2165,11 @@ export default { }, }, }, - /** Lookup212: pallet_maintenance_mode::pallet::Call */ + /** Lookup217: pallet_maintenance_mode::pallet::Call */ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"], }, - /** Lookup213: pallet_tx_pause::pallet::Call */ + /** Lookup218: pallet_tx_pause::pallet::Call */ PalletTxPauseCall: { _enum: { pause: { @@ -2120,7 +2180,7 @@ export default { }, }, }, - /** Lookup214: pallet_balances::pallet::Call */ + /** Lookup219: pallet_balances::pallet::Call */ PalletBalancesCall: { _enum: { transfer_allow_death: { @@ -2155,7 +2215,7 @@ export default { }, }, }, - /** Lookup215: pallet_stream_payment::pallet::Call */ + /** Lookup220: pallet_stream_payment::pallet::Call */ PalletStreamPaymentCall: { _enum: { open_stream: { @@ -2190,7 +2250,7 @@ export default { }, }, }, - /** Lookup216: pallet_stream_payment::pallet::ChangeKind