diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d0ea0fad95..ba537c3248 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2023-11-01 + toolchain: nightly-2024-01-22 target: wasm32-unknown-unknown override: true components: rust-docs diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 86e81db31a..b7e000f60c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,9 +20,10 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2023-11-01 + toolchain: nightly-2024-01-22 target: wasm32-unknown-unknown override: true + components: rust-src - name: Install protoc uses: arduino/setup-protoc@v3 with: @@ -39,9 +40,10 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2023-11-01 + toolchain: nightly-2024-01-22 target: wasm32-unknown-unknown override: true + components: rust-src - name: Install protoc uses: arduino/setup-protoc@v3 with: @@ -72,10 +74,10 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2023-11-01 + toolchain: nightly-2024-01-22 target: wasm32-unknown-unknown override: true - components: rustfmt, clippy + components: rustfmt, clippy, rust-src - name: Install protoc uses: arduino/setup-protoc@v3 with: diff --git a/Cargo.lock b/Cargo.lock index 0462f0ecbb..1af8a3de08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,7 @@ version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" dependencies = [ - "gimli", + "gimli 0.27.3", ] [[package]] @@ -27,7 +27,7 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" dependencies = [ - "gimli", + "gimli 0.27.3", ] [[package]] @@ -682,16 +682,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "atomic-write-file" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edcdbedc2236483ab103a53415653d6b4442ea6141baf1ffa85df29635e88436" -dependencies = [ - "nix 0.27.1", - "rand", -] - [[package]] name = "auto_impl" version = "1.1.0" @@ -1249,9 +1239,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.1" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da" +checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" dependencies = [ "clap_builder", "clap_derive", @@ -1259,9 +1249,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.1" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", @@ -1475,10 +1465,10 @@ dependencies = [ "cranelift-codegen-shared", "cranelift-entity", "cranelift-isle", - "gimli", + "gimli 0.27.3", "hashbrown 0.13.2", "log", - "regalloc2", + "regalloc2 0.6.1", "smallvec", "target-lexicon", ] @@ -1804,6 +1794,19 @@ dependencies = [ "syn 2.0.50", ] +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "lock_api", + "once_cell", + "parking_lot_core 0.9.9", +] + [[package]] name = "data-encoding" version = "2.4.0" @@ -2380,6 +2383,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "fastrand" version = "2.0.1" @@ -2467,7 +2476,7 @@ dependencies = [ "sp-core", "sp-database", "sp-runtime", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sqlx", "substrate-test-runtime-client", "tempfile", @@ -2552,12 +2561,12 @@ dependencies = [ "sp-consensus", "sp-consensus-aura", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-inherents", "sp-io", "sp-runtime", "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-timestamp", "substrate-prometheus-endpoint", "substrate-test-runtime-client", @@ -2577,7 +2586,7 @@ dependencies = [ "rustc-hex", "serde", "serde_json", - "sp-core-hashing", + "sp-crypto-hashing", ] [[package]] @@ -2594,7 +2603,7 @@ dependencies = [ "sp-blockchain", "sp-io", "sp-runtime", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -2747,7 +2756,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", ] @@ -2775,8 +2784,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -2787,7 +2796,7 @@ dependencies = [ "parity-scale-codec", "sp-core", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -2808,7 +2817,7 @@ dependencies = [ "fp-evm", "frame-support", "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -2823,7 +2832,7 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -2839,7 +2848,7 @@ dependencies = [ "sp-core", "sp-runtime", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -2870,7 +2879,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support", "frame-support-procedural", @@ -2886,16 +2895,16 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "Inflector", "array-bytes 6.1.0", @@ -2927,15 +2936,15 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-database", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", "thousands", ] @@ -2943,7 +2952,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support", "frame-system", @@ -2954,8 +2963,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -2973,7 +2982,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "aquamarine", "array-bytes 6.1.0", @@ -2996,7 +3005,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-crypto-hashing-proc-macro", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -3004,8 +3013,8 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-weights", "static_assertions", "tt-call", @@ -3014,7 +3023,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "Inflector", "cfg-expr", @@ -3033,7 +3042,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -3045,7 +3054,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "proc-macro2", "quote", @@ -3055,7 +3064,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "cfg-if", "docify", @@ -3067,7 +3076,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-version", "sp-weights", ] @@ -3075,7 +3084,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-benchmarking", "frame-support", @@ -3084,13 +3093,13 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "sp-api", @@ -3099,13 +3108,13 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -3217,7 +3226,7 @@ dependencies = [ "sp-offchain", "sp-runtime", "sp-session", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-transaction-pool", "sp-version", "substrate-wasm-builder", @@ -3351,9 +3360,9 @@ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" @@ -3470,17 +3479,47 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] + [[package]] name = "glob" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +[[package]] +name = "governor" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" +dependencies = [ + "cfg-if", + "dashmap", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.1", + "portable-atomic", + "quanta", + "rand", + "smallvec", + "spinning_top", +] + [[package]] name = "group" version = "0.13.0" @@ -3560,9 +3599,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.0" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash 0.8.7", "allocator-api2", @@ -3574,7 +3613,7 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "312f66718a2d7789ffef4f4b7b213138ed9f1eb3aa1d0d82fc99f88fb3ffd26f" dependencies = [ - "hashbrown 0.14.0", + "hashbrown 0.14.3", ] [[package]] @@ -3898,7 +3937,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" dependencies = [ "equivalent", - "hashbrown 0.14.0", + "hashbrown 0.14.3", ] [[package]] @@ -4009,9 +4048,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.20.3" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "affdc52f7596ccb2d7645231fc6163bb314630c989b64998f3699a28b4d5d4dc" +checksum = "87f3ae45a64cfc0882934f963be9431b2a165d667f53140358181f262aca0702" dependencies = [ "jsonrpsee-core", "jsonrpsee-proc-macros", @@ -4023,9 +4062,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.20.3" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2327ba8df2fdbd5e897e2b5ed25ce7f299d345b9736b6828814c3dbd1fd47b" +checksum = "b75568f4f9696e3a47426e1985b548e1a9fcb13372a5e320372acaf04aca30d1" dependencies = [ "anyhow", "async-trait", @@ -4038,7 +4077,6 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "soketto", "thiserror", "tokio", "tracing", @@ -4046,28 +4084,29 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.20.3" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29110019693a4fa2dbda04876499d098fa16d70eba06b1e6e2b3f1b251419515" +checksum = "30ca066e73dd70294aebc5c2675d8ffae43be944af027c857ce0d4c51785f014" dependencies = [ "heck", - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.50", ] [[package]] name = "jsonrpsee-server" -version = "0.20.3" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82c39a00449c9ef3f50b84fc00fc4acba20ef8f559f07902244abf4c15c5ab9c" +checksum = "0e29c1bd1f9bba83c864977c73404e505f74f730fa0db89dd490ec174e36d7f0" dependencies = [ "futures-util", "http", "hyper", "jsonrpsee-core", "jsonrpsee-types", + "pin-project", "route-recognizer", "serde", "serde_json", @@ -4082,16 +4121,15 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.20.3" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be0be325642e850ed0bdff426674d2e66b2b7117c9be23a7caef68a2902b7d9" +checksum = "3467fd35feeee179f71ab294516bdf3a81139e7aeebdd860e46897c12e1a3368" dependencies = [ "anyhow", "beef", "serde", "serde_json", "thiserror", - "tracing", ] [[package]] @@ -4739,9 +4777,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" @@ -4991,9 +5029,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -5265,15 +5303,10 @@ dependencies = [ ] [[package]] -name = "nix" -version = "0.27.1" +name = "no-std-compat" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" -dependencies = [ - "bitflags 2.4.0", - "cfg-if", - "libc", -] +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" [[package]] name = "nohash-hasher" @@ -5291,6 +5324,12 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonzero_ext" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" + [[package]] name = "normalize-line-endings" version = "0.3.0" @@ -5436,6 +5475,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + [[package]] name = "oid-registry" version = "0.6.1" @@ -5447,9 +5495,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "opaque-debug" @@ -5516,7 +5564,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support", "frame-system", @@ -5527,13 +5575,13 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support", "frame-system", @@ -5541,13 +5589,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5565,13 +5613,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "docify", "frame-benchmarking", @@ -5581,7 +5629,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -5613,7 +5661,7 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -5642,7 +5690,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -5670,7 +5718,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -5761,7 +5809,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -5836,7 +5884,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5853,7 +5901,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -5869,13 +5917,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support", "frame-system", @@ -5890,14 +5938,14 @@ dependencies = [ "sp-session", "sp-staking", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", ] [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "docify", "frame-benchmarking", @@ -5907,13 +5955,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "docify", "frame-benchmarking", @@ -5925,15 +5973,15 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-timestamp", ] [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-support", "frame-system", @@ -5943,13 +5991,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "pallet-transaction-payment-rpc" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5965,7 +6013,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5977,7 +6025,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5987,14 +6035,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "parity-db" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" +checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" dependencies = [ "blake2 0.10.6", "crc32fast", @@ -6008,6 +6056,7 @@ dependencies = [ "rand", "siphasher", "snap", + "winapi", ] [[package]] @@ -6297,6 +6346,21 @@ dependencies = [ "syn 2.0.50", ] +[[package]] +name = "polkavm-linker" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdec1451cb18261d5d01de82acc15305e417fb59588cdcb3127d3dcc9672b925" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.3", + "log", + "object 0.32.2", + "polkavm-common", + "regalloc2 0.9.3", + "rustc-demangle", +] + [[package]] name = "polling" version = "3.3.2" @@ -6346,6 +6410,12 @@ dependencies = [ "universal-hash 0.5.1", ] +[[package]] +name = "portable-atomic" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -6376,7 +6446,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-weights", "staging-xcm", ] @@ -6394,8 +6464,8 @@ dependencies = [ "prettyplease 0.2.16", "proc-macro2", "quote", - "sp-core-hashing", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-crypto-hashing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "syn 1.0.109", "trybuild", ] @@ -6418,7 +6488,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -6547,9 +6617,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] @@ -6677,6 +6747,21 @@ dependencies = [ "cc", ] +[[package]] +name = "quanta" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ca0b7bac0b97248c40bb77288fc52029cf1459c0461ea1b05ee32ccf011de2c" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + [[package]] name = "quick-error" version = "1.2.3" @@ -6807,6 +6892,15 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "raw-cpuid" +version = "11.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d86a7c4638d42c44551f4791a20e687dbb4c3de1f33c43dd71e355cd429def1" +dependencies = [ + "bitflags 2.4.0", +] + [[package]] name = "rawpointer" version = "0.2.1" @@ -6908,6 +7002,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.9.3" @@ -7085,7 +7192,7 @@ dependencies = [ "log", "netlink-packet-route", "netlink-proto", - "nix 0.24.3", + "nix", "thiserror", "tokio", ] @@ -7262,18 +7369,18 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "log", "sp-core", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", ] [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "futures", "futures-timer", @@ -7295,7 +7402,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "sp-api", @@ -7310,7 +7417,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "docify", @@ -7336,7 +7443,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -7347,7 +7454,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "bip39", @@ -7388,7 +7495,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "fnv", "futures", @@ -7403,11 +7510,11 @@ dependencies = [ "sp-consensus", "sp-core", "sp-database", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-runtime", "sp-state-machine", "sp-statement-store", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", "substrate-prometheus-endpoint", ] @@ -7415,7 +7522,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "hash-db", "kvdb", @@ -7441,7 +7548,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "futures", @@ -7466,7 +7573,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "futures", @@ -7495,7 +7602,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "fork-tree", @@ -7531,7 +7638,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7544,7 +7651,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "ahash 0.8.7", "array-bytes 6.1.0", @@ -7587,7 +7694,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "assert_matches", "async-trait", @@ -7622,7 +7729,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "futures", @@ -7645,7 +7752,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -7654,24 +7761,24 @@ dependencies = [ "schnellru", "sp-api", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-io", "sp-panic-handler", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", "sp-version", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "tracing", ] [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", "wasm-instrument", ] @@ -7679,7 +7786,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "anyhow", "cfg-if", @@ -7689,15 +7796,15 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "wasmtime", ] [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "ansi_term", "futures", @@ -7714,7 +7821,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "parking_lot 0.12.1", @@ -7728,7 +7835,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -7757,7 +7864,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "async-channel", @@ -7800,7 +7907,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-channel", "cid", @@ -7820,7 +7927,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -7837,7 +7944,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "ahash 0.8.7", "futures", @@ -7856,7 +7963,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "async-channel", @@ -7877,7 +7984,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "async-channel", @@ -7913,7 +8020,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "futures", @@ -7932,7 +8039,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "bytes", @@ -7955,7 +8062,7 @@ dependencies = [ "sc-utils", "sp-api", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-keystore", "sp-offchain", "sp-runtime", @@ -7966,7 +8073,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -7975,7 +8082,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "futures", "jsonrpsee", @@ -8007,7 +8114,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8027,11 +8134,15 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ + "futures", + "governor", "http", + "hyper", "jsonrpsee", "log", + "pin-project", "serde_json", "substrate-prometheus-endpoint", "tokio", @@ -8042,7 +8153,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "futures", @@ -8052,6 +8163,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", + "rand", "sc-chain-spec", "sc-client-api", "sc-rpc", @@ -8072,7 +8184,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "directories", @@ -8113,12 +8225,12 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -8135,7 +8247,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "log", "parity-scale-codec", @@ -8146,7 +8258,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "derive_more", "futures", @@ -8161,13 +8273,13 @@ dependencies = [ "sp-core", "sp-crypto-hashing", "sp-io", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "chrono", "futures", @@ -8186,7 +8298,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "ansi_term", "chrono", @@ -8206,7 +8318,7 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", "tracing", "tracing-log", @@ -8216,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -8227,7 +8339,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "futures", @@ -8245,7 +8357,7 @@ dependencies = [ "sp-core", "sp-crypto-hashing", "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -8254,7 +8366,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "futures", @@ -8270,7 +8382,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-channel", "futures", @@ -8284,9 +8396,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.10.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "2ef2175c2907e7c8bc0a9c3f86aeb5ec1f3b275300ad58a44d0c3ae379a5e52e" dependencies = [ "bitvec", "cfg-if", @@ -8650,8 +8762,9 @@ dependencies = [ [[package]] name = "simple-mermaid" -version = "0.1.0" -source = "git+https://github.com/kianenigma/simple-mermaid.git?rev=e48b187bcfd5cc75111acd9d241f1bd36604344b#e48b187bcfd5cc75111acd9d241f1bd36604344b" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" [[package]] name = "siphasher" @@ -8743,7 +8856,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "hash-db", "log", @@ -8751,11 +8864,12 @@ dependencies = [ "scale-info", "sp-api-proc-macro", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-metadata-ir", "sp-runtime", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", "sp-version", "thiserror", @@ -8764,7 +8878,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "Inflector", "blake2 0.10.6", @@ -8778,27 +8892,27 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "static_assertions", ] @@ -8823,18 +8937,18 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "futures", "log", @@ -8852,7 +8966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "futures", @@ -8867,7 +8981,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "parity-scale-codec", @@ -8877,14 +8991,14 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "parity-scale-codec", @@ -8896,14 +9010,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-timestamp", ] [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "finality-grandpa", "log", @@ -8915,25 +9029,25 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-timestamp", ] [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "bandersnatch_vrfs", @@ -8963,11 +9077,11 @@ dependencies = [ "secrecy", "serde", "sp-crypto-hashing", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "ss58-registry", "substrate-bip39", "thiserror", @@ -8976,18 +9090,10 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" -dependencies = [ - "sp-crypto-hashing", -] - [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -9008,7 +9114,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "blake2b_simd", "byteorder", @@ -9021,7 +9127,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "quote", "sp-crypto-hashing", @@ -9031,7 +9137,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9040,7 +9146,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "proc-macro2", "quote", @@ -9050,7 +9156,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "proc-macro2", "quote", @@ -9060,18 +9166,18 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "environmental", "parity-scale-codec", @@ -9082,32 +9188,32 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "serde_json", "sp-api", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", ] [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "bytes", "ed25519-dalek", @@ -9118,12 +9224,12 @@ dependencies = [ "secp256k1", "sp-core", "sp-crypto-hashing", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-keystore", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", "tracing", "tracing-core", @@ -9132,7 +9238,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "sp-core", "sp-runtime", @@ -9142,19 +9248,18 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "thiserror", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "thiserror", "zstd 0.12.4", @@ -9163,30 +9268,30 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "sp-api", "sp-core", @@ -9196,7 +9301,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "backtrace", "lazy_static", @@ -9206,7 +9311,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "rustc-hash", "serde", @@ -9216,7 +9321,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "docify", "either", @@ -9233,32 +9338,33 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-io", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-weights", ] [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive", "primitive-types", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "static_assertions", ] [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9277,7 +9383,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "Inflector", "expander", @@ -9290,7 +9396,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "Inflector", "expander", @@ -9303,7 +9409,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "scale-info", @@ -9312,13 +9418,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9326,13 +9432,13 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "hash-db", "log", @@ -9341,9 +9447,9 @@ dependencies = [ "rand", "smallvec", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-panic-handler", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", "thiserror", "tracing", @@ -9353,7 +9459,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "aes-gcm 0.10.2", "curve25519-dalek 4.1.1", @@ -9367,10 +9473,10 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-crypto-hashing", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", "x25519-dalek 2.0.0", ] @@ -9378,30 +9484,30 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9414,23 +9520,23 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", ] [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "tracing", "tracing-core", "tracing-subscriber", @@ -9439,7 +9545,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "parity-scale-codec", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", @@ -9451,7 +9557,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "sp-api", "sp-runtime", @@ -9460,7 +9566,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "async-trait", "parity-scale-codec", @@ -9468,14 +9574,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-trie", ] [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "ahash 0.8.7", "hash-db", @@ -9488,8 +9594,8 @@ dependencies = [ "scale-info", "schnellru", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "thiserror", "tracing", "trie-db", @@ -9499,7 +9605,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9508,7 +9614,7 @@ dependencies = [ "serde", "sp-crypto-hashing-proc-macro", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-version-proc-macro", "thiserror", ] @@ -9516,7 +9622,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -9527,20 +9633,20 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "wasmtime", ] [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9bf1a5e23884921498b381728bfddaae93f83744" +source = "git+https://github.com/paritytech/polkadot-sdk#1c435e91c117b877c803427a91c0ccd18c527382" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9553,7 +9659,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -9561,8 +9667,8 @@ dependencies = [ "serde", "smallvec", "sp-arithmetic", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", ] [[package]] @@ -9580,6 +9686,15 @@ dependencies = [ "lock_api", ] +[[package]] +name = "spinning_top" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" +dependencies = [ + "lock_api", +] + [[package]] name = "spki" version = "0.7.2" @@ -9603,9 +9718,9 @@ dependencies = [ [[package]] name = "sqlx" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dba03c279da73694ef99763320dea58b51095dfe87d001b1d4b5fe78ba8763cf" +checksum = "c9a2ccff1a000a5a59cd33da541d9f2fdcd9e6e8229cc200565942bff36d0aaa" dependencies = [ "sqlx-core", "sqlx-macros", @@ -9614,9 +9729,9 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d84b0a3c3739e220d94b3239fd69fb1f74bc36e16643423bd99de3b43c21bfbd" +checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6" dependencies = [ "ahash 0.8.7", "atoi", @@ -9624,7 +9739,6 @@ dependencies = [ "bytes", "crc", "crossbeam-queue", - "dotenvy", "either", "event-listener 2.5.3", "futures-channel", @@ -9654,9 +9768,9 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89961c00dc4d7dffb7aee214964b065072bff69e36ddb9e2c107541f75e4f2a5" +checksum = "4ea40e2345eb2faa9e1e5e326db8c34711317d2b5e08d0d5741619048a803127" dependencies = [ "proc-macro2", "quote", @@ -9667,11 +9781,10 @@ dependencies = [ [[package]] name = "sqlx-macros-core" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0bd4519486723648186a08785143599760f7cc81c52334a55d6a83ea1e20841" +checksum = "5833ef53aaa16d860e92123292f1f6a3d53c34ba8b1969f152ef1a7bb803f3c8" dependencies = [ - "atomic-write-file", "dotenvy", "either", "heck", @@ -9692,9 +9805,9 @@ dependencies = [ [[package]] name = "sqlx-sqlite" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "210976b7d948c7ba9fced8ca835b11cbb2d677c59c79de41ac0d397e14547490" +checksum = "b244ef0a8414da0bed4bb1910426e890b19e5e9bccc27ada6b797d05c55ae0aa" dependencies = [ "atoi", "flume", @@ -9737,7 +9850,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "bounded-collections", @@ -9862,12 +9975,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -9886,7 +9999,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "hyper", "log", @@ -9898,7 +10011,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "async-trait", @@ -9925,7 +10038,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "array-bytes 6.1.0", "frame-executive", @@ -9947,7 +10060,7 @@ dependencies = [ "sp-consensus-grandpa", "sp-core", "sp-crypto-hashing", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -9956,7 +10069,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0)", "sp-transaction-pool", "sp-trie", "sp-version", @@ -9967,7 +10080,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "futures", "sc-block-builder", @@ -9985,13 +10098,14 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "build-helper", "cargo_metadata", "console", "filetime", "parity-wasm", + "polkavm-linker", "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", @@ -10081,9 +10195,9 @@ checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] name = "tempfile" -version = "3.10.0" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", "fastrand", @@ -10118,18 +10232,18 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", @@ -11008,7 +11122,7 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli", + "gimli 0.27.3", "log", "object 0.30.4", "target-lexicon", @@ -11027,7 +11141,7 @@ dependencies = [ "anyhow", "cranelift-codegen", "cranelift-native", - "gimli", + "gimli 0.27.3", "object 0.30.4", "target-lexicon", "wasmtime-environ", @@ -11041,7 +11155,7 @@ checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" dependencies = [ "anyhow", "cranelift-entity", - "gimli", + "gimli 0.27.3", "indexmap 1.9.3", "log", "object 0.30.4", @@ -11063,7 +11177,7 @@ dependencies = [ "bincode", "cfg-if", "cpp_demangle", - "gimli", + "gimli 0.27.3", "log", "object 0.30.4", "rustc-demangle", @@ -11519,7 +11633,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.0#162c6796bac740802fe11c9e39f3094677d1f08f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.8.0#ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 5264c3112f..e71647232f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,100 +59,99 @@ hex = { version = "0.4.3", default-features = false, features = ["alloc"] } hex-literal = "0.4.1" impl-serde = { version = "0.4.0", default-features = false } impl-trait-for-tuples = "0.2.1" -jsonrpsee = "0.20.3" +jsonrpsee = "0.22.2" kvdb-rocksdb = "0.19.0" libsecp256k1 = { version = "0.7.1", default-features = false } -log = { version = "0.4.20", default-features = false } +log = { version = "0.4.21", default-features = false } num_enum = { version = "0.7.2", default-features = false } -parity-db = "0.4.12" +parity-db = "0.4.13" parking_lot = "0.12.1" rlp = { version = "0.5.2", default-features = false } scale-codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false, features = ["derive"] } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { version = "2.11.0", default-features = false, features = ["derive"] } serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] } serde_json = "1.0" similar-asserts = "1.5.0" -sqlx = { version = "0.7.3", default-features = false, features = ["macros"] } +sqlx = { version = "0.7.4", default-features = false, features = ["macros"] } thiserror = "1.0" tokio = "1.36.0" # Substrate Client -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } # Substrate Primitive -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-core-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-core-hashing-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-database = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-crypto-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-database = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } # Substrate FRAME -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } # Substrate Utility -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -substrate-test-runtime-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +substrate-test-runtime-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0" } # XCM -xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.8.0", default-features = false } # Arkworks ark-bls12-377 = { version = "0.4.0", default-features = false, features = ["curve"] } @@ -163,38 +162,38 @@ ark-ff = { version = "0.4.0", default-features = false } ark-std = { version = "0.4.0", default-features = false } # Frontier Client -fc-api = { version = "1.0.0-dev", path = "client/api" } -fc-cli = { version = "1.0.0-dev", path = "client/cli", default-features = false } -fc-consensus = { version = "2.0.0-dev", path = "client/consensus" } -fc-db = { version = "2.0.0-dev", path = "client/db", default-features = false } -fc-mapping-sync = { version = "2.0.0-dev", path = "client/mapping-sync", default-features = false } -fc-rpc = { version = "2.0.0-dev", path = "client/rpc", default-features = false } -fc-rpc-core = { version = "1.1.0-dev", path = "client/rpc-core" } -fc-storage = { version = "1.0.0-dev", path = "client/storage" } +fc-api = { path = "client/api" } +fc-cli = { path = "client/cli", default-features = false } +fc-consensus = { path = "client/consensus" } +fc-db = { path = "client/db", default-features = false } +fc-mapping-sync = { path = "client/mapping-sync", default-features = false } +fc-rpc = { path = "client/rpc", default-features = false } +fc-rpc-core = { path = "client/rpc-core" } +fc-storage = { path = "client/storage" } # Frontier Primitive -fp-account = { version = "1.0.0-dev", path = "primitives/account", default-features = false } -fp-consensus = { version = "2.0.0-dev", path = "primitives/consensus", default-features = false } -fp-dynamic-fee = { version = "1.0.0", path = "primitives/dynamic-fee", default-features = false } -fp-ethereum = { version = "1.0.0-dev", path = "primitives/ethereum", default-features = false } -fp-evm = { version = "3.0.0-dev", path = "primitives/evm", default-features = false } -fp-rpc = { version = "3.0.0-dev", path = "primitives/rpc", default-features = false } -fp-self-contained = { version = "1.0.0-dev", path = "primitives/self-contained", default-features = false } -fp-storage = { version = "2.0.0", path = "primitives/storage", default-features = false } +fp-account = { path = "primitives/account", default-features = false } +fp-consensus = { path = "primitives/consensus", default-features = false } +fp-dynamic-fee = { path = "primitives/dynamic-fee", default-features = false } +fp-ethereum = { path = "primitives/ethereum", default-features = false } +fp-evm = { path = "primitives/evm", default-features = false } +fp-rpc = { path = "primitives/rpc", default-features = false } +fp-self-contained = { path = "primitives/self-contained", default-features = false } +fp-storage = { path = "primitives/storage", default-features = false } # Frontier FRAME -pallet-base-fee = { version = "1.0.0", path = "frame/base-fee", default-features = false } -pallet-dynamic-fee = { version = "4.0.0-dev", path = "frame/dynamic-fee", default-features = false } -pallet-ethereum = { version = "4.0.0-dev", path = "frame/ethereum", default-features = false } -pallet-evm = { version = "6.0.0-dev", path = "frame/evm", default-features = false } -pallet-evm-chain-id = { version = "1.0.0-dev", path = "frame/evm-chain-id", default-features = false } -pallet-evm-precompile-modexp = { version = "2.0.0-dev", path = "frame/evm/precompile/modexp", default-features = false } -pallet-evm-precompile-sha3fips = { version = "2.0.0-dev", path = "frame/evm/precompile/sha3fips", default-features = false } -pallet-evm-precompile-simple = { version = "2.0.0-dev", path = "frame/evm/precompile/simple", default-features = false } -pallet-evm-test-vector-support = { version = "1.0.0-dev", path = "frame/evm/test-vector-support" } -pallet-hotfix-sufficients = { version = "1.0.0", path = "frame/hotfix-sufficients", default-features = false } -# Frontier Template -frontier-template-runtime = { path = "template/runtime", default-features = false } +pallet-base-fee = { path = "frame/base-fee", default-features = false } +pallet-dynamic-fee = { path = "frame/dynamic-fee", default-features = false } +pallet-ethereum = { path = "frame/ethereum", default-features = false } +pallet-evm = { path = "frame/evm", default-features = false } +pallet-evm-chain-id = { path = "frame/evm-chain-id", default-features = false } +pallet-evm-precompile-modexp = { path = "frame/evm/precompile/modexp", default-features = false } +pallet-evm-precompile-sha3fips = { path = "frame/evm/precompile/sha3fips", default-features = false } +pallet-evm-precompile-simple = { path = "frame/evm/precompile/simple", default-features = false } +pallet-evm-test-vector-support = { path = "frame/evm/test-vector-support" } +pallet-hotfix-sufficients = { path = "frame/hotfix-sufficients", default-features = false } # Frontier Utility precompile-utils = { path = "precompiles", default-features = false } +# Frontier Template +frontier-template-runtime = { path = "template/runtime", default-features = false } [profile.release] # Substrate runtime requires unwinding. diff --git a/client/db/Cargo.toml b/client/db/Cargo.toml index d9887dab4d..b8a4db2d2f 100644 --- a/client/db/Cargo.toml +++ b/client/db/Cargo.toml @@ -41,7 +41,7 @@ fp-storage = { workspace = true, features = ["default"] } [dev-dependencies] futures = { workspace = true } maplit = "1.0.2" -tempfile = "3.8.0" +tempfile = "3.10.1" # Substrate sc-block-builder = { workspace = true } sp-consensus = { workspace = true } diff --git a/client/mapping-sync/Cargo.toml b/client/mapping-sync/Cargo.toml index 02f503dab1..6a0a048df1 100644 --- a/client/mapping-sync/Cargo.toml +++ b/client/mapping-sync/Cargo.toml @@ -12,7 +12,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] futures = { workspace = true } -futures-timer = "3.0.2" +futures-timer = "3.0.3" log = { workspace = true } parking_lot = { workspace = true } tokio = { workspace = true, features = ["macros", "sync"], optional = true } @@ -35,7 +35,7 @@ ethereum = { workspace = true } ethereum-types = { workspace = true } scale-codec = { package = "parity-scale-codec", workspace = true } sqlx = { workspace = true, features = ["runtime-tokio-native-tls", "sqlite"] } -tempfile = "3.8.0" +tempfile = "3.10.1" tokio = { workspace = true, features = ["sync"] } # Substrate sc-block-builder = { workspace = true } diff --git a/client/rpc-core/Cargo.toml b/client/rpc-core/Cargo.toml index 44fb704e6a..91b7c4ab3f 100644 --- a/client/rpc-core/Cargo.toml +++ b/client/rpc-core/Cargo.toml @@ -20,7 +20,7 @@ serde = { workspace = true } serde_json = { workspace = true } # Substrate -sp-core-hashing = { workspace = true, features = ["default"] } +sp-crypto-hashing = { workspace = true, features = ["default"] } [features] txpool = [] diff --git a/client/rpc-core/src/eth.rs b/client/rpc-core/src/eth.rs index 57963d4962..8f372a54b2 100644 --- a/client/rpc-core/src/eth.rs +++ b/client/rpc-core/src/eth.rs @@ -189,7 +189,7 @@ pub trait EthApi { #[method(name = "eth_call")] async fn call( &self, - request: CallRequest, + request: TransactionRequest, number_or_hash: Option, state_overrides: Option>, ) -> RpcResult; @@ -198,7 +198,7 @@ pub trait EthApi { #[method(name = "eth_estimateGas")] async fn estimate_gas( &self, - request: CallRequest, + request: TransactionRequest, number_or_hash: Option, ) -> RpcResult; diff --git a/client/rpc-core/src/types/call_request.rs b/client/rpc-core/src/types/call_request.rs index efa493652a..7b9d26aa14 100644 --- a/client/rpc-core/src/types/call_request.rs +++ b/client/rpc-core/src/types/call_request.rs @@ -18,41 +18,10 @@ use std::collections::BTreeMap; -use ethereum::AccessListItem; -use ethereum_types::{H160, H256, U256}; +use ethereum_types::{H256, U256}; use serde::Deserialize; -use crate::types::{deserialize_data_or_input, Bytes}; - -/// Call request -#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize)] -#[serde(rename_all = "camelCase")] -pub struct CallRequest { - /// From - pub from: Option, - /// To - pub to: Option, - /// Gas Price - pub gas_price: Option, - /// EIP-1559 Max base fee the caller is willing to pay - pub max_fee_per_gas: Option, - /// EIP-1559 Priority fee the caller is paying to the block author - pub max_priority_fee_per_gas: Option, - /// Gas - pub gas: Option, - /// Value - pub value: Option, - /// Data - #[serde(deserialize_with = "deserialize_data_or_input", flatten)] - pub data: Option, - /// Nonce - pub nonce: Option, - /// AccessList - pub access_list: Option>, - /// EIP-2718 type - #[serde(rename = "type")] - pub transaction_type: Option, -} +use crate::types::Bytes; // State override #[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize)] @@ -72,100 +41,3 @@ pub struct CallStateOverride { /// executing the call. pub state_diff: Option>, } - -#[cfg(test)] -mod tests { - use super::*; - use serde_json::json; - - #[test] - fn test_deserialize_with_only_input() { - let data = json!({ - "from": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", - "to": "0x13fe2d1d3665660d22ff9624b7be0551ee1ac91b", - "gasPrice": "0x10", - "maxFeePerGas": "0x20", - "maxPriorityFeePerGas": "0x30", - "gas": "0x40", - "value": "0x50", - "input": "0x123abc", - "nonce": "0x60", - "accessList": [{"address": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", "storageKeys": []}], - "type": "0x70" - }); - - let request: Result = serde_json::from_value(data); - assert!(request.is_ok()); - - let request = request.unwrap(); - assert_eq!(request.data, Some(Bytes::from(vec![0x12, 0x3a, 0xbc]))); - } - - #[test] - fn test_deserialize_with_only_data() { - let data = json!({ - "from": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", - "to": "0x13fe2d1d3665660d22ff9624b7be0551ee1ac91b", - "gasPrice": "0x10", - "maxFeePerGas": "0x20", - "maxPriorityFeePerGas": "0x30", - "gas": "0x40", - "value": "0x50", - "data": "0x123abc", - "nonce": "0x60", - "accessList": [{"address": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", "storageKeys": []}], - "type": "0x70" - }); - - let request: Result = serde_json::from_value(data); - assert!(request.is_ok()); - - let request = request.unwrap(); - assert_eq!(request.data, Some(Bytes::from(vec![0x12, 0x3a, 0xbc]))); - } - - #[test] - fn test_deserialize_with_data_and_input_mismatch() { - let data = json!({ - "from": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", - "to": "0x13fe2d1d3665660d22ff9624b7be0551ee1ac91b", - "gasPrice": "0x10", - "maxFeePerGas": "0x20", - "maxPriorityFeePerGas": "0x30", - "gas": "0x40", - "value": "0x50", - "data": "0x123abc", - "input": "0x456def", - "nonce": "0x60", - "accessList": [{"address": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", "storageKeys": []}], - "type": "0x70" - }); - - let request: Result = serde_json::from_value(data); - assert!(request.is_err()); - } - - #[test] - fn test_deserialize_with_data_and_input_equal() { - let data = json!({ - "from": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", - "to": "0x13fe2d1d3665660d22ff9624b7be0551ee1ac91b", - "gasPrice": "0x10", - "maxFeePerGas": "0x20", - "maxPriorityFeePerGas": "0x30", - "gas": "0x40", - "value": "0x50", - "data": "0x123abc", - "input": "0x123abc", - "nonce": "0x60", - "accessList": [{"address": "0x60be2d1d3665660d22ff9624b7be0551ee1ac91b", "storageKeys": []}], - "type": "0x70" - }); - - let request: Result = serde_json::from_value(data); - assert!(request.is_ok()); - - let request = request.unwrap(); - assert_eq!(request.data, Some(Bytes::from(vec![0x12, 0x3a, 0xbc]))); - } -} diff --git a/client/rpc-core/src/types/mod.rs b/client/rpc-core/src/types/mod.rs index 0fd9828bd1..d9093cb480 100644 --- a/client/rpc-core/src/types/mod.rs +++ b/client/rpc-core/src/types/mod.rs @@ -39,7 +39,6 @@ pub mod pubsub; use ethereum::TransactionV2 as EthereumTransaction; use ethereum_types::H160; -use serde::{de::Error, Deserialize, Deserializer}; #[cfg(feature = "txpool")] pub use self::txpool::{Summary, TransactionMap, TxPoolResult}; @@ -48,7 +47,7 @@ pub use self::{ block::{Block, BlockTransactions, Header, Rich, RichBlock, RichHeader}, block_number::BlockNumberOrHash, bytes::Bytes, - call_request::{CallRequest, CallStateOverride}, + call_request::CallStateOverride, fee::{FeeHistory, FeeHistoryCache, FeeHistoryCacheItem, FeeHistoryCacheLimit}, filter::{ Filter, FilterAddress, FilterChanges, FilterPool, FilterPoolItem, FilterType, @@ -66,32 +65,6 @@ pub use self::{ work::Work, }; -#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize)] -pub(crate) struct CallOrInputData { - data: Option, - input: Option, -} - -/// Function to deserialize `data` and `input` within `TransactionRequest` and `CallRequest`. -/// It verifies that if both `data` and `input` are provided, they must be identical. -pub(crate) fn deserialize_data_or_input<'d, D: Deserializer<'d>>( - d: D, -) -> Result, D::Error> { - let CallOrInputData { data, input } = CallOrInputData::deserialize(d)?; - match (&data, &input) { - (Some(data), Some(input)) => { - if data == input { - Ok(Some(data.clone())) - } else { - Err(D::Error::custom( - "Ambiguous value for `data` and `input`".to_string(), - )) - } - } - (_, _) => Ok(data.or(input)), - } -} - /// The trait that used to build types from the `from` address and ethereum `transaction`. pub trait BuildFrom { fn build_from(from: H160, transaction: &EthereumTransaction) -> Self; diff --git a/client/rpc-core/src/types/pubsub.rs b/client/rpc-core/src/types/pubsub.rs index b8196381db..0e2e2d7e73 100644 --- a/client/rpc-core/src/types/pubsub.rs +++ b/client/rpc-core/src/types/pubsub.rs @@ -27,7 +27,7 @@ use ethereum_types::{H256, U256}; use serde::{de::Error, Deserialize, Deserializer, Serialize, Serializer}; use serde_json::{from_value, Value}; // Substrate -use sp_core_hashing::keccak_256; +use sp_crypto_hashing::keccak_256; use crate::types::{Bytes, Filter, FilteredParams, Header, Log, Rich, RichHeader}; diff --git a/client/rpc-core/src/types/transaction_request.rs b/client/rpc-core/src/types/transaction_request.rs index f94d8376f9..c3acb694ae 100644 --- a/client/rpc-core/src/types/transaction_request.rs +++ b/client/rpc-core/src/types/transaction_request.rs @@ -16,105 +16,189 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! `TransactionRequest` type - use ethereum::{ AccessListItem, EIP1559TransactionMessage, EIP2930TransactionMessage, LegacyTransactionMessage, + TransactionAction, }; -use ethereum_types::{H160, U256}; -use serde::{Deserialize, Serialize}; +use ethereum_types::{H160, U256, U64}; +use serde::{Deserialize, Deserializer}; -use crate::types::{deserialize_data_or_input, Bytes}; +use crate::types::Bytes; -pub enum TransactionMessage { - Legacy(LegacyTransactionMessage), - EIP2930(EIP2930TransactionMessage), - EIP1559(EIP1559TransactionMessage), -} - -/// Transaction request coming from RPC -#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)] -#[serde(deny_unknown_fields)] +/// Transaction request from the RPC. +#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize)] #[serde(rename_all = "camelCase")] pub struct TransactionRequest { /// Sender pub from: Option, /// Recipient pub to: Option, - /// Gas Price, legacy. - #[serde(default)] - pub gas_price: Option, - /// Max BaseFeePerGas the user is willing to pay. - #[serde(default)] - pub max_fee_per_gas: Option, - /// The miner's tip. - #[serde(default)] - pub max_priority_fee_per_gas: Option, - /// Gas - pub gas: Option, + /// Value of transaction in wei pub value: Option, - /// Additional data sent with transaction - #[serde(deserialize_with = "deserialize_data_or_input", flatten)] - pub data: Option, /// Transaction's nonce pub nonce: Option, - /// Pre-pay to warm storage access. - #[serde(default)] + /// Gas limit + pub gas: Option, + + /// The gas price willing to be paid by the sender in wei + pub gas_price: Option, + /// The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei + pub max_fee_per_gas: Option, + /// Maximum fee per gas the sender is willing to pay to miners in wei + pub max_priority_fee_per_gas: Option, + + /// Additional data + #[serde(flatten)] + pub data: Data, + + /// EIP-2930 access list pub access_list: Option>, + /// Chain ID that this transaction is valid on + pub chain_id: Option, + /// EIP-2718 type #[serde(rename = "type")] pub transaction_type: Option, } +impl TransactionRequest { + // We accept "data" and "input" for backwards-compatibility reasons. + // "input" is the newer name and should be preferred by clients. + /// Return the additional data of the transaction. + pub fn data(&self) -> Option<&Bytes> { + match (&self.data.input, &self.data.data) { + (Some(input), _) => Some(input), + (None, Some(data)) => Some(data), + (None, None) => None, + } + } +} + +/// Additional data of the transaction. +// We accept "data" and "input" for backwards-compatibility reasons. +// "input" is the newer name and should be preferred by clients. +#[derive(Clone, Debug, Default, Eq, PartialEq)] +pub struct Data { + /// Additional data + pub input: Option, + /// Additional data + pub data: Option, +} + +impl Data { + // We accept "data" and "input" for backwards-compatibility reasons. + // "input" is the newer name and should be preferred by clients. + /// Return the additional data of the transaction. + pub fn into_bytes(self) -> Option { + match (self.input, self.data) { + (Some(input), _) => Some(input), + (None, Some(data)) => Some(data), + (None, None) => None, + } + } +} + +impl<'de> Deserialize<'de> for Data { + fn deserialize(deserializer: D) -> Result + where + D: Deserializer<'de>, + { + #[derive(Deserialize)] + struct InputOrData { + input: Option, + data: Option, + } + + let InputOrData { input, data } = InputOrData::deserialize(deserializer)?; + + match (input, data) { + (Some(input), Some(data)) => { + if input == data { + Ok(Self { + input: Some(input), + data: Some(data), + }) + } else { + Err(serde::de::Error::custom( + "Ambiguous value for `data` and `input`".to_string(), + )) + } + } + (input, data) => Ok(Self { input, data }), + } + } +} + +pub enum TransactionMessage { + Legacy(LegacyTransactionMessage), + EIP2930(EIP2930TransactionMessage), + EIP1559(EIP1559TransactionMessage), +} + impl From for Option { fn from(req: TransactionRequest) -> Self { - match (req.gas_price, req.max_fee_per_gas, req.access_list.clone()) { - // Legacy - (Some(_), None, None) => Some(TransactionMessage::Legacy(LegacyTransactionMessage { - nonce: U256::zero(), - gas_price: req.gas_price.unwrap_or_default(), - gas_limit: req.gas.unwrap_or_default(), - value: req.value.unwrap_or_default(), - input: req.data.map(|s| s.into_vec()).unwrap_or_default(), + match (req.max_fee_per_gas, &req.access_list, req.gas_price) { + // EIP1559 + // Empty fields fall back to the canonical transaction schema. + (Some(_), _, None) | (None, None, None) => { + Some(TransactionMessage::EIP1559(EIP1559TransactionMessage { + action: match req.to { + Some(to) => TransactionAction::Call(to), + None => TransactionAction::Create, + }, + nonce: req.nonce.unwrap_or_default(), + max_priority_fee_per_gas: req.max_priority_fee_per_gas.unwrap_or_default(), + max_fee_per_gas: req.max_fee_per_gas.unwrap_or_default(), + gas_limit: req.gas.unwrap_or_default(), + value: req.value.unwrap_or_default(), + input: req + .data + .into_bytes() + .map(|bytes| bytes.into_vec()) + .unwrap_or_default(), + access_list: req.access_list.unwrap_or_default(), + chain_id: req.chain_id.map(|id| id.as_u64()).unwrap_or_default(), + })) + } + // EIP2930 + (None, Some(_), _) => Some(TransactionMessage::EIP2930(EIP2930TransactionMessage { action: match req.to { - Some(to) => ethereum::TransactionAction::Call(to), - None => ethereum::TransactionAction::Create, + Some(to) => TransactionAction::Call(to), + None => TransactionAction::Create, }, - chain_id: None, - })), - // EIP2930 - (_, None, Some(_)) => Some(TransactionMessage::EIP2930(EIP2930TransactionMessage { - nonce: U256::zero(), + nonce: req.nonce.unwrap_or_default(), gas_price: req.gas_price.unwrap_or_default(), gas_limit: req.gas.unwrap_or_default(), value: req.value.unwrap_or_default(), - input: req.data.map(|s| s.into_vec()).unwrap_or_default(), - action: match req.to { - Some(to) => ethereum::TransactionAction::Call(to), - None => ethereum::TransactionAction::Create, - }, - chain_id: 0, + input: req + .data + .into_bytes() + .map(|bytes| bytes.into_vec()) + .unwrap_or_default(), access_list: req.access_list.unwrap_or_default(), + chain_id: req.chain_id.map(|id| id.as_u64()).unwrap_or_default(), })), - // EIP1559 - (None, Some(_), _) | (None, None, None) => { - // Empty fields fall back to the canonical transaction schema. - Some(TransactionMessage::EIP1559(EIP1559TransactionMessage { - nonce: U256::zero(), - max_fee_per_gas: req.max_fee_per_gas.unwrap_or_default(), - max_priority_fee_per_gas: req.max_priority_fee_per_gas.unwrap_or_default(), - gas_limit: req.gas.unwrap_or_default(), - value: req.value.unwrap_or_default(), - input: req.data.map(|s| s.into_vec()).unwrap_or_default(), + // Legacy + (None, None, Some(gas_price)) => { + Some(TransactionMessage::Legacy(LegacyTransactionMessage { action: match req.to { - Some(to) => ethereum::TransactionAction::Call(to), - None => ethereum::TransactionAction::Create, + Some(to) => TransactionAction::Call(to), + None => TransactionAction::Create, }, - chain_id: 0, - access_list: req.access_list.unwrap_or_default(), + nonce: req.nonce.unwrap_or_default(), + gas_price, + gas_limit: req.gas.unwrap_or_default(), + value: req.value.unwrap_or_default(), + input: req + .data + .into_bytes() + .map(|bytes| bytes.into_vec()) + .unwrap_or_default(), + chain_id: None, })) } + // Invalid parameter _ => None, } } @@ -141,11 +225,14 @@ mod tests { "type": "0x70" }); - let request: Result = serde_json::from_value(data); - assert!(request.is_ok()); - - let request = request.unwrap(); - assert_eq!(request.data, Some(Bytes::from(vec![0x12, 0x3a, 0xbc]))); + let args = serde_json::from_value::(data).unwrap(); + assert_eq!( + args.data, + Data { + input: Some(Bytes::from(vec![0x12, 0x3a, 0xbc])), + data: None, + } + ); } #[test] @@ -164,11 +251,14 @@ mod tests { "type": "0x70" }); - let request: Result = serde_json::from_value(data); - assert!(request.is_ok()); - - let request = request.unwrap(); - assert_eq!(request.data, Some(Bytes::from(vec![0x12, 0x3a, 0xbc]))); + let args = serde_json::from_value::(data).unwrap(); + assert_eq!( + args.data, + Data { + input: None, + data: Some(Bytes::from(vec![0x12, 0x3a, 0xbc])), + } + ); } #[test] @@ -188,8 +278,8 @@ mod tests { "type": "0x70" }); - let request: Result = serde_json::from_value(data); - assert!(request.is_err()); + let args = serde_json::from_value::(data); + assert!(args.is_err()); } #[test] @@ -209,10 +299,13 @@ mod tests { "type": "0x70" }); - let request: Result = serde_json::from_value(data); - assert!(request.is_ok()); - - let request = request.unwrap(); - assert_eq!(request.data, Some(Bytes::from(vec![0x12, 0x3a, 0xbc]))); + let args = serde_json::from_value::(data).unwrap(); + assert_eq!( + args.data, + Data { + input: Some(Bytes::from(vec![0x12, 0x3a, 0xbc])), + data: Some(Bytes::from(vec![0x12, 0x3a, 0xbc])), + } + ); } } diff --git a/client/rpc/Cargo.toml b/client/rpc/Cargo.toml index 8b66390e60..caff5c2b35 100644 --- a/client/rpc/Cargo.toml +++ b/client/rpc/Cargo.toml @@ -64,7 +64,7 @@ fp-storage = { workspace = true, features = ["default"] } pallet-evm = { workspace = true, features = ["default"] } [dev-dependencies] -tempfile = "3.8.0" +tempfile = "3.10.1" # Substrate sc-block-builder = { workspace = true } sc-client-db = { workspace = true, features = ["rocksdb"] } diff --git a/client/rpc/src/eth/execute.rs b/client/rpc/src/eth/execute.rs index 39cc5a48c3..c4a4abf525 100644 --- a/client/rpc/src/eth/execute.rs +++ b/client/rpc/src/eth/execute.rs @@ -20,7 +20,7 @@ use std::{cell::RefCell, collections::BTreeMap, sync::Arc}; use ethereum_types::{H160, H256, U256}; use evm::{ExitError, ExitReason}; -use jsonrpsee::core::RpcResult; +use jsonrpsee::{core::RpcResult, types::error::CALL_EXECUTION_FAILED_CODE}; use scale_codec::{Decode, Encode}; // Substrate use sc_client_api::backend::{Backend, StorageProvider}; @@ -47,9 +47,6 @@ use crate::{ frontier_backend_client, internal_err, }; -/// Default JSONRPC error code return by geth -pub const JSON_RPC_ERROR_DEFAULT: i32 = -32000; - /// Allow to adapt a request for `estimate_gas`. /// Can be used to estimate gas of some contracts using a different function /// in the case the normal gas estimation doesn't work. @@ -59,11 +56,11 @@ pub const JSON_RPC_ERROR_DEFAULT: i32 = -32000; /// to the minimum, while we want to estimate a gas limit that will allow the subcall to /// have enough gas to succeed. pub trait EstimateGasAdapter { - fn adapt_request(request: CallRequest) -> CallRequest; + fn adapt_request(request: TransactionRequest) -> TransactionRequest; } impl EstimateGasAdapter for () { - fn adapt_request(request: CallRequest) -> CallRequest { + fn adapt_request(request: TransactionRequest) -> TransactionRequest { request } } @@ -81,11 +78,11 @@ where { pub async fn call( &self, - request: CallRequest, + request: TransactionRequest, number_or_hash: Option, state_overrides: Option>, ) -> RpcResult { - let CallRequest { + let TransactionRequest { from, to, gas_price, @@ -116,10 +113,9 @@ where .await? { Some(id) => { - let hash = self - .client - .expect_block_hash_from_id(&id) - .map_err(|_| crate::err(JSON_RPC_ERROR_DEFAULT, "header not found", None))?; + let hash = self.client.expect_block_hash_from_id(&id).map_err(|_| { + crate::err(CALL_EXECUTION_FAILED_CODE, "header not found", None) + })?; (hash, self.client.runtime_api()) } None => { @@ -175,7 +171,7 @@ where }, }; - let data = data.map(|d| d.0).unwrap_or_default(); + let data = data.into_bytes().map(|d| d.into_vec()).unwrap_or_default(); match to { Some(to) => { if api_version == 1 { @@ -412,7 +408,7 @@ where pub async fn estimate_gas( &self, - request: CallRequest, + request: TransactionRequest, number_or_hash: Option, ) -> RpcResult { let client = Arc::clone(&self.client); @@ -430,9 +426,9 @@ where .await? { Some(id) => { - let hash = client - .expect_block_hash_from_id(&id) - .map_err(|_| crate::err(JSON_RPC_ERROR_DEFAULT, "header not found", None))?; + let hash = client.expect_block_hash_from_id(&id).map_err(|_| { + crate::err(CALL_EXECUTION_FAILED_CODE, "header not found", None) + })?; (hash, client.runtime_api()) } None => { @@ -448,7 +444,7 @@ where let request = EC::EstimateGasAdapter::adapt_request(request); // For simple transfer to simple account, return MIN_GAS_PER_TX directly - let is_simple_transfer = match &request.data { + let is_simple_transfer = match &request.data() { None => true, Some(vec) => vec.0.is_empty(), }; @@ -557,7 +553,7 @@ where let executable = move | request, gas_limit, api_version, api: sp_api::ApiRef<'_, C::Api>, estimate_mode | -> RpcResult { - let CallRequest { + let TransactionRequest { from, to, gas, @@ -571,7 +567,7 @@ where // Use request gas limit only if it less than gas_limit parameter let gas_limit = core::cmp::min(gas.unwrap_or(gas_limit), gas_limit); - let data = data.map(|d| d.0).unwrap_or_default(); + let data = data.into_bytes().map(|d| d.0).unwrap_or_default(); let (exit_reason, data, used_gas) = match to { Some(to) => { @@ -769,7 +765,7 @@ where return Err(internal_err("failed to retrieve Runtime Api version")); }; - // Verify that the transaction succeed with highest capacity + // Verify that the transaction succeed with the highest capacity let cap = highest; let estimate_mode = !cfg!(feature = "rpc-binary-search-estimate"); let ExecutableResult { diff --git a/client/rpc/src/eth/filter.rs b/client/rpc/src/eth/filter.rs index 92c2018ad1..cdb918d5c0 100644 --- a/client/rpc/src/eth/filter.rs +++ b/client/rpc/src/eth/filter.rs @@ -97,10 +97,11 @@ where self.max_stored_filters ))); } - let last_key = match { + let next_back = { let mut iter = locked.iter(); iter.next_back() - } { + }; + let last_key = match next_back { Some((k, _)) => *k, None => U256::zero(), }; diff --git a/client/rpc/src/eth/mod.rs b/client/rpc/src/eth/mod.rs index 9bc8fc205f..390beabdf3 100644 --- a/client/rpc/src/eth/mod.rs +++ b/client/rpc/src/eth/mod.rs @@ -479,7 +479,7 @@ where async fn call( &self, - request: CallRequest, + request: TransactionRequest, number_or_hash: Option, state_overrides: Option>, ) -> RpcResult { @@ -488,7 +488,7 @@ where async fn estimate_gas( &self, - request: CallRequest, + request: TransactionRequest, number_or_hash: Option, ) -> RpcResult { self.estimate_gas(request, number_or_hash).await diff --git a/client/rpc/src/eth/submit.rs b/client/rpc/src/eth/submit.rs index acc86df336..497ceb2ea9 100644 --- a/client/rpc/src/eth/submit.rs +++ b/client/rpc/src/eth/submit.rs @@ -73,10 +73,13 @@ where }, }; - let chain_id = match self.chain_id() { - Ok(Some(chain_id)) => chain_id.as_u64(), - Ok(None) => return Err(internal_err("chain id not available")), - Err(e) => return Err(e), + let chain_id = match (request.chain_id, self.chain_id()) { + (Some(id), Ok(Some(chain_id))) if id != chain_id => { + return Err(internal_err("chain id is mismatch")) + } + (_, Ok(Some(chain_id))) => chain_id.as_u64(), + (_, Ok(None)) => return Err(internal_err("chain id not available")), + (_, Err(e)) => return Err(e), }; let block_hash = self.client.info().best_hash; @@ -85,8 +88,7 @@ where let gas_limit = match request.gas { Some(gas_limit) => gas_limit, None => { - let block = self.client.runtime_api().current_block(block_hash); - if let Ok(Some(block)) = block { + if let Ok(Some(block)) = self.client.runtime_api().current_block(block_hash) { block.header.gas_limit } else { return Err(internal_err("block unavailable, cannot query gas limit")); diff --git a/frame/evm/src/lib.rs b/frame/evm/src/lib.rs index 54c78f0898..129c179794 100644 --- a/frame/evm/src/lib.rs +++ b/frame/evm/src/lib.rs @@ -550,7 +550,10 @@ pub mod pallet { frame_system::Pallet::::inc_account_nonce(&account_id); } - T::Currency::deposit_creating(&account_id, account.balance.unique_saturated_into()); + let _ = T::Currency::deposit_creating( + &account_id, + account.balance.unique_saturated_into(), + ); Pallet::::create_account(*address, account.code.clone()); diff --git a/precompiles/macro/Cargo.toml b/precompiles/macro/Cargo.toml index 70d9dd4ce6..18a1fbce7c 100644 --- a/precompiles/macro/Cargo.toml +++ b/precompiles/macro/Cargo.toml @@ -18,7 +18,7 @@ num_enum = { workspace = true } prettyplease = "0.2.15" proc-macro2 = "1.0" quote = "1.0" -sp-core-hashing = { workspace = true } +sp-crypto-hashing = { workspace = true } syn = { version = "1.0", features = ["extra-traits", "fold", "full", "visit"] } [dev-dependencies] @@ -29,5 +29,5 @@ precompile-utils = { path = "../", features = ["testing"] } fp-evm = { workspace = true } frame-support = { workspace = true } -sp-core-hashing = { workspace = true } +sp-crypto-hashing = { workspace = true } sp-std = { workspace = true } diff --git a/precompiles/macro/src/lib.rs b/precompiles/macro/src/lib.rs index d97da76231..fc4ba6795f 100644 --- a/precompiles/macro/src/lib.rs +++ b/precompiles/macro/src/lib.rs @@ -22,7 +22,7 @@ extern crate proc_macro; use proc_macro::TokenStream; use quote::{quote, quote_spanned}; -use sp_core_hashing::keccak_256; +use sp_crypto_hashing::keccak_256; use syn::{parse_macro_input, spanned::Spanned, Expr, Ident, ItemType, Lit, LitStr}; mod derive_codec; diff --git a/precompiles/macro/src/precompile/mod.rs b/precompiles/macro/src/precompile/mod.rs index 5ca24ee015..00f9c43aca 100644 --- a/precompiles/macro/src/precompile/mod.rs +++ b/precompiles/macro/src/precompile/mod.rs @@ -22,7 +22,7 @@ use proc_macro::TokenStream; use proc_macro2::Span; use quote::{format_ident, quote, quote_spanned, ToTokens}; -use sp_core_hashing::keccak_256; +use sp_crypto_hashing::keccak_256; use std::collections::BTreeMap; use syn::{parse_macro_input, spanned::Spanned}; diff --git a/precompiles/macro/tests/tests.rs b/precompiles/macro/tests/tests.rs index 0d5b186444..eb2f670f62 100644 --- a/precompiles/macro/tests/tests.rs +++ b/precompiles/macro/tests/tests.rs @@ -17,7 +17,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use sp_core_hashing::keccak_256; +use sp_crypto_hashing::keccak_256; #[test] fn test_keccak256() { diff --git a/precompiles/src/solidity/codec/bytes.rs b/precompiles/src/solidity/codec/bytes.rs index 14c20f34cf..e065d98a60 100644 --- a/precompiles/src/solidity/codec/bytes.rs +++ b/precompiles/src/solidity/codec/bytes.rs @@ -54,7 +54,7 @@ impl Kind for StringKind { /// The `bytes/string` type of Solidity. /// It is different from `Vec` which will be serialized with padding for each `u8` element /// of the array, while `Bytes` is tightly packed. -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct BoundedBytesString { data: Vec, _phantom: PhantomData<(K, S)>, @@ -69,14 +69,6 @@ impl> Clone for BoundedBytesString { } } -impl PartialEq> for BoundedBytesString { - fn eq(&self, other: &BoundedBytesString) -> bool { - self.data.eq(&other.data) - } -} - -impl Eq for BoundedBytesString {} - impl> BoundedBytesString { pub fn as_bytes(&self) -> &[u8] { &self.data diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2954f78112..7d34d12c51 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,8 +1,8 @@ [toolchain] # Stable -#channel = "1.74.0" # rustc 1.74.0 (79e9716c9 2023-11-13) +#channel = "1.75.0" # rustc 1.75.0 (82e1608df 2023-12-21) # Nightly -channel = "nightly-2023-11-01" # rustc 1.75.0-nightly (9d83ac217 2023-10-31) +channel = "nightly-2024-01-22" # rustc 1.77.0-nightly (ef71f1047 2024-01-21) components = ["cargo", "clippy", "rustc", "rustfmt", "rust-src"] profile = "minimal" targets = ["wasm32-unknown-unknown"] diff --git a/template/examples/contract-erc20/package-lock.json b/template/examples/contract-erc20/package-lock.json index 526911c161..9ace393494 100644 --- a/template/examples/contract-erc20/package-lock.json +++ b/template/examples/contract-erc20/package-lock.json @@ -748,20 +748,14 @@ } }, "es5-ext": { - "version": "0.10.53", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", - "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", + "version": "0.10.63", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.63.tgz", + "integrity": "sha512-hUCZd2Byj/mNKjfP9jXrdVZ62B8KuA/VoK7X8nUh5qT+AxDmcbvZz041oDVZdbIN1qW6XY9VDNwzkvKnZvK2TQ==", "requires": { - "es6-iterator": "~2.0.3", - "es6-symbol": "~3.1.3", - "next-tick": "~1.0.0" - }, - "dependencies": { - "next-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", - "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" - } + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", + "next-tick": "^1.1.0" } }, "es6-iterator": { @@ -799,6 +793,24 @@ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" }, + "esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "requires": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "dependencies": { + "type": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + } + } + }, "etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", diff --git a/template/examples/contract-erc20/truffle/package-lock.json b/template/examples/contract-erc20/truffle/package-lock.json index 12a0c47f41..5c3dc2e348 100644 --- a/template/examples/contract-erc20/truffle/package-lock.json +++ b/template/examples/contract-erc20/truffle/package-lock.json @@ -737,9 +737,9 @@ "optional": true }, "@openzeppelin/contracts": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.3.tgz", - "integrity": "sha512-He3LieZ1pP2TNt5JbkPA4PNT9WC3gOTOlDcFGJW4Le4QKqwmiNJCRt44APfxMxvq7OugU/cqYuPcSBzOw38DAg==" + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" }, "@protobufjs/aspromise": { "version": "1.1.2", @@ -2576,12 +2576,13 @@ } }, "es5-ext": { - "version": "0.10.62", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", - "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", + "version": "0.10.64", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", "requires": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", "next-tick": "^1.1.0" } }, @@ -2624,6 +2625,24 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, + "esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "requires": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "dependencies": { + "type": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + } + } + }, "etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", @@ -2791,6 +2810,15 @@ } } }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "requires": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, "event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", diff --git a/template/examples/contract-erc20/truffle/package.json b/template/examples/contract-erc20/truffle/package.json index 00a7c89fac..e3288a3d4e 100644 --- a/template/examples/contract-erc20/truffle/package.json +++ b/template/examples/contract-erc20/truffle/package.json @@ -2,7 +2,7 @@ "name": "substrate-evm-contracts", "version": "0.0.0", "dependencies": { - "@openzeppelin/contracts": "^4.9.3", + "@openzeppelin/contracts": "^4.9.6", "truffle": "^5.10.2" } } diff --git a/template/node/src/command.rs b/template/node/src/command.rs index 55c99240e3..ffbbf6e2e4 100644 --- a/template/node/src/command.rs +++ b/template/node/src/command.rs @@ -179,11 +179,13 @@ pub fn run() -> sc_cli::Result<()> { use frame_benchmarking_cli::{ BenchmarkCmd, ExtrinsicFactory, SUBSTRATE_REFERENCE_HARDWARE, }; - use frontier_template_runtime::{Block, ExistentialDeposit}; + use frontier_template_runtime::{ExistentialDeposit, Hashing}; let runner = cli.create_runner(cmd)?; match cmd { - BenchmarkCmd::Pallet(cmd) => runner.sync_run(|config| cmd.run::(config)), + BenchmarkCmd::Pallet(cmd) => { + runner.sync_run(|config| cmd.run::(config)) + } BenchmarkCmd::Block(cmd) => runner.sync_run(|mut config| { let (client, _, _, _, _) = service::new_chain_ops(&mut config, &cli.eth)?; cmd.run(client) diff --git a/template/node/src/service.rs b/template/node/src/service.rs index c6c856f931..a008902c3d 100644 --- a/template/node/src/service.rs +++ b/template/node/src/service.rs @@ -622,7 +622,7 @@ where telemetry.as_ref().map(|x| x.handle()), ); - thread_local!(static TIMESTAMP: RefCell = RefCell::new(0)); + thread_local!(static TIMESTAMP: RefCell = const { RefCell::new(0) }); /// Provide a mock duration starting at 0 in millisecond for timestamp inherent. /// Each call will increment timestamp by slot_duration making Aura think time has passed. diff --git a/template/runtime/src/lib.rs b/template/runtime/src/lib.rs index 9684ebf008..2390656a12 100644 --- a/template/runtime/src/lib.rs +++ b/template/runtime/src/lib.rs @@ -85,6 +85,9 @@ pub type Nonce = u32; /// A hash of some data used by the chain. pub type Hash = H256; +/// The hashing algorithm used by the chain. +pub type Hashing = BlakeTwo256; + /// Digest item type. pub type DigestItem = generic::DigestItem; @@ -183,7 +186,7 @@ impl frame_system::Config for Runtime { /// The type for hashing blocks and tries. type Hash = Hash; /// The hashing algorithm used. - type Hashing = BlakeTwo256; + type Hashing = Hashing; /// The identifier used to distinguish between accounts. type AccountId = AccountId; /// The lookup mechanism to get account ID from whatever is passed in dispatchers. diff --git a/ts-tests/package-lock.json b/ts-tests/package-lock.json index 83763f549e..e38bac7cfa 100644 --- a/ts-tests/package-lock.json +++ b/ts-tests/package-lock.json @@ -3904,13 +3904,14 @@ } }, "node_modules/es5-ext": { - "version": "0.10.62", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", - "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", + "version": "0.10.64", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", "hasInstallScript": true, "dependencies": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", "next-tick": "^1.1.0" }, "engines": { @@ -3965,6 +3966,25 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esniff/node_modules/type": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + }, "node_modules/etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", @@ -4139,6 +4159,15 @@ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", "integrity": "sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA==" }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, "node_modules/event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -12973,12 +13002,13 @@ } }, "es5-ext": { - "version": "0.10.62", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", - "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", + "version": "0.10.64", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", + "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", "requires": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", "next-tick": "^1.1.0" } }, @@ -13021,6 +13051,24 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, + "esniff": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", + "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "requires": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "dependencies": { + "type": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + } + } + }, "etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", @@ -13168,6 +13216,15 @@ } } }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "requires": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, "event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",