diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5bbec07e0..997fa57e4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,12 +41,13 @@ jobs: - uses: actions/checkout@v3 - name: Install linux dependencies run: sudo apt update && sudo apt install -y cargo clang libssl-dev llvm libudev-dev protobuf-compiler - - name: Install toolchain + - name: Install toolchain and rust-src uses: actions-rs/toolchain@v1 with: toolchain: 1.77.0 override: true target: wasm32-unknown-unknown + components: rust-src - name: Rust Cache uses: Swatinem/rust-cache@v2 - name: Install try-runtime @@ -80,7 +81,7 @@ jobs: toolchain: 1.77.0 override: true target: wasm32-unknown-unknown - components: clippy + components: rust-src - name: Rust Cache uses: Swatinem/rust-cache@v2 - name: Check with Clippy @@ -103,6 +104,7 @@ jobs: toolchain: 1.77.0 override: true target: wasm32-unknown-unknown + components: rust-src - name: Rust Cache uses: Swatinem/rust-cache@v2 - name: Run cargo-tarpaulin diff --git a/CHANGELOG.md b/CHANGELOG.md index 62397ea70..e4c7f5d55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [C] Changes is `Cere` Runtime - [D] Changes is `Cere Dev` Runtime -- + +## [6.2.0] + +### Changed + +- [C,D] Update Substrate from `v1.4` to `v1.5`. + ## [6.1.0] ### Changed diff --git a/Cargo.lock b/Cargo.lock index 7f0c4a88e..8bf3c7b52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -454,15 +454,15 @@ dependencies = [ [[package]] name = "ark-secret-scalar" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" +source = "git+https://github.com/w3f/ring-vrf?rev=2019248#2019248785389b3246d55b1c3b0e9bdef4454cb7" dependencies = [ "ark-ec", "ark-ff", "ark-serialize", "ark-std", - "ark-transcript 0.0.2 (git+https://github.com/w3f/ring-vrf?rev=cbc342e)", + "ark-transcript 0.0.2 (git+https://github.com/w3f/ring-vrf?rev=2019248)", "digest 0.10.7", - "rand_core 0.6.4", + "getrandom_or_panic", "zeroize", ] @@ -517,7 +517,7 @@ dependencies = [ [[package]] name = "ark-transcript" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" +source = "git+https://github.com/w3f/ring-vrf?rev=2019248#2019248785389b3246d55b1c3b0e9bdef4454cb7" dependencies = [ "ark-ff", "ark-serialize", @@ -582,7 +582,7 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "synstructure", + "synstructure 0.12.6", ] [[package]] @@ -710,8 +710,8 @@ dependencies = [ [[package]] name = "bandersnatch_vrfs" -version = "0.0.3" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" +version = "0.0.4" +source = "git+https://github.com/w3f/ring-vrf?rev=2019248#2019248785389b3246d55b1c3b0e9bdef4454cb7" dependencies = [ "ark-bls12-381", "ark-ec", @@ -1105,7 +1105,7 @@ dependencies = [ [[package]] name = "cere-cli" -version = "6.1.0" +version = "6.2.0" dependencies = [ "cere-client", "cere-service", @@ -1122,7 +1122,7 @@ dependencies = [ [[package]] name = "cere-client" -version = "6.1.0" +version = "6.2.0" dependencies = [ "cere-dev-runtime", "cere-runtime", @@ -1154,7 +1154,7 @@ dependencies = [ [[package]] name = "cere-dev-runtime" -version = "6.1.0" +version = "6.2.0" dependencies = [ "cere-runtime-common", "ddc-primitives", @@ -1179,7 +1179,6 @@ dependencies = [ "pallet-child-bounties", "pallet-collective", "pallet-contracts", - "pallet-contracts-primitives", "pallet-conviction-voting", "pallet-ddc-clusters", "pallet-ddc-clusters-gov", @@ -1250,7 +1249,7 @@ dependencies = [ [[package]] name = "cere-rpc" -version = "6.1.0" +version = "6.2.0" dependencies = [ "jsonrpsee", "node-primitives", @@ -1279,7 +1278,7 @@ dependencies = [ [[package]] name = "cere-runtime" -version = "6.1.0" +version = "6.2.0" dependencies = [ "cere-runtime-common", "ddc-primitives", @@ -1304,7 +1303,6 @@ dependencies = [ "pallet-child-bounties", "pallet-collective", "pallet-contracts", - "pallet-contracts-primitives", "pallet-conviction-voting", "pallet-ddc-clusters", "pallet-ddc-clusters-gov", @@ -1375,7 +1373,7 @@ dependencies = [ [[package]] name = "cere-runtime-common" -version = "6.1.0" +version = "6.2.0" dependencies = [ "frame-support", "frame-system", @@ -1396,7 +1394,7 @@ dependencies = [ [[package]] name = "cere-service" -version = "6.1.0" +version = "6.2.0" dependencies = [ "cere-client", "cere-dev-runtime", @@ -1527,7 +1525,7 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", "serde", "unsigned-varint", ] @@ -2086,7 +2084,7 @@ dependencies = [ [[package]] name = "ddc-primitives" -version = "6.1.0" +version = "6.2.0" dependencies = [ "blake2 0.10.6", "frame-support", @@ -2292,7 +2290,7 @@ dependencies = [ [[package]] name = "dleq_vrf" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" +source = "git+https://github.com/w3f/ring-vrf?rev=2019248#2019248785389b3246d55b1c3b0e9bdef4454cb7" dependencies = [ "ark-ec", "ark-ff", @@ -2300,9 +2298,8 @@ dependencies = [ "ark-secret-scalar", "ark-serialize", "ark-std", - "ark-transcript 0.0.2 (git+https://github.com/w3f/ring-vrf?rev=cbc342e)", + "ark-transcript 0.0.2 (git+https://github.com/w3f/ring-vrf?rev=2019248)", "arrayvec 0.7.6", - "rand_core 0.6.4", "zeroize", ] @@ -2600,11 +2597,12 @@ checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "fdlimit" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", + "thiserror", ] [[package]] @@ -2731,7 +2729,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", ] @@ -2754,7 +2752,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-support-procedural", @@ -2779,7 +2777,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "Inflector", "array-bytes 6.2.3", @@ -2827,9 +2825,9 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 2.0.82", @@ -2838,7 +2836,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2855,7 +2853,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -2885,7 +2883,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "futures", "indicatif", @@ -2906,7 +2904,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -2947,7 +2945,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "Inflector", "cfg-expr", @@ -2966,10 +2964,10 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.1.3", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 2.0.82", @@ -2978,7 +2976,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "proc-macro2", "quote", @@ -2988,9 +2986,10 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "cfg-if", + "docify", "frame-support", "log", "parity-scale-codec", @@ -3007,7 +3006,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3022,7 +3021,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "sp-api", @@ -3031,7 +3030,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "parity-scale-codec", @@ -4235,7 +4234,7 @@ dependencies = [ "libp2p-identity", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "multistream-select", "once_cell", "parking_lot 0.12.3", @@ -4295,7 +4294,7 @@ dependencies = [ "ed25519-dalek", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "quick-protobuf", "rand 0.8.5", "sha2 0.10.8", @@ -5011,7 +5010,7 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash", + "multihash 0.17.0", "percent-encoding", "serde", "static_assertions", @@ -5041,12 +5040,55 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive", + "multihash-derive 0.8.1", "sha2 0.10.8", "sha3", "unsigned-varint", ] +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "core2", + "digest 0.10.7", + "multihash-derive 0.8.1", + "sha2 0.10.8", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" +dependencies = [ + "core2", + "unsigned-varint", +] + +[[package]] +name = "multihash-codetable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive 0.9.0", + "ripemd", + "serde", + "sha1", + "sha2 0.10.8", + "sha3", + "strobe-rs", +] + [[package]] name = "multihash-derive" version = "0.8.1" @@ -5058,7 +5100,32 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "synstructure", + "synstructure 0.12.6", +] + +[[package]] +name = "multihash-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" +dependencies = [ + "core2", + "multihash 0.19.1", + "multihash-derive-impl", +] + +[[package]] +name = "multihash-derive-impl" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3958713ce794e12f7c6326fac9aa274c68d74c4881dd37b3e2662b8a2046bb19" +dependencies = [ + "proc-macro-crate 2.0.0", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.82", + "synstructure 0.13.1", ] [[package]] @@ -5185,7 +5252,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "sp-core", "sp-runtime", @@ -5373,7 +5440,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -5389,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -5403,7 +5470,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5427,7 +5494,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "aquamarine", "docify", @@ -5449,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5464,7 +5531,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5481,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-chainbridge" -version = "6.1.0" +version = "6.2.0" dependencies = [ "frame-support", "frame-system", @@ -5497,7 +5564,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5516,7 +5583,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5533,7 +5600,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "bitflags 1.3.2", "environmental", @@ -5543,8 +5610,8 @@ dependencies = [ "impl-trait-for-tuples", "log", "pallet-balances", - "pallet-contracts-primitives", "pallet-contracts-proc-macro", + "pallet-contracts-uapi", "parity-scale-codec", "rand 0.8.5", "rand_pcg", @@ -5562,33 +5629,31 @@ dependencies = [ "wasmi", ] -[[package]] -name = "pallet-contracts-primitives" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" -dependencies = [ - "bitflags 1.3.2", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std 8.0.0", - "sp-weights", -] - [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "proc-macro2", "quote", "syn 2.0.82", ] +[[package]] +name = "pallet-contracts-uapi" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" +dependencies = [ + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "scale-info", +] + [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5604,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-ddc-clusters" -version = "6.1.0" +version = "6.2.0" dependencies = [ "ddc-primitives", "frame-benchmarking", @@ -5614,7 +5679,6 @@ dependencies = [ "log", "pallet-balances", "pallet-contracts", - "pallet-contracts-primitives", "pallet-ddc-nodes", "pallet-insecure-randomness-collective-flip", "pallet-timestamp", @@ -5631,7 +5695,7 @@ dependencies = [ [[package]] name = "pallet-ddc-clusters-gov" -version = "6.1.0" +version = "6.2.0" dependencies = [ "ddc-primitives", "frame-benchmarking", @@ -5666,7 +5730,7 @@ dependencies = [ [[package]] name = "pallet-ddc-customers" -version = "6.1.0" +version = "6.2.0" dependencies = [ "ddc-primitives", "frame-benchmarking", @@ -5689,7 +5753,7 @@ dependencies = [ [[package]] name = "pallet-ddc-nodes" -version = "6.1.0" +version = "6.2.0" dependencies = [ "ddc-primitives", "frame-benchmarking", @@ -5712,7 +5776,7 @@ dependencies = [ [[package]] name = "pallet-ddc-payouts" -version = "6.1.0" +version = "6.2.0" dependencies = [ "byte-unit", "chrono", @@ -5737,7 +5801,7 @@ dependencies = [ [[package]] name = "pallet-ddc-staking" -version = "6.1.0" +version = "6.2.0" dependencies = [ "ddc-primitives", "frame-benchmarking", @@ -5765,7 +5829,7 @@ dependencies = [ [[package]] name = "pallet-ddc-verification" -version = "6.1.0" +version = "6.2.0" dependencies = [ "array-bytes 6.2.3", "base64ct", @@ -5800,7 +5864,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5818,7 +5882,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5841,7 +5905,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5855,7 +5919,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5873,7 +5937,7 @@ dependencies = [ [[package]] name = "pallet-erc20" -version = "6.1.0" +version = "6.2.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5892,7 +5956,7 @@ dependencies = [ [[package]] name = "pallet-erc721" -version = "6.1.0" +version = "6.2.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5910,7 +5974,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "docify", "frame-benchmarking", @@ -5929,7 +5993,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5952,7 +6016,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5968,7 +6032,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5988,7 +6052,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6005,7 +6069,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -6019,7 +6083,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6036,7 +6100,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6052,7 +6116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -6071,7 +6135,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6091,7 +6155,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -6102,7 +6166,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -6119,7 +6183,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6142,7 +6206,7 @@ dependencies = [ [[package]] name = "pallet-origins" -version = "6.1.0" +version = "6.2.0" dependencies = [ "cere-runtime-common", "frame-benchmarking", @@ -6159,7 +6223,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6176,7 +6240,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6191,7 +6255,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6206,7 +6270,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6225,7 +6289,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "docify", "frame-benchmarking", @@ -6243,7 +6307,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -6265,7 +6329,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6282,7 +6346,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6305,9 +6369,9 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 2.0.82", @@ -6316,7 +6380,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "docify", "frame-benchmarking", @@ -6332,7 +6396,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "docify", "frame-benchmarking", @@ -6352,7 +6416,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6371,7 +6435,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -6387,7 +6451,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6403,7 +6467,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6415,7 +6479,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "docify", "frame-benchmarking", @@ -6434,7 +6498,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6450,7 +6514,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6465,7 +6529,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6755,7 +6819,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "scale-info", @@ -6767,7 +6831,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "bounded-collections", "derive_more 0.99.18", @@ -6962,6 +7026,15 @@ dependencies = [ "toml 0.5.11", ] +[[package]] +name = "proc-macro-crate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +dependencies = [ + "toml_edit 0.20.7", +] + [[package]] name = "proc-macro-crate" version = "3.2.0" @@ -7487,6 +7560,15 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "ripemd" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" +dependencies = [ + "digest 0.10.7", +] + [[package]] name = "rocksdb" version = "0.21.0" @@ -7713,7 +7795,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "log", "sp-core", @@ -7724,7 +7806,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "futures", @@ -7732,7 +7814,8 @@ dependencies = [ "ip_network", "libp2p", "log", - "multihash", + "multihash 0.18.1", + "multihash-codetable", "parity-scale-codec", "prost", "prost-build", @@ -7752,7 +7835,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "futures", "futures-timer", @@ -7774,7 +7857,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "sp-api", @@ -7783,12 +7866,13 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", + "sp-trie", ] [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "docify", @@ -7813,9 +7897,9 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 2.0.82", @@ -7824,7 +7908,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "bip39", @@ -7865,7 +7949,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "fnv", "futures", @@ -7892,7 +7976,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "hash-db", "kvdb", @@ -7918,7 +8002,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "futures", @@ -7943,7 +8027,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "fork-tree", @@ -7978,7 +8062,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "futures", "jsonrpsee", @@ -8000,7 +8084,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8013,7 +8097,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.3", @@ -8055,7 +8139,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "finality-grandpa", "futures", @@ -8075,7 +8159,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "futures", @@ -8098,7 +8182,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -8120,7 +8204,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8132,7 +8216,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "anyhow", "cfg-if", @@ -8150,7 +8234,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "ansi_term", "futures", @@ -8167,7 +8251,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "parking_lot 0.12.3", @@ -8181,11 +8265,12 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.6", "blake2 0.10.6", + "bytes", "futures", "futures-timer", "libp2p-identity", @@ -8209,7 +8294,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -8242,6 +8327,8 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", "unsigned-varint", "wasm-timer", "zeroize", @@ -8250,7 +8337,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-channel", "cid", @@ -8270,7 +8357,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -8287,7 +8374,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "ahash 0.8.11", "futures", @@ -8306,7 +8393,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -8327,7 +8414,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -8363,7 +8450,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "futures", @@ -8382,7 +8469,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "bytes", @@ -8416,7 +8503,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8425,7 +8512,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "futures", "jsonrpsee", @@ -8457,7 +8544,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8477,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "http", "jsonrpsee", @@ -8492,7 +8579,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "futures", @@ -8521,7 +8608,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "directories", @@ -8584,7 +8671,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "log", "parity-scale-codec", @@ -8595,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8614,7 +8701,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "derive_more 0.99.18", "futures", @@ -8634,7 +8721,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "chrono", "futures", @@ -8653,7 +8740,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "ansi_term", "atty", @@ -8661,6 +8748,7 @@ dependencies = [ "lazy_static", "libc", "log", + "parity-scale-codec", "parking_lot 0.12.3", "regex", "rustc-hash", @@ -8682,9 +8770,9 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 2.0.82", @@ -8693,7 +8781,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "futures", @@ -8719,7 +8807,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "futures", @@ -8735,7 +8823,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-channel", "futures", @@ -8866,18 +8954,18 @@ dependencies = [ [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ "secp256k1-sys", ] [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] @@ -9001,6 +9089,17 @@ dependencies = [ "opaque-debug 0.3.1", ] +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "sha2" version = "0.8.2" @@ -9094,6 +9193,11 @@ dependencies = [ "wide", ] +[[package]] +name = "simple-mermaid" +version = "0.1.0" +source = "git+https://github.com/kianenigma/simple-mermaid.git?branch=main#e48b187bcfd5cc75111acd9d241f1bd36604344b" + [[package]] name = "siphasher" version = "0.3.11" @@ -9184,7 +9288,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "hash-db", "log", @@ -9205,12 +9309,12 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 1.1.3", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 2.0.82", @@ -9219,7 +9323,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9232,7 +9336,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "integer-sqrt", "num-traits", @@ -9264,7 +9368,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9277,7 +9381,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "sp-api", "sp-inherents", @@ -9288,7 +9392,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "futures", "log", @@ -9306,7 +9410,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "futures", @@ -9321,7 +9425,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9338,7 +9442,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9357,7 +9461,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "finality-grandpa", "log", @@ -9375,7 +9479,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9387,7 +9491,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "array-bytes 6.2.3", "bandersnatch_vrfs", @@ -9403,7 +9507,6 @@ dependencies = [ "hash256-std-hasher", "impl-serde 0.4.0", "itertools 0.10.5", - "lazy_static", "libsecp256k1", "log", "merlin 2.0.1", @@ -9412,7 +9515,6 @@ dependencies = [ "paste", "primitive-types 0.12.2", "rand 0.8.5", - "regex", "scale-info", "schnorrkel 0.9.1", "secp256k1", @@ -9435,7 +9537,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "blake2b_simd", "byteorder", @@ -9448,7 +9550,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "quote", "sp-core-hashing", @@ -9478,7 +9580,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -9487,7 +9589,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "proc-macro2", "quote", @@ -9507,7 +9609,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "environmental", "parity-scale-codec", @@ -9528,7 +9630,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "serde_json", "sp-api", @@ -9539,7 +9641,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9553,7 +9655,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "bytes", "ed25519-dalek", @@ -9577,7 +9679,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "lazy_static", "sp-core", @@ -9588,7 +9690,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -9600,7 +9702,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "thiserror", "zstd 0.12.4", @@ -9609,7 +9711,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -9620,7 +9722,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9632,7 +9734,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9646,7 +9748,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "sp-api", "sp-core", @@ -9656,7 +9758,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "backtrace", "lazy_static", @@ -9666,7 +9768,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "rustc-hash", "serde", @@ -9676,8 +9778,9 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", @@ -9687,6 +9790,7 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", + "simple-mermaid", "sp-application-crypto", "sp-arithmetic", "sp-core", @@ -9698,7 +9802,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9735,10 +9839,11 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "Inflector", - "proc-macro-crate 1.1.3", + "expander", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 2.0.82", @@ -9760,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9775,7 +9880,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9789,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "hash-db", "log", @@ -9810,7 +9915,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.3", @@ -9834,7 +9939,7 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" [[package]] name = "sp-std" @@ -9844,7 +9949,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk#b4732add46910370443d092 [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -9869,7 +9974,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9882,7 +9987,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "sp-std 8.0.0", @@ -9905,7 +10010,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "sp-api", "sp-runtime", @@ -9914,7 +10019,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9929,7 +10034,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "ahash 0.8.11", "hash-db", @@ -9943,6 +10048,7 @@ dependencies = [ "scale-info", "schnellru", "sp-core", + "sp-externalities 0.19.0", "sp-std 8.0.0", "thiserror", "tracing", @@ -9953,7 +10059,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -9970,7 +10076,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -9981,7 +10087,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -10005,14 +10111,14 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", "sp-arithmetic", - "sp-core", "sp-debug-derive 8.0.0", "sp-std 8.0.0", ] @@ -10074,7 +10180,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "bounded-collections", "derivative", @@ -10091,7 +10197,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support", "frame-system", @@ -10113,7 +10219,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "environmental", "frame-benchmarking", @@ -10165,6 +10271,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strobe-rs" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" +dependencies = [ + "bitflags 1.3.2", + "byteorder", + "keccak", + "subtle 2.4.1", + "zeroize", +] + [[package]] name = "strsim" version = "0.11.1" @@ -10228,12 +10347,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10252,7 +10371,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "hyper", "log", @@ -10264,7 +10383,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "jsonrpsee", @@ -10277,7 +10396,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10294,7 +10413,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "futures", "tokio", @@ -10303,7 +10422,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "ansi_term", "build-helper", @@ -10364,6 +10483,17 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "synstructure" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.82", +] + [[package]] name = "system-configuration" version = "0.5.1" @@ -10676,6 +10806,17 @@ dependencies = [ "winnow 0.5.40", ] +[[package]] +name = "toml_edit" +version = "0.20.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +dependencies = [ + "indexmap 2.6.0", + "toml_datetime", + "winnow 0.5.40", +] + [[package]] name = "toml_edit" version = "0.22.22" @@ -10924,7 +11065,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "async-trait", "clap", @@ -11982,7 +12123,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.4.0#fcfdb98ab5c5fce91cce339c8d3e4f5f5844bbe1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 30117c058..2ded660c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "6.1.0" +version = "6.2.0" authors = ["Cerebellum-Network"] edition = "2021" homepage = "https://cere.network/" @@ -34,8 +34,8 @@ base64ct = { version = "1.6.0" } blake2 = { version = "0.10.6", default-features = false } byte-unit = { version = "4.0.19", default-features = false, features = ["u128"] } chrono = { version = "0.4.31", default-features = false } -clap = { version = "4.4.6", features = ["derive"] } -codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false, features = ["derive", "max-encoded-len"] } +clap = { version = "4.4.10", features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.6.5", default-features = false, features = ["derive", "max-encoded-len"] } futures = { version = "0.3.28" } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } hex-literal = { version = "^0.4.1", default-features = false } @@ -47,8 +47,8 @@ polkadot-ckb-merkle-mountain-range = { version = "0.7.0", default-features = fal rand = { version = "0.8", default-features = false } rand_chacha = { version = "0.2.2", default-features = false } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.188", default-features = false, features = ["derive"] } -serde_json = { version = "1.0.107", default-features = false } +serde = { version = "1.0.193", default-features = false, features = ["derive"] } +serde_json = { version = "1.0.108", default-features = false } static_assertions = { version = "1.1.0" } url = { version = "2.4.1" } array-bytes = { version = "6.1" } @@ -57,124 +57,123 @@ itertools = { version = "0.13.0", default-features = false, features = ["use_all # Substrate Dependencies # Please keey format such that: # dependency-name = { git = "X", tag = "Y", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false, features = ["tuples-96"] } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -node-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-child-bounties = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-contracts = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-contracts-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-election-provider-support-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-fast-unstake = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-nomination-pools = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-nomination-pools-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-nomination-pools-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false, features = ["historical"] } -pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-conviction-voting = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-referenda = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-consensus-epochs = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-consensus-grandpa-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-sync-state = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-sync-state-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-consensus-babe-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-consensus-epochs = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-consensus-grandpa-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false, features = ["serde"] } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-transaction-storage-proof = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-trie = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.4.0", default-features = false } -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -substrate-state-trie-migration-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -substrate-test-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } -try-runtime-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.4.0", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false, features = ["tuples-96"] } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +node-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-child-bounties = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-contracts = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-election-provider-support-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-fast-unstake = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-nomination-pools = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-nomination-pools-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-nomination-pools-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-recovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false, features = ["historical"] } +pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-conviction-voting = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-referenda = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-consensus-epochs = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-consensus-grandpa-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-sync-state = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-sync-state-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-consensus-babe-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-consensus-epochs = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-consensus-grandpa-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false, features = ["serde"] } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-transaction-storage-proof = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0", default-features = false } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +substrate-state-trie-migration-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +substrate-test-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } +try-runtime-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-v1.5.0", default-features = false } # Cere Dependenies cere-client = { path = "node/client" } diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index c7dc2ac14..c6926cefa 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -7,12 +7,12 @@ use sc_client_api::{ UsageProvider, }; pub use sc_executor::NativeElseWasmExecutor; -use sp_api::{CallApiAt, NumberFor, ProvideRuntimeApi}; +use sp_api::{CallApiAt, ProvideRuntimeApi}; use sp_blockchain::{HeaderBackend, HeaderMetadata}; use sp_consensus::BlockStatus; use sp_runtime::{ generic::SignedBlock, - traits::{BlakeTwo256, Block as BlockT}, + traits::{BlakeTwo256, Block as BlockT, NumberFor}, Justifications, }; use sp_storage::{ChildInfo, StorageData, StorageKey}; @@ -72,7 +72,7 @@ pub trait AbstractClient: where Block: BlockT, Backend: BackendT, - Backend::State: sp_api::StateBackend, + Backend::State: sc_client_api::backend::StateBackend, Self::Api: RuntimeApiCollection, { } @@ -81,7 +81,7 @@ impl AbstractClient for Client where Block: BlockT, Backend: BackendT, - Backend::State: sp_api::StateBackend, + Backend::State: sc_client_api::backend::StateBackend, Client: BlockchainEvents + ProvideRuntimeApi + HeaderBackend @@ -130,7 +130,7 @@ pub trait ExecuteWithClient { fn execute_with_client(self, client: Arc) -> Self::Output where Backend: sc_client_api::Backend, - Backend::State: sp_api::StateBackend, + Backend::State: sc_client_api::backend::StateBackend, Api: crate::RuntimeApiCollection, Client: AbstractClient + 'static; } diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 2028ae451..98e65691f 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -377,9 +377,9 @@ where &client.block_hash(0).ok().flatten().expect("Genesis block exists; qed"), &config.chain_spec, ); - net_config.add_notification_protocol(sc_consensus_grandpa::grandpa_peers_set_config( - grandpa_protocol_name.clone(), - )); + let (grandpa_protocol_config, grandpa_notification_service) = + sc_consensus_grandpa::grandpa_peers_set_config(grandpa_protocol_name.clone()); + net_config.add_notification_protocol(grandpa_protocol_config); let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new( backend.clone(), @@ -576,6 +576,7 @@ where sync: Arc::new(sync_service), network: network.clone(), telemetry: telemetry.as_ref().map(|x| x.handle()), + notification_service: grandpa_notification_service, voting_rule: sc_consensus_grandpa::VotingRulesBuilder::default().build(), prometheus_registry, shared_voter_state, @@ -606,7 +607,7 @@ impl ExecuteWithClient for RevertConsensus { fn execute_with_client(self, client: Arc) -> Self::Output where Backend: sc_client_api::Backend, - Backend::State: sp_api::StateBackend, + Backend::State: sc_client_api::backend::StateBackend, Api: RuntimeApiCollection, Client: AbstractClient + 'static, { diff --git a/pallets/chainbridge/src/mock.rs b/pallets/chainbridge/src/mock.rs index 4caae1fb4..a80fdedfe 100644 --- a/pallets/chainbridge/src/mock.rs +++ b/pallets/chainbridge/src/mock.rs @@ -1,5 +1,6 @@ use frame_support::{ - assert_ok, ord_parameter_types, parameter_types, traits::Everything, weights::Weight, + assert_ok, derive_impl, ord_parameter_types, parameter_types, traits::Everything, + weights::Weight, }; use frame_system::{self as system}; pub use pallet_balances as balances; @@ -19,10 +20,9 @@ parameter_types! { pub const MaxLocks: u32 = 50; } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Nonce = u64; @@ -33,17 +33,10 @@ impl frame_system::Config for Test { type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); // type ModuleToIndex = (); type PalletInfo = PalletInfo; // type MaxLocks = MaxLocks; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; } diff --git a/pallets/ddc-clusters-gov/src/mock.rs b/pallets/ddc-clusters-gov/src/mock.rs index f71f05619..97481e9cc 100644 --- a/pallets/ddc-clusters-gov/src/mock.rs +++ b/pallets/ddc-clusters-gov/src/mock.rs @@ -13,7 +13,7 @@ use ddc_primitives::{ StorageNodeParams, DOLLARS, }; use frame_support::{ - parameter_types, + derive_impl, parameter_types, traits::{ fungible::HoldConsideration, ConstBool, ConstU32, ConstU64, EnsureOriginWithArg, EqualPrivilegeOnly, Everything, LinearStoragePrice, Nothing, @@ -85,10 +85,9 @@ impl Convert> for Test { } } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type DbWeight = RocksDbWeight; type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; @@ -100,14 +99,8 @@ impl frame_system::Config for Test { type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; - type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = ConstU32<16>; } diff --git a/pallets/ddc-clusters/Cargo.toml b/pallets/ddc-clusters/Cargo.toml index eda0f8c4f..8ae1039be 100644 --- a/pallets/ddc-clusters/Cargo.toml +++ b/pallets/ddc-clusters/Cargo.toml @@ -21,7 +21,6 @@ frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } pallet-contracts = { workspace = true } -pallet-contracts-primitives = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } @@ -49,7 +48,6 @@ std = [ "frame-support/std", "frame-system/std", "pallet-contracts/std", - "pallet-contracts-primitives/std", "pallet-ddc-nodes/std", "scale-info/std", "sp-core/std", diff --git a/pallets/ddc-clusters/src/mock.rs b/pallets/ddc-clusters/src/mock.rs index 6a7a9a910..7b1a2e945 100644 --- a/pallets/ddc-clusters/src/mock.rs +++ b/pallets/ddc-clusters/src/mock.rs @@ -7,7 +7,7 @@ use ddc_primitives::{ ClusterId, NodePubKey, }; use frame_support::{ - construct_runtime, parameter_types, + construct_runtime, derive_impl, parameter_types, traits::{ConstBool, ConstU32, ConstU64, Everything, Nothing}, weights::constants::RocksDbWeight, }; @@ -142,10 +142,9 @@ parameter_types! { pub static ExistentialDeposit: Balance = 1; } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type DbWeight = RocksDbWeight; type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; @@ -156,14 +155,8 @@ impl frame_system::Config for Test { type AccountId = AccountId; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; - type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = ConstU32<16>; type Lookup = IdentityLookup; } diff --git a/pallets/ddc-clusters/src/node_provider_auth.rs b/pallets/ddc-clusters/src/node_provider_auth.rs index 6f293e36f..fed1013d7 100644 --- a/pallets/ddc-clusters/src/node_provider_auth.rs +++ b/pallets/ddc-clusters/src/node_provider_auth.rs @@ -106,7 +106,7 @@ where Default::default(), EXTENSION_CALL_GAS_LIMIT, None, - pallet_contracts_primitives::Code::Existing(code_hash), + pallet_contracts::Code::Existing(code_hash), contract_args, vec![], pallet_contracts::DebugInfo::Skip, diff --git a/pallets/ddc-customers/src/mock.rs b/pallets/ddc-customers/src/mock.rs index 1fa0b6d5a..ddc834ca2 100644 --- a/pallets/ddc-customers/src/mock.rs +++ b/pallets/ddc-customers/src/mock.rs @@ -7,7 +7,7 @@ use ddc_primitives::{ ClusterProtocolParams, ClusterStatus, NodePubKey, NodeType, }; use frame_support::{ - construct_runtime, parameter_types, + construct_runtime, derive_impl, parameter_types, traits::{ConstU32, ConstU64, Everything}, weights::constants::RocksDbWeight, }; @@ -42,10 +42,9 @@ parameter_types! { pub static ExistentialDeposit: Balance = 1; } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type DbWeight = RocksDbWeight; type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; @@ -57,14 +56,8 @@ impl frame_system::Config for Test { type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; - type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = ConstU32<16>; } diff --git a/pallets/ddc-nodes/src/mock.rs b/pallets/ddc-nodes/src/mock.rs index 501b6b555..98707b229 100644 --- a/pallets/ddc-nodes/src/mock.rs +++ b/pallets/ddc-nodes/src/mock.rs @@ -4,7 +4,7 @@ use ddc_primitives::traits::staking::{StakingVisitor, StakingVisitorError}; use frame_support::{ - construct_runtime, parameter_types, + construct_runtime, derive_impl, parameter_types, traits::{ConstU32, ConstU64, Everything}, weights::constants::RocksDbWeight, }; @@ -42,10 +42,9 @@ parameter_types! { pub static ExistentialDeposit: Balance = 1; } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type DbWeight = RocksDbWeight; type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; @@ -57,14 +56,8 @@ impl frame_system::Config for Test { type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; - type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = ConstU32<16>; } diff --git a/pallets/ddc-payouts/src/mock.rs b/pallets/ddc-payouts/src/mock.rs index e309b5cb4..7b24ac027 100644 --- a/pallets/ddc-payouts/src/mock.rs +++ b/pallets/ddc-payouts/src/mock.rs @@ -17,7 +17,7 @@ use ddc_primitives::{ }; use frame_election_provider_support::SortedListProvider; use frame_support::{ - construct_runtime, parameter_types, + construct_runtime, derive_impl, parameter_types, traits::{ConstU32, ConstU64, Everything, ExistenceRequirement, Randomness}, weights::constants::RocksDbWeight, PalletId, @@ -77,10 +77,9 @@ impl Randomness for MockRandomness { } } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type DbWeight = RocksDbWeight; type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; @@ -92,14 +91,8 @@ impl frame_system::Config for Test { type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; - type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = ConstU32<16>; } diff --git a/pallets/ddc-staking/src/mock.rs b/pallets/ddc-staking/src/mock.rs index b1cb4729c..b9e7aef47 100644 --- a/pallets/ddc-staking/src/mock.rs +++ b/pallets/ddc-staking/src/mock.rs @@ -7,7 +7,7 @@ use ddc_primitives::{ NodeParams, NodePubKey, StorageNodeParams, StorageNodePubKey, }; use frame_support::{ - construct_runtime, + construct_runtime, derive_impl, traits::{ConstBool, ConstU32, ConstU64, Everything, Nothing}, weights::constants::RocksDbWeight, }; @@ -64,10 +64,9 @@ type BalanceOf = <::Currency as Currency< ::AccountId, >>::Balance; +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type DbWeight = RocksDbWeight; type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; @@ -79,14 +78,8 @@ impl frame_system::Config for Test { type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; - type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = ConstU32<16>; } diff --git a/pallets/erc20/src/mock.rs b/pallets/erc20/src/mock.rs index 004d507e5..5ec90c33d 100644 --- a/pallets/erc20/src/mock.rs +++ b/pallets/erc20/src/mock.rs @@ -1,7 +1,7 @@ #![cfg(test)] use chainbridge as bridge; -use frame_support::{ord_parameter_types, parameter_types, weights::Weight}; +use frame_support::{ord_parameter_types, derive_impl, parameter_types, weights::Weight}; use frame_system::{self as system}; pub use pallet_balances as balances; use sp_core::{hashing::blake2_128, H256}; @@ -21,8 +21,8 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::one(); } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { - type BaseCallFilter = (); type Origin = Origin; type Call = Call; type Nonce = u64; @@ -34,18 +34,9 @@ impl frame_system::Config for Test { type Event = Event; type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; - type DbWeight = (); - type BlockExecutionWeight = (); - type ExtrinsicBaseWeight = (); - type MaximumExtrinsicWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; - type Version = (); - type ModuleToIndex = (); type AccountData = balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); } parameter_types! { diff --git a/pallets/erc721/src/mock.rs b/pallets/erc721/src/mock.rs index 5b2227cc3..5fac173c9 100644 --- a/pallets/erc721/src/mock.rs +++ b/pallets/erc721/src/mock.rs @@ -1,6 +1,8 @@ #![cfg(test)] -use frame_support::{ord_parameter_types, parameter_types, traits::Everything, weights::Weight}; +use frame_support::{ + derive_impl, ord_parameter_types, parameter_types, traits::Everything, weights::Weight, +}; use frame_system::{self as system}; pub use pallet_balances as balances; use pallet_chainbridge as bridge; @@ -20,10 +22,9 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::one(); } +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Nonce = u64; @@ -34,15 +35,8 @@ impl frame_system::Config for Test { type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); type PalletInfo = PalletInfo; type AccountData = balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; } diff --git a/runtime/cere-dev/Cargo.toml b/runtime/cere-dev/Cargo.toml index f33bc325d..f411d53d3 100644 --- a/runtime/cere-dev/Cargo.toml +++ b/runtime/cere-dev/Cargo.toml @@ -38,7 +38,6 @@ pallet-bounties = { workspace = true } pallet-child-bounties = { workspace = true } pallet-collective = { workspace = true } pallet-contracts = { workspace = true } -pallet-contracts-primitives = { workspace = true } pallet-conviction-voting = { workspace = true } pallet-democracy = { workspace = true } pallet-election-provider-multi-phase = { workspace = true } @@ -126,7 +125,6 @@ std = [ "node-primitives/std", "pallet-collective/std", "pallet-contracts/std", - "pallet-contracts-primitives/std", "pallet-democracy/std", "pallet-fast-unstake/std", "pallet-elections-phragmen/std", diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index 06cd58d55..ba13386cc 100644 --- a/runtime/cere-dev/src/lib.rs +++ b/runtime/cere-dev/src/lib.rs @@ -31,7 +31,7 @@ use frame_election_provider_support::{ bounds::ElectionBoundsBuilder, onchain, BalancingConfig, SequentialPhragmen, VoteWeight, }; use frame_support::{ - construct_runtime, + construct_runtime, derive_impl, dispatch::DispatchClass, pallet_prelude::Get, parameter_types, @@ -39,8 +39,8 @@ use frame_support::{ fungible::HoldConsideration, tokens::{PayFromAccount, UnityAssetBalanceConversion}, ConstBool, ConstU128, ConstU16, ConstU32, Currency, EitherOf, EitherOfDiverse, - EqualPrivilegeOnly, Everything, Imbalance, InstanceFilter, KeyOwnerProofSystem, - LinearStoragePrice, Nothing, OnUnbalanced, WithdrawReasons, + EqualPrivilegeOnly, Imbalance, InstanceFilter, KeyOwnerProofSystem, LinearStoragePrice, + Nothing, OnUnbalanced, WithdrawReasons, }, weights::{ constants::{ @@ -153,7 +153,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 61000, + spec_version: 62000, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 19, @@ -229,29 +229,20 @@ parameter_types! { const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct()); +#[derive_impl(frame_system::config_preludes::SolochainDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; type BlockWeights = RuntimeBlockWeights; type BlockLength = RuntimeBlockLength; type DbWeight = RocksDbWeight; - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; type Nonce = Nonce; type Hash = Hash; - type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = Indices; type Block = Block; - type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = Version; - type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = frame_system::weights::SubstrateWeight; type SS58Prefix = ConstU16<54>; - type OnSetCode = (); type MaxConsumers = ConstU32<16>; } @@ -1444,8 +1435,9 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic, - pallet_nomination_pools::migration::versioned_migrations::V6ToV7, + pallet_nomination_pools::migration::versioned::V5toV6, + pallet_nomination_pools::migration::versioned::V6ToV7, + pallet_nomination_pools::migration::versioned::V7ToV8, pallet_staking::migrations::v14::MigrateToV14, pallet_grandpa::migrations::MigrateV4ToV5, ); @@ -1698,7 +1690,7 @@ impl_runtime_apis! { gas_limit: Option, storage_deposit_limit: Option, input_data: Vec, - ) -> pallet_contracts_primitives::ContractExecResult { + ) -> pallet_contracts::ContractExecResult { let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); Contracts::bare_call( origin, @@ -1718,10 +1710,10 @@ impl_runtime_apis! { value: Balance, gas_limit: Option, storage_deposit_limit: Option, - code: pallet_contracts_primitives::Code, + code: pallet_contracts::Code, data: Vec, salt: Vec, - ) -> pallet_contracts_primitives::ContractInstantiateResult + ) -> pallet_contracts::ContractInstantiateResult { let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); Contracts::bare_instantiate( @@ -1742,7 +1734,7 @@ impl_runtime_apis! { code: Vec, storage_deposit_limit: Option, determinism: Determinism - ) -> pallet_contracts_primitives::CodeUploadResult + ) -> pallet_contracts::CodeUploadResult { Contracts::bare_upload_code(origin, code, storage_deposit_limit, determinism) } @@ -1750,7 +1742,7 @@ impl_runtime_apis! { fn get_storage( address: AccountId, key: Vec, - ) -> pallet_contracts_primitives::GetStorageResult { + ) -> pallet_contracts::GetStorageResult { Contracts::get_storage(address, key) } } diff --git a/runtime/cere/Cargo.toml b/runtime/cere/Cargo.toml index cd536a347..43f8fe153 100644 --- a/runtime/cere/Cargo.toml +++ b/runtime/cere/Cargo.toml @@ -38,7 +38,6 @@ pallet-bounties = { workspace = true } pallet-child-bounties = { workspace = true } pallet-collective = { workspace = true } pallet-contracts = { workspace = true } -pallet-contracts-primitives = { workspace = true } pallet-democracy = { workspace = true } pallet-election-provider-multi-phase = { workspace = true } pallet-election-provider-support-benchmarking = { workspace = true, optional = true } @@ -132,7 +131,6 @@ std = [ "pallet-bounties/std", "pallet-collective/std", "pallet-contracts/std", - "pallet-contracts-primitives/std", "pallet-democracy/std", "pallet-fast-unstake/std", "pallet-elections-phragmen/std", diff --git a/runtime/cere/src/lib.rs b/runtime/cere/src/lib.rs index 11b92e51c..e730254ce 100644 --- a/runtime/cere/src/lib.rs +++ b/runtime/cere/src/lib.rs @@ -30,7 +30,7 @@ use frame_election_provider_support::{ bounds::ElectionBoundsBuilder, onchain, BalancingConfig, SequentialPhragmen, VoteWeight, }; use frame_support::{ - construct_runtime, + construct_runtime, derive_impl, dispatch::DispatchClass, pallet_prelude::Get, parameter_types, @@ -38,8 +38,8 @@ use frame_support::{ fungible::HoldConsideration, tokens::{PayFromAccount, UnityAssetBalanceConversion}, ConstBool, ConstU128, ConstU16, ConstU32, Currency, EitherOf, EitherOfDiverse, - EqualPrivilegeOnly, Everything, Imbalance, InstanceFilter, KeyOwnerProofSystem, - LinearStoragePrice, Nothing, OnUnbalanced, WithdrawReasons, + EqualPrivilegeOnly, Imbalance, InstanceFilter, KeyOwnerProofSystem, LinearStoragePrice, + Nothing, OnUnbalanced, WithdrawReasons, }, weights::{ constants::{ @@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 61000, + spec_version: 62000, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 19, @@ -223,29 +223,20 @@ parameter_types! { const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct()); +#[derive_impl(frame_system::config_preludes::SolochainDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; type BlockWeights = RuntimeBlockWeights; type BlockLength = RuntimeBlockLength; type DbWeight = RocksDbWeight; - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; type Nonce = Nonce; type Hash = Hash; - type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = Indices; type Block = Block; - type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = Version; - type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = frame_system::weights::SubstrateWeight; type SS58Prefix = ConstU16<54>; - type OnSetCode = (); type MaxConsumers = ConstU32<16>; } @@ -1448,8 +1439,9 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic, - pallet_nomination_pools::migration::versioned_migrations::V6ToV7, + pallet_nomination_pools::migration::versioned::V5toV6, + pallet_nomination_pools::migration::versioned::V6ToV7, + pallet_nomination_pools::migration::versioned::V7ToV8, pallet_staking::migrations::v14::MigrateToV14, pallet_grandpa::migrations::MigrateV4ToV5, migrations::Unreleased, @@ -1706,7 +1698,7 @@ impl_runtime_apis! { gas_limit: Option, storage_deposit_limit: Option, input_data: Vec, - ) -> pallet_contracts_primitives::ContractExecResult { + ) -> pallet_contracts::ContractExecResult { let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); Contracts::bare_call( origin, @@ -1726,10 +1718,10 @@ impl_runtime_apis! { value: Balance, gas_limit: Option, storage_deposit_limit: Option, - code: pallet_contracts_primitives::Code, + code: pallet_contracts::Code, data: Vec, salt: Vec, - ) -> pallet_contracts_primitives::ContractInstantiateResult + ) -> pallet_contracts::ContractInstantiateResult { let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); Contracts::bare_instantiate( @@ -1750,7 +1742,7 @@ impl_runtime_apis! { code: Vec, storage_deposit_limit: Option, determinism: Determinism - ) -> pallet_contracts_primitives::CodeUploadResult + ) -> pallet_contracts::CodeUploadResult { Contracts::bare_upload_code(origin, code, storage_deposit_limit, determinism) } @@ -1758,7 +1750,7 @@ impl_runtime_apis! { fn get_storage( address: AccountId, key: Vec, - ) -> pallet_contracts_primitives::GetStorageResult { + ) -> pallet_contracts::GetStorageResult { Contracts::get_storage(address, key) } }