diff --git a/Cargo.lock b/Cargo.lock index 68e63af4030..706e6d322b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -638,6 +638,15 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "async-backing-primitives" +version = "0.9.0" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" +dependencies = [ + "sp-api", + "sp-consensus-slots", +] + [[package]] name = "async-channel" version = "1.9.0" @@ -967,7 +976,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "hash-db 0.16.0", "log", @@ -1220,7 +1229,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -1613,7 +1622,7 @@ dependencies = [ [[package]] name = "common" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#3a930bd4a0b3d5d2a611401ac8805af33ad23062" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", @@ -2020,7 +2029,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "clap", "parity-scale-codec", @@ -2036,7 +2045,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2059,7 +2068,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2085,10 +2094,25 @@ dependencies = [ "tracing", ] +[[package]] +name = "cumulus-client-consensus-proposer" +version = "0.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" +dependencies = [ + "anyhow", + "async-trait", + "cumulus-primitives-parachain-inherent", + "sp-consensus", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "thiserror", +] + [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -2111,7 +2135,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2134,7 +2158,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2158,7 +2182,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2193,7 +2217,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2210,7 +2234,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2241,7 +2265,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2252,7 +2276,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2268,7 +2292,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bp-xcm-bridge-hub-router", "cumulus-primitives-core", @@ -2292,7 +2316,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2309,7 +2333,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2332,7 +2356,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-primitives-core", "futures 0.3.29", @@ -2345,7 +2369,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2365,7 +2389,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2389,7 +2413,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2407,7 +2431,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "async-trait", @@ -2442,7 +2466,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2480,7 +2504,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3654,7 +3678,7 @@ dependencies = [ [[package]] name = "fflonk" version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1beb0585e1c8488956fac7f05da061f9b41e8948" +source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" dependencies = [ "ark-ec", "ark-ff", @@ -3794,7 +3818,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", ] @@ -3915,7 +3939,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-support-procedural", @@ -3940,7 +3964,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "Inflector", "array-bytes 6.2.0", @@ -3988,7 +4012,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3999,7 +4023,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4016,7 +4040,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -4046,7 +4070,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "indicatif", @@ -4067,7 +4091,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -4107,7 +4131,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "Inflector", "cfg-expr", @@ -4126,7 +4150,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -4138,7 +4162,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "proc-macro2", "quote", @@ -4148,7 +4172,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cfg-if", "frame-support", @@ -4167,7 +4191,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -4182,7 +4206,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "sp-api", @@ -4191,7 +4215,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "parity-scale-codec", @@ -4456,7 +4480,6 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "rand 0.8.5", "rand_core 0.6.4", ] @@ -6345,7 +6368,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "log", @@ -6364,7 +6387,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "anyhow", "jsonrpsee", @@ -6409,6 +6432,7 @@ name = "moonbase-runtime" version = "0.8.4" dependencies = [ "account", + "async-backing-primitives", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", @@ -6448,6 +6472,7 @@ dependencies = [ "orml-xtokens", "pallet-asset-manager", "pallet-assets", + "pallet-async-backing", "pallet-author-inherent", "pallet-author-mapping", "pallet-author-slot-filter", @@ -6537,6 +6562,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-std", + "sp-timestamp", "sp-transaction-pool", "sp-version", "sp-weights", @@ -6639,6 +6665,7 @@ version = "0.1.1" dependencies = [ "account", "fp-self-contained", + "hex-literal 0.3.4", "sp-core", "sp-runtime", ] @@ -6887,6 +6914,7 @@ name = "moonbeam-runtime" version = "0.8.4" dependencies = [ "account", + "async-backing-primitives", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", @@ -7090,12 +7118,14 @@ name = "moonbeam-service" version = "0.35.0" dependencies = [ "ansi_term", + "async-backing-primitives", "async-io 1.13.0", "async-trait", "bip32", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", + "cumulus-client-consensus-proposer", "cumulus-client-consensus-relay-chain", "cumulus-client-network", "cumulus-client-service", @@ -7271,6 +7301,7 @@ name = "moonriver-runtime" version = "0.8.4" dependencies = [ "account", + "async-backing-primitives", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", @@ -7625,17 +7656,24 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ + "async-backing-primitives", "async-trait", + "cumulus-client-collator", "cumulus-client-consensus-common", + "cumulus-client-consensus-proposer", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", "futures 0.3.29", "log", "nimbus-primitives", "parity-scale-codec", "parking_lot 0.12.1", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-primitives", "sc-client-api", "sc-consensus", "sc-consensus-manual-seal", @@ -7644,6 +7682,7 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-consensus", + "sp-consensus-slots", "sp-core", "sp-inherents", "sp-keystore", @@ -7655,7 +7694,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "async-trait", "frame-benchmarking", @@ -8138,7 +8177,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8153,7 +8192,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8166,10 +8205,30 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-async-backing" +version = "0.9.0" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-primitives-core", + "frame-support", + "frame-system", + "log", + "nimbus-primitives", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-consensus-slots", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8188,7 +8247,7 @@ dependencies = [ [[package]] name = "pallet-author-mapping" version = "2.0.5" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8206,7 +8265,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8224,7 +8283,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -8240,7 +8299,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -8254,7 +8313,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8278,7 +8337,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "aquamarine", "docify", @@ -8300,7 +8359,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8329,7 +8388,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -8349,7 +8408,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "binary-merkle-tree", @@ -8374,7 +8433,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8392,7 +8451,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8411,7 +8470,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8428,7 +8487,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8467,7 +8526,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -8485,7 +8544,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8508,7 +8567,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8522,7 +8581,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9335,7 +9394,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "docify", "frame-benchmarking", @@ -9354,7 +9413,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9377,7 +9436,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "enumflags2", "frame-benchmarking", @@ -9393,7 +9452,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9413,7 +9472,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9430,7 +9489,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -9446,7 +9505,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9463,7 +9522,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9482,7 +9541,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "frame-benchmarking", "frame-support", @@ -9501,7 +9560,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9537,7 +9596,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9553,7 +9612,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9569,7 +9628,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -9588,7 +9647,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9608,7 +9667,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -9619,7 +9678,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -9636,7 +9695,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9681,7 +9740,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9698,7 +9757,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9731,7 +9790,7 @@ dependencies = [ [[package]] name = "pallet-randomness" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "environmental", "frame-benchmarking", @@ -9755,7 +9814,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9773,7 +9832,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9788,7 +9847,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9807,7 +9866,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -9822,7 +9881,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "docify", "frame-benchmarking", @@ -9840,7 +9899,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -9862,7 +9921,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9879,7 +9938,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9897,7 +9956,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9920,7 +9979,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9931,7 +9990,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "log", "sp-arithmetic", @@ -9940,7 +9999,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "sp-api", @@ -9949,7 +10008,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -9966,7 +10025,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "docify", "frame-benchmarking", @@ -9982,7 +10041,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "docify", "frame-benchmarking", @@ -10002,7 +10061,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -10021,7 +10080,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -10037,7 +10096,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -10053,7 +10112,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -10065,7 +10124,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "docify", "frame-benchmarking", @@ -10084,7 +10143,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -10100,7 +10159,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -10115,7 +10174,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -10130,7 +10189,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -10151,7 +10210,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-benchmarking", "frame-support", @@ -10196,7 +10255,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -10538,7 +10597,7 @@ checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0" [[package]] name = "polkadot-approval-distribution" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "futures-timer", @@ -10556,7 +10615,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "always-assert", "futures 0.3.29", @@ -10572,7 +10631,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "derive_more", "fatality", @@ -10595,7 +10654,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "fatality", @@ -10617,7 +10676,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "1.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "clap", "frame-benchmarking-cli", @@ -10644,7 +10703,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "fatality", @@ -10666,7 +10725,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -10678,7 +10737,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "derive_more", "fatality", @@ -10703,7 +10762,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -10717,7 +10776,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "futures-timer", @@ -10738,7 +10797,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "always-assert", "async-trait", @@ -10761,7 +10820,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "parity-scale-codec", @@ -10779,7 +10838,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "derive_more", @@ -10808,7 +10867,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "futures 0.3.29", @@ -10830,7 +10889,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "fatality", @@ -10849,7 +10908,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "polkadot-node-subsystem", @@ -10864,7 +10923,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -10885,7 +10944,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "polkadot-node-metrics", @@ -10900,7 +10959,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "futures-timer", @@ -10917,7 +10976,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "fatality", "futures 0.3.29", @@ -10936,7 +10995,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -10953,7 +11012,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "fatality", @@ -10970,7 +11029,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "fatality", @@ -10987,7 +11046,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "always-assert", "cfg-if", @@ -11016,7 +11075,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "polkadot-node-primitives", @@ -11032,7 +11091,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "cfg-if", "cpu-time", @@ -11056,7 +11115,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "polkadot-node-metrics", @@ -11071,7 +11130,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "lazy_static", "log", @@ -11089,7 +11148,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bs58 0.5.0", "futures 0.3.29", @@ -11108,7 +11167,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -11132,7 +11191,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bounded-vec", "futures 0.3.29", @@ -11154,7 +11213,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -11164,7 +11223,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "derive_more", @@ -11189,7 +11248,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "derive_more", @@ -11224,7 +11283,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -11246,7 +11305,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bounded-collections", "derive_more", @@ -11263,7 +11322,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -11289,7 +11348,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -11321,7 +11380,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitvec", "frame-benchmarking", @@ -11371,7 +11430,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -11384,7 +11443,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -11431,7 +11490,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "frame-benchmarking", @@ -11549,7 +11608,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -11573,7 +11632,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -12359,7 +12418,7 @@ dependencies = [ [[package]] name = "ring" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#3a930bd4a0b3d5d2a611401ac8805af33ad23062" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", @@ -12445,7 +12504,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -12540,7 +12599,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "polkadot-primitives", @@ -12813,7 +12872,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "log", "sp-core", @@ -12824,7 +12883,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -12852,7 +12911,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "futures-timer", @@ -12875,7 +12934,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -12890,7 +12949,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -12909,7 +12968,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12920,7 +12979,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "chrono", @@ -12963,7 +13022,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "fnv", "futures 0.3.29", @@ -12990,7 +13049,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -13016,7 +13075,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -13041,7 +13100,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -13070,7 +13129,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "fork-tree", @@ -13105,7 +13164,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "jsonrpsee", @@ -13127,7 +13186,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "async-channel 1.9.0", @@ -13161,7 +13220,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "jsonrpsee", @@ -13180,7 +13239,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "fork-tree", "parity-scale-codec", @@ -13193,7 +13252,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "ahash 0.8.6", "array-bytes 6.2.0", @@ -13234,7 +13293,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "finality-grandpa", "futures 0.3.29", @@ -13254,7 +13313,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "assert_matches", "async-trait", @@ -13289,7 +13348,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -13312,7 +13371,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "log", "parity-scale-codec", @@ -13335,7 +13394,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "sc-allocator", @@ -13348,7 +13407,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "anyhow", "cfg-if", @@ -13368,7 +13427,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "ansi_term", "futures 0.3.29", @@ -13384,7 +13443,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "parking_lot 0.12.1", @@ -13398,7 +13457,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -13426,7 +13485,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "async-channel 1.9.0", @@ -13467,7 +13526,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-channel 1.9.0", "cid", @@ -13487,7 +13546,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -13504,7 +13563,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "ahash 0.8.6", "futures 0.3.29", @@ -13522,7 +13581,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "async-channel 1.9.0", @@ -13543,7 +13602,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "async-channel 1.9.0", @@ -13578,7 +13637,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "futures 0.3.29", @@ -13596,7 +13655,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "bytes", @@ -13630,7 +13689,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -13639,7 +13698,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "jsonrpsee", @@ -13671,7 +13730,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13691,7 +13750,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "http", "jsonrpsee", @@ -13706,7 +13765,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "futures 0.3.29", @@ -13734,7 +13793,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "directories", @@ -13798,7 +13857,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "log", "parity-scale-codec", @@ -13809,7 +13868,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "clap", "fs4", @@ -13823,7 +13882,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13842,7 +13901,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "libc", @@ -13861,7 +13920,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "chrono", "futures 0.3.29", @@ -13880,7 +13939,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "ansi_term", "atty", @@ -13909,7 +13968,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -13920,7 +13979,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -13946,7 +14005,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -13962,7 +14021,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-channel 1.9.0", "futures 0.3.29", @@ -14243,7 +14302,7 @@ dependencies = [ [[package]] name = "session-keys-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "async-trait", "frame-support", @@ -14443,7 +14502,7 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "enumn", "parity-scale-codec", @@ -14637,7 +14696,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "hash-db 0.16.0", "log", @@ -14658,7 +14717,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "Inflector", "blake2 0.10.6", @@ -14672,7 +14731,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -14685,7 +14744,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "integer-sqrt", "num-traits", @@ -14699,7 +14758,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -14712,7 +14771,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "sp-api", "sp-inherents", @@ -14723,7 +14782,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "log", @@ -14741,7 +14800,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "futures 0.3.29", @@ -14756,7 +14815,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "parity-scale-codec", @@ -14773,7 +14832,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "parity-scale-codec", @@ -14792,7 +14851,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "lazy_static", "parity-scale-codec", @@ -14811,7 +14870,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "finality-grandpa", "log", @@ -14829,7 +14888,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -14841,7 +14900,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "bandersnatch_vrfs", @@ -14888,7 +14947,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "blake2b_simd", "byteorder", @@ -14901,7 +14960,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "quote", "sp-core-hashing", @@ -14911,7 +14970,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -14920,7 +14979,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "proc-macro2", "quote", @@ -14930,7 +14989,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "environmental", "parity-scale-codec", @@ -14941,7 +15000,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "serde_json", "sp-api", @@ -14952,7 +15011,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -14966,7 +15025,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bytes", "ed25519-dalek 2.1.0", @@ -14990,7 +15049,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "lazy_static", "sp-core", @@ -15001,7 +15060,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -15013,7 +15072,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "thiserror", "zstd 0.12.4", @@ -15022,7 +15081,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -15033,7 +15092,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -15045,7 +15104,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -15063,7 +15122,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -15077,7 +15136,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "sp-api", "sp-core", @@ -15087,7 +15146,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "backtrace", "lazy_static", @@ -15097,7 +15156,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "rustc-hash", "serde", @@ -15107,7 +15166,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "either", "hash256-std-hasher", @@ -15129,7 +15188,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -15147,7 +15206,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "Inflector", "proc-macro-crate", @@ -15159,7 +15218,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -15174,7 +15233,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -15188,7 +15247,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "hash-db 0.16.0", "log", @@ -15209,7 +15268,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.1.1", @@ -15233,12 +15292,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -15251,7 +15310,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "parity-scale-codec", @@ -15264,7 +15323,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "sp-std", @@ -15276,7 +15335,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "sp-api", "sp-runtime", @@ -15285,7 +15344,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "parity-scale-codec", @@ -15300,7 +15359,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "ahash 0.8.6", "hash-db 0.16.0", @@ -15324,7 +15383,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -15341,7 +15400,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -15352,7 +15411,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -15365,7 +15424,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "parity-scale-codec", "scale-info", @@ -15568,7 +15627,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "bounded-collections", "derivative", @@ -15585,7 +15644,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "frame-system", @@ -15607,7 +15666,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "environmental", "frame-benchmarking", @@ -15753,7 +15812,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" [[package]] name = "substrate-fixed" @@ -15768,7 +15827,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.29", @@ -15787,7 +15846,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "hyper", "log", @@ -15799,7 +15858,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "jsonrpsee", @@ -15812,7 +15871,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15829,7 +15888,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "async-trait", @@ -15855,7 +15914,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "array-bytes 6.2.0", "frame-executive", @@ -15898,7 +15957,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "futures 0.3.29", "sc-block-builder", @@ -15926,7 +15985,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "ansi_term", "build-helper", @@ -16483,7 +16542,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "coarsetime", "polkadot-node-jaeger", @@ -16495,7 +16554,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -16644,7 +16703,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "async-trait", "clap", @@ -17602,7 +17661,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "binary-merkle-tree", "bitvec", @@ -17707,7 +17766,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "polkadot-primitives", @@ -18020,7 +18079,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#ca51a56b9ff0858ea4ebb34d39eb2d889b1d8a6c" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.3.0#fc1093c40682a2493ad8bf0eca627b3e32a3791d" dependencies = [ "sp-runtime", ] @@ -18056,7 +18115,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "Inflector", "proc-macro2", @@ -18067,7 +18126,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "1.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#647bc10a95f792d2bb30414860be91411cb21d43" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.3.0#542721dd4ab6b8119a8479a8830e57e101249594" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/Cargo.toml b/Cargo.toml index ffb35d60f08..b76fed6db6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -exclude = [ "bin/utils/moonkey" ] +exclude = ["bin/utils/moonkey"] members = [ "bin/utils/moonkey", "client/rpc/finality", @@ -40,7 +40,7 @@ members = [ resolver = "2" [workspace.package] -authors = [ "PureStake" ] +authors = ["PureStake"] repository = "https://github.com/PureStake/moonbeam" [workspace.dependencies] @@ -158,6 +158,7 @@ sp-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = sp-application-crypto = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } sp-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } sp-consensus-babe = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } +sp-consensus-slots = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } sp-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } sp-debug-derive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } sp-externalities = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } @@ -258,7 +259,9 @@ fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = # Cumulus (wasm) cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false, features = [ + "parameterized-consensus-hook", +] } cumulus-pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } cumulus-pallet-xcmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } cumulus-primitives-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } @@ -272,6 +275,7 @@ parachain-info = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", cumulus-client-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } cumulus-client-collator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } cumulus-client-consensus-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } +cumulus-client-consensus-proposer = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } cumulus-client-consensus-relay-chain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } cumulus-client-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } cumulus-client-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } @@ -282,8 +286,8 @@ cumulus-relay-chain-rpc-interface = { git = "https://github.com/moonbeam-foundat # Polkadot / XCM (wasm) orml-traits = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.3.0", default-features = false } -orml-xcm-support = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.3.0", default-features = false } -orml-xtokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.3.0", default-features = false } +orml-xcm-support = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.3.0", default-features = false } +orml-xtokens = { git = "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v1.3.0", default-features = false } pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } pallet-xcm-benchmarks = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } polkadot-core-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0", default-features = false } @@ -305,8 +309,10 @@ westend-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", xcm-simulator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.3.0" } # Moonkit (wasm) +async-backing-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.3.0", default-features = false } moonkit-xcm-primitives = { package = "xcm-primitives", git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.3.0", default-features = false } nimbus-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.3.0", default-features = false } +pallet-async-backing = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.3.0", default-features = false } pallet-author-inherent = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.3.0", default-features = false } pallet-author-mapping = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.3.0", default-features = false } pallet-author-slot-filter = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-v1.3.0", default-features = false } @@ -324,7 +330,9 @@ async-trait = { version = "0.1.42" } blake2-rfc = { version = "0.2.18", default-features = false } derive_more = "0.99" environmental = { version = "1.1.2", default-features = false } -frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] } +frame-metadata = { version = "16.0.0", default-features = false, features = [ + "current", +] } hex = { version = "0.4.3", default-features = false } hex-literal = { version = "0.3.4" } impl-serde = { version = "0.3.1", default-features = false } @@ -339,17 +347,15 @@ serde = { version = "1.0.101", default-features = false } sha3 = { version = "0.10", default-features = false } slices = "0.2.0" smallvec = "1.8.0" -strum = { version = "0.24", default-features = false, features = [ "derive" ] } +strum = { version = "0.24", default-features = false, features = ["derive"] } strum_macros = "0.24" # Other (client) ansi_term = "0.12.1" assert_cmd = "2.0.10" async-io = "1.3" -bip32 = { version = "0.5.1", default-features = false, features = [ - "bip39", -] } -clap = { version = "4.0.9", features = [ "derive" ] } +bip32 = { version = "0.5.1", default-features = false, features = ["bip39"] } +clap = { version = "4.0.9", features = ["derive"] } exit-future = "0.2" flume = "0.10.9" futures = { version = "0.3.21" } @@ -451,7 +457,7 @@ opt-level = 3 panic = "unwind" [profile.testnet] -debug = 1 # debug symbols are useful for profilers +debug = 1 # debug symbols are useful for profilers debug-assertions = true inherits = "release" overflow-checks = true diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index eaa08e6ed95..166a36840ee 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -9,8 +9,8 @@ version = "0.1.1" [dependencies] account = { workspace = true } - fp-self-contained = { workspace = true } +hex-literal = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } diff --git a/core-primitives/src/lib.rs b/core-primitives/src/lib.rs index b6616b8b0fd..31dbc89bdd9 100644 --- a/core-primitives/src/lib.rs +++ b/core-primitives/src/lib.rs @@ -49,3 +49,10 @@ pub type Address = AccountId; pub type AccountIndex = u32; /// Digest item type. pub type DigestItem = generic::DigestItem; + +pub mod well_known_relay_keys { + use hex_literal::hex; + + pub const TIMESTAMP_NOW: &[u8] = + &hex!["f0c365c3cf59d671eb72da0e7a4113c49f1f0515f462cdcf84e0f1d6045dfcbb"]; +} diff --git a/node/cli/src/cli.rs b/node/cli/src/cli.rs index 33f2a1d0be1..85f40ec7a97 100644 --- a/node/cli/src/cli.rs +++ b/node/cli/src/cli.rs @@ -232,6 +232,11 @@ pub struct RunCmd { /// Removes moonbeam prefix from Prometheus metrics #[clap(long)] pub no_prometheus_prefix: bool, + + /// Enable asynchronous backing (for collators only) + /// This feature is still experimental, please don't use it in production. + #[clap(hide = true, long = "experimental-async-backing")] + pub async_backing: bool, } impl RunCmd { diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index f96cb2c33fd..421f0151d1c 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -791,6 +791,7 @@ pub fn run() -> Result<()> { collator_options, id, rpc_config, + cli.run.async_backing, hwbench, ) .await @@ -806,6 +807,7 @@ pub fn run() -> Result<()> { collator_options, id, rpc_config, + cli.run.async_backing, hwbench, ) .await @@ -821,6 +823,7 @@ pub fn run() -> Result<()> { collator_options, id, rpc_config, + cli.run.async_backing, hwbench, ) .await diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index a29f8e0e343..8e7212cb1cc 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -115,9 +115,11 @@ pallet-ethereum = { workspace = true, features = [ ] } # Cumulus / Nimbus +async-backing-primitives = { workspace = true } cumulus-client-cli = { workspace = true } cumulus-client-collator = { workspace = true } cumulus-client-consensus-common = { workspace = true } +cumulus-client-consensus-proposer = { workspace = true } cumulus-client-consensus-relay-chain = { workspace = true } cumulus-client-network = { workspace = true } cumulus-client-service = { workspace = true } diff --git a/node/service/src/client.rs b/node/service/src/client.rs index 3ae10126bcf..9af24eb753c 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -46,6 +46,7 @@ pub trait RuntimeApiCollection: + nimbus_primitives::NimbusApi + cumulus_primitives_core::CollectCollationInfo + session_keys_primitives::VrfApi + + async_backing_primitives::UnincludedSegmentApi { } @@ -65,6 +66,7 @@ impl RuntimeApiCollection for Api where + nimbus_primitives::NimbusApi + cumulus_primitives_core::CollectCollationInfo + session_keys_primitives::VrfApi + + async_backing_primitives::UnincludedSegmentApi { } diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index e60abb1eabd..68ca7f6aa1c 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -25,13 +25,12 @@ pub mod rpc; use cumulus_client_cli::CollatorOptions; -use cumulus_client_consensus_common::{ - ParachainBlockImport as TParachainBlockImport, ParachainConsensus, -}; -#[allow(deprecated)] +use cumulus_client_collator::service::CollatorService; +use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; +use cumulus_client_consensus_proposer::Proposer; use cumulus_client_service::{ - prepare_node_config, start_collator, start_full_node, CollatorSybilResistance, - StartCollatorParams, StartFullNodeParams, + prepare_node_config, start_relay_chain_tasks, CollatorSybilResistance, DARecoveryProfile, + StartRelayChainTasksParams, }; use cumulus_primitives_core::relay_chain::CollatorPair; use cumulus_primitives_core::ParaId; @@ -39,7 +38,7 @@ use cumulus_primitives_parachain_inherent::{ MockValidationDataInherentDataProvider, MockXcmConfig, }; use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain; -use cumulus_relay_chain_interface::{RelayChainInterface, RelayChainResult}; +use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface, RelayChainResult}; use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node_with_rpc; use fc_consensus::FrontierBlockImport as TFrontierBlockImport; use fc_db::DatabaseSource; @@ -54,9 +53,7 @@ pub use moonbeam_runtime; use moonbeam_vrf::VrfDigestsProvider; #[cfg(feature = "moonriver-native")] pub use moonriver_runtime; -use nimbus_consensus::{ - BuildNimbusConsensusParams, NimbusConsensus, NimbusManualSealConsensusDataProvider, -}; +use nimbus_consensus::NimbusManualSealConsensusDataProvider; use nimbus_primitives::{DigestsProvider, NimbusId}; use sc_client_api::{ backend::{AuxStore, Backend, StateBackend, StorageProvider}, @@ -67,7 +64,6 @@ use sc_executor::{ HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, }; use sc_network::{config::FullNetworkConfiguration, NetworkBlock}; -use sc_network_sync::SyncingService; use sc_service::config::PrometheusConfig; use sc_service::{ error::Error as ServiceError, ChainSpec, Configuration, PartialComponents, TFullBackend, @@ -77,7 +73,8 @@ use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerH use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_api::{ConstructRuntimeApi, ProvideRuntimeApi}; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; -use sp_core::{ByteArray, H256}; +use sp_consensus::SyncOracle; +use sp_core::{ByteArray, Encode, H256}; use sp_keystore::{Keystore, KeystorePtr}; use std::str::FromStr; use std::sync::Arc; @@ -91,6 +88,7 @@ mod client; type FullClient = TFullClient>; type FullBackend = TFullBackend; + type MaybeSelectChain = Option>; type FrontierBlockImport = TFrontierBlockImport< Block, @@ -642,38 +640,20 @@ async fn build_relay_chain_interface( /// /// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("🌗")] -async fn start_node_impl( +async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, - id: ParaId, + para_id: ParaId, rpc_config: RpcConfig, + async_backing: bool, hwbench: Option, - build_consensus: BIC, ) -> sc_service::error::Result<(TaskManager, Arc>)> where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiCollection, Executor: ExecutorT + 'static, - BIC: FnOnce( - Arc>>, - Arc>, - ParachainBlockImport, - Option<&Registry>, - Option, - &TaskManager, - Arc, - Arc< - sc_transaction_pool::FullPool< - Block, - TFullClient>, - >, - >, - Arc>, - KeystorePtr, - bool, - ) -> Result>, sc_service::Error>, { let mut parachain_config = prepare_node_config(parachain_config); @@ -716,7 +696,7 @@ where transaction_pool: transaction_pool.clone(), spawn_handle: task_manager.spawn_handle(), import_queue: params.import_queue, - para_id: id, + para_id, relay_chain_interface: relay_chain_interface.clone(), net_config, sybil_resistance_level: CollatorSybilResistance::Resistant, @@ -912,12 +892,50 @@ where .overseer_handle() .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + start_relay_chain_tasks(StartRelayChainTasksParams { + client: client.clone(), + announce_block: announce_block.clone(), + para_id, + relay_chain_interface: relay_chain_interface.clone(), + task_manager: &mut task_manager, + da_recovery_profile: if collator { + DARecoveryProfile::Collator + } else { + DARecoveryProfile::FullNode + }, + import_queue: import_queue_service, + relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle.clone()), + sync_service: sync_service.clone(), + })?; + let BlockImportPipeline::Parachain(block_import) = block_import else { - return Err(sc_service::Error::Other( - "Block import pipeline is not for parachain".into(), - ))}; + return Err(sc_service::Error::Other( + "Block import pipeline is not for parachain".into(), + )) + }; + if collator { - let parachain_consensus = build_consensus( + start_consensus::( + async_backing, + backend.clone(), + client.clone(), + block_import, + prometheus_registry.as_ref(), + telemetry.as_ref().map(|t| t.handle()), + &task_manager, + relay_chain_interface.clone(), + transaction_pool, + params.keystore_container.keystore(), + para_id, + collator_key.expect("Command line arguments do not allow this. qed"), + overseer_handle, + announce_block, + force_authoring, + relay_chain_slot_duration, + sync_service.clone(), + )?; + /*let parachain_consensus = build_consensus( client.clone(), backend, block_import, @@ -934,7 +952,7 @@ where let spawner = task_manager.spawn_handle(); let params = StartCollatorParams { - para_id: id, + para_id, block_status: client.clone(), announce_block, client: client.clone(), @@ -952,22 +970,7 @@ where }; #[allow(deprecated)] - start_collator(params).await?; - } else { - let params = StartFullNodeParams { - client: client.clone(), - announce_block, - task_manager: &mut task_manager, - para_id: id, - relay_chain_interface, - relay_chain_slot_duration, - import_queue: import_queue_service, - recovery_handle: Box::new(overseer_handle), - sync_service, - }; - - #[allow(deprecated)] - start_full_node(params)?; + start_collator(params).await?;*/ } start_network.start_network(); @@ -975,6 +978,150 @@ where Ok((task_manager, client)) } +fn start_consensus( + async_backing: bool, + backend: Arc, + client: Arc>, + block_import: ParachainBlockImport, + prometheus_registry: Option<&Registry>, + telemetry: Option, + task_manager: &TaskManager, + relay_chain_interface: Arc, + transaction_pool: Arc>>, + keystore: KeystorePtr, + para_id: ParaId, + collator_key: CollatorPair, + overseer_handle: OverseerHandle, + announce_block: Arc>) + Send + Sync>, + force_authoring: bool, + relay_chain_slot_duration: Duration, + sync_oracle: SO, +) -> Result<(), sc_service::Error> +where + RuntimeApi: + ConstructRuntimeApi> + Send + Sync + 'static, + RuntimeApi::RuntimeApi: RuntimeApiCollection, + sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, + Executor: sc_executor::NativeExecutionDispatch + 'static, + SO: SyncOracle + Send + Sync + Clone + 'static, +{ + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool, + prometheus_registry, + telemetry.clone(), + ); + + let proposer = Proposer::new(proposer_factory); + + let collator_service = CollatorService::new( + client.clone(), + Arc::new(task_manager.spawn_handle()), + announce_block, + client.clone(), + ); + + let create_inherent_data_providers = |_, _| async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let author = nimbus_primitives::InherentDataProvider; + + let randomness = session_keys_primitives::InherentDataProvider; + + Ok((time, author, randomness)) + }; + + let client_clone = client.clone(); + let keystore_clone = keystore.clone(); + let maybe_provide_vrf_digest = + move |nimbus_id: NimbusId, parent: Hash| -> Option { + moonbeam_vrf::vrf_pre_digest::>( + &client_clone, + &keystore_clone, + nimbus_id, + parent, + ) + }; + + if async_backing { + let client_clone = client.clone(); + let code_hash_provider = move |block_hash| { + client_clone + .code_at(block_hash) + .ok() + .map(polkadot_primitives::ValidationCode) + .map(|c| c.hash()) + }; + task_manager.spawn_essential_handle().spawn( + "nimbus", + None, + nimbus_consensus::collators::lookahead::run::< + Block, + _, + _, + _, + FullBackend, + _, + _, + _, + _, + _, + _, + >(nimbus_consensus::collators::lookahead::Params { + additional_digests_provider: maybe_provide_vrf_digest, + additional_relay_keys: vec![ + moonbeam_core_primitives::well_known_relay_keys::TIMESTAMP_NOW.to_vec(), + ], + authoring_duration: Duration::from_millis(1500), + block_import, + code_hash_provider, + collator_key, + collator_service, + create_inherent_data_providers, + force_authoring, + keystore, + overseer_handle, + para_backend: backend, + para_client: client, + para_id, + proposer, + relay_chain_slot_duration, + relay_client: relay_chain_interface, + slot_duration: None, + sync_oracle, + }), + ); + } else { + task_manager.spawn_essential_handle().spawn( + "nimbus", + None, + nimbus_consensus::collators::basic::run::( + nimbus_consensus::collators::basic::Params { + additional_digests_provider: maybe_provide_vrf_digest, + additional_relay_keys: vec![ + moonbeam_core_primitives::well_known_relay_keys::TIMESTAMP_NOW.to_vec(), + ], + //authoring_duration: Duration::from_millis(500), + block_import, + collator_key, + collator_service, + create_inherent_data_providers, + force_authoring, + keystore, + overseer_handle, + para_id, + para_client: client, + proposer, + relay_client: relay_chain_interface, + }, + ), + ); + }; + + Ok(()) +} + /// Start a normal parachain node. // Rustfmt wants to format the closure with space identation. #[rustfmt::skip] @@ -982,8 +1129,9 @@ pub async fn start_node( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, - id: ParaId, + para_id: ParaId, rpc_config: RpcConfig, + async_backing: bool, hwbench: Option, ) -> sc_service::error::Result<(TaskManager, Arc>)> where @@ -997,73 +1145,10 @@ where parachain_config, polkadot_config, collator_options, - id, + para_id, rpc_config, + async_backing, hwbench, - | - client, - backend, - block_import, - prometheus_registry, - telemetry, - task_manager, - relay_chain_interface, - transaction_pool, - _sync_oracle, - keystore, - force_authoring, - | { - let mut proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), - client.clone(), - transaction_pool, - prometheus_registry, - telemetry.clone(), - ); - proposer_factory.set_soft_deadline(SOFT_DEADLINE_PERCENT); - proposer_factory.enable_ensure_proof_size_limit_after_each_extrinsic(); - - let provider = move |_, (relay_parent, validation_data, _author_id)| { - let relay_chain_interface = relay_chain_interface.clone(); - async move { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface, - &validation_data, - id, - ) - .await; - - let time = sp_timestamp::InherentDataProvider::from_system_time(); - - let parachain_inherent = parachain_inherent.ok_or_else(|| { - Box::::from( - "Failed to create parachain inherent", - ) - })?; - - let author = nimbus_primitives::InherentDataProvider; - - let randomness = session_keys_primitives::InherentDataProvider; - - Ok((time, parachain_inherent, author, randomness)) - } - }; - let maybe_provide_vrf_digest = VrfDigestsProvider::new(client.clone(), keystore.clone()); - - Ok(NimbusConsensus::build(BuildNimbusConsensusParams { - para_id: id, - proposer_factory, - block_import, - backend, - parachain_client: client.clone(), - keystore, - skip_prediction: force_authoring, - create_inherent_data_providers: provider, - additional_digests_provider: maybe_provide_vrf_digest, - })) - }, ) .await } @@ -1251,6 +1336,7 @@ where })), create_inherent_data_providers: move |block: H256, ()| { let maybe_current_para_block = client_set_aside_for_cidp.number(block); + let maybe_current_para_head = client_set_aside_for_cidp.expect_header(block); let downward_xcm_receiver = downward_xcm_receiver.clone(); let hrmp_xcm_receiver = hrmp_xcm_receiver.clone(); @@ -1261,9 +1347,18 @@ where let current_para_block = maybe_current_para_block? .ok_or(sp_blockchain::Error::UnknownBlock(block.to_string()))?; + let current_para_block_head = Some(polkadot_primitives::HeadData( + maybe_current_para_head?.encode(), + )); + + let additional_key_values = Some(vec![( + moonbeam_core_primitives::well_known_relay_keys::TIMESTAMP_NOW.to_vec(), + sp_timestamp::Timestamp::current().encode(), + )]); + let mocked_parachain = MockValidationDataInherentDataProvider { current_para_block, - current_para_block_head: None, + current_para_block_head, relay_offset: 1000, relay_blocks_per_para_block: 2, // TODO: Recheck @@ -1277,6 +1372,7 @@ where ), raw_downward_messages: downward_xcm_receiver.drain().collect(), raw_horizontal_messages: hrmp_xcm_receiver.drain().collect(), + additional_key_values, }; let randomness = session_keys_primitives::InherentDataProvider; diff --git a/pallets/ethereum-xcm/src/lib.rs b/pallets/ethereum-xcm/src/lib.rs index eb12f09af02..a5f20747f53 100644 --- a/pallets/ethereum-xcm/src/lib.rs +++ b/pallets/ethereum-xcm/src/lib.rs @@ -91,7 +91,7 @@ pub mod pallet { use frame_support::pallet_prelude::*; #[pallet::config] - pub trait Config: frame_system::Config + pallet_timestamp::Config + pallet_evm::Config { + pub trait Config: frame_system::Config + pallet_evm::Config { /// Invalid transaction error type InvalidEvmTransactionError: From; /// Handler for applying an already validated transaction diff --git a/precompiles/assets-erc20/src/eip2612.rs b/precompiles/assets-erc20/src/eip2612.rs index 3c69f580bc6..0e6c2e64296 100644 --- a/precompiles/assets-erc20/src/eip2612.rs +++ b/precompiles/assets-erc20/src/eip2612.rs @@ -18,7 +18,7 @@ use super::*; use frame_support::{ ensure, storage::types::{StorageDoubleMap, ValueQuery}, - traits::StorageInstance, + traits::{StorageInstance, Time}, Blake2_128Concat, }; use pallet_assets::pallet::{ @@ -28,6 +28,7 @@ use pallet_assets::pallet::{ use scale_info::prelude::string::ToString; use sp_core::H256; use sp_io::hashing::keccak_256; +use sp_runtime::traits::UniqueSaturatedInto; /// EIP2612 permit typehash. pub const PERMIT_TYPEHASH: [u8; 32] = keccak256!( @@ -115,10 +116,7 @@ pub struct Eip2612( impl Eip2612 where Instance: InstanceToPrefix + 'static, - Runtime: pallet_assets::Config - + pallet_evm::Config - + frame_system::Config - + pallet_timestamp::Config, + Runtime: pallet_assets::Config + pallet_evm::Config + frame_system::Config, Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, Runtime::RuntimeCall: From>, ::RuntimeOrigin: From>, @@ -126,7 +124,6 @@ where Runtime: AccountIdAssetIdConversion>, <::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait, IsLocal: Get, - ::Moment: Into, AssetIdOf: Display, Runtime::AccountId: Into, { @@ -205,8 +202,10 @@ where let address = handle.code_address(); - // pallet_timestamp is in ms while Ethereum use second timestamps. - let timestamp: U256 = (pallet_timestamp::Pallet::::get()).into() / 1000; + // Blockchain time is in ms while Ethereum use second timestamps. + let timestamp: u128 = + ::Timestamp::now().unique_saturated_into(); + let timestamp: U256 = U256::from(timestamp / 1000); ensure!(deadline >= timestamp, revert("Permit expired")); diff --git a/precompiles/assets-erc20/src/lib.rs b/precompiles/assets-erc20/src/lib.rs index 3e9a4d6c8d9..1eaa26a309b 100644 --- a/precompiles/assets-erc20/src/lib.rs +++ b/precompiles/assets-erc20/src/lib.rs @@ -94,13 +94,13 @@ pub struct Erc20AssetsPrecompileSet( PhantomData<(Runtime, IsLocal, Instance)>, ); -impl Clone for Erc20AssetsPrecompileSet { +impl Clone for Erc20AssetsPrecompileSet { fn clone(&self) -> Self { Self(PhantomData) } } -impl Default for Erc20AssetsPrecompileSet { +impl Default for Erc20AssetsPrecompileSet { fn default() -> Self { Self(PhantomData) } @@ -118,10 +118,7 @@ impl Erc20AssetsPrecompileSet Erc20AssetsPrecompileSet where Instance: eip2612::InstanceToPrefix + 'static, - Runtime: pallet_assets::Config - + pallet_evm::Config - + frame_system::Config - + pallet_timestamp::Config, + Runtime: pallet_assets::Config + pallet_evm::Config + frame_system::Config, Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, Runtime::RuntimeCall: From>, ::RuntimeOrigin: From>, @@ -129,7 +126,6 @@ where Runtime: AccountIdAssetIdConversion>, <::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait, IsLocal: Get, - ::Moment: Into, AssetIdOf: Display, Runtime::AccountId: Into, { diff --git a/precompiles/balances-erc20/Cargo.toml b/precompiles/balances-erc20/Cargo.toml index 5c60ed98cb4..8d622e0d4a9 100644 --- a/precompiles/balances-erc20/Cargo.toml +++ b/precompiles/balances-erc20/Cargo.toml @@ -22,6 +22,7 @@ pallet-timestamp = { workspace = true } parity-scale-codec = { workspace = true, features = [ "max-encoded-len" ] } sp-core = { workspace = true } sp-io = { workspace = true } +sp-runtime = { workspace = true } sp-std = { workspace = true } # Frontier diff --git a/precompiles/balances-erc20/src/eip2612.rs b/precompiles/balances-erc20/src/eip2612.rs index e42a7e9c6c6..eeac5aa6107 100644 --- a/precompiles/balances-erc20/src/eip2612.rs +++ b/precompiles/balances-erc20/src/eip2612.rs @@ -15,9 +15,13 @@ // along with Moonbeam. If not, see . use super::*; -use frame_support::{ensure, traits::Get}; +use frame_support::{ + ensure, + traits::{Get, Time}, +}; use sp_core::H256; use sp_io::hashing::keccak_256; +use sp_runtime::traits::UniqueSaturatedInto; use sp_std::vec::Vec; /// EIP2612 permit typehash. @@ -34,14 +38,13 @@ pub struct Eip2612(PhantomData<(Runtime, Metad impl Eip2612 where - Metadata: Erc20Metadata, - Instance: InstanceToPrefix + 'static, - Runtime: pallet_balances::Config + pallet_evm::Config + pallet_timestamp::Config, + Runtime: pallet_balances::Config + pallet_evm::Config, Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, Runtime::RuntimeCall: From>, ::RuntimeOrigin: From>, BalanceOf: TryFrom + Into, - ::Moment: Into, + Metadata: Erc20Metadata, + Instance: InstanceToPrefix + 'static, { pub fn compute_domain_separator(address: H160) -> [u8; 32] { let name: H256 = keccak_256(Metadata::name().as_bytes()).into(); @@ -104,8 +107,10 @@ where let owner: H160 = owner.into(); let spender: H160 = spender.into(); - // pallet_timestamp is in ms while Ethereum use second timestamps. - let timestamp: U256 = (pallet_timestamp::Pallet::::get()).into() / 1000; + // Blockchain time is in ms while Ethereum use second timestamps. + let timestamp: u128 = + ::Timestamp::now().unique_saturated_into(); + let timestamp: U256 = U256::from(timestamp / 1000); ensure!(deadline >= timestamp, revert("Permit expired")); diff --git a/precompiles/balances-erc20/src/lib.rs b/precompiles/balances-erc20/src/lib.rs index 57254571056..1a44489df87 100644 --- a/precompiles/balances-erc20/src/lib.rs +++ b/precompiles/balances-erc20/src/lib.rs @@ -180,14 +180,13 @@ pub struct Erc20BalancesPrecompile Erc20BalancesPrecompile where - Metadata: Erc20Metadata, - Instance: InstanceToPrefix + 'static, - Runtime: pallet_balances::Config + pallet_evm::Config + pallet_timestamp::Config, + Runtime: pallet_balances::Config + pallet_evm::Config, Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, Runtime::RuntimeCall: From>, ::RuntimeOrigin: From>, BalanceOf: TryFrom + Into, - ::Moment: Into, + Metadata: Erc20Metadata, + Instance: InstanceToPrefix + 'static, { #[precompile::public("totalSupply()")] #[precompile::view] diff --git a/precompiles/call-permit/Cargo.toml b/precompiles/call-permit/Cargo.toml index 49719632d11..eb3e09d35b1 100644 --- a/precompiles/call-permit/Cargo.toml +++ b/precompiles/call-permit/Cargo.toml @@ -21,6 +21,7 @@ pallet-timestamp = { workspace = true } parity-scale-codec = { workspace = true, features = [ "max-encoded-len" ] } sp-core = { workspace = true } sp-io = { workspace = true } +sp-runtime = { workspace = true } sp-std = { workspace = true } # Frontier diff --git a/precompiles/call-permit/src/lib.rs b/precompiles/call-permit/src/lib.rs index cb999126557..5b192e35c25 100644 --- a/precompiles/call-permit/src/lib.rs +++ b/precompiles/call-permit/src/lib.rs @@ -22,12 +22,13 @@ use fp_evm::{Context, ExitRevert, PrecompileFailure, PrecompileHandle, Transfer} use frame_support::{ ensure, storage::types::{StorageMap, ValueQuery}, - traits::{ConstU32, Get, StorageInstance}, + traits::{ConstU32, Get, StorageInstance, Time}, Blake2_128Concat, }; use precompile_utils::{evm::costs::call_cost, prelude::*}; use sp_core::{H160, H256, U256}; use sp_io::hashing::keccak_256; +use sp_runtime::traits::UniqueSaturatedInto; use sp_std::vec::Vec; #[cfg(test)] @@ -78,8 +79,7 @@ pub struct CallPermitPrecompile(PhantomData); #[precompile_utils::precompile] impl CallPermitPrecompile where - Runtime: pallet_evm::Config + pallet_timestamp::Config, - ::Moment: Into, + Runtime: pallet_evm::Config, { fn compute_domain_separator(address: H160) -> [u8; 32] { let name: H256 = keccak_256(b"Call Permit Precompile").into(); @@ -172,8 +172,11 @@ where // VERIFY PERMIT - // pallet_timestamp is in ms while Ethereum use second timestamps. - let timestamp: U256 = (pallet_timestamp::Pallet::::get()).into() / 1000; + // Blockchain time is in ms while Ethereum use second timestamps. + let timestamp: u128 = + ::Timestamp::now().unique_saturated_into(); + let timestamp: U256 = U256::from(timestamp / 1000); + ensure!(deadline >= timestamp, revert("Permit expired")); let nonce = NoncesStorage::get(from); diff --git a/precompiles/crowdloan-rewards/src/mock.rs b/precompiles/crowdloan-rewards/src/mock.rs index a19c59a7492..72eae184be9 100644 --- a/precompiles/crowdloan-rewards/src/mock.rs +++ b/precompiles/crowdloan-rewards/src/mock.rs @@ -70,6 +70,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type DmpMessageHandler = (); type ReservedDmpWeight = (); type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; + type ConsensusHook = cumulus_pallet_parachain_system::ExpectParentIncluded; } parameter_types! { diff --git a/precompiles/relay-encoder/src/mock.rs b/precompiles/relay-encoder/src/mock.rs index c1e0327ce44..c3c8c8d1107 100644 --- a/precompiles/relay-encoder/src/mock.rs +++ b/precompiles/relay-encoder/src/mock.rs @@ -96,6 +96,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type DmpMessageHandler = (); type ReservedDmpWeight = (); type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; + type ConsensusHook = cumulus_pallet_parachain_system::ExpectParentIncluded; } parameter_types! { diff --git a/runtime/moonbase/Cargo.toml b/runtime/moonbase/Cargo.toml index 50900a87411..fc8da31b59f 100644 --- a/runtime/moonbase/Cargo.toml +++ b/runtime/moonbase/Cargo.toml @@ -156,8 +156,10 @@ cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } # Moonkit +async-backing-primitives = { workspace = true } moonkit-xcm-primitives = { workspace = true } nimbus-primitives = { workspace = true } +pallet-async-backing = { workspace = true } pallet-author-inherent = { workspace = true } pallet-author-slot-filter = { workspace = true } @@ -177,6 +179,7 @@ cumulus-test-relay-sproof-builder = { workspace = true } frame-metadata = { workspace = true } pallet-message-queue = { workspace = true } polkadot-runtime-parachains = { workspace = true } +sp-timestamp = { workspace = true } xcm-simulator = { workspace = true } precompile-utils = { workspace = true, features = [ "std", "testing" ] } @@ -188,6 +191,7 @@ substrate-wasm-builder = { workspace = true } default = [ "std" ] std = [ "account/std", + "async-backing-primitives/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", "cumulus-pallet-xcm/std", @@ -214,6 +218,7 @@ std = [ "orml-xtokens/std", "pallet-asset-manager/std", "pallet-assets/std", + "pallet-async-backing/std", "pallet-author-inherent/std", "pallet-author-mapping/std", "pallet-author-slot-filter/std", diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 4eeae40b73a..693e66bef3b 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -28,14 +28,34 @@ #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); -use cumulus_pallet_parachain_system::{RelayChainStateProof, RelaychainDataProvider}; -use cumulus_primitives_core::relay_chain; -use fp_rpc::TransactionStatus; +pub mod asset_config; +pub mod governance; +pub mod timestamp; +pub mod xcm_config; -use account::AccountId20; +mod precompiles; // Re-export required by get! macro. +#[cfg(feature = "std")] +pub use fp_evm::GenesisAccount; pub use frame_support::traits::Get; +pub use moonbeam_core_primitives::{ + AccountId, AccountIndex, Address, AssetId, Balance, BlockNumber, DigestItem, Hash, Header, + Index, Signature, +}; +pub use pallet_author_slot_filter::EligibilityValue; +pub use pallet_parachain_staking::{weights::WeightInfo, InflationInfo, Range}; +pub use precompiles::{ + MoonbasePrecompiles, PrecompileName, FOREIGN_ASSET_PRECOMPILE_ADDRESS_PREFIX, + LOCAL_ASSET_PRECOMPILE_ADDRESS_PREFIX, +}; + +use account::AccountId20; +use cumulus_pallet_parachain_system::{ + RelayChainStateProof, RelayNumberMonotonicallyIncreases, RelaychainDataProvider, +}; +use cumulus_primitives_core::relay_chain; +use fp_rpc::TransactionStatus; use frame_support::{ construct_runtime, dispatch::{DispatchClass, GetDispatchInfo, PostDispatchInfo}, @@ -58,16 +78,11 @@ use frame_support::{ PalletId, }; -#[cfg(feature = "std")] -pub use fp_evm::GenesisAccount; use frame_system::{EnsureRoot, EnsureSigned}; -pub use moonbeam_core_primitives::{ - AccountId, AccountIndex, Address, AssetId, Balance, BlockNumber, DigestItem, Hash, Header, - Index, Signature, -}; +use governance::councils::*; use moonbeam_rpc_primitives_txpool::TxPoolResponse; use moonbeam_runtime_common::weights as moonbeam_weights; -pub use pallet_author_slot_filter::EligibilityValue; +use nimbus_primitives::CanAuthor; use pallet_balances::NegativeImbalance; use pallet_ethereum::Call::transact; use pallet_ethereum::{PostLogContent, Transaction as EthereumTransaction}; @@ -76,7 +91,6 @@ use pallet_evm::{ FeeCalculator, GasWeightMapping, IdentityAddressMapping, OnChargeEVMTransaction as OnChargeEVMTransactionT, Runner, }; -pub use pallet_parachain_staking::{weights::WeightInfo, InflationInfo, Range}; use pallet_transaction_payment::{CurrencyAdapter, Multiplier, TargetedFeeAdjustment}; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; @@ -104,13 +118,6 @@ use sp_std::{ use sp_version::NativeVersion; use sp_version::RuntimeVersion; -use nimbus_primitives::CanAuthor; - -mod precompiles; -pub use precompiles::{ - MoonbasePrecompiles, PrecompileName, FOREIGN_ASSET_PRECOMPILE_ADDRESS_PREFIX, - LOCAL_ASSET_PRECOMPILE_ADDRESS_PREFIX, -}; use smallvec::smallvec; use sp_runtime::serde::{Deserialize, Serialize}; @@ -119,11 +126,6 @@ pub use sp_runtime::BuildStorage; pub type Precompiles = MoonbasePrecompiles; -pub mod asset_config; -pub mod governance; -pub mod xcm_config; -use governance::councils::*; - /// UNIT, the native token, uses 18 decimals of precision. pub mod currency { use super::Balance; @@ -150,10 +152,12 @@ pub mod currency { } /// Maximum weight per block +// TODO: multiply MAXIMUM_BLOCK_WEIGHT times 4 when async backing will be definitly enabled pub const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts(WEIGHT_REF_TIME_PER_SECOND, u64::MAX) .saturating_div(2) .set_proof_size(cumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64); +// TODO: Set MILLISECS_PER_BLOCK to 6000 when async backing will be definitly enabled pub const MILLISECS_PER_BLOCK: u64 = 12000; pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); pub const HOURS: BlockNumber = MINUTES * 60; @@ -511,7 +515,7 @@ impl pallet_evm::Config for Runtime { type GasLimitPovSizeRatio = GasLimitPovSizeRatio; type SuicideQuickClearLimit = ConstU32<0>; type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; - type Timestamp = Timestamp; + type Timestamp = crate::timestamp::RelayTimestamp; type WeightInfo = moonbeam_weights::pallet_evm::WeightInfo; } @@ -699,6 +703,15 @@ parameter_types! { pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); } +pub const UNINCLUDED_SEGMENT_CAPACITY: u32 = 1; +pub const BLOCK_PROCESSING_VELOCITY: u32 = 1; + +type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensusHook< + Runtime, + BLOCK_PROCESSING_VELOCITY, + UNINCLUDED_SEGMENT_CAPACITY, +>; + impl cumulus_pallet_parachain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); @@ -708,7 +721,8 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type OutboundXcmpMessageSource = XcmpQueue; type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; - type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; + type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; + type ConsensusHook = crate::timestamp::ConsensusHookWrapperForRelayTimestamp; } impl parachain_info::Config for Runtime {} @@ -811,13 +825,32 @@ impl pallet_author_inherent::Config for Runtime { type WeightInfo = moonbeam_weights::pallet_author_inherent::WeightInfo; } +#[cfg(test)] +mod mock { + use super::*; + pub struct MockRandomness; + impl frame_support::traits::Randomness for MockRandomness { + fn random(subject: &[u8]) -> (H256, BlockNumber) { + (H256(sp_io::hashing::blake2_256(subject)), 0) + } + } +} + impl pallet_author_slot_filter::Config for Runtime { type RuntimeEvent = RuntimeEvent; + #[cfg(not(test))] type RandomnessSource = Randomness; + #[cfg(test)] + type RandomnessSource = mock::MockRandomness; type PotentialAuthors = ParachainStaking; type WeightInfo = moonbeam_weights::pallet_author_slot_filter::WeightInfo; } +impl pallet_async_backing::Config for Runtime { + type AllowMultipleBlocksPerSlot = ConstBool; + type GetAndVerifySlot = pallet_async_backing::RelaySlot; +} + parameter_types! { pub const InitializationPayment: Perbill = Perbill::from_percent(30); pub const RelaySignaturesThreshold: Perbill = Perbill::from_percent(100); @@ -1423,6 +1456,7 @@ construct_runtime! { RootTesting: pallet_root_testing::{Pallet, Call, Storage} = 47, Erc20XcmBridge: pallet_erc20_xcm_bridge::{Pallet} = 48, Multisig: pallet_multisig::{Pallet, Call, Storage, Event} = 49, + AsyncBacking: pallet_async_backing::{Pallet, Storage} = 50, } } @@ -1576,29 +1610,14 @@ moonbeam_runtime_common::impl_runtime_apis_plus_common! { }) } } -} - -// Check the timestamp and parachain inherents -struct CheckInherents; -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - sp_std::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(&block) + impl async_backing_primitives::UnincludedSegmentApi for Runtime { + fn can_build_upon( + included_hash: ::Hash, + slot: async_backing_primitives::Slot, + ) -> bool { + ConsensusHook::can_build_upon(included_hash, slot) + } } } @@ -1606,7 +1625,6 @@ impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { cumulus_pallet_parachain_system::register_validate_block!( Runtime = Runtime, BlockExecutor = pallet_author_inherent::BlockExecutor::, - CheckInherents = CheckInherents, ); moonbeam_runtime_common::impl_self_contained_call!(); diff --git a/runtime/moonbase/src/timestamp.rs b/runtime/moonbase/src/timestamp.rs new file mode 100644 index 00000000000..4df4eca60a3 --- /dev/null +++ b/runtime/moonbase/src/timestamp.rs @@ -0,0 +1,87 @@ +// Copyright 2019-2022 PureStake Inc. +// This file is part of Moonbeam. + +// Moonbeam 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. + +// Moonbeam 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 Moonbeam. If not, see . + +//! A way to get a relyable timestamp + +use crate::Runtime; +use cumulus_pallet_parachain_system::{ + consensus_hook::UnincludedSegmentCapacity, + relay_state_snapshot::{self, ReadEntryErr}, + ConsensusHook, RelayChainStateProof, +}; +use frame_support::pallet_prelude::*; +use frame_support::storage::types::{StorageValue, ValueQuery}; +use frame_support::traits::{StorageInstance, Time}; +pub use moonbeam_core_primitives::well_known_relay_keys; + +/// Get the relay timestamp. +/// Noe that the relay timestamp is populated at the parachain system inherent. +/// If you fetch the timestamp before, you will get the timestamp of the parent block. +pub struct RelayTimestamp; +impl Time for RelayTimestamp { + type Moment = u64; + + fn now() -> Self::Moment { + RelayTimestampNow::get() + } +} + +/// A wrapper around the consensus hook to get the relay timlestmap from the relay storage proof +pub struct ConsensusHookWrapperForRelayTimestamp(core::marker::PhantomData); +impl ConsensusHook for ConsensusHookWrapperForRelayTimestamp { + fn on_state_proof(state_proof: &RelayChainStateProof) -> (Weight, UnincludedSegmentCapacity) { + let relay_timestamp: u64 = + match state_proof.read_entry(well_known_relay_keys::TIMESTAMP_NOW, None) { + Ok(relay_timestamp) => relay_timestamp, + // Log the read entry error + Err(relay_state_snapshot::Error::ReadEntry(ReadEntryErr::Proof)) => { + log::error!("Invalid relay storage proof: fail to read key TIMESTAMP_NOW"); + panic!("Invalid realy storage proof: fail to read key TIMESTAMP_NOW"); + } + Err(relay_state_snapshot::Error::ReadEntry(ReadEntryErr::Decode)) => { + log::error!("Corrupted relay storage: fail to decode value TIMESTAMP_NOW"); + panic!("Corrupted relay storage: fail to decode value TIMESTAMP_NOW"); + } + Err(relay_state_snapshot::Error::ReadEntry(ReadEntryErr::Absent)) => { + log::error!("Corrupted relay storage: value TIMESTAMP_NOW is absent!"); + panic!("Corrupted relay storage: value TIMESTAMP_NOW is absent!"); + } + // Can't return another kind of error, the blokc is invalid anyway, so we should panic + _ => unreachable!(), + }; + + let wrapper_weight = ::DbWeight::get().writes(1); + + RelayTimestampNow::put(relay_timestamp); + + let (weight, capacity) = Inner::on_state_proof(state_proof); + + (weight.saturating_add(wrapper_weight), capacity) + } +} + +// Prefix for storage value RelayTimestampNow +struct RelayTimestampNowPrefix; +impl StorageInstance for RelayTimestampNowPrefix { + const STORAGE_PREFIX: &'static str = "RelayTimestampNow"; + + fn pallet_prefix() -> &'static str { + "runtime" + } +} + +// Storage type used to store the last current relay timestamp +type RelayTimestampNow = StorageValue; diff --git a/runtime/moonbase/tests/common/mod.rs b/runtime/moonbase/tests/common/mod.rs index 3168dcc5c01..4b9d10a1198 100644 --- a/runtime/moonbase/tests/common/mod.rs +++ b/runtime/moonbase/tests/common/mod.rs @@ -31,6 +31,7 @@ pub use moonbase_runtime::{ UncheckedExtrinsic, HOURS, WEEKS, }; use nimbus_primitives::{NimbusId, NIMBUS_ENGINE_ID}; +use polkadot_parachain::primitives::HeadData; use sp_core::{Encode, H160}; use sp_runtime::{traits::Dispatchable, BuildStorage, Digest, DigestItem, Perbill, Percent}; @@ -344,14 +345,38 @@ pub fn root_origin() -> ::RuntimeOrigin { ::RuntimeOrigin::root() } +pub fn unchecked_eth_tx(raw_hex_tx: &str) -> UncheckedExtrinsic { + let converter = TransactionConverter; + converter.convert_transaction(ethereum_transaction(raw_hex_tx)) +} + +pub fn ethereum_transaction(raw_hex_tx: &str) -> pallet_ethereum::Transaction { + let bytes = hex::decode(raw_hex_tx).expect("Transaction bytes."); + let transaction = ethereum::EnvelopedDecodable::decode(&bytes[..]); + assert!(transaction.is_ok()); + transaction.unwrap() +} + /// Mock the inherent that sets validation data in ParachainSystem, which /// contains the `relay_chain_block_number`, which is used in `author-filter` as a /// source of randomness to filter valid authors at each block. pub fn set_parachain_inherent_data() { use cumulus_primitives_core::PersistedValidationData; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; - let (relay_parent_storage_root, relay_chain_state) = - RelayStateSproofBuilder::default().into_state_root_and_proof(); + + let mut relay_sproof = RelayStateSproofBuilder::default(); + relay_sproof.para_id = 100u32.into(); + relay_sproof.included_para_head = Some(HeadData(vec![1, 2, 3])); + + let additional_key_values = vec![( + moonbeam_core_primitives::well_known_relay_keys::TIMESTAMP_NOW.to_vec(), + sp_timestamp::Timestamp::default().encode(), + )]; + + relay_sproof.additional_key_values = additional_key_values; + + let (relay_parent_storage_root, relay_chain_state) = relay_sproof.into_state_root_and_proof(); + let vfp = PersistedValidationData { relay_parent_number: 1u32, relay_parent_storage_root, @@ -370,15 +395,3 @@ pub fn set_parachain_inherent_data() { ) .dispatch(inherent_origin())); } - -pub fn unchecked_eth_tx(raw_hex_tx: &str) -> UncheckedExtrinsic { - let converter = TransactionConverter; - converter.convert_transaction(ethereum_transaction(raw_hex_tx)) -} - -pub fn ethereum_transaction(raw_hex_tx: &str) -> pallet_ethereum::Transaction { - let bytes = hex::decode(raw_hex_tx).expect("Transaction bytes."); - let transaction = ethereum::EnvelopedDecodable::decode(&bytes[..]); - assert!(transaction.is_ok()); - transaction.unwrap() -} diff --git a/runtime/moonbase/tests/integration_test.rs b/runtime/moonbase/tests/integration_test.rs index c5e2915458a..0cc5916706e 100644 --- a/runtime/moonbase/tests/integration_test.rs +++ b/runtime/moonbase/tests/integration_test.rs @@ -170,25 +170,6 @@ fn verify_pallet_prefixes() { res[16..32].copy_from_slice(&Twox128::hash(storage_name)); res.to_vec() }; - assert_eq!( - ::storage_info(), - vec![ - StorageInfo { - pallet_name: b"Timestamp".to_vec(), - storage_name: b"Now".to_vec(), - prefix: prefix(b"Timestamp", b"Now"), - max_values: Some(1), - max_size: Some(8), - }, - StorageInfo { - pallet_name: b"Timestamp".to_vec(), - storage_name: b"DidUpdate".to_vec(), - prefix: prefix(b"Timestamp", b"DidUpdate"), - max_values: Some(1), - max_size: Some(1), - } - ] - ); assert_eq!( ::storage_info(), vec![ @@ -477,7 +458,6 @@ fn verify_pallet_indices() { } is_pallet_index::(0); is_pallet_index::(1); - is_pallet_index::(2); is_pallet_index::(3); is_pallet_index::(4); is_pallet_index::(6); @@ -687,7 +667,6 @@ fn reward_block_authors() { )]) .build() .execute_with(|| { - set_parachain_inherent_data(); for x in 2..1199 { run_to_block(x, Some(NimbusId::from_slice(&ALICE_NIMBUS).unwrap())); } @@ -731,7 +710,6 @@ fn reward_block_authors_with_parachain_bond_reserved() { )]) .build() .execute_with(|| { - set_parachain_inherent_data(); assert_ok!(ParachainStaking::set_parachain_bond_account( root_origin(), AccountId::from(CHARLIE), @@ -892,7 +870,6 @@ fn initialize_crowdloan_address_and_change_with_relay_key_sig() { .build() .execute_with(|| { // set parachain inherent data - set_parachain_inherent_data(); let init_block = CrowdloanRewards::init_vesting_block(); // This matches the previous vesting let end_block = init_block + 4 * WEEKS; @@ -1088,7 +1065,6 @@ fn is_contributor_via_precompile() { .build() .execute_with(|| { // set parachain inherent data - set_parachain_inherent_data(); let init_block = CrowdloanRewards::init_vesting_block(); // This matches the previous vesting let end_block = init_block + 4 * WEEKS; @@ -1170,7 +1146,6 @@ fn reward_info_via_precompile() { .build() .execute_with(|| { // set parachain inherent data - set_parachain_inherent_data(); let init_block = CrowdloanRewards::init_vesting_block(); // This matches the previous vesting let end_block = init_block + 4 * WEEKS; @@ -1242,7 +1217,6 @@ fn update_reward_address_via_precompile() { .build() .execute_with(|| { // set parachain inherent data - set_parachain_inherent_data(); let init_block = CrowdloanRewards::init_vesting_block(); // This matches the previous vesting let end_block = init_block + 4 * WEEKS; diff --git a/runtime/moonbase/tests/runtime_apis.rs b/runtime/moonbase/tests/runtime_apis.rs index 193846eb823..9ed29655bc4 100644 --- a/runtime/moonbase/tests/runtime_apis.rs +++ b/runtime/moonbase/tests/runtime_apis.rs @@ -106,7 +106,6 @@ fn ethereum_runtime_rpc_api_author() { )]) .build() .execute_with(|| { - set_parachain_inherent_data(); run_to_block(2, Some(NimbusId::from_slice(&ALICE_NIMBUS).unwrap())); assert_eq!(Runtime::author(), H160::from(ALICE)); }); @@ -212,7 +211,6 @@ fn ethereum_runtime_rpc_api_current_transaction_statuses() { )]) .build() .execute_with(|| { - set_parachain_inherent_data(); let _result = Executive::apply_extrinsic(unchecked_eth_tx(VALID_ETH_TX)); rpc_run_to_block(2); let statuses = @@ -240,7 +238,6 @@ fn ethereum_runtime_rpc_api_current_block() { )]) .build() .execute_with(|| { - set_parachain_inherent_data(); rpc_run_to_block(2); let block = Runtime::current_block().expect("Block result."); assert_eq!(block.header.number, U256::from(1u8)); @@ -271,7 +268,6 @@ fn ethereum_runtime_rpc_api_current_receipts() { )]) .build() .execute_with(|| { - set_parachain_inherent_data(); let _result = Executive::apply_extrinsic(unchecked_eth_tx(VALID_ETH_TX)); rpc_run_to_block(2); let receipts = Runtime::current_receipts().expect("Receipts result."); @@ -314,7 +310,6 @@ fn can_author_when_selected_is_empty() { )]) .build() .execute_with(|| { - set_parachain_inherent_data(); run_to_block(2, Some(NimbusId::from_slice(&ALICE_NIMBUS).unwrap())); assert_eq!(ParachainStaking::candidate_pool().0.len(), 1); diff --git a/runtime/moonbeam/Cargo.toml b/runtime/moonbeam/Cargo.toml index 4eeef33bec6..43bc57cb3d7 100644 --- a/runtime/moonbeam/Cargo.toml +++ b/runtime/moonbeam/Cargo.toml @@ -154,6 +154,7 @@ cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } # Moonkit +async-backing-primitives = { workspace = true } moonkit-xcm-primitives = { workspace = true } nimbus-primitives = { workspace = true } pallet-author-inherent = { workspace = true } diff --git a/runtime/moonbeam/src/lib.rs b/runtime/moonbeam/src/lib.rs index 73d98124339..07347ac81a8 100644 --- a/runtime/moonbeam/src/lib.rs +++ b/runtime/moonbeam/src/lib.rs @@ -668,6 +668,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; + type ConsensusHook = cumulus_pallet_parachain_system::ExpectParentIncluded; } pub struct EthereumXcmEnsureProxy; @@ -1625,29 +1626,16 @@ moonbeam_runtime_common::impl_runtime_apis_plus_common! { }) } } -} - -// Check the timestamp and parachain inherents -struct CheckInherents; - -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - sp_std::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(&block) + impl async_backing_primitives::UnincludedSegmentApi for Runtime { + fn can_build_upon( + _included_hash: ::Hash, + _slot: async_backing_primitives::Slot, + ) -> bool { + // This runtime API can be called only when asynchronous backing is enabled client-side + // We return false here to force the client to not use async backing in moonbeam. + false + } } } @@ -1655,7 +1643,6 @@ impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { cumulus_pallet_parachain_system::register_validate_block!( Runtime = Runtime, BlockExecutor = pallet_author_inherent::BlockExecutor::, - CheckInherents = CheckInherents, ); moonbeam_runtime_common::impl_self_contained_call!(); diff --git a/runtime/moonriver/Cargo.toml b/runtime/moonriver/Cargo.toml index 26d5797bf84..e5b41b924d6 100644 --- a/runtime/moonriver/Cargo.toml +++ b/runtime/moonriver/Cargo.toml @@ -155,6 +155,7 @@ cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } # Moonkit +async-backing-primitives = { workspace = true } moonkit-xcm-primitives = { workspace = true } nimbus-primitives = { workspace = true } pallet-author-inherent = { workspace = true } diff --git a/runtime/moonriver/src/lib.rs b/runtime/moonriver/src/lib.rs index b3c9f557faf..125186d5325 100644 --- a/runtime/moonriver/src/lib.rs +++ b/runtime/moonriver/src/lib.rs @@ -700,6 +700,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; + type ConsensusHook = cumulus_pallet_parachain_system::ExpectParentIncluded; } impl parachain_info::Config for Runtime {} @@ -1627,29 +1628,16 @@ moonbeam_runtime_common::impl_runtime_apis_plus_common! { }) } } -} - -// Check the timestamp and parachain inherents -struct CheckInherents; - -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - sp_std::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(&block) + impl async_backing_primitives::UnincludedSegmentApi for Runtime { + fn can_build_upon( + _included_hash: ::Hash, + _slot: async_backing_primitives::Slot, + ) -> bool { + // This runtime API can be called only when asynchronous backing is enabled client-side + // We return false here to force the client to not use async backing in moonriver. + false + } } } @@ -1657,7 +1645,6 @@ impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { cumulus_pallet_parachain_system::register_validate_block!( Runtime = Runtime, BlockExecutor = pallet_author_inherent::BlockExecutor::, - CheckInherents = CheckInherents, ); moonbeam_runtime_common::impl_self_contained_call!(); diff --git a/test/suites/dev/test-pov/test-evm-over-pov2.ts b/test/suites/dev/test-pov/test-evm-over-pov2.ts index ee6a3ec159f..abb407ee683 100644 --- a/test/suites/dev/test-pov/test-evm-over-pov2.ts +++ b/test/suites/dev/test-pov/test-evm-over-pov2.ts @@ -13,10 +13,15 @@ describeSuite({ let proxyAbi: Abi; let contracts: HeavyContract[]; let callData: `0x${string}`; + let emptyBlockProofSize: bigint; const MAX_CONTRACTS = 20; - const EXPECTED_POV_ROUGH = 500_000; // bytes beforeAll(async () => { + // Create an empty block to estimate empty block proof size + const { block } = await context.createBlock(); + // Empty blocks usually do not exceed 50kb + emptyBlockProofSize = BigInt(block.proofSize || 50_000); + const { contractAddress, abi } = await deployCreateCompiledContract(context, "CallForwarder"); proxyAddress = contractAddress; proxyAbi = abi; @@ -58,7 +63,7 @@ describeSuite({ log(`block.proofSize: ${block.proofSize} (successful: ${result?.successful})`); expect(block.proofSize).toBeGreaterThanOrEqual(MAX_ETH_POV_PER_TX - 20_000n); - expect(block.proofSize).toBeLessThanOrEqual(MAX_ETH_POV_PER_TX - 1n); + expect(block.proofSize).toBeLessThanOrEqual(MAX_ETH_POV_PER_TX + emptyBlockProofSize); expect(result?.successful).to.equal(true); }, }); diff --git a/test/suites/dev/test-pov/test-precompile-over-pov2.ts b/test/suites/dev/test-pov/test-precompile-over-pov2.ts index 61e870a95d7..0cb4b9524f0 100644 --- a/test/suites/dev/test-pov/test-precompile-over-pov2.ts +++ b/test/suites/dev/test-pov/test-precompile-over-pov2.ts @@ -23,8 +23,14 @@ describeSuite({ let batchAbi: Abi; let proxyAbi: Abi; let proxyAddress: `0x${string}`; + let emptyBlockProofSize: bigint; beforeAll(async function () { + // Create an empty block to estimate empty block proof size + const { block } = await context.createBlock(); + // Empty blocks usually do not exceed 50kb + emptyBlockProofSize = BigInt(block.proofSize || 50_000); + const { contractAddress: contractAdd1, abi } = await deployCreateCompiledContract( context, "CallForwarder" @@ -72,7 +78,7 @@ describeSuite({ const { result, block } = await context.createBlock(rawSigned); expect(block.proofSize).to.be.at.least(Number(MAX_ETH_POV_PER_TX - 20_000n)); - expect(block.proofSize).to.be.at.most(Number(MAX_ETH_POV_PER_TX - 1n)); + expect(block.proofSize).to.be.at.most(Number(MAX_ETH_POV_PER_TX + emptyBlockProofSize)); expect(result?.successful).to.equal(true); }, });