From 2d4ed1f823890bf6604e6023c078f9d7c22b9496 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Mon, 11 Dec 2023 23:51:35 -0700 Subject: [PATCH 1/4] Macro all proposal creation hooks, fix build issues --- Cargo.lock | 1844 ++++++----------- Cargo.toml | 4 +- dkg-runtime-primitives/Cargo.toml | 4 +- .../src/handlers/evm/add_token_to_set.rs | 23 - .../src/handlers/evm/anchor_update.rs | 23 - .../src/handlers/evm/fee_recipient_update.rs | 23 - .../src/handlers/evm/fee_update.rs | 23 - .../handlers/evm/max_deposit_limit_update.rs | 23 - .../evm/min_withdrawal_limit_update.rs | 23 - .../src/handlers/evm/mod.rs | 70 +- .../src/handlers/evm/remove_token_from_set.rs | 23 - .../src/handlers/evm/rescue_tokens.rs | 23 - .../src/handlers/evm/resource_id_update.rs | 23 - .../src/handlers/evm/set_treasury_handler.rs | 23 - .../src/handlers/evm/set_verifier.rs | 23 - pallets/bridge-registry/Cargo.toml | 2 +- pallets/bridge-registry/src/lib.rs | 25 +- pallets/bridge-registry/src/tests.rs | 29 +- pallets/dkg-metadata/Cargo.toml | 2 + pallets/dkg-metadata/src/mock.rs | 5 +- pallets/dkg-proposal-handler/src/lib.rs | 2 +- pallets/dkg-proposal-handler/src/tests.rs | 12 +- relayer-gadget/Cargo.toml | 10 +- standalone/runtime/src/lib.rs | 2 +- 24 files changed, 786 insertions(+), 1478 deletions(-) delete mode 100644 dkg-runtime-primitives/src/handlers/evm/add_token_to_set.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/anchor_update.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/fee_recipient_update.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/fee_update.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/max_deposit_limit_update.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/min_withdrawal_limit_update.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/remove_token_from_set.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/rescue_tokens.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/resource_id_update.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/set_treasury_handler.rs delete mode 100644 dkg-runtime-primitives/src/handlers/evm/set_verifier.rs diff --git a/Cargo.lock b/Cargo.lock index 190fcff3b..55f58f456 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -15,7 +15,7 @@ dependencies = [ [[package]] name = "ac-compose-macros" version = "0.4.2" -source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#567318586932a1c307803de656bed6deccab6540" +source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#87e26eee2b55541d7d23589a085812e85075c320" dependencies = [ "ac-primitives", "log", @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "ac-node-api" version = "0.5.1" -source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#567318586932a1c307803de656bed6deccab6540" +source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#87e26eee2b55541d7d23589a085812e85075c320" dependencies = [ "ac-primitives", "bitvec", @@ -41,17 +41,17 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-core", + "sp-runtime", + "sp-runtime-interface", + "sp-storage", ] [[package]] name = "ac-primitives" version = "0.9.0" -source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#567318586932a1c307803de656bed6deccab6540" +source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#87e26eee2b55541d7d23589a085812e85075c320" dependencies = [ "frame-system", "impl-serde", @@ -62,14 +62,14 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-core", "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-runtime-interface", + "sp-staking", + "sp-version", + "sp-weights", ] [[package]] @@ -205,9 +205,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" +checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" dependencies = [ "anstyle", "anstyle-parse", @@ -234,9 +234,9 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3a318f1f38d2418400f8209655bfd825785afd25aa30bb7ba6cc792e4596748" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" dependencies = [ "windows-sys 0.52.0", ] @@ -902,9 +902,9 @@ dependencies = [ [[package]] name = "async-io" -version = "2.2.1" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6d3b15875ba253d1110c740755e246537483f152fa334f91abd7fe84c88b3ff" +checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" dependencies = [ "async-lock 3.2.0", "cfg-if", @@ -913,7 +913,7 @@ dependencies = [ "futures-lite 2.1.0", "parking", "polling 3.3.1", - "rustix 0.38.26", + "rustix 0.38.28", "slab", "tracing", "windows-sys 0.52.0", @@ -963,7 +963,7 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.26", + "rustix 0.38.28", "windows-sys 0.48.0", ] @@ -973,13 +973,13 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io 2.2.1", + "async-io 2.2.2", "async-lock 2.8.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.26", + "rustix 0.38.28", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -1004,7 +1004,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -1021,7 +1021,7 @@ checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -1868,7 +1868,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -2356,10 +2356,10 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie", "staging-xcm", ] @@ -2448,7 +2448,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -2488,7 +2488,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -2505,7 +2505,7 @@ checksum = "587663dd5fb3d10932c8aecfe7c844db1bcf0aee93eeab08fac13dc1212c2e7f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -2553,7 +2553,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -2575,7 +2575,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core 0.20.3", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -2804,7 +2804,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -2843,14 +2843,14 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-keystore", + "sp-runtime", "strum 0.21.0", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", "sync_wrapper", @@ -2859,7 +2859,7 @@ dependencies = [ "tokio-stream", "tracing", "uuid 1.6.1", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?branch=polkadot-sdk-v1.0.0)", + "webb-proposals 0.8.0", "wsts", ] @@ -2884,7 +2884,7 @@ dependencies = [ "parking_lot 0.12.1", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "tokio", "tracing", "tracing-filter", @@ -2910,7 +2910,7 @@ dependencies = [ "sc-utils", "serde", "sp-consensus", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "tokio", "tokio-util", "toml 0.7.8", @@ -2935,10 +2935,10 @@ dependencies = [ "sc-service", "serde_json", "sha3 0.9.1", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-keyring", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-keystore", + "sp-runtime", ] [[package]] @@ -2948,19 +2948,20 @@ dependencies = [ "ethabi", "ethereum", "ethereum-types", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "impl-trait-for-tuples", + "log", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "tiny-keccak", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?branch=polkadot-sdk-v1.0.0)", + "webb-proposals 0.8.0", ] [[package]] @@ -2999,14 +3000,14 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-block-builder", "sp-blockchain", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", "sp-keyring", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-timestamp", "substrate-build-script-utils", "substrate-frame-rpc-system", @@ -3024,7 +3025,7 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -3056,18 +3057,18 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "sp-transaction-pool", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-version", "substrate-wasm-builder", ] @@ -3080,7 +3081,7 @@ dependencies = [ "dkg-mock-blockchain", "dkg-primitives", "dkg-runtime-primitives", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "futures", "hash-db 0.16.0", "log", @@ -3090,13 +3091,13 @@ dependencies = [ "sc-client-api", "sc-network", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-trie", "structopt", "tokio", "toml 0.7.8", @@ -3141,7 +3142,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.39", + "syn 2.0.40", "termcolor", "toml 0.8.2", "walkdir", @@ -3230,15 +3231,6 @@ dependencies = [ "spki 0.7.3", ] -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature 1.6.4", -] - [[package]] name = "ed25519" version = "2.2.3" @@ -3249,18 +3241,6 @@ dependencies = [ "signature 2.2.0", ] -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519 1.5.3", - "sha2 0.9.9", - "zeroize", -] - [[package]] name = "ed25519-dalek" version = "2.1.0" @@ -3268,7 +3248,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" dependencies = [ "curve25519-dalek 4.1.1", - "ed25519 2.2.3", + "ed25519", "rand_core 0.6.4", "serde", "sha2 0.10.8", @@ -3400,7 +3380,7 @@ checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -3603,7 +3583,7 @@ dependencies = [ "regex", "serde", "serde_json", - "syn 2.0.39", + "syn 2.0.40", "toml 0.8.2", "walkdir", ] @@ -3621,7 +3601,7 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -3647,7 +3627,7 @@ dependencies = [ "serde", "serde_json", "strum 0.25.0", - "syn 2.0.39", + "syn 2.0.40", "tempfile", "thiserror", "tiny-keccak", @@ -3840,14 +3820,14 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] name = "eyre" -version = "0.6.9" +version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80f656be11ddf91bd709454d15d5bd896fbaf4cc3314e69349e4d1569f5b46cd" +checksum = "8bbb8258be8305fb0237d7b295f47bb24ff1b136a535f473baf40e70468515aa" dependencies = [ "indenter", "once_cell", @@ -4089,8 +4069,8 @@ name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-support-procedural", "frame-system", "linregress", "log", @@ -4098,14 +4078,14 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage", "static_assertions", ] @@ -4120,7 +4100,7 @@ dependencies = [ "clap 4.4.11", "comfy-table", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "gethostname", "handlebars", @@ -4140,19 +4120,19 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-trie", + "sp-wasm-interface", "thiserror", "thousands", ] @@ -4165,7 +4145,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -4174,14 +4154,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-election-provider-solution-type", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -4190,17 +4170,17 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing", ] [[package]] @@ -4227,40 +4207,6 @@ dependencies = [ "serde", ] -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "bitflags 1.3.2", - "environmental", - "frame-metadata 16.0.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "impl-trait-for-tuples", - "k256 0.13.2", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "tt-call", -] - [[package]] name = "frame-support" version = "4.0.0-dev" @@ -4271,7 +4217,7 @@ dependencies = [ "docify", "environmental", "frame-metadata 16.0.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support-procedural", "impl-trait-for-tuples", "k256 0.13.2", "log", @@ -4282,43 +4228,25 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", + "sp-debug-derive", "sp-genesis-builder", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents", + "sp-io", + "sp-metadata-ir", + "sp-runtime", + "sp-staking", + "sp-state-machine", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing", + "sp-weights", "static_assertions", "tt-call", ] -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "expander", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "itertools 0.10.5", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.39", -] - [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -4328,25 +4256,13 @@ dependencies = [ "cfg-expr", "derive-syn-parse", "expander", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support-procedural-tools", "itertools 0.10.5", "macro_magic", "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.39", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -4354,21 +4270,11 @@ name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.39", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -4378,7 +4284,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -4387,17 +4293,17 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "cfg-if", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-version", + "sp-weights", ] [[package]] @@ -4406,12 +4312,12 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -4421,7 +4327,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", ] [[package]] @@ -4429,10 +4335,10 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -4562,7 +4468,7 @@ checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -4991,9 +4897,9 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", @@ -5068,7 +4974,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.21.9", + "rustls 0.21.10", "rustls-native-certs", "tokio", "tokio-rustls", @@ -5141,7 +5047,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.2.1", + "async-io 2.2.2", "core-foundation", "fnv", "futures", @@ -5319,7 +5225,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.3", - "rustix 0.38.26", + "rustix 0.38.28", "windows-sys 0.48.0", ] @@ -5358,9 +5264,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "jobserver" @@ -5646,9 +5552,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.150" +version = "0.2.151" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" +checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" [[package]] name = "libloading" @@ -5794,7 +5700,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ "bs58 0.4.0", - "ed25519-dalek 2.1.0", + "ed25519-dalek", "log", "multiaddr", "multihash", @@ -6252,7 +6158,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -6266,7 +6172,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -6277,7 +6183,7 @@ checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -6288,7 +6194,7 @@ checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -6370,7 +6276,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.26", + "rustix 0.38.28", ] [[package]] @@ -6920,7 +6826,7 @@ dependencies = [ "proc-macro-crate 2.0.1", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -7019,7 +6925,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -7030,9 +6936,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-src" -version = "300.1.6+3.1.4" +version = "300.2.1+3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439fac53e092cd7442a3660c85dde4643ab3b5bd39040912388dcdabf6b88085" +checksum = "3fe476c29791a5ca0d1273c697e96085bbabbbea2ef7afd5617e78a4b40332d3" dependencies = [ "cc", ] @@ -7099,7 +7005,7 @@ dependencies = [ "rustfmt-wrapper", "serde", "sha2 0.10.8", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -7123,13 +7029,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7138,15 +7044,15 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7155,12 +7061,12 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7170,7 +7076,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-authorship", @@ -7178,13 +7084,13 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7197,17 +7103,17 @@ dependencies = [ "docify", "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing", ] [[package]] @@ -7216,12 +7122,12 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7231,19 +7137,20 @@ version = "1.0.0" dependencies = [ "dkg-runtime-primitives", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "hex", + "log", "pallet-balances", "pallet-identity", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?branch=polkadot-sdk-v1.0.0)", + "webb-proposals 0.8.0", ] [[package]] @@ -7252,7 +7159,7 @@ version = "3.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-authorship", @@ -7260,8 +7167,8 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7271,7 +7178,7 @@ version = "0.2.0" dependencies = [ "dkg-runtime-primitives", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "hex", "k256 0.11.6", @@ -7282,13 +7189,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?branch=polkadot-sdk-v1.0.0)", + "webb-proposals 0.8.0", ] [[package]] @@ -7298,7 +7205,7 @@ dependencies = [ "dkg-runtime-primitives", "ethabi", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-aura", @@ -7310,13 +7217,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?branch=polkadot-sdk-v1.0.0)", + "webb-proposals 0.8.0", ] [[package]] @@ -7325,7 +7232,7 @@ version = "1.0.0" dependencies = [ "dkg-runtime-primitives", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "hex", "k256 0.11.6", @@ -7339,12 +7246,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?branch=polkadot-sdk-v1.0.0)", + "webb-proposals 0.8.0", ] [[package]] @@ -7354,18 +7261,18 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "strum 0.24.1", ] @@ -7380,7 +7287,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7390,20 +7297,20 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7414,12 +7321,12 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "enumflags2", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7429,17 +7336,17 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7449,14 +7356,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7465,12 +7372,12 @@ name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7479,18 +7386,18 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing", ] [[package]] @@ -7498,15 +7405,15 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7515,21 +7422,21 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-staking", + "sp-state-machine", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie", ] [[package]] @@ -7539,7 +7446,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "pallet-authorship", @@ -7548,10 +7455,10 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7563,7 +7470,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -7572,12 +7479,12 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7587,16 +7494,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage", "sp-timestamp", ] @@ -7605,14 +7512,14 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7624,12 +7531,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7639,9 +7546,9 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7650,13 +7557,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -7907,7 +7814,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -7971,7 +7878,7 @@ dependencies = [ "phf_shared 0.11.2", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -8009,7 +7916,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -8080,8 +7987,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -8092,13 +7999,13 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "bounded-collections", "derive_more", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -8114,17 +8021,17 @@ dependencies = [ "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -8153,7 +8060,7 @@ dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite 0.2.13", - "rustix 0.38.26", + "rustix 0.38.28", "tracing", "windows-sys 0.52.0", ] @@ -8267,7 +8174,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -8336,7 +8243,7 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -8382,7 +8289,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -8846,7 +8753,7 @@ checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -8934,7 +8841,7 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite 0.2.13", - "rustls 0.21.9", + "rustls 0.21.10", "rustls-pemfile", "serde", "serde_json", @@ -9227,9 +9134,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.26" +version = "0.38.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9470c4bf8246c8daf25f9598dca807fb6510347b1e1cfa55749113850c79d88a" +checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" dependencies = [ "bitflags 2.4.1", "errno", @@ -9252,9 +9159,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.9" +version = "0.21.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9" +checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", "ring 0.17.7", @@ -9323,9 +9230,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "safe-lock" @@ -9422,8 +9329,8 @@ version = "4.1.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "log", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-wasm-interface", "thiserror", ] @@ -9441,12 +9348,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-runtime", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -9457,12 +9364,12 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-runtime", ] [[package]] @@ -9479,9 +9386,9 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -9492,7 +9399,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -9523,12 +9430,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-keyring", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", "thiserror", "tiny-bip39", "tokio", @@ -9547,16 +9454,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities", + "sp-runtime", + "sp-state-machine", "sp-statement-store", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -9576,13 +9483,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-database", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -9600,12 +9507,12 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", + "sp-state-machine", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -9624,17 +9531,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -9667,15 +9574,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -9693,14 +9600,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -9713,15 +9620,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmtime", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", "tracing", ] @@ -9732,7 +9639,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-wasm-interface", "thiserror", "wasm-instrument", ] @@ -9749,8 +9656,8 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] @@ -9767,7 +9674,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", ] [[package]] @@ -9778,9 +9685,9 @@ dependencies = [ "array-bytes", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -9814,10 +9721,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", "unsigned-varint", @@ -9840,7 +9747,7 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "thiserror", "unsigned-varint", ] @@ -9859,7 +9766,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", ] [[package]] @@ -9875,7 +9782,7 @@ dependencies = [ "sc-network", "sc-network-common", "schnellru", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "tracing", ] @@ -9896,8 +9803,8 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -9925,12 +9832,12 @@ dependencies = [ "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -9958,9 +9865,9 @@ dependencies = [ "sc-utils", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", + "sp-tracing", "substrate-test-runtime", "substrate-test-runtime-client", "tokio", @@ -9980,7 +9887,7 @@ dependencies = [ "sc-network-common", "sc-utils", "sp-consensus", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -10008,12 +9915,12 @@ dependencies = [ "sc-network-common", "sc-transaction-pool-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-keystore", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "threadpool", "tracing", ] @@ -10045,16 +9952,16 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-keystore", "sp-offchain", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-session", "sp-statement-store", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-version", "tokio", ] @@ -10070,10 +9977,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-version", "thiserror", ] @@ -10110,11 +10017,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", + "sp-version", "thiserror", "tokio", "tokio-stream", @@ -10161,20 +10068,20 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-state-machine", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie", + "sp-version", "static_init", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "tempfile", @@ -10192,7 +10099,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", ] [[package]] @@ -10209,8 +10116,8 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -10250,12 +10157,12 @@ dependencies = [ "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-tracing", "thiserror", "tracing", "tracing-log 0.1.4", @@ -10270,7 +10177,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -10289,11 +10196,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", @@ -10310,8 +10217,8 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -10327,7 +10234,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", ] [[package]] @@ -10791,7 +10698,7 @@ checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -11214,27 +11121,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "thiserror", -] - [[package]] name = "sp-api" version = "4.0.0-dev" @@ -11244,32 +11130,18 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api-proc-macro", + "sp-core", + "sp-externalities", + "sp-metadata-ir", + "sp-runtime", + "sp-state-machine", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie", + "sp-version", "thiserror", ] -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "Inflector", - "blake2 0.10.6", - "expander", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.39", -] - [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" @@ -11281,20 +11153,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.39", -] - -[[package]] -name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "syn 2.0.40", ] [[package]] @@ -11305,25 +11164,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] -[[package]] -name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "static_assertions", -] - [[package]] name = "sp-arithmetic" version = "16.0.0" @@ -11345,9 +11190,9 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -11356,9 +11201,9 @@ name = "sp-block-builder" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-inherents", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -11372,11 +11217,11 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-consensus", "sp-database", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -11388,10 +11233,10 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -11403,11 +11248,11 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "sp-timestamp", ] @@ -11421,12 +11266,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "sp-timestamp", ] @@ -11441,11 +11286,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -11461,51 +11306,6 @@ dependencies = [ "sp-timestamp", ] -[[package]] -name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "array-bytes", - "bitflags 1.3.2", - "blake2 0.10.6", - "bounded-collections", - "bs58 0.4.0", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.16.0", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.1", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1 0.24.3", - "secrecy", - "serde", - "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "tracing", - "zeroize", -] - [[package]] name = "sp-core" version = "21.0.0" @@ -11540,11 +11340,11 @@ dependencies = [ "secrecy", "serde", "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -11568,19 +11368,6 @@ dependencies = [ "twox-hash", ] -[[package]] -name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "twox-hash", -] - [[package]] name = "sp-core-hashing" version = "9.0.0" @@ -11594,16 +11381,6 @@ dependencies = [ "twox-hash", ] -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "quote", - "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "syn 2.0.39", -] - [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" @@ -11611,7 +11388,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -11623,16 +11400,6 @@ dependencies = [ "parking_lot 0.12.1", ] -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.39", -] - [[package]] name = "sp-debug-derive" version = "8.0.0" @@ -11640,18 +11407,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "syn 2.0.40", ] [[package]] @@ -11662,7 +11418,7 @@ dependencies = [ "environmental", "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage", ] [[package]] @@ -11671,25 +11427,11 @@ version = "0.1.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "thiserror", -] - [[package]] name = "sp-inherents" version = "4.0.0-dev" @@ -11699,56 +11441,31 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] -[[package]] -name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1 0.24.3", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "tracing", - "tracing-core", -] - [[package]] name = "sp-io" version = "23.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "bytes", - "ed25519-dalek 2.1.0", + "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1 0.24.3", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing", + "sp-trie", "tracing", "tracing-core", ] @@ -11759,23 +11476,11 @@ version = "24.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "lazy_static", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "strum 0.24.1", ] -[[package]] -name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "thiserror", -] - [[package]] name = "sp-keystore" version = "0.27.0" @@ -11783,8 +11488,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", "thiserror", ] @@ -11797,17 +11502,6 @@ dependencies = [ "zstd 0.12.4", ] -[[package]] -name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "frame-metadata 16.0.0", - "parity-scale-codec", - "scale-info", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] - [[package]] name = "sp-metadata-ir" version = "0.1.0" @@ -11827,9 +11521,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", + "sp-core", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -11838,19 +11532,9 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] @@ -11870,29 +11554,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "rustc-hash", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - -[[package]] -name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core", ] [[package]] @@ -11909,30 +11571,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - -[[package]] -name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "static_assertions", + "sp-weights", ] [[package]] @@ -11944,27 +11588,15 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities", + "sp-runtime-interface-proc-macro", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "Inflector", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.39", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" @@ -11974,7 +11606,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -11984,28 +11616,14 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] - [[package]] name = "sp-staking" version = "4.0.0-dev" @@ -12015,32 +11633,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] -[[package]] -name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "thiserror", - "tracing", - "trie-db", -] - [[package]] name = "sp-state-machine" version = "0.28.0" @@ -12052,11 +11649,11 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", + "sp-panic-handler", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie", "thiserror", "tracing", "trie-db", @@ -12069,18 +11666,18 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "aes-gcm", "curve25519-dalek 4.1.1", - "ed25519-dalek 2.1.0", + "ed25519-dalek", "hkdf", "parity-scale-codec", "rand 0.8.5", "scale-info", "sha2 0.10.8", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", "x25519-dalek 2.0.0", @@ -12092,29 +11689,11 @@ version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" -[[package]] -name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" - [[package]] name = "sp-std" version = "8.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -[[package]] -name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] - [[package]] name = "sp-storage" version = "13.0.0" @@ -12124,7 +11703,7 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-debug-derive", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -12135,24 +11714,12 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] -[[package]] -name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "tracing", - "tracing-core", - "tracing-subscriber 0.2.25", -] - [[package]] name = "sp-tracing" version = "10.0.0" @@ -12170,8 +11737,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-runtime", ] [[package]] @@ -12182,34 +11749,11 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - -[[package]] -name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "ahash 0.8.6", - "hash-db 0.16.0", - "hashbrown 0.13.2", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-info", - "schnellru", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "sp-trie", ] [[package]] @@ -12227,7 +11771,7 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", "tracing", @@ -12235,23 +11779,6 @@ dependencies = [ "trie-root", ] -[[package]] -name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-version-proc-macro 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "thiserror", -] - [[package]] name = "sp-version" version = "22.0.0" @@ -12262,24 +11789,13 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core-hashing-proc-macro", + "sp-runtime", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version-proc-macro 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-version-proc-macro", "thiserror", ] -[[package]] -name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.39", -] - [[package]] name = "sp-version-proc-macro" version = "8.0.0" @@ -12288,20 +11804,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.39", -] - -[[package]] -name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "wasmtime", + "syn 2.0.40", ] [[package]] @@ -12317,21 +11820,6 @@ dependencies = [ "wasmtime", ] -[[package]] -name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] - [[package]] name = "sp-weights" version = "20.0.0" @@ -12341,9 +11829,9 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", + "sp-core", + "sp-debug-derive", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] @@ -12413,7 +11901,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-weights", "xcm-procedural", ] @@ -12563,13 +12051,13 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] name = "substrate-api-client" version = "0.14.0" -source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#567318586932a1c307803de656bed6deccab6540" +source = "git+https://github.com/webb-tools/substrate-api-client?branch=master#87e26eee2b55541d7d23589a085812e85075c320" dependencies = [ "ac-compose-macros", "ac-node-api", @@ -12577,7 +12065,7 @@ dependencies = [ "async-trait", "derive_more", "frame-metadata 15.1.0", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "futures", "hex", "jsonrpsee", @@ -12586,11 +12074,11 @@ dependencies = [ "parity-scale-codec", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", + "sp-runtime-interface", + "sp-storage", + "sp-version", "url", ] @@ -12624,11 +12112,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", ] [[package]] @@ -12674,11 +12162,11 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", "sp-keyring", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-keystore", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -12688,7 +12176,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "array-bytes", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "frame-system", "frame-system-rpc-runtime-api", "log", @@ -12700,26 +12188,26 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", "sp-genesis-builder", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents", + "sp-io", "sp-keyring", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-state-machine", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "sp-transaction-pool", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie", + "sp-version", "substrate-wasm-builder", "trie-db", ] @@ -12733,11 +12221,11 @@ dependencies = [ "sc-block-builder", "sc-client-api", "sc-consensus", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", "substrate-test-client", "substrate-test-runtime", ] @@ -12819,7 +12307,7 @@ dependencies = [ "quote", "scale-info", "subxt-metadata", - "syn 2.0.39", + "syn 2.0.40", "thiserror", "tokio", ] @@ -12850,7 +12338,7 @@ dependencies = [ "darling 0.20.3", "proc-macro-error", "subxt-codegen", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -12929,9 +12417,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.39" +version = "2.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" +checksum = "13fa70a4ee923979ffb522cacce59d34421ebdea5625e1073c4326ef9d2dd42e" dependencies = [ "proc-macro2", "quote", @@ -12998,7 +12486,7 @@ dependencies = [ "cfg-if", "fastrand 2.0.1", "redox_syscall 0.4.1", - "rustix 0.38.26", + "rustix 0.38.28", "windows-sys 0.48.0", ] @@ -13084,7 +12572,7 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -13095,7 +12583,7 @@ checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -13207,9 +12695,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.34.0" +version = "1.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0c014766411e834f7af5b8f4cf46257aab4036ca95e9d2c144a10f59ad6f5b9" +checksum = "841d45b238a16291a4e1584e61820b8ae57d696cc5015c459c229ccc6990cc1c" dependencies = [ "backtrace", "bytes", @@ -13232,7 +12720,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -13241,7 +12729,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.9", + "rustls 0.21.10", "tokio", ] @@ -13449,7 +12937,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -13705,7 +13193,16 @@ version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34085c17941e36627a879208083e25d357243812c30e7d7387c3b954f30ade16" dependencies = [ - "typed-builder-macro", + "typed-builder-macro 0.16.2", +] + +[[package]] +name = "typed-builder" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e47c0496149861b7c95198088cbf36645016b1a0734cf350c50e2a38e070f38a" +dependencies = [ + "typed-builder-macro 0.18.0", ] [[package]] @@ -13716,7 +13213,18 @@ checksum = "f03ca4cb38206e2bef0700092660bb74d696f808514dae47fa1467cbfe26e96e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", +] + +[[package]] +name = "typed-builder-macro" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "982ee4197351b5c9782847ef5ec1fdcaf50503fb19d68f9771adae314e72b492" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.40", ] [[package]] @@ -13970,7 +13478,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", "wasm-bindgen-shared", ] @@ -14004,7 +13512,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -14338,7 +13846,7 @@ dependencies = [ [[package]] name = "webb" version = "0.8.2" -source = "git+https://github.com/webb-tools/webb-rs?branch=fix-ethers-version#3c8d6d2e44009f60e8e6e2d0bb17746ccc31bfac" +source = "git+https://github.com/webb-tools/webb-rs#80a94b3d6ea5b0b60cfc48ffed77f74269a2ef2d" dependencies = [ "async-trait", "ethers", @@ -14357,7 +13865,7 @@ dependencies = [ [[package]] name = "webb-bridge-registry-backends" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "async-trait", "ethereum-types", @@ -14367,7 +13875,7 @@ dependencies = [ "tokio", "typed-builder 0.16.2", "webb", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-config", "webb-relayer-utils", ] @@ -14375,7 +13883,7 @@ dependencies = [ [[package]] name = "webb-chains-info" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "anyhow", "prettyplease 0.2.15", @@ -14383,14 +13891,14 @@ dependencies = [ "quote", "serde", "serde_json", - "syn 2.0.39", + "syn 2.0.40", "toml 0.7.8", ] [[package]] name = "webb-event-watcher-traits" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "async-trait", "backoff", @@ -14401,7 +13909,7 @@ dependencies = [ "tokio", "tracing", "webb", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-config", "webb-relayer-context", "webb-relayer-store", @@ -14411,7 +13919,7 @@ dependencies = [ [[package]] name = "webb-ew-dkg" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "async-trait", "ethereum-types", @@ -14421,7 +13929,7 @@ dependencies = [ "tracing", "webb", "webb-event-watcher-traits", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-config", "webb-relayer-store", "webb-relayer-utils", @@ -14430,7 +13938,7 @@ dependencies = [ [[package]] name = "webb-ew-evm" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "ark-bls12-381 0.3.0", "ark-bn254", @@ -14452,7 +13960,7 @@ dependencies = [ "webb-bridge-registry-backends", "webb-event-watcher-traits", "webb-proposal-signing-backends", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-config", "webb-relayer-store", "webb-relayer-utils", @@ -14461,7 +13969,7 @@ dependencies = [ [[package]] name = "webb-price-oracle-backends" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "async-trait", "chrono", @@ -14475,10 +13983,20 @@ dependencies = [ "webb-relayer-utils", ] +[[package]] +name = "webb-proposal-derive" +version = "0.1.0" +source = "git+https://github.com/webb-tools/webb-rs#80a94b3d6ea5b0b60cfc48ffed77f74269a2ef2d" +dependencies = [ + "ethers-core", + "quote", + "syn 2.0.40", +] + [[package]] name = "webb-proposal-signing-backends" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "async-trait", "ethereum-types", @@ -14492,7 +14010,7 @@ dependencies = [ "tracing", "typed-builder 0.16.2", "webb", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-store", "webb-relayer-types", "webb-relayer-utils", @@ -14503,7 +14021,7 @@ name = "webb-proposals" version = "0.6.0" source = "git+https://github.com/webb-tools/webb-rs?branch=polkadot-sdk-v1.0.0#95c76d58779c273e3754f7626dc4766a3c7fec22" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "hex", "num-traits", "parity-scale-codec", @@ -14515,23 +14033,25 @@ dependencies = [ [[package]] name = "webb-proposals" -version = "0.6.0" -source = "git+https://github.com/webb-tools/webb-rs?rev=a960eaf#a960eaf9611d72786bd4dd96b35f70d151c3d2b8" +version = "0.8.0" +source = "git+https://github.com/webb-tools/webb-rs#80a94b3d6ea5b0b60cfc48ffed77f74269a2ef2d" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "frame-support", "hex", "num-traits", "parity-scale-codec", "scale-info", "serde", + "thiserror", "tiny-keccak", - "typed-builder 0.14.0", + "typed-builder 0.18.0", + "webb-proposal-derive", ] [[package]] name = "webb-relayer" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "axum", "config", @@ -14550,7 +14070,7 @@ dependencies = [ "webb-ew-dkg", "webb-ew-evm", "webb-proposal-signing-backends", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-config", "webb-relayer-context", "webb-relayer-handlers", @@ -14562,7 +14082,7 @@ dependencies = [ [[package]] name = "webb-relayer-config" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "anyhow", "config", @@ -14578,7 +14098,7 @@ dependencies = [ "tracing-subscriber 0.3.18", "url", "webb", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-store", "webb-relayer-types", "webb-relayer-utils", @@ -14587,7 +14107,7 @@ dependencies = [ [[package]] name = "webb-relayer-context" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "http", "native-tls", @@ -14612,8 +14132,8 @@ dependencies = [ "dkg-runtime-primitives", "ethereum-types", "sc-keystore", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-keystore", "tracing", "webb-relayer", "webb-relayer-config", @@ -14632,7 +14152,7 @@ dependencies = [ [[package]] name = "webb-relayer-handler-utils" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "native-tls", "serde", @@ -14645,7 +14165,7 @@ dependencies = [ [[package]] name = "webb-relayer-handlers" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "axum", "axum-client-ip", @@ -14660,7 +14180,7 @@ dependencies = [ "tokio-stream", "tracing", "webb", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-config", "webb-relayer-context", "webb-relayer-handler-utils", @@ -14672,7 +14192,7 @@ dependencies = [ [[package]] name = "webb-relayer-store" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "hex", "parking_lot 0.12.1", @@ -14682,14 +14202,14 @@ dependencies = [ "tempfile", "tracing", "webb", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-utils", ] [[package]] name = "webb-relayer-tx-queue" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "backoff", "ethereum-types", @@ -14710,7 +14230,7 @@ dependencies = [ [[package]] name = "webb-relayer-tx-relay" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "chrono", "ethereum-types", @@ -14723,7 +14243,7 @@ dependencies = [ "webb", "webb-chains-info", "webb-price-oracle-backends", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", "webb-relayer-config", "webb-relayer-context", "webb-relayer-handler-utils", @@ -14734,7 +14254,7 @@ dependencies = [ [[package]] name = "webb-relayer-tx-relay-utils" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "serde", ] @@ -14742,7 +14262,7 @@ dependencies = [ [[package]] name = "webb-relayer-types" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "ethereum-types", "http", @@ -14760,7 +14280,7 @@ dependencies = [ [[package]] name = "webb-relayer-utils" version = "0.5.15-dev" -source = "git+https://github.com/webb-tools/relayer?branch=fix-ethers-version-2.0.10#569886490b34cfbcf90ffe59c68a8fc0bd166f3a" +source = "git+https://github.com/webb-tools/relayer?branch=develop#df5a20bfe3aca2a31110b066fc76eb96a7363fbf" dependencies = [ "ark-std 0.3.0", "async-trait", @@ -14783,7 +14303,7 @@ dependencies = [ "thiserror", "url", "webb", - "webb-proposals 0.6.0 (git+https://github.com/webb-tools/webb-rs?rev=a960eaf)", + "webb-proposals 0.6.0", ] [[package]] @@ -14820,7 +14340,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.26", + "rustix 0.38.28", ] [[package]] @@ -15089,9 +14609,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.5.26" +version = "0.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67b5f0a4e7a27a64c651977932b9dc5667ca7fc31ac44b03ed37a0cf42fdfff" +checksum = "6c830786f7720c2fd27a1a0e27a709dbd3c4d009b56d098fc742d4f4eab91fe2" dependencies = [ "memchr", ] @@ -15202,7 +14722,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -15242,22 +14762,22 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.29" +version = "0.7.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d075cf85bbb114e933343e087b92f2146bac0d55b534cbb8188becf0039948e" +checksum = "306dca4455518f1f31635ec308b6b3e4eb1b11758cefafc782827d0aa7acb5c7" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.29" +version = "0.7.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86cd5ca076997b97ef09d3ad65efe811fa68c9e874cb636ccb211223a813b0c2" +checksum = "be912bf68235a88fbefd1b73415cb218405958d1655b2ece9035a19920bdf6ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] @@ -15277,7 +14797,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.39", + "syn 2.0.40", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d0deae1d4..2e6548cd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -description = "A fresh FRAME-based Substrate runtime, ready for hacking." +description = "Event listening, watching, transacting relayer workspace" authors = ["Webb tools"] license = "Unlicense" publish = false @@ -68,7 +68,7 @@ auto_impl = "1.0.0" itertools = "0.10.3" rstest = "0.12.0" env_logger = "0.9.0" -webb-proposals = { git = "https://github.com/webb-tools/webb-rs", branch="polkadot-sdk-v1.0.0", default-features = false, features = ["scale", "evm", "substrate"] } +webb-proposals = { git = "https://github.com/webb-tools/webb-rs", default-features = false, features = ["scale", "evm", "substrate"] } curv = { package = "curv-kzen", version = "0.10.0", default-features = false } libsecp256k1 = { version = "0.7.1", default-features = false } tracing = "0.1.37" diff --git a/dkg-runtime-primitives/Cargo.toml b/dkg-runtime-primitives/Cargo.toml index 5cb97075c..cc3afbf77 100644 --- a/dkg-runtime-primitives/Cargo.toml +++ b/dkg-runtime-primitives/Cargo.toml @@ -23,7 +23,7 @@ ethereum = { version = "0.14.0", default-features = false, features = [ "with-codec", ] } ethereum-types = { version = "0.14.1", default-features = false } -webb-proposals = { workspace = true, default-features = false, features = ["substrate"] } +webb-proposals = { workspace = true, default-features = false, features = ["scale", "evm"] } sp-api = { workspace = true } sp-io = { workspace = true } @@ -33,10 +33,12 @@ sp-application-crypto = { workspace = true } sp-runtime = { workspace = true } frame-system = { workspace = true } frame-support = { workspace = true } +log = { workspace = true } [features] default = ["std"] std = [ + "log/std", "codec/std", "ethabi/std", "ethereum/std", diff --git a/dkg-runtime-primitives/src/handlers/evm/add_token_to_set.rs b/dkg-runtime-primitives/src/handlers/evm/add_token_to_set.rs deleted file mode 100644 index c7b6119cf..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/add_token_to_set.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::TokenAddProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; TokenAddProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(TokenAddProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/anchor_update.rs b/dkg-runtime-primitives/src/handlers/evm/anchor_update.rs deleted file mode 100644 index 1d9c3e61d..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/anchor_update.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::AnchorUpdateProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; AnchorUpdateProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(AnchorUpdateProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/fee_recipient_update.rs b/dkg-runtime-primitives/src/handlers/evm/fee_recipient_update.rs deleted file mode 100644 index c8043948d..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/fee_recipient_update.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::FeeRecipientUpdateProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; FeeRecipientUpdateProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(FeeRecipientUpdateProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/fee_update.rs b/dkg-runtime-primitives/src/handlers/evm/fee_update.rs deleted file mode 100644 index 2ed2e8620..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/fee_update.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::WrappingFeeUpdateProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; WrappingFeeUpdateProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(WrappingFeeUpdateProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/max_deposit_limit_update.rs b/dkg-runtime-primitives/src/handlers/evm/max_deposit_limit_update.rs deleted file mode 100644 index 755a7d79f..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/max_deposit_limit_update.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::MaxDepositLimitProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; MaxDepositLimitProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(MaxDepositLimitProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/min_withdrawal_limit_update.rs b/dkg-runtime-primitives/src/handlers/evm/min_withdrawal_limit_update.rs deleted file mode 100644 index ce14fcec6..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/min_withdrawal_limit_update.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::MinWithdrawalLimitProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; MinWithdrawalLimitProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(MinWithdrawalLimitProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/mod.rs b/dkg-runtime-primitives/src/handlers/evm/mod.rs index 84bb71f35..4f7314b73 100644 --- a/dkg-runtime-primitives/src/handlers/evm/mod.rs +++ b/dkg-runtime-primitives/src/handlers/evm/mod.rs @@ -12,29 +12,59 @@ // See the License for the specific language governing permissions and // limitations under the License. -/// Bridge proposals +/// Governor proposals pub mod refresh; -pub mod resource_id_update; -/// Anchor proposals -pub mod anchor_update; -pub mod set_verifier; - -/// Token update proposals -pub mod add_token_to_set; -pub mod fee_update; -pub mod remove_token_from_set; +/// EVM tx +pub mod evm_tx; -/// Treasury Proposals -pub mod fee_recipient_update; -pub mod set_treasury_handler; +use webb_proposals::evm::*; -/// Rescue tokens -pub mod rescue_tokens; +/// Macro for creating modules with proposal creation functions +macro_rules! proposal_module { + ($mod_name:ident, $proposal_type:ty, $proposal_length:expr) => { + pub mod $mod_name { + use super::*; + use crate::handlers::validate_proposals::ValidationError; + use codec::alloc::string::ToString; + use webb_proposals::from_slice; -/// fees & limits -pub mod max_deposit_limit_update; -pub mod min_withdrawal_limit_update; + pub fn create(data: &[u8]) -> Result<$proposal_type, ValidationError> { + let bytes: [u8; $proposal_length] = + data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; + from_slice::<$proposal_type>(&bytes).map_err(|e| { + log::error!("Error while decoding proposal: {:?}", e); + ValidationError::InvalidDecoding(e.to_string()) + }) + } + } + }; +} -/// EVM tx -pub mod evm_tx; +proposal_module!(add_token_to_set, TokenAddProposal, TokenAddProposal::LENGTH); +proposal_module!(remove_token_from_set, TokenRemoveProposal, TokenRemoveProposal::LENGTH); +proposal_module!(fee_update, WrappingFeeUpdateProposal, WrappingFeeUpdateProposal::LENGTH); +proposal_module!( + fee_recipient_update, + FeeRecipientUpdateProposal, + FeeRecipientUpdateProposal::LENGTH +); +proposal_module!( + max_deposit_limit_update, + MaxDepositLimitProposal, + MaxDepositLimitProposal::LENGTH +); +proposal_module!( + min_withdrawal_limit_update, + MinWithdrawalLimitProposal, + MinWithdrawalLimitProposal::LENGTH +); +proposal_module!(rescue_tokens, RescueTokensProposal, RescueTokensProposal::LENGTH); +proposal_module!(anchor_update, AnchorUpdateProposal, AnchorUpdateProposal::LENGTH); +proposal_module!(resource_id_update, ResourceIdUpdateProposal, ResourceIdUpdateProposal::LENGTH); +proposal_module!( + set_treasury_handler, + SetTreasuryHandlerProposal, + SetTreasuryHandlerProposal::LENGTH +); +proposal_module!(set_verifier, SetVerifierProposal, SetVerifierProposal::LENGTH); diff --git a/dkg-runtime-primitives/src/handlers/evm/remove_token_from_set.rs b/dkg-runtime-primitives/src/handlers/evm/remove_token_from_set.rs deleted file mode 100644 index b72380af5..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/remove_token_from_set.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::TokenRemoveProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; TokenRemoveProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(TokenRemoveProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/rescue_tokens.rs b/dkg-runtime-primitives/src/handlers/evm/rescue_tokens.rs deleted file mode 100644 index 5d21f93cb..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/rescue_tokens.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::RescueTokensProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; RescueTokensProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(RescueTokensProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/resource_id_update.rs b/dkg-runtime-primitives/src/handlers/evm/resource_id_update.rs deleted file mode 100644 index e50b470e3..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/resource_id_update.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::ResourceIdUpdateProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; ResourceIdUpdateProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(ResourceIdUpdateProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/set_treasury_handler.rs b/dkg-runtime-primitives/src/handlers/evm/set_treasury_handler.rs deleted file mode 100644 index 9c4c46018..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/set_treasury_handler.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::SetTreasuryHandlerProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; SetTreasuryHandlerProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(SetTreasuryHandlerProposal::from(bytes)) -} diff --git a/dkg-runtime-primitives/src/handlers/evm/set_verifier.rs b/dkg-runtime-primitives/src/handlers/evm/set_verifier.rs deleted file mode 100644 index 7a3b7c918..000000000 --- a/dkg-runtime-primitives/src/handlers/evm/set_verifier.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2022 Webb Technologies Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use webb_proposals::evm::SetVerifierProposal; - -use crate::handlers::validate_proposals::ValidationError; - -pub fn create(data: &[u8]) -> Result { - let bytes: [u8; SetVerifierProposal::LENGTH] = - data.try_into().map_err(|_| ValidationError::InvalidProposalBytesLength)?; - Ok(SetVerifierProposal::from(bytes)) -} diff --git a/pallets/bridge-registry/Cargo.toml b/pallets/bridge-registry/Cargo.toml index 5ed435822..450dbeab6 100644 --- a/pallets/bridge-registry/Cargo.toml +++ b/pallets/bridge-registry/Cargo.toml @@ -21,7 +21,7 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } serde = { workspace = true } hex = { workspace = true } - +log = { workspace = true } dkg-runtime-primitives = { workspace = true, default-features = false } frame-benchmarking = { workspace = true, optional = true } pallet-identity = { workspace = true } diff --git a/pallets/bridge-registry/src/lib.rs b/pallets/bridge-registry/src/lib.rs index 46dda8a84..23ff1c55e 100644 --- a/pallets/bridge-registry/src/lib.rs +++ b/pallets/bridge-registry/src/lib.rs @@ -50,6 +50,7 @@ mod benchmarking; pub mod types; mod weights; +use sp_runtime::BoundedVec; use weights::WeightInfo; use types::*; @@ -57,10 +58,9 @@ use types::*; use sp_std::{convert::TryInto, prelude::*, vec}; use frame_support::pallet_prelude::{ensure, DispatchError}; -use sp_runtime::traits::{AtLeast32Bit, One, Zero}; -use webb_proposals::{evm::AnchorUpdateProposal, Proposal, ProposalKind, ResourceId}; - pub use pallet::*; +use sp_runtime::traits::{AtLeast32Bit, One, Zero}; +use webb_proposals::{evm::AnchorUpdateProposal, from_slice, Proposal, ProposalKind, ResourceId}; #[frame_support::pallet] pub mod pallet { @@ -256,7 +256,10 @@ impl OnSignedProposal for Pallet { let data = proposal.data(); let mut buf = [0u8; AnchorUpdateProposal::LENGTH]; buf.clone_from_slice(data.as_slice()); - let anchor_update_proposal = AnchorUpdateProposal::from(buf); + let anchor_update_proposal = from_slice::(&buf).map_err(|e| { + log::error!("Error while decoding proposal: {:?}", e); + Error::::VerifyError + })?; // Get the source and target resource IDs to check existence of let src_resource_id = anchor_update_proposal.src_resource_id(); let dest_resource_id = anchor_update_proposal.header().resource_id(); @@ -283,12 +286,10 @@ impl OnSignedProposal for Pallet { // Assign the bridge index to the destination resource ResourceToBridgeIndex::::insert(dest_resource_id, next_bridge_index); // Create the bridge record - let bridge_metadata = BridgeMetadata { - info: Default::default(), - resource_ids: vec![src_resource_id, dest_resource_id] - .try_into() - .map_err(|_| Error::::OutOfBounds)?, - }; + let mut resource_ids = BoundedVec::new(); + resource_ids.try_push(*src_resource_id).map_err(|_| Error::::OutOfBounds)?; + resource_ids.try_push(dest_resource_id).map_err(|_| Error::::OutOfBounds)?; + let bridge_metadata = BridgeMetadata { info: Default::default(), resource_ids }; Bridges::::insert(next_bridge_index, bridge_metadata); // Increment the next bridge index NextBridgeIndex::::mutate(|next_bridge_index| { @@ -299,14 +300,14 @@ impl OnSignedProposal for Pallet { let (r_id, bridge_index) = if src_bridge_index == T::BridgeIndex::zero() { (src_resource_id, dest_bridge_index) } else { - (dest_resource_id, src_bridge_index) + (&dest_resource_id, src_bridge_index) }; ResourceToBridgeIndex::::insert(r_id, bridge_index); let mut metadata = Bridges::::get(bridge_index).ok_or(Error::::BridgeNotFound)?; metadata .resource_ids - .try_push(r_id) + .try_push(*r_id) .map_err(|_| Error::::TooManyResources)?; Bridges::::insert(bridge_index, metadata); } diff --git a/pallets/bridge-registry/src/tests.rs b/pallets/bridge-registry/src/tests.rs index eaf7252b3..cf3f02827 100644 --- a/pallets/bridge-registry/src/tests.rs +++ b/pallets/bridge-registry/src/tests.rs @@ -1,7 +1,7 @@ #![allow(clippy::unwrap_used)] use super::*; use crate::mock::*; -use frame_support::{assert_err, assert_ok, bounded_vec, BoundedVec}; +use frame_support::{assert_err, assert_ok, BoundedVec}; use std::convert::TryFrom; use webb_proposals::{self, evm, FunctionSignature, Nonce, ProposalHeader}; @@ -30,9 +30,11 @@ fn should_handle_signed_evm_anchor_update_proposals() { [1u8; 32], src_resource_id, ); + let data = webb_proposals::to_vec(&proposal).unwrap(); + let bounded_data = BoundedVec::try_from(data).unwrap(); let signed_proposal = Proposal::Signed { kind: ProposalKind::AnchorUpdate, - data: proposal.into_bytes().to_vec().try_into().unwrap(), + data: bounded_data, signature: vec![].try_into().unwrap(), }; // Handle signed proposal @@ -40,12 +42,11 @@ fn should_handle_signed_evm_anchor_update_proposals() { // Verify the storage system updates correctly assert_eq!(ResourceToBridgeIndex::::get(target_resource_id), Some(1)); assert_eq!(ResourceToBridgeIndex::::get(src_resource_id), Some(1)); + let bounded_resource_ids = + BoundedVec::try_from(vec![target_resource_id, src_resource_id]).unwrap(); assert_eq!( Bridges::::get(1).unwrap(), - BridgeMetadata { - resource_ids: bounded_vec![src_resource_id, target_resource_id], - info: Default::default() - } + BridgeMetadata { resource_ids: bounded_resource_ids, info: Default::default() } ); assert_eq!(NextBridgeIndex::::get(), 2); }); @@ -71,9 +72,11 @@ fn should_handle_multiple_signed_evm_anchor_update_proposals() { [1u8; 32], src_resource_id, ); + let data = webb_proposals::to_vec(&proposal).unwrap(); + let bounded_data = BoundedVec::try_from(data).unwrap(); let signed_proposal = Proposal::Signed { kind: ProposalKind::AnchorUpdate, - data: proposal.into_bytes().to_vec().try_into().unwrap(), + data: bounded_data, signature: vec![].try_into().unwrap(), }; assert_ok!(BridgeRegistry::on_signed_proposal(signed_proposal)); @@ -108,9 +111,11 @@ fn should_fail_to_link_resources_from_different_bridges() { [1u8; 32], target_resource_id, ); + let data = webb_proposals::to_vec(&src_dummy_proposal).unwrap(); + let bounded_data = BoundedVec::try_from(data).unwrap(); assert_ok!(BridgeRegistry::on_signed_proposal(Proposal::Signed { kind: ProposalKind::AnchorUpdate, - data: src_dummy_proposal.into_bytes().to_vec().try_into().unwrap(), + data: bounded_data, signature: vec![].try_into().unwrap(), })); assert_eq!(NextBridgeIndex::::get(), 2); @@ -127,9 +132,11 @@ fn should_fail_to_link_resources_from_different_bridges() { [1u8; 32], src_resource_id, ); + let data = webb_proposals::to_vec(&dest_dummy_proposal).unwrap(); + let bounded_data = BoundedVec::try_from(data).unwrap(); assert_ok!(BridgeRegistry::on_signed_proposal(Proposal::Signed { kind: ProposalKind::AnchorUpdate, - data: dest_dummy_proposal.into_bytes().to_vec().try_into().unwrap(), + data: bounded_data, signature: vec![].try_into().unwrap(), })); assert_eq!(NextBridgeIndex::::get(), 3); @@ -141,10 +148,12 @@ fn should_fail_to_link_resources_from_different_bridges() { src_resource_id, ); + let data = webb_proposals::to_vec(&bad_proposal).unwrap(); + let bounded_data = BoundedVec::try_from(data).unwrap(); assert_err!( BridgeRegistry::on_signed_proposal(Proposal::Signed { kind: ProposalKind::AnchorUpdate, - data: bad_proposal.into_bytes().to_vec().try_into().unwrap(), + data: bounded_data, signature: vec![].try_into().unwrap(), }), Error::::BridgeIndexError diff --git a/pallets/dkg-metadata/Cargo.toml b/pallets/dkg-metadata/Cargo.toml index 55648288a..b6e31a07a 100644 --- a/pallets/dkg-metadata/Cargo.toml +++ b/pallets/dkg-metadata/Cargo.toml @@ -46,6 +46,8 @@ std = [ "codec/std", "hex/std", "scale-info/std", + "sp-io/std", + "sp-runtime/std", "sp-std/std", "log/std", "sp-runtime/std", diff --git a/pallets/dkg-metadata/src/mock.rs b/pallets/dkg-metadata/src/mock.rs index 76e31e733..8f602e884 100644 --- a/pallets/dkg-metadata/src/mock.rs +++ b/pallets/dkg-metadata/src/mock.rs @@ -15,14 +15,13 @@ // construct_runtime requires this #![allow(clippy::from_over_into, clippy::unwrap_used)] use codec::{Decode, Encode, MaxEncodedLen}; -use frame_support::{ - construct_runtime, parameter_types, sp_io::TestExternalities, BasicExternalities, -}; +use frame_support::{construct_runtime, parameter_types, BasicExternalities}; use frame_system::EnsureRoot; use sp_core::{ sr25519::{self, Signature}, H256, }; +use sp_io::TestExternalities; use sp_keystore::{testing::MemoryKeystore, KeystoreExt, KeystorePtr}; use sp_runtime::{ app_crypto::ecdsa::Public, diff --git a/pallets/dkg-proposal-handler/src/lib.rs b/pallets/dkg-proposal-handler/src/lib.rs index fb684b38b..810ccee47 100644 --- a/pallets/dkg-proposal-handler/src/lib.rs +++ b/pallets/dkg-proposal-handler/src/lib.rs @@ -462,7 +462,7 @@ pub mod pallet { let data = prop_batch.data(); // check the signature is valid - let result = ensure_signed_by_dkg::>( + let _result = ensure_signed_by_dkg::>( &prop_batch.signature, &data, ); diff --git a/pallets/dkg-proposal-handler/src/tests.rs b/pallets/dkg-proposal-handler/src/tests.rs index 3b816ae03..5224009fa 100644 --- a/pallets/dkg-proposal-handler/src/tests.rs +++ b/pallets/dkg-proposal-handler/src/tests.rs @@ -17,9 +17,8 @@ use super::mock::DKGProposalHandler; use crate::{mock::*, Error, SignedProposalBatchOf}; use codec::Encode; use dkg_runtime_primitives::{ - keccak_256, offchain::storage_keys::OFFCHAIN_SIGNED_PROPOSALS, utils::ecdsa, - AggregatedPublicKeys, MaxProposalLength, MisbehaviourType, ProposalHandlerTrait, - ProposalHeader, TransactionV2, TypedChainId, KEY_TYPE, + keccak_256, offchain::storage_keys::OFFCHAIN_SIGNED_PROPOSALS, utils::ecdsa, MaxProposalLength, + ProposalHandlerTrait, ProposalHeader, TransactionV2, TypedChainId, KEY_TYPE, }; use frame_support::{ assert_err, assert_noop, assert_ok, @@ -33,7 +32,6 @@ use sp_io::crypto::{ecdsa_generate, ecdsa_sign_prehashed}; use sp_runtime::{ app_crypto::ecdsa::Public, offchain::storage::{MutateStorageError, StorageRetrievalError, StorageValueRef}, - RuntimeAppPublic, }; use sp_std::vec::Vec; use webb_proposals::{Proposal, ProposalKind}; @@ -56,10 +54,10 @@ pub fn mock_signed_refresh_proposal_batch( let data_ser = data_to_sign.data(); let hash = keccak_256(&data_ser); - let sig = mock_sign_msg(&hash).unwrap().unwrap(); + let _sig = mock_sign_msg(&hash).unwrap().unwrap(); - let mut sig_vec: Vec = Vec::new(); - let signature = ecdsa_sign_prehashed(KEY_TYPE, &pub_key, &hash).unwrap(); + let sig_vec: Vec = Vec::new(); + let _signature = ecdsa_sign_prehashed(KEY_TYPE, &pub_key, &hash).unwrap(); SignedProposalBatchOf:: { proposals: vec![unsigned_proposal].try_into().unwrap(), diff --git a/relayer-gadget/Cargo.toml b/relayer-gadget/Cargo.toml index 2438258a6..1e8afc01d 100644 --- a/relayer-gadget/Cargo.toml +++ b/relayer-gadget/Cargo.toml @@ -17,11 +17,11 @@ sp-keystore = { workspace = true } sc-keystore = { workspace = true } # Relayer -webb-relayer = { git = "https://github.com/webb-tools/relayer", branch = "fix-ethers-version-2.0.10" } -webb-relayer-context = { git = "https://github.com/webb-tools/relayer", branch = "fix-ethers-version-2.0.10" } -webb-relayer-config = { git = "https://github.com/webb-tools/relayer", branch = "fix-ethers-version-2.0.10" } -webb-relayer-store = { git = "https://github.com/webb-tools/relayer", branch = "fix-ethers-version-2.0.10" } -webb-relayer-types = { git = "https://github.com/webb-tools/relayer", branch = "fix-ethers-version-2.0.10" } +webb-relayer = { git = "https://github.com/webb-tools/relayer", branch = "develop" } +webb-relayer-context = { git = "https://github.com/webb-tools/relayer", branch = "develop" } +webb-relayer-config = { git = "https://github.com/webb-tools/relayer", branch = "develop" } +webb-relayer-store = { git = "https://github.com/webb-tools/relayer", branch = "develop" } +webb-relayer-types = { git = "https://github.com/webb-tools/relayer", branch = "develop" } # DKG dkg-runtime-primitives = { workspace = true } diff --git a/standalone/runtime/src/lib.rs b/standalone/runtime/src/lib.rs index d05f49fb2..4107db553 100644 --- a/standalone/runtime/src/lib.rs +++ b/standalone/runtime/src/lib.rs @@ -31,7 +31,7 @@ use frame_election_provider_support::{ use frame_election_provider_support::{onchain, SequentialPhragmen, VoteWeight}; use frame_support::{ - traits::{ConstBool, ConstU16, ConstU32, Everything}, + traits::{ConstBool, ConstU32, Everything}, weights::{constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier}, }; #[cfg(any(feature = "std", test))] From 196d9ec60aa866cdac78627e1272adc1325b4536 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Tue, 12 Dec 2023 00:38:52 -0700 Subject: [PATCH 2/4] Fix tests build --- Cargo.lock | 1 + pallets/dkg-metadata/Cargo.toml | 1 + pallets/dkg-metadata/src/mock.rs | 3 ++- pallets/dkg-proposal-handler/src/lib.rs | 6 +----- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 55f58f456..399eb3f37 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7194,6 +7194,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", + "sp-state-machine", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "webb-proposals 0.8.0", ] diff --git a/pallets/dkg-metadata/Cargo.toml b/pallets/dkg-metadata/Cargo.toml index b6e31a07a..22cc712b3 100644 --- a/pallets/dkg-metadata/Cargo.toml +++ b/pallets/dkg-metadata/Cargo.toml @@ -37,6 +37,7 @@ sp-core = { workspace = true } sp-io = { workspace = true } sp-staking = { workspace = true } sp-keystore = { workspace = true } +sp-state-machine = { workspace = true } k256 = { version = "0.11.5", default-features = false, features = ["arithmetic", "ecdsa"] } [features] diff --git a/pallets/dkg-metadata/src/mock.rs b/pallets/dkg-metadata/src/mock.rs index 8f602e884..16d966658 100644 --- a/pallets/dkg-metadata/src/mock.rs +++ b/pallets/dkg-metadata/src/mock.rs @@ -15,7 +15,7 @@ // construct_runtime requires this #![allow(clippy::from_over_into, clippy::unwrap_used)] use codec::{Decode, Encode, MaxEncodedLen}; -use frame_support::{construct_runtime, parameter_types, BasicExternalities}; +use frame_support::{construct_runtime, parameter_types}; use frame_system::EnsureRoot; use sp_core::{ sr25519::{self, Signature}, @@ -33,6 +33,7 @@ use sp_runtime::{ }, BuildStorage, Percent, Permill, }; +use sp_state_machine::BasicExternalities; use std::{sync::Arc, vec}; use crate as pallet_dkg_metadata; diff --git a/pallets/dkg-proposal-handler/src/lib.rs b/pallets/dkg-proposal-handler/src/lib.rs index 810ccee47..2a54549bc 100644 --- a/pallets/dkg-proposal-handler/src/lib.rs +++ b/pallets/dkg-proposal-handler/src/lib.rs @@ -462,15 +462,11 @@ pub mod pallet { let data = prop_batch.data(); // check the signature is valid - let _result = ensure_signed_by_dkg::>( + let result = ensure_signed_by_dkg::>( &prop_batch.signature, &data, ); - // Accept all signatures to make testing easier - #[cfg(test)] - let result: Result<(), dkg_runtime_primitives::utils::SignatureError> = Ok(()); - match result { Ok(_) => { // Do nothing, it is all good. From 9bf1a76cf57d118482ed71b97f4195da17bacc2a Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Tue, 12 Dec 2023 00:54:49 -0700 Subject: [PATCH 3/4] Fix test --- dkg-gadget/src/gossip_engine/network.rs | 2 +- pallets/bridge-registry/src/tests.rs | 2 +- pallets/dkg-proposal-handler/src/lib.rs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dkg-gadget/src/gossip_engine/network.rs b/dkg-gadget/src/gossip_engine/network.rs index 9f7942755..d36efb79f 100644 --- a/dkg-gadget/src/gossip_engine/network.rs +++ b/dkg-gadget/src/gossip_engine/network.rs @@ -406,7 +406,7 @@ impl GossipHandler { } }, SyncEvent::PeerDisconnected(remote) => { - self.service.remove_peers_from_reserved_set( + let _ = self.service.remove_peers_from_reserved_set( self.protocol_name.clone(), iter::once(remote).collect(), ); diff --git a/pallets/bridge-registry/src/tests.rs b/pallets/bridge-registry/src/tests.rs index cf3f02827..23d91f36d 100644 --- a/pallets/bridge-registry/src/tests.rs +++ b/pallets/bridge-registry/src/tests.rs @@ -43,7 +43,7 @@ fn should_handle_signed_evm_anchor_update_proposals() { assert_eq!(ResourceToBridgeIndex::::get(target_resource_id), Some(1)); assert_eq!(ResourceToBridgeIndex::::get(src_resource_id), Some(1)); let bounded_resource_ids = - BoundedVec::try_from(vec![target_resource_id, src_resource_id]).unwrap(); + BoundedVec::try_from(vec![src_resource_id, target_resource_id]).unwrap(); assert_eq!( Bridges::::get(1).unwrap(), BridgeMetadata { resource_ids: bounded_resource_ids, info: Default::default() } diff --git a/pallets/dkg-proposal-handler/src/lib.rs b/pallets/dkg-proposal-handler/src/lib.rs index 2a54549bc..fb684b38b 100644 --- a/pallets/dkg-proposal-handler/src/lib.rs +++ b/pallets/dkg-proposal-handler/src/lib.rs @@ -467,6 +467,10 @@ pub mod pallet { &data, ); + // Accept all signatures to make testing easier + #[cfg(test)] + let result: Result<(), dkg_runtime_primitives::utils::SignatureError> = Ok(()); + match result { Ok(_) => { // Do nothing, it is all good. From 25a7d91a6100b64cff78ed14888d30ccc18d6fd1 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Tue, 12 Dec 2023 00:57:04 -0700 Subject: [PATCH 4/4] Fix --- pallets/dkg-proposal-handler/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/dkg-proposal-handler/src/lib.rs b/pallets/dkg-proposal-handler/src/lib.rs index fb684b38b..375b86cf6 100644 --- a/pallets/dkg-proposal-handler/src/lib.rs +++ b/pallets/dkg-proposal-handler/src/lib.rs @@ -462,6 +462,7 @@ pub mod pallet { let data = prop_batch.data(); // check the signature is valid + #[cfg(not(test))] let result = ensure_signed_by_dkg::>( &prop_batch.signature, &data,