From 4e5bc26055559b451056c3fcd249c0603fccd64a Mon Sep 17 00:00:00 2001 From: Tomasz Bartos Date: Tue, 31 Mar 2026 11:48:32 +0200 Subject: [PATCH] chore: Updated SDK to polkadot-stable2603 --- Cargo.lock | 598 ++++++++++-------- Cargo.toml | 130 ++-- README.md | 2 +- changelog.md | 1 + demo/node/src/service.rs | 12 +- demo/runtime/src/lib.rs | 9 +- .../aura/consensus/src/lib.rs | 36 +- .../aura/primitives/src/block_proposal.rs | 61 +- .../block-participation/primitives/src/lib.rs | 5 +- .../primitives/src/lib.rs | 2 +- .../committee-selection/primitives/src/lib.rs | 2 +- .../sidechain/domain/src/mainchain_epoch.rs | 4 +- 12 files changed, 472 insertions(+), 390 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4f64a4bde8..7686974ccc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -948,8 +948,8 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "16.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "16.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "hash-db", "log", @@ -1240,7 +1240,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" dependencies = [ "memchr", - "regex-automata", + "regex-automata 0.4.14", "serde", ] @@ -3121,7 +3121,7 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", ] @@ -3164,8 +3164,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "45.0.3" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-support", "frame-support-procedural", @@ -3188,8 +3188,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "45.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "aquamarine", "frame-support", @@ -3218,8 +3218,8 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.13.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.14.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "const-hex", @@ -3234,8 +3234,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "45.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -3275,8 +3275,8 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "Inflector", "cfg-expr", @@ -3296,7 +3296,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.5.0", @@ -3308,7 +3308,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "proc-macro2", "quote", @@ -3317,8 +3317,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "cfg-if", "docify", @@ -3336,8 +3336,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-benchmarking", "frame-support", @@ -3350,8 +3350,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "docify", "parity-scale-codec", @@ -3360,8 +3360,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.52.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-support", "parity-scale-codec", @@ -5808,11 +5808,11 @@ dependencies = [ [[package]] name = "matchers" -version = "0.2.0" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" dependencies = [ - "regex-automata", + "regex-automata 0.1.10", ] [[package]] @@ -6344,11 +6344,12 @@ dependencies = [ [[package]] name = "nu-ansi-term" -version = "0.50.3" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" dependencies = [ - "windows-sys 0.61.2", + "overload", + "winapi", ] [[package]] @@ -6578,6 +6579,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "pallas-addresses" version = "0.33.0" @@ -6674,8 +6681,8 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-support", "frame-system", @@ -6690,8 +6697,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-support", "frame-system", @@ -6703,8 +6710,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-benchmarking", "frame-support", @@ -6726,8 +6733,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "46.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "47.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "docify", "frame-benchmarking", @@ -6860,8 +6867,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-benchmarking", "frame-support", @@ -6915,8 +6922,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "45.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-support", "frame-system", @@ -7007,8 +7014,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "docify", "frame-benchmarking", @@ -7022,8 +7029,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "docify", "frame-benchmarking", @@ -7040,8 +7047,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-benchmarking", "frame-support", @@ -7056,8 +7063,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "48.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "49.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -7072,8 +7079,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7084,8 +7091,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-benchmarking", "frame-support", @@ -7215,7 +7222,7 @@ checksum = "914a1c2265c98e2446911282c6ac86d8524f495792c38c5bd884f80499c7538a" dependencies = [ "parse-display-derive", "regex", - "regex-syntax", + "regex-syntax 0.8.10", ] [[package]] @@ -7227,7 +7234,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "regex-syntax", + "regex-syntax 0.8.10", "structmeta", "syn 2.0.117", ] @@ -7790,9 +7797,9 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4323d016144b2852da47cee55ca5fc33dfe7517be1f52395759f247ecc5695f6" +checksum = "34ddb26cbe473e21bf5c329723e72fdf9208b5f9674e54721bf436e2efdbb26f" dependencies = [ "libc", "log", @@ -7804,18 +7811,18 @@ dependencies = [ [[package]] name = "polkavm-assembler" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a873fa7ace058d6507debf5fccb1d06bd3279f5b35dbaf70dc7fe94a6c415c" +checksum = "9f9006f0a135c6d035487fa88fa75b97b32a53d1d914c757f131c8e10a2af295" dependencies = [ "log", ] [[package]] name = "polkavm-common" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed1b408db93d4f49f5c651a7844682b9d7a561827b4dc6202c10356076c055c9" +checksum = "a0a3e43fa1a54b955a2f9422b1690c3cc29252ac8828c02a99d2370b9f2a188e" dependencies = [ "log", "picosimd", @@ -7824,18 +7831,18 @@ dependencies = [ [[package]] name = "polkavm-derive" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acb4463fb0b9dbfafdc1d1a1183df4bf7afa3350d124f29d5700c6bee54556b5" +checksum = "c3d944b6b4e792c2a120232b52bd6f2c9dd3071d3f48462afb2b5d00cb9f7ac9" dependencies = [ "polkavm-derive-impl-macro", ] [[package]] name = "polkavm-derive-impl" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993ff45b972e09babe68adce7062c3c38a84b9f50f07b7caf393a023eaa6c74a" +checksum = "57c14b030150f81dfde110997b6fafc19741998130908fdab85f1a66bb735025" dependencies = [ "polkavm-common", "proc-macro2", @@ -7845,9 +7852,9 @@ dependencies = [ [[package]] name = "polkavm-derive-impl-macro" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a4f5352e13c1ca5f0e4d7b4a804fbb85b0e02c45cae435d101fe71081bc8ed8" +checksum = "f3fcadb13edfcc3b4046fcd2d292597782f5b7a2af140e6363fbf71fe196b425" dependencies = [ "polkavm-derive-impl", "syn 2.0.117", @@ -7855,9 +7862,9 @@ dependencies = [ [[package]] name = "polkavm-linker" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6739125c4f8f44b4282b6531d765d599f20514e9b608737c6c3544594d08f995" +checksum = "e1ae3f7aff1af110dcd0f105d783b10ff25cd2837abe411ea4d88ae5cd193b49" dependencies = [ "dirs", "gimli 0.31.1", @@ -7871,9 +7878,9 @@ dependencies = [ [[package]] name = "polkavm-linux-raw" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604b23cdb201979304449f53d21bfd5fb1724c03e3ea889067c9a3bf7ae33862" +checksum = "cbcd9ed5f77c60f3878289001d3e789da301746249b622bfb2876e2d0fe32c0b" [[package]] name = "polling" @@ -8162,7 +8169,7 @@ dependencies = [ "rand 0.9.2", "rand_chacha 0.9.0", "rand_xorshift", - "regex-syntax", + "regex-syntax 0.8.10", "rusty-fork", "tempfile", "unarray", @@ -8765,8 +8772,17 @@ checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" dependencies = [ "aho-corasick", "memchr", - "regex-automata", - "regex-syntax", + "regex-automata 0.4.14", + "regex-syntax 0.8.10", +] + +[[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax 0.6.29", ] [[package]] @@ -8777,9 +8793,15 @@ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" dependencies = [ "aho-corasick", "memchr", - "regex-syntax", + "regex-syntax 0.8.10", ] +[[package]] +name = "regex-syntax" +version = "0.6.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" + [[package]] name = "regex-syntax" version = "0.8.10" @@ -9101,8 +9123,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "log", "sp-core", @@ -9112,8 +9134,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.53.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.54.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "futures", "log", @@ -9128,29 +9150,30 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", + "sp-state-machine", "sp-trie", "substrate-prometheus-endpoint", ] [[package]] name = "sc-block-builder" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "sp-api", "sp-block-builder", "sp-blockchain", "sp-core", + "sp-externalities", "sp-inherents", "sp-runtime", - "sp-trie", ] [[package]] name = "sc-chain-spec" -version = "48.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "49.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "docify", @@ -9176,7 +9199,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "proc-macro-crate 3.5.0", "proc-macro2", @@ -9186,8 +9209,8 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.57.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.58.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "bip39", @@ -9228,8 +9251,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "fnv", "futures", @@ -9254,8 +9277,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.52.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "hash-db", "kvdb", @@ -9282,8 +9305,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.55.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "futures", @@ -9305,8 +9328,8 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.55.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.56.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "fork-tree", @@ -9336,8 +9359,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.41.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "ahash 0.8.12", "array-bytes 6.2.3", @@ -9354,6 +9377,7 @@ dependencies = [ "sc-block-builder", "sc-chain-spec", "sc-client-api", + "sc-client-db", "sc-consensus", "sc-network", "sc-network-common", @@ -9380,8 +9404,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.41.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "finality-grandpa", "futures", @@ -9400,8 +9424,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.55.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "futures", @@ -9419,12 +9443,13 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-state-machine", + "sp-trie", ] [[package]] name = "sc-executor" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.48.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "parking_lot 0.12.5", @@ -9446,8 +9471,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "polkavm", "sc-allocator", @@ -9459,19 +9484,20 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.41.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "log", "polkavm", "sc-executor-common", + "sp-runtime-interface", "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "anyhow", "log", @@ -9486,8 +9512,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.55.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "console", "futures", @@ -9502,8 +9528,8 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "parking_lot 0.12.5", @@ -9516,8 +9542,8 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.26.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "arrayvec 0.7.6", @@ -9544,8 +9570,8 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.55.2" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.56.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -9593,8 +9619,8 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.53.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -9603,8 +9629,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.55.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.56.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "ahash 0.8.12", "futures", @@ -9622,8 +9648,8 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.55.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -9641,10 +9667,32 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "sc-network-statement" +version = "0.38.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" +dependencies = [ + "array-bytes 6.2.3", + "async-channel", + "futures", + "governor", + "log", + "parity-scale-codec", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sc-network-types", + "sp-consensus", + "sp-runtime", + "sp-statement-store", + "substrate-prometheus-endpoint", + "tokio", +] + [[package]] name = "sc-network-sync" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.55.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -9667,7 +9715,6 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-consensus-grandpa", "sp-core", "sp-runtime", "substrate-prometheus-endpoint", @@ -9679,7 +9726,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-channel", "async-trait", @@ -9711,8 +9758,8 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.55.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "futures", @@ -9731,7 +9778,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.20.2" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "bs58", "bytes", @@ -9789,7 +9836,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9797,9 +9844,10 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "50.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "51.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ + "async-channel", "futures", "jsonrpsee", "log", @@ -9810,6 +9858,7 @@ dependencies = [ "sc-client-api", "sc-mixnet", "sc-rpc-api", + "sc-statement-store", "sc-tracing", "sc-transaction-pool-api", "sc-utils", @@ -9829,8 +9878,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.55.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9843,14 +9892,15 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", + "sp-statement-store", "sp-version", "thiserror 1.0.69", ] [[package]] name = "sc-rpc-server" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -9873,8 +9923,8 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.55.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.56.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "futures", @@ -9906,8 +9956,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.56.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.57.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "directories", @@ -9970,8 +10020,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.42.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "log", "parity-scale-codec", @@ -9979,10 +10029,35 @@ dependencies = [ "sp-core", ] +[[package]] +name = "sc-statement-store" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" +dependencies = [ + "async-channel", + "futures", + "itertools 0.11.0", + "log", + "parity-db", + "parking_lot 0.12.5", + "sc-client-api", + "sc-keystore", + "sc-network-statement", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-statement-store", + "sp-storage", + "substrate-prometheus-endpoint", + "tokio", +] + [[package]] name = "sc-sysinfo" -version = "46.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "47.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "derive_more 0.99.20", "futures", @@ -10001,8 +10076,8 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "30.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "chrono", "futures", @@ -10020,8 +10095,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "chrono", "console", @@ -10048,8 +10123,8 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "11.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "11.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "proc-macro-crate 3.5.0", "proc-macro2", @@ -10059,8 +10134,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "44.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "futures", @@ -10091,8 +10166,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "futures", @@ -10109,8 +10184,8 @@ dependencies = [ [[package]] name = "sc-utils" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "20.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-channel", "futures", @@ -10862,8 +10937,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "docify", "hash-db", @@ -10884,8 +10959,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "Inflector", "blake2 0.10.6", @@ -10898,8 +10973,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "scale-info", @@ -10910,8 +10985,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "28.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "docify", "integer-sqrt", @@ -10924,8 +10999,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "sp-api", "sp-inherents", @@ -10985,8 +11060,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "futures", "parity-scale-codec", @@ -11004,22 +11079,25 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.47.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "futures", "log", + "sp-api", + "sp-externalities", "sp-inherents", "sp-runtime", "sp-state-machine", + "sp-trie", "thiserror 1.0.69", ] [[package]] name = "sp-consensus-aura" -version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.47.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "parity-scale-codec", @@ -11034,8 +11112,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.47.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "parity-scale-codec", @@ -11052,8 +11130,8 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "finality-grandpa", "log", @@ -11069,8 +11147,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.47.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "scale-info", @@ -11080,8 +11158,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "ark-vrf", "array-bytes 6.2.3", @@ -11128,7 +11206,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "blake2b_simd", "byteorder", @@ -11141,7 +11219,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "quote", "sp-crypto-hashing", @@ -11151,7 +11229,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "kvdb", "kvdb-rocksdb", @@ -11160,9 +11238,10 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ + "proc-macro-warning", "proc-macro2", "quote", "syn 2.0.117", @@ -11170,8 +11249,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.31.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "environmental", "parity-scale-codec", @@ -11180,8 +11259,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.22.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "scale-info", @@ -11211,8 +11290,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11224,8 +11303,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "bytes", "docify", @@ -11250,8 +11329,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "sp-core", "sp-runtime", @@ -11260,8 +11339,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.46.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "parking_lot 0.12.5", @@ -11272,7 +11351,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -11280,8 +11359,8 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.12.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.12.3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -11290,8 +11369,8 @@ dependencies = [ [[package]] name = "sp-mixnet" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "scale-info", @@ -11301,8 +11380,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "sp-api", "sp-core", @@ -11312,7 +11391,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "backtrace", "regex", @@ -11350,8 +11429,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -11360,8 +11439,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "binary-merkle-tree", "bytes", @@ -11391,8 +11470,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "33.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "34.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11409,8 +11488,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "Inflector", "expander", @@ -11422,8 +11501,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "scale-info", @@ -11493,8 +11572,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "42.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11506,8 +11585,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "hash-db", "log", @@ -11526,16 +11605,18 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "aes-gcm", "curve25519-dalek", "ed25519-dalek", + "frame-support", "hkdf", "parity-scale-codec", "rand 0.8.5", "scale-info", + "serde", "sha2 0.10.9", "sp-api", "sp-application-crypto", @@ -11551,12 +11632,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" [[package]] name = "sp-storage" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11567,8 +11648,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "parity-scale-codec", @@ -11580,7 +11661,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "regex", @@ -11591,8 +11672,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "sp-api", "sp-runtime", @@ -11600,12 +11681,13 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", + "sp-api", "sp-core", "sp-inherents", "sp-runtime", @@ -11614,8 +11696,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "42.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "ahash 0.8.12", "foldhash 0.1.5", @@ -11639,14 +11721,15 @@ dependencies = [ [[package]] name = "sp-version" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", + "sp-core", "sp-crypto-hashing-proc-macro", "sp-runtime", "sp-std", @@ -11657,7 +11740,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -11669,7 +11752,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11680,8 +11763,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "33.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "34.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -12062,8 +12145,8 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "0.6.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "hmac", "pbkdf2", @@ -12075,12 +12158,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" [[package]] name = "substrate-frame-rpc-system" -version = "49.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "50.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -12100,7 +12183,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "http-body-util", "hyper 1.8.1", @@ -12114,7 +12197,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "async-trait", @@ -12139,7 +12222,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "frame-executive", @@ -12174,6 +12257,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", + "sp-statement-store", "sp-transaction-pool", "sp-trie", "sp-version", @@ -12185,7 +12269,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "futures", "sc-block-builder", @@ -12202,8 +12286,8 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "31.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2512-3#47f1ee9e5272eb9816561e502f93aa1e0d447856" +version = "32.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2603#2e4dd0bc22366a5af820492528869a493b5a5208" dependencies = [ "array-bytes 6.2.3", "build-helper", @@ -12904,15 +12988,15 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.23" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" dependencies = [ "matchers", "nu-ansi-term", "once_cell", "parking_lot 0.12.5", - "regex-automata", + "regex", "sharded-slab", "smallvec", "thread_local", @@ -12924,9 +13008,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c0670ab45a6b7002c7df369fee950a27cf29ae0474343fd3a15aa15f691e7a6" +checksum = "a7795f2df2ef744e4ffb2125f09325e60a21d305cc3ecece0adeef03f7a9e560" dependencies = [ "hash-db", "log", diff --git a/Cargo.toml b/Cargo.toml index 58ec7cc247..d9ed1300f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -189,71 +189,71 @@ derive-where = { version = "1.6.1", default-features = false } once_cell = { version = "1.21.4", default-features = false } # substrate dependencies -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -frame-support = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -frame-system = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-session = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-transaction-payment-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-basic-authorship = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-block-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-consensus-slots = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-cli = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-client-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-client-db = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-consensus = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-consensus-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-consensus-grandpa-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-executor = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-keystore = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-network = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-network-test = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-service = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-telemetry = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-transaction-pool = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sc-transaction-pool-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-application-crypto = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-blockchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-consensus = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-core = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-genesis-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-io = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-keyring = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-keystore = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-session = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-tracing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-staking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-std = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-timestamp = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-version = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-storage = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -sp-weights = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -substrate-build-script-utils = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -substrate-frame-rpc-system = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -substrate-prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -substrate-test-runtime-client = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } -substrate-wasm-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2512-3" } +frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +frame-executive = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +frame-support = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +frame-system = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-balances = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-session = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-sudo = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-transaction-payment-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-basic-authorship = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-block-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-consensus-slots = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-cli = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-client-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-client-db = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-consensus = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-consensus-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-consensus-grandpa-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-executor = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-keystore = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-network = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-network-test = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-service = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-telemetry = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-transaction-pool = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sc-transaction-pool-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-application-crypto = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-block-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-blockchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-consensus = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-core = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-genesis-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-inherents = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-io = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-keyring = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-keystore = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-offchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-session = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-tracing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-staking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-std = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-timestamp = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-version = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-storage = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +sp-weights = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +substrate-build-script-utils = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +substrate-frame-rpc-system = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +substrate-prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +substrate-test-runtime-client = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } +substrate-wasm-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2603" } raw-scripts = { git = "https://github.com/input-output-hk/partner-chains-smart-contracts.git", tag = "v8.1.0" } diff --git a/README.md b/README.md index d7ed3f9b2a..6e074008a5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ :chains: Toolkit for maintaining and securing [Substrate](https://polkadot.com/) based blockchains with the Cardano ecosystem -![polkadot-sdk](https://img.shields.io/badge/polkadot--sdk-stable2512-blue) +![polkadot-sdk](https://img.shields.io/badge/polkadot--sdk-stable2603-blue) [![language](https://img.shields.io/badge/language-Rust-239120)]() [![OS](https://img.shields.io/badge/OS-linux%2C%20macOS-0078D4)]() [![CPU](https://img.shields.io/badge/CPU-x64%2C%20ARM64-FF8C00)]() diff --git a/changelog.md b/changelog.md index aa8e38acac..39d03dcb35 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,7 @@ This changelog is based on [Keep A Changelog](https://keepachangelog.com/en/1.1. ## Changed * Updated polkadot-sdk dependency to polkadot-stable2512-3. +* Updated polkadot-sdk dependency to polkadot-stable2503. ## Removed diff --git a/demo/node/src/service.rs b/demo/node/src/service.rs index 4c79c0f2a3..b05cfa6978 100644 --- a/demo/node/src/service.rs +++ b/demo/node/src/service.rs @@ -9,7 +9,7 @@ use partner_chains_db_sync_data_sources::register_metrics_warn_errors; use partner_chains_demo_runtime::{self, RuntimeApi, opaque::Block}; use sc_client_api::BlockBackend; use sc_consensus_aura::{ImportQueueParams, SlotProportion, StartAuraParams}; -use sc_consensus_grandpa::SharedVoterState; +use sc_consensus_grandpa::{GrandpaPruningFilter, SharedVoterState}; pub use sc_executor::WasmExecutor; use sc_partner_chains_consensus_aura::import_queue as partner_chains_aura_import_queue; use sc_service::{Configuration, TaskManager, WarpSyncConfig, error::Error as ServiceError}; @@ -50,8 +50,12 @@ pub fn new_pc_command_deps( .block_on(crate::data_sources::create_cached_data_sources(None)) })?; let executor = sc_service::new_wasm_executor(&config.executor); - let (client, _, _, task_manager) = - sc_service::new_full_parts::(config, None, executor)?; + let (client, _, _, task_manager) = sc_service::new_full_parts::( + config, + None, + executor, + vec![Arc::new(GrandpaPruningFilter)], + )?; let client = Arc::new(client); Ok((client, task_manager, data_sources.authority_selection)) } @@ -106,6 +110,7 @@ pub fn new_partial( config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor, + vec![Arc::new(GrandpaPruningFilter)], )?; let client = Arc::new(client); @@ -246,6 +251,7 @@ pub async fn new_full_base for Runtime { - fn generate_session_keys(seed: Option>) -> Vec { + fn generate_session_keys( + owner: Vec, + seed: Option>, + ) -> sp_session::OpaqueGeneratedSessionKeys { // despite being named "generate" this function also adds generated keys to local keystore - opaque::CrossChainKey::generate(seed.clone()); - opaque::SessionKeys::generate(seed) + let _ = opaque::CrossChainKey::generate(&owner, seed.clone()); + opaque::SessionKeys::generate(&owner, seed).into() } fn decode_session_keys( diff --git a/substrate-extensions/aura/consensus/src/lib.rs b/substrate-extensions/aura/consensus/src/lib.rs index b66c8f91ce..9fad8a8387 100644 --- a/substrate-extensions/aura/consensus/src/lib.rs +++ b/substrate-extensions/aura/consensus/src/lib.rs @@ -379,18 +379,14 @@ mod tests { use sc_keystore::LocalKeystore; use sc_network_test::{Block as TestBlock, *}; use sp_application_crypto::{AppCrypto, key_types::AURA}; - use sp_consensus::{DisableProofRecording, NoNetwork as DummyOracle, Proposal}; + use sp_consensus::{NoNetwork as DummyOracle, Proposal, ProposeArgs}; use sp_consensus_aura::SlotDuration; use sp_consensus_aura::inherents::InherentDataProvider; use sp_consensus_aura::sr25519::AuthorityPair; - use sp_inherents::InherentData; use sp_keyring::sr25519::Keyring; use sp_keystore::Keystore; use sp_partner_chains_consensus_aura::CurrentSlotProvider; - use sp_runtime::{ - Digest, - traits::{Block as BlockT, Header as _}, - }; + use sp_runtime::traits::{Block as BlockT, Header as _}; use sp_timestamp::Timestamp; use std::{ task::Poll, @@ -420,17 +416,10 @@ mod tests { impl Proposer for DummyProposer { type Error = Error; - type Proposal = future::Ready, Error>>; - type ProofRecording = DisableProofRecording; - type Proof = (); - - fn propose( - self, - _: InherentData, - digests: Digest, - _: Duration, - _: Option, - ) -> Self::Proposal { + type Proposal = future::Ready, Error>>; + + fn propose(self, args: ProposeArgs) -> Self::Proposal { + let ProposeArgs { inherent_digests: digests, .. } = args; let r = BlockBuilderBuilder::new(&*self.0) .on_parent_block(self.0.chain_info().best_hash) .fetch_parent_block_number(&*self.0) @@ -440,11 +429,9 @@ mod tests { .unwrap() .build(); - future::ready(r.map(|b| Proposal { - block: b.block, - proof: (), - storage_changes: b.storage_changes, - })) + future::ready( + r.map(|b| Proposal { block: b.block, storage_changes: b.storage_changes }), + ) } } @@ -697,7 +684,7 @@ mod tests { let head = client.expect_header(client.info().genesis_hash).unwrap(); - let res = worker + let block = worker .on_slot(SlotInfo { slot: 0.into(), ends_at: Instant::now() + Duration::from_secs(100), @@ -705,11 +692,12 @@ mod tests { duration: Duration::from_millis(1000), chain_head: head, block_size_limit: None, + storage_proof_recorder: None, }) .await .unwrap(); // The returned block should be imported and we should be able to get its header by now. - assert!(client.header(res.block.hash()).unwrap().is_some()); + assert!(client.header(block.hash()).unwrap().is_some()); } } diff --git a/substrate-extensions/aura/primitives/src/block_proposal.rs b/substrate-extensions/aura/primitives/src/block_proposal.rs index 98225b97e0..84a5a98465 100644 --- a/substrate-extensions/aura/primitives/src/block_proposal.rs +++ b/substrate-extensions/aura/primitives/src/block_proposal.rs @@ -1,12 +1,10 @@ use crate::InherentDigest; use futures::FutureExt; -use sp_consensus::{Environment, Proposer}; -use sp_inherents::InherentData; +use sp_consensus::{Environment, ProposeArgs, Proposer}; use sp_runtime::traits::Block as BlockT; use sp_runtime::{Digest, DigestItem}; use std::future::Future; use std::marker::PhantomData; -use std::time; /// Proposer factory for PartnerChainsProposer. Allows passing ID: InherentDigest type parameter. pub struct PartnerChainsProposerFactory, ID> { @@ -52,23 +50,29 @@ impl, ID: InherentDigest> Proposer { type Error =

>::Error; type Proposal =

>::Proposal; - type ProofRecording =

>::ProofRecording; - type Proof =

>::Proof; - - fn propose( - self, - inherent_data: InherentData, - inherent_digests: Digest, - max_duration: time::Duration, - block_size_limit: Option, - ) -> Self::Proposal { + + fn propose(self, args: ProposeArgs) -> Self::Proposal { + let ProposeArgs { + inherent_data, + inherent_digests, + max_duration, + block_size_limit, + storage_proof_recorder, + extra_extensions, + } = args; let mut logs: Vec = Vec::from(inherent_digests.logs()); // It is a programmatic error to try to propose a block that has inherent data from which declared InherentDigest cannot be created. let mut inherent_logs = ID::from_inherent_data(&inherent_data) .expect("InherentDigest can be created from inherent data"); logs.append(&mut inherent_logs); - self.proposer - .propose(inherent_data, Digest { logs }, max_duration, block_size_limit) + self.proposer.propose(ProposeArgs { + inherent_data, + inherent_digests: Digest { logs }, + max_duration, + block_size_limit, + storage_proof_recorder, + extra_extensions, + }) } } @@ -77,7 +81,7 @@ mod tests { use crate::InherentDigest; use crate::block_proposal::PartnerChainsProposer; use futures::future; - use sp_consensus::{DisableProofRecording, Proposal, Proposer}; + use sp_consensus::{Proposal, ProposeArgs, Proposer}; use sp_inherents::InherentData; use sp_runtime::generic::Header; use sp_runtime::traits::BlakeTwo256; @@ -118,17 +122,10 @@ mod tests { impl Proposer for TestProposer { type Error = sp_blockchain::Error; - type Proposal = future::Ready, sp_blockchain::Error>>; - type ProofRecording = DisableProofRecording; - type Proof = (); - - fn propose( - self, - _inherent_data: InherentData, - inherent_digests: Digest, - _max_duration: std::time::Duration, - _block_size_limit: Option, - ) -> Self::Proposal { + type Proposal = future::Ready, sp_blockchain::Error>>; + + fn propose(self, args: ProposeArgs) -> Self::Proposal { + let inherent_digests = args.inherent_digests; let result = if inherent_digests != self.expected_digest { Err(sp_blockchain::Error::Application( "Inherent digest does not match expected digest".into(), @@ -144,7 +141,7 @@ mod tests { }, extrinsics: Default::default(), }; - Ok(Proposal { block, proof: (), storage_changes: Default::default() }) + Ok(Proposal { block, storage_changes: Default::default() }) }; futures::future::ready(result) } @@ -159,7 +156,13 @@ mod tests { let proposer: PartnerChainsProposer = PartnerChainsProposer::new(test_proposer); let proposal = proposer - .propose(inherent_data, inherent_digests, std::time::Duration::from_secs(0), None) + .propose(ProposeArgs { + inherent_data, + inherent_digests, + max_duration: std::time::Duration::from_secs(0), + block_size_limit: None, + ..Default::default() + }) .into_inner(); assert!(proposal.is_ok()); } diff --git a/toolkit/block-participation/primitives/src/lib.rs b/toolkit/block-participation/primitives/src/lib.rs index f41a29f12f..de67af23b2 100644 --- a/toolkit/block-participation/primitives/src/lib.rs +++ b/toolkit/block-participation/primitives/src/lib.rs @@ -157,10 +157,7 @@ impl BlockProductionData Duration { } /// Error type returned by calculations related to Cardano epochs and slots -#[derive(Encode, PartialEq, Eq)] -#[cfg_attr(feature = "std", derive(Decode, thiserror::Error, sp_core::RuntimeDebug))] +#[derive(Debug, Encode, PartialEq, Eq)] +#[cfg_attr(feature = "std", derive(Decode, thiserror::Error))] pub enum EpochDerivationError { /// Signals that a function was passed a timestamp before the first Shelley era #[cfg_attr(feature = "std", error("Timestamp before first Mainchain Epoch"))]