diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check-semver.yml
index 65f3339b7ac7..78602410cdf6 100644
--- a/.github/workflows/check-semver.yml
+++ b/.github/workflows/check-semver.yml
@@ -4,6 +4,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
+ merge_group:
concurrency:
group: check-semver-${{ github.event.pull_request.number || github.ref }}
diff --git a/Cargo.lock b/Cargo.lock
index 59b6d92bde5d..6703a0250de9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -168,7 +168,7 @@ dependencies = [
"proc-macro-error",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
"syn-solidity",
"tiny-keccak",
]
@@ -295,7 +295,7 @@ dependencies = [
"proc-macro-error",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -753,7 +753,7 @@ checksum = "7378575ff571966e99a744addeff0bff98b8ada0dedf1956d59e634db95eaac1"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
"synstructure 0.13.1",
]
@@ -776,7 +776,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -1385,7 +1385,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -1402,7 +1402,7 @@ checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -1617,7 +1617,7 @@ dependencies = [
"regex",
"rustc-hash 1.1.0",
"shlex",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -3059,7 +3059,7 @@ dependencies = [
"heck 0.5.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -3100,7 +3100,7 @@ dependencies = [
"proc-macro-error2",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -4443,7 +4443,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -4999,7 +4999,7 @@ checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5039,7 +5039,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"scratch",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5056,7 +5056,7 @@ checksum = "50c49547d73ba8dcfd4ad7325d64c6d5391ff4224d498fc39a6f3f49825a530d"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5104,7 +5104,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"strsim 0.11.1",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5126,7 +5126,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
dependencies = [
"darling_core 0.20.10",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5243,7 +5243,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5254,7 +5254,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5265,7 +5265,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5373,7 +5373,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5434,7 +5434,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"regex",
- "syn 2.0.82",
+ "syn 2.0.87",
"termcolor",
"toml 0.8.12",
"walkdir",
@@ -5666,7 +5666,7 @@ dependencies = [
"heck 0.4.1",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5686,7 +5686,7 @@ checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5697,7 +5697,7 @@ checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5912,7 +5912,7 @@ dependencies = [
"prettyplease",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -5995,7 +5995,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -6354,7 +6354,7 @@ dependencies = [
"quote 1.0.37",
"scale-info",
"sp-arithmetic 23.0.0",
- "syn 2.0.82",
+ "syn 2.0.87",
"trybuild",
]
@@ -6576,7 +6576,7 @@ dependencies = [
"sp-metadata-ir 0.6.0",
"sp-runtime 31.0.1",
"static_assertions",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -6587,7 +6587,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -6596,7 +6596,7 @@ version = "11.0.0"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -6850,7 +6850,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -8385,7 +8385,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -9139,7 +9139,7 @@ dependencies = [
"proc-macro-warning 0.4.2",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -9400,9 +9400,9 @@ dependencies = [
[[package]]
name = "litep2p"
-version = "0.7.0"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4ab2528b02b6dbbc3e6ec4b55ccde885647c622a315b7da45081ed2dfe4b813"
+checksum = "7286b1971f85d1d60be40ef49e81c1f3b5a0d8b83cfa02ab53591cdacae22901"
dependencies = [
"async-trait",
"bs58",
@@ -9547,7 +9547,7 @@ dependencies = [
"macro_magic_core",
"macro_magic_macros",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -9561,7 +9561,7 @@ dependencies = [
"macro_magic_core_macros",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -9572,7 +9572,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -9583,7 +9583,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869"
dependencies = [
"macro_magic_core",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -9920,7 +9920,7 @@ dependencies = [
"cfg-if",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -10525,7 +10525,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -10701,7 +10701,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -11483,7 +11483,7 @@ version = "18.0.0"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -12636,7 +12636,7 @@ version = "0.1.0"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -12881,7 +12881,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"sp-runtime 31.0.1",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -13898,7 +13898,7 @@ dependencies = [
"pest_meta",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -13939,7 +13939,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16457,7 +16457,7 @@ dependencies = [
"polkavm-common 0.8.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16469,7 +16469,7 @@ dependencies = [
"polkavm-common 0.9.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16481,7 +16481,7 @@ dependencies = [
"polkavm-common 0.14.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16491,7 +16491,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66"
dependencies = [
"polkavm-derive-impl 0.8.0",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16501,7 +16501,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429"
dependencies = [
"polkavm-derive-impl 0.9.0",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16511,7 +16511,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b569754b15060d03000c09e3bf11509d527f60b75d79b4c30c3625b5071d9702"
dependencies = [
"polkavm-derive-impl 0.14.0",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16728,7 +16728,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c64d9ba0963cdcea2e1b2230fbae2bab30eb25a174be395c41e764bfb65dd62"
dependencies = [
"proc-macro2 1.0.86",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16838,7 +16838,7 @@ dependencies = [
"proc-macro-error-attr2",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16855,7 +16855,7 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16866,7 +16866,7 @@ checksum = "9b698b0b09d40e9b7c1a47b132d66a8b54bcd20583d9b6d06e4535e383b4405c"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -16947,7 +16947,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -17029,7 +17029,7 @@ dependencies = [
"prost 0.13.2",
"prost-types",
"regex",
- "syn 2.0.82",
+ "syn 2.0.87",
"tempfile",
]
@@ -17056,7 +17056,7 @@ dependencies = [
"itertools 0.12.1",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -17069,7 +17069,7 @@ dependencies = [
"itertools 0.12.1",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -17529,7 +17529,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -18149,7 +18149,7 @@ dependencies = [
"regex",
"relative-path",
"rustc_version 0.4.0",
- "syn 2.0.82",
+ "syn 2.0.87",
"unicode-ident",
]
@@ -18690,7 +18690,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -20055,7 +20055,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -20238,7 +20238,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"scale-info",
- "syn 2.0.82",
+ "syn 2.0.87",
"thiserror",
]
@@ -20517,9 +20517,9 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5"
[[package]]
name = "serde"
-version = "1.0.210"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
+checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
dependencies = [
"serde_derive",
]
@@ -20554,13 +20554,13 @@ dependencies = [
[[package]]
name = "serde_derive"
-version = "1.0.210"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
+checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -20662,7 +20662,7 @@ checksum = "91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -21633,7 +21633,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -21648,7 +21648,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22258,7 +22258,7 @@ version = "0.1.0"
dependencies = [
"quote 1.0.37",
"sp-crypto-hashing 0.1.0",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22269,7 +22269,7 @@ checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b"
dependencies = [
"quote 1.0.37",
"sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22287,7 +22287,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk#82912acb33a9030c0ef3bf5
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22296,7 +22296,7 @@ version = "14.0.0"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22307,7 +22307,7 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22869,7 +22869,7 @@ dependencies = [
"proc-macro-crate 1.3.1",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22881,7 +22881,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -22895,7 +22895,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -23370,7 +23370,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"sp-version 29.0.0",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -23382,7 +23382,7 @@ dependencies = [
"parity-scale-codec",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -23851,7 +23851,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"rustversion",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -23864,7 +23864,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"rustversion",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -24353,7 +24353,7 @@ dependencies = [
"scale-info",
"scale-typegen",
"subxt-metadata",
- "syn 2.0.82",
+ "syn 2.0.87",
"thiserror",
"tokio",
]
@@ -24416,7 +24416,7 @@ dependencies = [
"quote 1.0.37",
"scale-typegen",
"subxt-codegen",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -24571,9 +24571,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.82"
+version = "2.0.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
+checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
@@ -24589,7 +24589,7 @@ dependencies = [
"paste",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -24618,7 +24618,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -24748,7 +24748,7 @@ checksum = "5999e24eaa32083191ba4e425deb75cdf25efefabe5aaccb7446dd0d4122a3f5"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -24923,7 +24923,7 @@ checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -25085,7 +25085,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -25361,7 +25361,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -25403,7 +25403,7 @@ dependencies = [
"proc-macro-crate 3.1.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -26055,7 +26055,7 @@ dependencies = [
"once_cell",
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
"wasm-bindgen-shared",
]
@@ -26089,7 +26089,7 @@ checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -27241,7 +27241,7 @@ dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
"staging-xcm",
- "syn 2.0.82",
+ "syn 2.0.87",
"trybuild",
]
@@ -27412,7 +27412,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
@@ -27432,7 +27432,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
dependencies = [
"proc-macro2 1.0.86",
"quote 1.0.37",
- "syn 2.0.82",
+ "syn 2.0.87",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index f3042a8a3bdf..edfea7b8efa9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -848,7 +848,7 @@ linked-hash-map = { version = "0.5.4" }
linked_hash_set = { version = "0.1.4" }
linregress = { version = "0.5.1" }
lite-json = { version = "0.2.0", default-features = false }
-litep2p = { version = "0.7.0", features = ["websocket"] }
+litep2p = { version = "0.8.0", features = ["websocket"] }
log = { version = "0.4.22", default-features = false }
macro_magic = { version = "0.5.1" }
maplit = { version = "1.0.2" }
@@ -1205,7 +1205,7 @@ seccompiler = { version = "0.4.0" }
secp256k1 = { version = "0.28.0", default-features = false }
secrecy = { version = "0.8.0", default-features = false }
separator = { version = "0.4.1" }
-serde = { version = "1.0.210", default-features = false }
+serde = { version = "1.0.214", default-features = false }
serde-big-array = { version = "0.3.2" }
serde_derive = { version = "1.0.117" }
serde_json = { version = "1.0.132", default-features = false }
@@ -1319,7 +1319,7 @@ substrate-test-utils = { path = "substrate/test-utils" }
substrate-wasm-builder = { path = "substrate/utils/wasm-builder", default-features = false }
subxt = { version = "0.37", default-features = false }
subxt-signer = { version = "0.37" }
-syn = { version = "2.0.82" }
+syn = { version = "2.0.87" }
sysinfo = { version = "0.30" }
tar = { version = "0.4" }
tempfile = { version = "3.8.1" }
diff --git a/cumulus/client/consensus/aura/src/collators/lookahead.rs b/cumulus/client/consensus/aura/src/collators/lookahead.rs
index 8ac43fbd116e..2dbcf5eb58e9 100644
--- a/cumulus/client/consensus/aura/src/collators/lookahead.rs
+++ b/cumulus/client/consensus/aura/src/collators/lookahead.rs
@@ -36,17 +36,15 @@ use cumulus_client_collator::service::ServiceInterface as CollatorServiceInterfa
use cumulus_client_consensus_common::{self as consensus_common, ParachainBlockImportMarker};
use cumulus_client_consensus_proposer::ProposerInterface;
use cumulus_primitives_aura::AuraUnincludedSegmentApi;
-use cumulus_primitives_core::{
- ClaimQueueOffset, CollectCollationInfo, PersistedValidationData, DEFAULT_CLAIM_QUEUE_OFFSET,
-};
+use cumulus_primitives_core::{ClaimQueueOffset, CollectCollationInfo, PersistedValidationData};
use cumulus_relay_chain_interface::RelayChainInterface;
use polkadot_node_primitives::{PoV, SubmitCollationParams};
use polkadot_node_subsystem::messages::CollationGenerationMessage;
use polkadot_overseer::Handle as OverseerHandle;
use polkadot_primitives::{
- BlockNumber as RBlockNumber, CollatorPair, Hash as RHash, HeadData, Id as ParaId,
- OccupiedCoreAssumption,
+ vstaging::DEFAULT_CLAIM_QUEUE_OFFSET, BlockNumber as RBlockNumber, CollatorPair, Hash as RHash,
+ HeadData, Id as ParaId, OccupiedCoreAssumption,
};
use futures::prelude::*;
diff --git a/cumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs b/cumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs
index e75b52aeebd3..425151230704 100644
--- a/cumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs
+++ b/cumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs
@@ -20,13 +20,11 @@ use cumulus_client_collator::service::ServiceInterface as CollatorServiceInterfa
use cumulus_client_consensus_common::{self as consensus_common, ParachainBlockImportMarker};
use cumulus_client_consensus_proposer::ProposerInterface;
use cumulus_primitives_aura::AuraUnincludedSegmentApi;
-use cumulus_primitives_core::{
- GetCoreSelectorApi, PersistedValidationData, DEFAULT_CLAIM_QUEUE_OFFSET,
-};
+use cumulus_primitives_core::{GetCoreSelectorApi, PersistedValidationData};
use cumulus_relay_chain_interface::RelayChainInterface;
use polkadot_primitives::{
- vstaging::{ClaimQueueOffset, CoreSelector},
+ vstaging::{ClaimQueueOffset, CoreSelector, DEFAULT_CLAIM_QUEUE_OFFSET},
BlockId, CoreIndex, Hash as RelayHash, Header as RelayHeader, Id as ParaId,
OccupiedCoreAssumption,
};
diff --git a/cumulus/pallets/parachain-system/src/lib.rs b/cumulus/pallets/parachain-system/src/lib.rs
index 98989a852b8d..39fc8321a072 100644
--- a/cumulus/pallets/parachain-system/src/lib.rs
+++ b/cumulus/pallets/parachain-system/src/lib.rs
@@ -35,12 +35,12 @@ use core::{cmp, marker::PhantomData};
use cumulus_primitives_core::{
relay_chain::{
self,
- vstaging::{ClaimQueueOffset, CoreSelector},
+ vstaging::{ClaimQueueOffset, CoreSelector, DEFAULT_CLAIM_QUEUE_OFFSET},
},
AbridgedHostConfiguration, ChannelInfo, ChannelStatus, CollationInfo, GetChannelInfo,
InboundDownwardMessage, InboundHrmpMessage, ListChannelInfos, MessageSendError,
OutboundHrmpMessage, ParaId, PersistedValidationData, UpwardMessage, UpwardMessageSender,
- XcmpMessageHandler, XcmpMessageSource, DEFAULT_CLAIM_QUEUE_OFFSET,
+ XcmpMessageHandler, XcmpMessageSource,
};
use cumulus_primitives_parachain_inherent::{MessageQueueChain, ParachainInherentData};
use frame_support::{
diff --git a/cumulus/primitives/core/src/lib.rs b/cumulus/primitives/core/src/lib.rs
index dfb574ef3301..f88e663db19e 100644
--- a/cumulus/primitives/core/src/lib.rs
+++ b/cumulus/primitives/core/src/lib.rs
@@ -333,10 +333,6 @@ pub mod rpsr_digest {
}
}
-/// The default claim queue offset to be used if it's not configured/accessible in the parachain
-/// runtime
-pub const DEFAULT_CLAIM_QUEUE_OFFSET: u8 = 0;
-
/// Information about a collation.
///
/// This was used in version 1 of the [`CollectCollationInfo`] runtime api.
diff --git a/polkadot/node/collation-generation/src/error.rs b/polkadot/node/collation-generation/src/error.rs
index 68902f58579a..2599026080df 100644
--- a/polkadot/node/collation-generation/src/error.rs
+++ b/polkadot/node/collation-generation/src/error.rs
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see .
-use polkadot_primitives::vstaging::CandidateReceiptError;
+use polkadot_primitives::vstaging::CommittedCandidateReceiptError;
use thiserror::Error;
#[derive(Debug, Error)]
@@ -34,7 +34,7 @@ pub enum Error {
#[error("Collation submitted before initialization")]
SubmittedBeforeInit,
#[error("V2 core index check failed: {0}")]
- CandidateReceiptCheck(CandidateReceiptError),
+ CandidateReceiptCheck(CommittedCandidateReceiptError),
#[error("PoV size {0} exceeded maximum size of {1}")]
POVSizeExceeded(usize, usize),
}
diff --git a/polkadot/node/collation-generation/src/lib.rs b/polkadot/node/collation-generation/src/lib.rs
index 9e975acf10b8..b371017a8289 100644
--- a/polkadot/node/collation-generation/src/lib.rs
+++ b/polkadot/node/collation-generation/src/lib.rs
@@ -554,7 +554,7 @@ async fn construct_and_distribute_receipt(
ccr.to_plain()
} else {
- if commitments.selected_core().is_some() {
+ if commitments.core_selector().map_err(Error::CandidateReceiptCheck)?.is_some() {
gum::warn!(
target: LOG_TARGET,
?pov_hash,
diff --git a/polkadot/node/subsystem-util/src/inclusion_emulator/mod.rs b/polkadot/node/subsystem-util/src/inclusion_emulator/mod.rs
index 20ca62d41f5b..48d3f27b1fa6 100644
--- a/polkadot/node/subsystem-util/src/inclusion_emulator/mod.rs
+++ b/polkadot/node/subsystem-util/src/inclusion_emulator/mod.rs
@@ -82,9 +82,9 @@
/// in practice at most once every few weeks.
use polkadot_node_subsystem::messages::HypotheticalCandidate;
use polkadot_primitives::{
- async_backing::Constraints as PrimitiveConstraints, BlockNumber, CandidateCommitments,
- CandidateHash, Hash, HeadData, Id as ParaId, PersistedValidationData, UpgradeRestriction,
- ValidationCodeHash,
+ async_backing::Constraints as PrimitiveConstraints, vstaging::skip_ump_signals, BlockNumber,
+ CandidateCommitments, CandidateHash, Hash, HeadData, Id as ParaId, PersistedValidationData,
+ UpgradeRestriction, ValidationCodeHash,
};
use std::{collections::HashMap, sync::Arc};
@@ -601,13 +601,8 @@ impl Fragment {
persisted_validation_data: &PersistedValidationData,
) -> Result {
// Filter UMP signals and the separator.
- let upward_messages = if let Some(separator_index) =
- commitments.upward_messages.iter().position(|message| message.is_empty())
- {
- commitments.upward_messages.split_at(separator_index).0
- } else {
- &commitments.upward_messages
- };
+ let upward_messages =
+ skip_ump_signals(commitments.upward_messages.iter()).collect::>();
let ump_messages_sent = upward_messages.len();
let ump_bytes_sent = upward_messages.iter().map(|msg| msg.len()).sum();
diff --git a/polkadot/primitives/src/vstaging/mod.rs b/polkadot/primitives/src/vstaging/mod.rs
index ca9c3e1bebad..271f78efe090 100644
--- a/polkadot/primitives/src/vstaging/mod.rs
+++ b/polkadot/primitives/src/vstaging/mod.rs
@@ -39,6 +39,10 @@ use sp_staking::SessionIndex;
/// Async backing primitives
pub mod async_backing;
+/// The default claim queue offset to be used if it's not configured/accessible in the parachain
+/// runtime
+pub const DEFAULT_CLAIM_QUEUE_OFFSET: u8 = 0;
+
/// A type representing the version of the candidate descriptor and internal version number.
#[derive(PartialEq, Eq, Encode, Decode, Clone, TypeInfo, RuntimeDebug, Copy)]
#[cfg_attr(feature = "std", derive(Hash))]
@@ -430,49 +434,45 @@ pub enum UMPSignal {
/// Separator between `XCM` and `UMPSignal`.
pub const UMP_SEPARATOR: Vec = vec![];
-impl CandidateCommitments {
- /// Returns the core selector and claim queue offset the candidate has committed to, if any.
- pub fn selected_core(&self) -> Option<(CoreSelector, ClaimQueueOffset)> {
- // We need at least 2 messages for the separator and core selector
- if self.upward_messages.len() < 2 {
- return None
- }
-
- let separator_pos =
- self.upward_messages.iter().rposition(|message| message == &UMP_SEPARATOR)?;
-
- // Use first commitment
- let message = self.upward_messages.get(separator_pos + 1)?;
+/// Utility function for skipping the ump signals.
+pub fn skip_ump_signals<'a>(
+ upward_messages: impl Iterator- >,
+) -> impl Iterator
- > {
+ upward_messages.take_while(|message| *message != &UMP_SEPARATOR)
+}
- match UMPSignal::decode(&mut message.as_slice()).ok()? {
- UMPSignal::SelectCore(core_selector, cq_offset) => Some((core_selector, cq_offset)),
- }
- }
+impl CandidateCommitments {
+ /// Returns the core selector and claim queue offset determined by `UMPSignal::SelectCore`
+ /// commitment, if present.
+ pub fn core_selector(
+ &self,
+ ) -> Result