From 7907069f9a682165ada774baf7dd927ceb3e1df8 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 12 Dec 2023 09:58:21 -0300 Subject: [PATCH 01/89] first changes --- Cargo.lock | 60 ++++++++++++++++++++++++++++++++------------------ Cargo.toml | 12 +++++----- rust-toolchain | 7 +++--- 3 files changed, 48 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9321c585a..d4a25cdd0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -278,7 +278,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "staking", "stellar-relay", "substrate-wasm-builder", @@ -2078,7 +2078,7 @@ dependencies = [ "serde", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", ] [[package]] @@ -2871,7 +2871,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "staking", ] @@ -3096,7 +3096,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "staking", "stellar-relay", "substrate-wasm-builder", @@ -4183,7 +4183,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "stellar-relay", "vault-registry", ] @@ -5467,7 +5467,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-runtime", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", ] [[package]] @@ -5480,7 +5480,7 @@ dependencies = [ "serde", "sp-api", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", ] [[package]] @@ -5873,7 +5873,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "staking", "vault-registry", ] @@ -6040,7 +6040,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "spin 0.9.8", "staking", ] @@ -6198,7 +6198,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36)", ] [[package]] @@ -7744,7 +7744,7 @@ dependencies = [ "sp-session", "sp-timestamp", "sp-transaction-pool", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -7831,7 +7831,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "substrate-wasm-builder", "vesting-manager", "xcm", @@ -9178,7 +9178,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", ] [[package]] @@ -9632,7 +9632,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "stellar-relay", "vault-registry", ] @@ -9796,7 +9796,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "stellar-relay", "vault-registry", ] @@ -9827,7 +9827,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", ] [[package]] @@ -9855,7 +9855,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "staking", ] @@ -10073,7 +10073,7 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "xcm", "zenlink-protocol", ] @@ -12658,6 +12658,24 @@ dependencies = [ "substrate-stellar-sdk", ] +[[package]] +name = "spacewalk-primitives" +version = "1.0.0" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36#d05b0015d15ca39cc780889bcc095335e9862a36" +dependencies = [ + "base58", + "bstringify", + "frame-support", + "hex", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", + "substrate-stellar-sdk", +] + [[package]] name = "spacewalk-primitives" version = "1.2.0" @@ -12738,7 +12756,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", ] [[package]] @@ -12942,7 +12960,7 @@ dependencies = [ "sha2 0.10.7", "sp-core", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", ] [[package]] @@ -13935,7 +13953,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", "staking", ] diff --git a/Cargo.toml b/Cargo.toml index 5900a4897..cfe941f1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,15 +22,15 @@ members = [ # need this because of bifrost farming dependency in runtime # bifrost farming uses different orml-traits for orml-currencies [patch."https://github.com/open-web3-stack/open-runtime-module-library"] -orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.40" } +orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } # need this because of bifrost farming dependency in runtime # bifrost uses : # orml packages { version = "0.4.1-dev" } # zenlink packages { version = "*" } [patch.crates-io] -orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.40" } -orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.40" } -orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.40" } -zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.40-protocol" } -zenlink-protocol-runtime-api = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.40-protocol" } +orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } +orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } +orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } +zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } +zenlink-protocol-runtime-api = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } diff --git a/rust-toolchain b/rust-toolchain index 6848f879a..2af80dc26 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,4 @@ [toolchain] -channel = "nightly-2022-12-12" -components = [ "rustfmt", "clippy" ] -targets = [ "wasm32-unknown-unknown" ] -profile = "minimal" \ No newline at end of file +channel = "nightly-2023-04-15" +components = ["rustfmt", "clippy"] +targets = ["wasm32-unknown-unknown"] From 6b21cc9cc2107072a3fd7fe3ef92b07050501d90 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 12 Dec 2023 18:28:36 -0300 Subject: [PATCH 02/89] wip updating modified pallet configs --- Cargo.lock | 1589 ++++++++++------- Cargo.toml | 4 +- node/Cargo.toml | 124 +- .../Cargo.toml | 26 +- .../src/mock.rs | 4 + .../Cargo.toml | 26 +- .../src/mock.rs | 4 + pallets/parachain-staking/Cargo.toml | 30 +- pallets/parachain-staking/rpc/Cargo.toml | 8 +- .../rpc/runtime-api/Cargo.toml | 8 +- pallets/parachain-staking/src/mock.rs | 6 +- pallets/vesting-manager/Cargo.toml | 14 +- runtime/amplitude/Cargo.toml | 178 +- runtime/amplitude/src/lib.rs | 19 +- runtime/common/Cargo.toml | 26 +- runtime/common/src/chain_ext.rs | 31 +- runtime/development/Cargo.toml | 90 +- runtime/development/src/lib.rs | 14 +- runtime/development/src/xcm_config.rs | 4 +- runtime/foucoco/Cargo.toml | 180 +- runtime/foucoco/src/lib.rs | 9 +- runtime/integration-tests/Cargo.toml | 72 +- runtime/pendulum/Cargo.toml | 138 +- runtime/pendulum/src/lib.rs | 25 +- 24 files changed, 1527 insertions(+), 1102 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d4a25cdd0..77ea5f14d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -212,7 +212,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.3.4", "issue", "log", "module-issue-rpc-runtime-api", @@ -225,7 +225,7 @@ dependencies = [ "oracle", "orml-asset-registry", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "orml-xtokens", "pallet-aura", @@ -278,7 +278,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "staking", "stellar-relay", "substrate-wasm-builder", @@ -497,11 +497,15 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "assets-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ + "cumulus-primitives-core", "frame-support", + "log", + "pallet-xcm", "parachains-common", "parity-scale-codec", + "scale-info", "sp-api", "sp-std", "substrate-wasm-builder", @@ -550,6 +554,17 @@ dependencies = [ "event-listener", ] +[[package]] +name = "async-recursion" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "async-trait" version = "0.1.72" @@ -624,6 +639,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + [[package]] name = "base58" version = "0.2.0" @@ -660,14 +681,17 @@ dependencies = [ [[package]] name = "bifrost-farming" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=polkadot-v0.9.40-farming-add-currencyid-generic#5e93473c124ebf22fb8d2ef0cd640797a6e9a8ba" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" dependencies = [ + "bifrost-ve-minting", "frame-benchmarking", "frame-support", "frame-system", - "hex-literal", + "hex-literal 0.3.4", + "log", "node-primitives", "orml-traits", + "pallet-balances", "parity-scale-codec", "scale-info", "sp-arithmetic", @@ -679,7 +703,7 @@ dependencies = [ [[package]] name = "bifrost-farming-rpc-api" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=polkadot-v0.9.40-farming-add-currencyid-generic#5e93473c124ebf22fb8d2ef0cd640797a6e9a8ba" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" dependencies = [ "bifrost-farming-rpc-runtime-api", "jsonrpsee", @@ -696,7 +720,7 @@ dependencies = [ [[package]] name = "bifrost-farming-rpc-runtime-api" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=polkadot-v0.9.40-farming-add-currencyid-generic#5e93473c124ebf22fb8d2ef0cd640797a6e9a8ba" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" dependencies = [ "node-primitives", "parity-scale-codec", @@ -704,10 +728,31 @@ dependencies = [ "sp-std", ] +[[package]] +name = "bifrost-ve-minting" +version = "0.8.0" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "hex-literal 0.3.4", + "log", + "node-primitives", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", + "xcm", +] + [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "hash-db", "log", @@ -1192,8 +1237,8 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clients-info" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "frame-system", @@ -1254,6 +1299,19 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "console" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +dependencies = [ + "encode_unicode", + "lazy_static", + "libc", + "unicode-width", + "windows-sys 0.45.0", +] + [[package]] name = "const-oid" version = "0.9.4" @@ -1525,6 +1583,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -1577,7 +1647,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "clap", "parity-scale-codec", @@ -1592,7 +1662,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1615,7 +1685,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1644,7 +1714,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1668,7 +1738,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1691,7 +1761,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1715,7 +1785,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1750,7 +1820,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "frame-support", "frame-system", @@ -1766,7 +1836,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1783,7 +1853,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1812,18 +1882,18 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "frame-benchmarking", "frame-support", @@ -1837,7 +1907,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1853,7 +1923,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1874,12 +1944,13 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain", "polkadot-primitives", + "scale-info", "sp-api", "sp-runtime", "sp-std", @@ -1890,7 +1961,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1913,7 +1984,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", "futures", @@ -1926,7 +1997,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1944,7 +2015,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1969,7 +2040,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1987,7 +2058,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "array-bytes 6.1.0", "async-trait", @@ -1996,19 +2067,23 @@ dependencies = [ "cumulus-relay-chain-rpc-interface", "futures", "lru 0.9.0", + "polkadot-availability-recovery", + "polkadot-collator-protocol", "polkadot-core-primitives", "polkadot-network-bridge", + "polkadot-node-collation-generation", + "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "polkadot-service", "sc-authority-discovery", "sc-client-api", "sc-network", "sc-network-common", "sc-service", "sc-tracing", + "sc-utils", "sp-api", "sp-blockchain", "sp-consensus", @@ -2021,7 +2096,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2051,7 +2126,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2063,13 +2138,13 @@ dependencies = [ [[package]] name = "currency" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "frame-system", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "pallet-transaction-payment", @@ -2078,7 +2153,7 @@ dependencies = [ "serde", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", ] [[package]] @@ -2237,6 +2312,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +dependencies = [ + "const-oid", + "zeroize", +] + [[package]] name = "der-parser" version = "7.0.0" @@ -2357,7 +2442,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.3.4", "log", "pallet-aura", "pallet-authorship", @@ -2398,7 +2483,7 @@ dependencies = [ [[package]] name = "dia-oracle" version = "0.1.0" -source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.40#1b20de934fd5814f47a0dc88840c3a04c90c75c4" +source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "frame-benchmarking", "frame-support", @@ -2416,7 +2501,7 @@ dependencies = [ [[package]] name = "dia-oracle-runtime-api" version = "0.1.0" -source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.40#1b20de934fd5814f47a0dc88840c3a04c90c75c4" +source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "dia-oracle", "frame-support", @@ -2455,6 +2540,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -2562,10 +2648,24 @@ version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ - "der", - "elliptic-curve", - "rfc6979", - "signature", + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der 0.7.8", + "digest 0.10.7", + "elliptic-curve 0.13.7", + "rfc6979 0.4.0", + "signature 2.2.0", + "spki 0.7.3", ] [[package]] @@ -2574,7 +2674,7 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" dependencies = [ - "signature", + "signature 1.6.4", ] [[package]] @@ -2617,22 +2717,47 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ - "base16ct", - "crypto-bigint", - "der", + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", "digest 0.10.7", - "ff", + "ff 0.12.1", "generic-array 0.14.7", - "group", + "group 0.12.1", "hkdf", "pem-rfc7468", - "pkcs8", + "pkcs8 0.9.0", "rand_core 0.6.4", - "sec1", + "sec1 0.3.0", "subtle", "zeroize", ] +[[package]] +name = "elliptic-curve" +version = "0.13.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9775b22bc152ad86a0cf23f0f348b884b26add12bf741e7ffc4d4ab2ab4d205" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.5", + "digest 0.10.7", + "ff 0.13.0", + "generic-array 0.14.7", + "group 0.13.0", + "pkcs8 0.10.2", + "rand_core 0.6.4", + "sec1 0.7.3", + "subtle", + "zeroize", +] + +[[package]] +name = "encode_unicode" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + [[package]] name = "enum-as-inner" version = "0.5.1" @@ -2772,7 +2897,6 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 1.0.109", ] [[package]] @@ -2788,6 +2912,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "expander" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "fake-simd" version = "0.1.2" @@ -2851,8 +2988,8 @@ dependencies = [ [[package]] name = "fee" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "frame-benchmarking", @@ -2871,7 +3008,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "staking", ] @@ -2885,6 +3022,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "fiat-crypto" version = "0.1.20" @@ -2986,7 +3133,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", ] @@ -3027,7 +3174,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.3.4", "issue", "log", "module-issue-rpc-runtime-api", @@ -3041,7 +3188,7 @@ dependencies = [ "orml-asset-registry", "orml-currencies", "orml-currencies-allowance-extension", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-tokens-management-extension", "orml-traits", "orml-xtokens", @@ -3096,7 +3243,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "staking", "stellar-relay", "substrate-wasm-builder", @@ -3117,7 +3264,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-support-procedural", @@ -3142,7 +3289,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -3189,18 +3336,18 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3217,7 +3364,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -3246,15 +3393,19 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ + "async-recursion", "futures", + "indicatif", + "jsonrpsee", "log", "parity-scale-codec", "serde", "sp-core", "sp-io", "sp-runtime", + "spinners", "substrate-rpc-client", "tokio", ] @@ -3262,7 +3413,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "bitflags 1.3.2", "environmental", @@ -3295,44 +3446,45 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", "frame-support-procedural-tools", "itertools", + "proc-macro-warning", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "log", @@ -3350,7 +3502,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -3365,7 +3517,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "sp-api", @@ -3374,7 +3526,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "parity-scale-codec", @@ -3563,6 +3715,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -3659,7 +3812,18 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ - "ff", + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", "rand_core 0.6.4", "subtle", ] @@ -3769,6 +3933,12 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" +[[package]] +name = "hex-literal" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" + [[package]] name = "hkdf" version = "0.12.3" @@ -3912,6 +4082,7 @@ dependencies = [ "rustls-native-certs", "tokio", "tokio-rustls", + "webpki-roots", ] [[package]] @@ -4055,6 +4226,19 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" +[[package]] +name = "indicatif" +version = "0.17.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +dependencies = [ + "console", + "instant", + "number_prefix", + "portable-atomic", + "unicode-width", +] + [[package]] name = "inout" version = "0.1.3" @@ -4155,8 +4339,8 @@ dependencies = [ [[package]] name = "issue" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "base64 0.13.1", "currency", @@ -4168,7 +4352,7 @@ dependencies = [ "log", "oracle", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "pallet-timestamp", @@ -4183,7 +4367,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -4228,6 +4412,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" dependencies = [ "jsonrpsee-core", + "jsonrpsee-http-client", "jsonrpsee-proc-macros", "jsonrpsee-server", "jsonrpsee-types", @@ -4284,6 +4469,25 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-http-client" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc345b0a43c6bc49b947ebeb936e886a419ee3d894421790c969cc56040542ad" +dependencies = [ + "async-trait", + "hyper", + "hyper-rustls", + "jsonrpsee-core", + "jsonrpsee-types", + "rustc-hash", + "serde", + "serde_json", + "thiserror", + "tokio", + "tracing", +] + [[package]] name = "jsonrpsee-proc-macros" version = "0.16.2" @@ -4347,13 +4551,14 @@ dependencies = [ [[package]] name = "k256" -version = "0.11.6" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" dependencies = [ "cfg-if", - "ecdsa", - "elliptic-curve", + "ecdsa 0.16.9", + "elliptic-curve 0.13.7", + "once_cell", "sha2 0.10.7", ] @@ -4368,8 +4573,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "frame-benchmarking", @@ -4380,7 +4585,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.4.1", "kusama-runtime-constants", "log", "pallet-authority-discovery", @@ -4466,8 +4671,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "frame-support", "polkadot-primitives", @@ -4499,9 +4704,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" +checksum = "fe7a749456510c45f795e8b04a6a3e0976d0139213ecbf465843830ad55e2217" dependencies = [ "kvdb", "num_cpus", @@ -4613,7 +4818,7 @@ dependencies = [ "prost-build", "rand 0.8.5", "rw-stream-sink", - "sec1", + "sec1 0.3.0", "sha2 0.10.7", "smallvec", "thiserror", @@ -5009,9 +5214,9 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.8.3+7.4.4" +version = "0.10.0+7.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "557b255ff04123fcc176162f56ed0c9cd42d8f357cf55b3fabeb60f7413741b3" +checksum = "0fe4d5874f5ff2bc616e55e8c6086d478fcda13faf9495768a4aa1c22042d30b" dependencies = [ "bindgen", "bzip2-sys", @@ -5204,6 +5409,12 @@ dependencies = [ "libc", ] +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + [[package]] name = "match_cfg" version = "0.1.0" @@ -5353,7 +5564,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "log", @@ -5372,7 +5583,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "anyhow", "jsonrpsee", @@ -5434,8 +5645,8 @@ dependencies = [ [[package]] name = "module-issue-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "jsonrpsee", "module-issue-rpc-runtime-api", @@ -5447,8 +5658,8 @@ dependencies = [ [[package]] name = "module-issue-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "parity-scale-codec", @@ -5458,8 +5669,8 @@ dependencies = [ [[package]] name = "module-oracle-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", @@ -5467,20 +5678,21 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-runtime", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", ] [[package]] name = "module-oracle-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "parity-scale-codec", + "scale-info", "serde", "sp-api", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", ] [[package]] @@ -5511,8 +5723,8 @@ dependencies = [ [[package]] name = "module-redeem-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "jsonrpsee", "module-redeem-rpc-runtime-api", @@ -5524,8 +5736,8 @@ dependencies = [ [[package]] name = "module-redeem-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "parity-scale-codec", @@ -5535,8 +5747,8 @@ dependencies = [ [[package]] name = "module-replace-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "jsonrpsee", "module-replace-rpc-runtime-api", @@ -5548,8 +5760,8 @@ dependencies = [ [[package]] name = "module-replace-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "parity-scale-codec", @@ -5559,8 +5771,8 @@ dependencies = [ [[package]] name = "module-vault-registry-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", @@ -5573,8 +5785,8 @@ dependencies = [ [[package]] name = "module-vault-registry-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "module-oracle-rpc-runtime-api", @@ -5816,7 +6028,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=polkadot-v0.9.40-farming-add-currencyid-generic#5e93473c124ebf22fb8d2ef0cd640797a6e9a8ba" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" dependencies = [ "bstringify", "frame-support", @@ -5848,8 +6060,8 @@ dependencies = [ [[package]] name = "nomination" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "fee", @@ -5858,7 +6070,7 @@ dependencies = [ "frame-system", "oracle", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "pallet-timestamp", @@ -5873,7 +6085,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "staking", "vault-registry", ] @@ -5955,6 +6167,12 @@ dependencies = [ "libc", ] +[[package]] +name = "number_prefix" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" + [[package]] name = "object" version = "0.29.0" @@ -6020,8 +6238,8 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "oracle" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "dia-oracle", @@ -6040,16 +6258,16 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "spin 0.9.8", "staking", ] [[package]] name = "orchestra" -version = "0.2.1" +version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0766f60d83cac01c6e3f3bc36aaa9056e48bea0deddb98a8c74de6021f3061" +checksum = "227585216d05ba65c7ab0a0450a3cf2cbd81a98862a54c4df8e14d5ac6adb015" dependencies = [ "async-trait", "dyn-clonable", @@ -6064,12 +6282,11 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.2.1" +version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c8e83dbd049009426b445424a1104c78e6172a4c13e3614e52a38262785a5d7" +checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" dependencies = [ - "expander 1.0.0", - "indexmap 1.9.3", + "expander 0.0.6", "itertools", "petgraph", "proc-macro-crate", @@ -6090,7 +6307,7 @@ dependencies = [ [[package]] name = "orml-asset-registry" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "frame-system", @@ -6109,12 +6326,12 @@ dependencies = [ [[package]] name = "orml-currencies" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "frame-system", "orml-traits", - "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40)", + "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", @@ -6132,7 +6349,7 @@ dependencies = [ "frame-system", "mocktopus", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "parity-scale-codec", @@ -6148,12 +6365,12 @@ dependencies = [ [[package]] name = "orml-oracle" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "frame-system", "orml-traits", - "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40)", + "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", @@ -6166,7 +6383,23 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" +dependencies = [ + "frame-support", + "frame-system", + "orml-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "orml-tokens" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "frame-system", @@ -6174,6 +6407,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-arithmetic", "sp-runtime", "sp-std", ] @@ -6187,7 +6421,7 @@ dependencies = [ "frame-system", "mocktopus", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "parity-scale-codec", @@ -6198,18 +6432,18 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36)", + "spacewalk-primitives", ] [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "impl-trait-for-tuples", "num-traits", - "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.40)", + "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", @@ -6223,7 +6457,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "parity-scale-codec", @@ -6237,7 +6471,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "parity-scale-codec", @@ -6251,7 +6485,7 @@ dependencies = [ [[package]] name = "orml-xcm" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "frame-system", @@ -6265,7 +6499,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "frame-support", "orml-traits", @@ -6279,7 +6513,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -6303,8 +6537,8 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", "sha2 0.10.7", ] @@ -6314,8 +6548,8 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", "sha2 0.10.7", ] @@ -6332,7 +6566,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6350,7 +6584,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6365,7 +6599,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -6381,7 +6615,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -6397,7 +6631,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -6411,7 +6645,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6424,7 +6658,7 @@ dependencies = [ "scale-info", "sp-application-crypto", "sp-consensus-babe", - "sp-consensus-vrf", + "sp-core", "sp-io", "sp-runtime", "sp-session", @@ -6435,7 +6669,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6455,7 +6689,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6470,7 +6704,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -6489,7 +6723,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", @@ -6513,7 +6747,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6531,7 +6765,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6550,7 +6784,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "frame-benchmarking", "frame-support", @@ -6569,7 +6803,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6586,7 +6820,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "bitflags 1.3.2", "environmental", @@ -6608,14 +6842,14 @@ dependencies = [ "sp-runtime", "sp-std", "wasm-instrument 0.4.0", - "wasmi 0.20.0", + "wasmi 0.28.0", "wasmparser-nostd", ] [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -6628,17 +6862,17 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6655,7 +6889,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6673,7 +6907,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6696,7 +6930,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6709,7 +6943,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6727,7 +6961,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6745,7 +6979,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6768,7 +7002,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6784,7 +7018,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6804,7 +7038,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6821,7 +7055,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -6835,7 +7069,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6852,7 +7086,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6869,7 +7103,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6885,7 +7119,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6903,7 +7137,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "pallet-nfts", @@ -6914,7 +7148,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -6930,7 +7164,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -6947,7 +7181,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6967,7 +7201,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -6978,7 +7212,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -6995,7 +7229,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7019,7 +7253,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7036,7 +7270,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7051,7 +7285,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7069,7 +7303,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7084,7 +7318,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7103,7 +7337,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7120,7 +7354,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -7141,7 +7375,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7157,7 +7391,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -7171,7 +7405,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7194,18 +7428,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", "sp-arithmetic", @@ -7214,7 +7448,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "sp-api", @@ -7223,7 +7457,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7240,7 +7474,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -7254,7 +7488,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7272,7 +7506,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7291,7 +7525,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-support", "frame-system", @@ -7307,7 +7541,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -7323,7 +7557,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7335,7 +7569,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7352,7 +7586,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7367,7 +7601,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7383,7 +7617,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7398,7 +7632,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", "frame-support", @@ -7412,8 +7646,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -7433,8 +7667,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "frame-benchmarking", "frame-support", @@ -7453,7 +7687,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -7491,7 +7725,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-utility", "frame-support", @@ -7744,7 +7978,7 @@ dependencies = [ "sp-session", "sp-timestamp", "sp-transaction-pool", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -7777,13 +8011,13 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.3.4", "log", "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", "orml-asset-registry", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "orml-xtokens", "pallet-aura", @@ -7831,7 +8065,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "substrate-wasm-builder", "vesting-manager", "xcm", @@ -7945,8 +8179,18 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ - "der", - "spki", + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.8", + "spki 0.7.3", ] [[package]] @@ -7969,10 +8213,11 @@ checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", + "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -7984,8 +8229,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "polkadot-node-network-protocol", @@ -7998,8 +8243,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "derive_more", "fatality", @@ -8021,8 +8266,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "fatality", "futures", @@ -8042,15 +8287,15 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "clap", "frame-benchmarking-cli", "futures", "log", "polkadot-client", - "polkadot-node-core-pvf", + "polkadot-node-core-pvf-worker", "polkadot-node-metrics", "polkadot-performance-test", "polkadot-service", @@ -8063,6 +8308,7 @@ dependencies = [ "sp-core", "sp-io", "sp-keyring", + "sp-maybe-compressed-blob", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -8070,8 +8316,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "frame-benchmarking", @@ -8112,8 +8358,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "always-assert", "bitvec", @@ -8134,8 +8380,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "parity-scale-codec", "scale-info", @@ -8146,8 +8392,8 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "derive_more", "fatality", @@ -8171,8 +8417,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8185,8 +8431,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "futures-timer", @@ -8205,8 +8451,8 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "always-assert", "async-trait", @@ -8228,8 +8474,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "parity-scale-codec", @@ -8246,8 +8492,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "derive_more", @@ -8275,8 +8521,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "futures", @@ -8296,8 +8542,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "fatality", @@ -8315,8 +8561,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "polkadot-node-subsystem", @@ -8330,8 +8576,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "futures", @@ -8350,8 +8596,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "polkadot-node-metrics", @@ -8365,8 +8611,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "futures-timer", @@ -8382,8 +8628,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "fatality", "futures", @@ -8401,8 +8647,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "futures", @@ -8418,8 +8664,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "fatality", @@ -8436,12 +8682,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "always-assert", - "assert_matches", - "cpu-time", "futures", "futures-timer", "libc", @@ -8453,27 +8697,20 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "rand 0.8.5", - "rayon", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", "slotmap", "sp-core", - "sp-externalities", - "sp-io", "sp-maybe-compressed-blob", "sp-tracing", "sp-wasm-interface", - "tempfile", - "tikv-jemalloc-ctl", + "substrate-build-script-utils", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "polkadot-node-primitives", @@ -8486,10 +8723,39 @@ dependencies = [ "tracing-gum", ] +[[package]] +name = "polkadot-node-core-pvf-worker" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" +dependencies = [ + "assert_matches", + "cpu-time", + "futures", + "libc", + "parity-scale-codec", + "polkadot-node-core-pvf", + "polkadot-parachain", + "polkadot-primitives", + "rayon", + "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", + "sp-core", + "sp-externalities", + "sp-io", + "sp-maybe-compressed-blob", + "sp-tracing", + "substrate-build-script-utils", + "tempfile", + "tikv-jemalloc-ctl", + "tokio", + "tracing-gum", +] + [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "futures", "lru 0.9.0", @@ -8503,8 +8769,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "lazy_static", "log", @@ -8521,8 +8787,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bs58", "futures", @@ -8540,8 +8806,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "derive_more", @@ -8562,8 +8828,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-vec", "futures", @@ -8574,19 +8840,18 @@ dependencies = [ "serde", "sp-application-crypto", "sp-consensus-babe", - "sp-consensus-vrf", "sp-core", "sp-keystore", "sp-maybe-compressed-blob", "sp-runtime", "thiserror", - "zstd", + "zstd 0.11.2+zstd.1.5.2", ] [[package]] name = "polkadot-node-subsystem" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -8595,8 +8860,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "derive_more", @@ -8618,8 +8883,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "derive_more", @@ -8651,8 +8916,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "futures", @@ -8674,8 +8939,8 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-collections", "derive_more", @@ -8691,27 +8956,29 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "env_logger 0.9.3", "kusama-runtime", "log", "polkadot-erasure-coding", - "polkadot-node-core-pvf", + "polkadot-node-core-pvf-worker", "polkadot-node-primitives", "polkadot-primitives", "quote", + "sc-executor-common", + "sp-maybe-compressed-blob", "thiserror", ] [[package]] name = "polkadot-primitives" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "hex-literal", + "hex-literal 0.4.1", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain", @@ -8733,8 +9000,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -8765,8 +9032,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "frame-benchmarking", @@ -8777,7 +9044,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.4.1", "log", "pallet-authority-discovery", "pallet-authorship", @@ -8787,6 +9054,7 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", @@ -8805,6 +9073,7 @@ dependencies = [ "pallet-offences-benchmarking", "pallet-preimage", "pallet-proxy", + "pallet-referenda", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", @@ -8818,6 +9087,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "parity-scale-codec", "polkadot-primitives", @@ -8830,6 +9100,7 @@ dependencies = [ "serde_derive", "smallvec", "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", @@ -8855,8 +9126,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "frame-benchmarking", @@ -8901,8 +9172,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "frame-support", "polkadot-primitives", @@ -8915,8 +9186,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bs58", "parity-scale-codec", @@ -8927,8 +9198,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -8971,15 +9242,15 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", "frame-benchmarking-cli", "frame-support", "frame-system-rpc-runtime-api", "futures", - "hex-literal", + "hex-literal 0.4.1", "kusama-runtime", "kvdb", "kvdb-rocksdb", @@ -9080,8 +9351,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -9101,8 +9372,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9162,8 +9433,8 @@ dependencies = [ [[package]] name = "pooled-rewards" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "frame-benchmarking", @@ -9178,9 +9449,15 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", ] +[[package]] +name = "portable-atomic" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -9242,11 +9519,10 @@ dependencies = [ [[package]] name = "prioritized-metered-channel" -version = "0.4.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3caef72a78ca8e77cbdfa87dd516ebb79d4cbe5b42e3b8435b463a8261339ff" +checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" dependencies = [ - "async-channel", "coarsetime", "crossbeam-queue", "derive_more", @@ -9291,6 +9567,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-warning" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e99670bafb56b9a106419397343bdbc8b8742c3cc449fec6345f86173f47cd4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "proc-macro2" version = "1.0.66" @@ -9607,8 +9894,8 @@ dependencies = [ [[package]] name = "redeem" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "fee", @@ -9618,7 +9905,7 @@ dependencies = [ "hex", "oracle", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "pallet-timestamp", @@ -9632,7 +9919,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -9769,8 +10056,8 @@ dependencies = [ [[package]] name = "replace" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "fee", @@ -9781,7 +10068,7 @@ dependencies = [ "nomination", "oracle", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "pallet-timestamp", @@ -9796,7 +10083,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -9813,8 +10100,8 @@ dependencies = [ [[package]] name = "reward" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-benchmarking", "frame-support", @@ -9827,13 +10114,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", ] [[package]] name = "reward-distribution" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "frame-benchmarking", @@ -9842,7 +10129,7 @@ dependencies = [ "log", "oracle", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "parity-scale-codec", @@ -9855,7 +10142,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "staking", ] @@ -9865,11 +10152,21 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ - "crypto-bigint", + "crypto-bigint 0.4.9", "hmac 0.12.1", "zeroize", ] +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + [[package]] name = "ring" version = "0.16.20" @@ -9887,9 +10184,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.19.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" +checksum = "015439787fce1e75d55f279078d33ff14b4af5d93d995e8838ee4631301c8a99" dependencies = [ "libc", "librocksdb-sys", @@ -9897,8 +10194,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -9908,7 +10205,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.4.1", "log", "pallet-authority-discovery", "pallet-authorship", @@ -9983,8 +10280,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "frame-support", "polkadot-primitives", @@ -10073,7 +10370,7 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "xcm", "zenlink-protocol", ] @@ -10091,7 +10388,7 @@ dependencies = [ "frame-support", "frame-system", "kusama-runtime", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "orml-xcm", "orml-xcm-support", @@ -10117,7 +10414,7 @@ dependencies = [ "sp-runtime", "sp-std", "sp-tracing", - "spacewalk-primitives 1.2.0", + "spacewalk-primitives", "statemine-runtime", "statemint-runtime", "xcm", @@ -10311,7 +10608,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", "sp-core", @@ -10322,7 +10619,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures", @@ -10350,7 +10647,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "futures-timer", @@ -10373,7 +10670,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10388,7 +10685,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10407,18 +10704,18 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -10458,7 +10755,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "fnv", "futures", @@ -10484,7 +10781,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "hash-db", "kvdb", @@ -10510,7 +10807,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures", @@ -10535,7 +10832,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures", @@ -10564,13 +10861,12 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "fork-tree", "futures", "log", - "merlin", "num-bigint", "num-rational", "num-traits", @@ -10583,7 +10879,6 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "schnorrkel", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -10591,7 +10886,6 @@ dependencies = [ "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-consensus-vrf", "sp-core", "sp-inherents", "sp-keystore", @@ -10603,7 +10897,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "jsonrpsee", @@ -10625,7 +10919,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -10660,7 +10954,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "jsonrpsee", @@ -10679,7 +10973,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10692,7 +10986,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "ahash 0.8.3", "array-bytes 4.2.0", @@ -10732,7 +11026,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "finality-grandpa", "futures", @@ -10752,7 +11046,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures", @@ -10775,7 +11069,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -10799,7 +11093,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -10812,7 +11106,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", "sc-allocator", @@ -10825,7 +11119,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "anyhow", "cfg-if", @@ -10843,7 +11137,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "ansi_term", "futures", @@ -10859,7 +11153,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -10874,7 +11168,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -10904,6 +11198,7 @@ dependencies = [ "serde", "serde_json", "smallvec", + "snow", "sp-arithmetic", "sp-blockchain", "sp-consensus", @@ -10918,7 +11213,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "cid", "futures", @@ -10938,7 +11233,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -10966,7 +11261,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "ahash 0.8.3", "futures", @@ -10985,7 +11280,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "futures", @@ -11007,7 +11302,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -11041,7 +11336,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "futures", @@ -11061,7 +11356,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -11092,7 +11387,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "libp2p", @@ -11105,7 +11400,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11114,7 +11409,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "jsonrpsee", @@ -11144,7 +11439,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -11163,7 +11458,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "http", "jsonrpsee", @@ -11178,7 +11473,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", "futures", @@ -11204,7 +11499,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "directories", @@ -11270,7 +11565,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", "parity-scale-codec", @@ -11281,7 +11576,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "clap", "fs4", @@ -11297,7 +11592,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -11316,7 +11611,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "libc", @@ -11335,7 +11630,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "chrono", "futures", @@ -11354,7 +11649,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "ansi_term", "atty", @@ -11385,18 +11680,18 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures", @@ -11423,7 +11718,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures", @@ -11437,7 +11732,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-channel", "futures", @@ -11563,10 +11858,24 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ - "base16ct", - "der", + "base16ct 0.1.1", + "der 0.6.1", + "generic-array 0.14.7", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.8", "generic-array 0.14.7", - "pkcs8", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -11600,8 +11909,8 @@ dependencies = [ [[package]] name = "security" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-support", "frame-system", @@ -11701,6 +12010,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" +dependencies = [ + "serde", +] + [[package]] name = "sha-1" version = "0.9.8" @@ -11805,6 +12123,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + [[package]] name = "simba" version = "0.8.1" @@ -11841,8 +12169,8 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "enumn", "parity-scale-codec", @@ -11938,13 +12266,15 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "hash-db", "log", "parity-scale-codec", + "scale-info", "sp-api-proc-macro", "sp-core", + "sp-metadata-ir", "sp-runtime", "sp-state-machine", "sp-std", @@ -11956,7 +12286,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "Inflector", "blake2", @@ -11964,13 +12294,13 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "scale-info", @@ -11983,7 +12313,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "integer-sqrt", "num-traits", @@ -11997,7 +12327,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "scale-info", @@ -12010,7 +12340,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "sp-api", @@ -12022,7 +12352,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "futures", "log", @@ -12040,7 +12370,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures", @@ -12055,7 +12385,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "parity-scale-codec", @@ -12073,10 +12403,9 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", - "merlin", "parity-scale-codec", "scale-info", "serde", @@ -12084,7 +12413,6 @@ dependencies = [ "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-consensus-vrf", "sp-core", "sp-inherents", "sp-keystore", @@ -12096,7 +12424,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lazy_static", "parity-scale-codec", @@ -12115,7 +12443,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "finality-grandpa", "log", @@ -12133,7 +12461,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "scale-info", @@ -12142,29 +12470,16 @@ dependencies = [ "sp-timestamp", ] -[[package]] -name = "sp-consensus-vrf" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "schnorrkel", - "sp-core", - "sp-runtime", - "sp-std", -] - [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", - "base58", "bitflags 1.3.2", "blake2", "bounded-collections", + "bs58", "dyn-clonable", "ed25519-zebra", "futures", @@ -12177,6 +12492,7 @@ dependencies = [ "merlin", "parity-scale-codec", "parking_lot 0.12.1", + "paste", "primitive-types", "rand 0.8.5", "regex", @@ -12201,7 +12517,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "blake2b_simd", "byteorder", @@ -12215,18 +12531,18 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro2", "quote", "sp-core-hashing", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -12235,17 +12551,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "environmental", "parity-scale-codec", @@ -12256,7 +12572,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12271,7 +12587,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "bytes", "ed25519", @@ -12280,6 +12596,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", + "rustversion", "secp256k1", "sp-core", "sp-externalities", @@ -12296,7 +12613,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lazy_static", "sp-core", @@ -12307,14 +12624,11 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "async-trait", "futures", - "merlin", "parity-scale-codec", "parking_lot 0.12.1", - "schnorrkel", "serde", "sp-core", "sp-externalities", @@ -12324,16 +12638,27 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "thiserror", - "zstd", + "zstd 0.12.4", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std", ] [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -12351,7 +12676,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "scale-info", @@ -12365,7 +12690,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "sp-api", "sp-core", @@ -12375,7 +12700,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "backtrace", "lazy_static", @@ -12385,7 +12710,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "rustc-hash", "serde", @@ -12395,7 +12720,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "either", "hash256-std-hasher", @@ -12417,7 +12742,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12435,19 +12760,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "scale-info", @@ -12461,10 +12786,11 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "scale-info", + "serde", "sp-core", "sp-runtime", "sp-std", @@ -12473,7 +12799,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "hash-db", "log", @@ -12493,12 +12819,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12511,7 +12837,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "futures-timer", @@ -12526,7 +12852,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "sp-std", @@ -12538,7 +12864,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "sp-api", "sp-runtime", @@ -12547,7 +12873,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "log", @@ -12563,11 +12889,11 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "ahash 0.8.3", "hash-db", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -12586,7 +12912,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12603,18 +12929,18 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12628,7 +12954,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", "scale-info", @@ -12642,26 +12968,8 @@ dependencies = [ [[package]] name = "spacewalk-primitives" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" -dependencies = [ - "base58", - "bstringify", - "frame-support", - "hex", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-runtime", - "sp-std", - "substrate-stellar-sdk", -] - -[[package]] -name = "spacewalk-primitives" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36#d05b0015d15ca39cc780889bcc095335e9862a36" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "base58", "bstringify", @@ -12676,22 +12984,6 @@ dependencies = [ "substrate-stellar-sdk", ] -[[package]] -name = "spacewalk-primitives" -version = "1.2.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=58983d2695c309665c9c017a022436aaee088f3d#58983d2695c309665c9c017a022436aaee088f3d" -dependencies = [ - "base58", - "bstringify", - "frame-support", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", - "sp-std", - "substrate-stellar-sdk", -] - [[package]] name = "spin" version = "0.5.2" @@ -12707,6 +12999,17 @@ dependencies = [ "lock_api", ] +[[package]] +name = "spinners" +version = "4.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0ef947f358b9c238923f764c72a4a9d42f2d637c46e059dbd319d6e7cfb4f82" +dependencies = [ + "lazy_static", + "maplit", + "strum", +] + [[package]] name = "spki" version = "0.6.0" @@ -12714,7 +13017,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", - "der", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.8", ] [[package]] @@ -12740,13 +13053,13 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staking" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", @@ -12756,13 +13069,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", ] [[package]] name = "statemine-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -12778,7 +13091,7 @@ dependencies = [ "frame-support", "frame-system", "frame-system-rpc-runtime-api", - "hex-literal", + "hex-literal 0.4.1", "kusama-runtime-constants", "log", "pallet-asset-tx-payment", @@ -12818,6 +13131,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -12827,7 +13141,7 @@ dependencies = [ [[package]] name = "statemint-runtime" version = "1.0.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -12879,6 +13193,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -12946,8 +13261,8 @@ dependencies = [ [[package]] name = "stellar-relay" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "base64 0.13.1", "currency", @@ -12960,7 +13275,7 @@ dependencies = [ "sha2 0.10.7", "sp-core", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", ] [[package]] @@ -13026,7 +13341,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "platforms 2.0.0", ] @@ -13034,7 +13349,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13053,7 +13368,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "hyper", "log", @@ -13065,7 +13380,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "jsonrpsee", @@ -13078,7 +13393,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "jsonrpsee", "log", @@ -13097,12 +13412,13 @@ dependencies = [ [[package]] name = "substrate-stellar-sdk" version = "0.2.4" -source = "git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.40#dc4212fc0b9c29d9fd370cde7ba666172de8fb7b" +source = "git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.42#831b2b07b98dc334864182fdd227cb6a3fc7000c" dependencies = [ "base64 0.13.1", "hex", "lazy_static", "num-rational", + "scale-info", "serde", "serde_json", "sha2 0.9.9", @@ -13115,7 +13431,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "ansi_term", "build-helper", @@ -13124,7 +13440,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml", + "toml 0.7.8", "walkdir", "wasm-opt", ] @@ -13479,19 +13795,36 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + [[package]] name = "toml_datetime" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +dependencies = [ + "serde", +] [[package]] name = "toml_edit" -version = "0.19.14" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ "indexmap 2.0.0", + "serde", + "serde_spanned", "toml_datetime", "winnow", ] @@ -13583,8 +13916,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -13594,14 +13927,14 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "expander 0.0.6", + "expander 2.0.0", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] @@ -13725,7 +14058,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "async-trait", "clap", @@ -13756,7 +14089,7 @@ dependencies = [ "sp-version", "sp-weights", "substrate-rpc-client", - "zstd", + "zstd 0.12.4", ] [[package]] @@ -13925,8 +14258,8 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "vault-registry" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.1" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" dependencies = [ "currency", "fee", @@ -13937,7 +14270,7 @@ dependencies = [ "log", "oracle", "orml-currencies", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "pallet-balances", "pallet-timestamp", @@ -13953,7 +14286,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives", "staking", ] @@ -14197,13 +14530,13 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.20.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01bf50edb2ea9d922aa75a7bf3c15e26a6c9e2d18c56e862b49737a582901729" +checksum = "8e61a7006b0fdf24f6bbe8dcfdad5ca1b350de80061fb2827f31c82fbbb9565a" dependencies = [ "spin 0.9.8", "wasmi_arena", - "wasmi_core 0.5.0", + "wasmi_core 0.12.0", "wasmparser-nostd", ] @@ -14218,9 +14551,9 @@ dependencies = [ [[package]] name = "wasmi_arena" -version = "0.1.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ea379cbb0b41f3a9f0bf7b47036d036aae7f43383d8cc487d4deccf40dee0a" +checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" [[package]] name = "wasmi_core" @@ -14238,13 +14571,14 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.5.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5bf998ab792be85e20e771fe14182b4295571ad1d4f89d3da521c1bef5f597a" +checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7" dependencies = [ "downcast-rs", "libm 0.2.7", "num-traits", + "paste", ] [[package]] @@ -14259,9 +14593,9 @@ dependencies = [ [[package]] name = "wasmparser-nostd" -version = "0.91.0" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c37f310b5a62bfd5ae7c0f1d8e6f98af16a5d6d84ba764e9c36439ec14e318b" +checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" dependencies = [ "indexmap-nostd", ] @@ -14318,9 +14652,9 @@ dependencies = [ "rustix 0.36.15", "serde", "sha2 0.10.7", - "toml", + "toml 0.5.11", "windows-sys 0.42.0", - "zstd", + "zstd 0.11.2+zstd.1.5.2", ] [[package]] @@ -14555,7 +14889,7 @@ dependencies = [ "ccm", "curve25519-dalek 3.2.0", "der-parser 8.2.0", - "elliptic-curve", + "elliptic-curve 0.12.3", "hkdf", "hmac 0.12.1", "log", @@ -14567,11 +14901,11 @@ dependencies = [ "rcgen 0.9.3", "ring", "rustls 0.19.1", - "sec1", + "sec1 0.3.0", "serde", "sha1", "sha2 0.10.7", - "signature", + "signature 1.6.4", "subtle", "thiserror", "tokio", @@ -14695,8 +15029,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", "frame-benchmarking", @@ -14707,7 +15041,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal", + "hex-literal 0.4.1", "log", "pallet-authority-discovery", "pallet-authorship", @@ -14787,8 +15121,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "frame-support", "polkadot-primitives", @@ -15145,8 +15479,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-collections", "derivative", @@ -15161,8 +15495,8 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "frame-support", "frame-system", @@ -15183,7 +15517,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/shaunxw/xcm-simulator?rev=bea35c799d725a4233db6b9108ee2ed5bbfc1aed#bea35c799d725a4233db6b9108ee2ed5bbfc1aed" +source = "git+https://github.com/shaunxw/xcm-simulator?rev=d011e5ca62b93e8f688c2042c1f92cdbafc5d1d0#d011e5ca62b93e8f688c2042c1f92cdbafc5d1d0" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -15208,8 +15542,8 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "environmental", "frame-benchmarking", @@ -15228,13 +15562,13 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "0.9.40" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" +version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] @@ -15263,13 +15597,13 @@ dependencies = [ [[package]] name = "zenlink-protocol" version = "0.4.4" -source = "git+https://github.com/pendulum-chain/Zenlink-DEX-Module?branch=polkadot-v0.9.40-protocol#f4d70a31707c89b6a0d1f3da04c891532ceb913e" +source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "log", - "orml-tokens", + "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0)", "orml-traits", "pallet-balances", "parity-scale-codec", @@ -15286,7 +15620,7 @@ dependencies = [ [[package]] name = "zenlink-protocol-rpc" version = "0.4.4" -source = "git+https://github.com/pendulum-chain/Zenlink-DEX-Module?branch=polkadot-v0.9.40-protocol#f4d70a31707c89b6a0d1f3da04c891532ceb913e" +source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15301,7 +15635,7 @@ dependencies = [ [[package]] name = "zenlink-protocol-runtime-api" version = "0.4.4" -source = "git+https://github.com/pendulum-chain/Zenlink-DEX-Module?branch=polkadot-v0.9.40-protocol#f4d70a31707c89b6a0d1f3da04c891532ceb913e" +source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "parity-scale-codec", "sp-api", @@ -15335,7 +15669,16 @@ version = "0.11.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" dependencies = [ - "zstd-safe", + "zstd-safe 5.0.2+zstd.1.5.2", +] + +[[package]] +name = "zstd" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +dependencies = [ + "zstd-safe 6.0.6", ] [[package]] @@ -15348,6 +15691,16 @@ dependencies = [ "zstd-sys", ] +[[package]] +name = "zstd-safe" +version = "6.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +dependencies = [ + "libc", + "zstd-sys", +] + [[package]] name = "zstd-sys" version = "2.0.8+zstd.1.5.5" @@ -15362,9 +15715,9 @@ dependencies = [ [[patch.unused]] name = "orml-currencies" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" [[patch.unused]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" diff --git a/Cargo.toml b/Cargo.toml index cfe941f1e..738e4d327 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,5 +32,5 @@ orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-l orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } -zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } -zenlink-protocol-runtime-api = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } +zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } +zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } diff --git a/node/Cargo.toml b/node/Cargo.toml index d7bbc4528..3abd07601 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -15,13 +15,13 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.145", features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server"] } -module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} module-pallet-staking-rpc = { path = "../pallets/parachain-staking/rpc" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} # Local amplitude-runtime = {path = "../runtime/amplitude"} @@ -31,71 +31,71 @@ development-runtime = {path = "../runtime/development"} runtime-common = {path = "../runtime/common"} # Substrate -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -pallet-multisig = {git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40"} -pallet-treasury = {git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40"} -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +pallet-multisig = {git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42"} +pallet-treasury = {git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42"} +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } # Polkadot -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } # Cumulus -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.40" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.42" } #bifrost -bifrost-farming-rpc-api = { git = "https://github.com/pendulum-chain/bifrost", branch = "polkadot-v0.9.40-farming-add-currencyid-generic" } -bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", branch = "polkadot-v0.9.40-farming-add-currencyid-generic" } +bifrost-farming-rpc-api = { git = "https://github.com/pendulum-chain/bifrost", branch = "upgrade-v0.9.42" } +bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", branch = "upgrade-v0.9.42" } -zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.40-protocol" } -zenlink-protocol-rpc = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.40-protocol" } -zenlink-protocol-runtime-api = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", branch = "polkadot-v0.9.40-protocol" } +zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } +zenlink-protocol-rpc = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } +zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } [features] default = [] diff --git a/pallets/orml-currencies-allowance-extension/Cargo.toml b/pallets/orml-currencies-allowance-extension/Cargo.toml index 2439e4c24..b85daa411 100644 --- a/pallets/orml-currencies-allowance-extension/Cargo.toml +++ b/pallets/orml-currencies-allowance-extension/Cargo.toml @@ -11,25 +11,25 @@ serde = {version = "1.0.130", default-features = false, features = ["derive"], o sha2 = {version = "0.8.2", default-features = false} # Substrate dependencies -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false, optional = true } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } -pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.42", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.42", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.42", default-features = false } +pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false, optional = true } [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} -pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} [features] diff --git a/pallets/orml-currencies-allowance-extension/src/mock.rs b/pallets/orml-currencies-allowance-extension/src/mock.rs index 3e02eee92..e8459620d 100644 --- a/pallets/orml-currencies-allowance-extension/src/mock.rs +++ b/pallets/orml-currencies-allowance-extension/src/mock.rs @@ -125,6 +125,10 @@ impl pallet_balances::Config for Test { type WeightInfo = pallet_balances::weights::SubstrateWeight; type MaxReserves = MaxReserves; type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } impl orml_currencies::Config for Test { diff --git a/pallets/orml-tokens-management-extension/Cargo.toml b/pallets/orml-tokens-management-extension/Cargo.toml index d2ca15d7d..2540b9615 100644 --- a/pallets/orml-tokens-management-extension/Cargo.toml +++ b/pallets/orml-tokens-management-extension/Cargo.toml @@ -11,29 +11,29 @@ serde = {version = "1.0.130", default-features = false, features = ["derive"], o sha2 = {version = "0.8.2", default-features = false} # Substrate dependencies -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false, optional = true } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.42", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.42", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.42", default-features = false } [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} -pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "d05b0015d15ca39cc780889bcc095335e9862a36"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} [features] diff --git a/pallets/orml-tokens-management-extension/src/mock.rs b/pallets/orml-tokens-management-extension/src/mock.rs index 1425da1e7..24fb7633e 100644 --- a/pallets/orml-tokens-management-extension/src/mock.rs +++ b/pallets/orml-tokens-management-extension/src/mock.rs @@ -128,6 +128,10 @@ impl pallet_balances::Config for Test { type WeightInfo = pallet_balances::weights::SubstrateWeight; type MaxReserves = MaxReserves; type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } impl orml_currencies::Config for Test { diff --git a/pallets/parachain-staking/Cargo.toml b/pallets/parachain-staking/Cargo.toml index 18dc05e4f..fe74b9581 100644 --- a/pallets/parachain-staking/Cargo.toml +++ b/pallets/parachain-staking/Cargo.toml @@ -6,32 +6,32 @@ name = "parachain-staking" version = "1.7.2" [dev-dependencies] -pallet-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} -pallet-timestamp = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} -sp-consensus-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} -sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} -sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +pallet-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} +pallet-timestamp = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} +sp-consensus-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} +sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} +sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} [dependencies] log = "0.4.17" parity-scale-codec = {version = "3.1.5", default-features = false, features = ["derive"]} scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} serde = {version = "1.0.142", optional = true} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} module-pallet-staking-rpc-runtime-api = { path = "./rpc/runtime-api", default-features = false } -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -pallet-authorship = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -pallet-session = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-staking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +pallet-authorship = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +pallet-session = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-staking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} # benchmarking -frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true} +frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false, optional = true} [features] default = ["std"] diff --git a/pallets/parachain-staking/rpc/Cargo.toml b/pallets/parachain-staking/rpc/Cargo.toml index cafbca161..6ed32817a 100644 --- a/pallets/parachain-staking/rpc/Cargo.toml +++ b/pallets/parachain-staking/rpc/Cargo.toml @@ -7,8 +7,8 @@ version = "1.0.0" [dependencies] codec = {package = "parity-scale-codec", version = "3.0.0"} jsonrpsee = {version = "0.16.0", features = ["server", "macros"]} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} module-pallet-staking-rpc-runtime-api = {path = "runtime-api"} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} -sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} +sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} diff --git a/pallets/parachain-staking/rpc/runtime-api/Cargo.toml b/pallets/parachain-staking/rpc/runtime-api/Cargo.toml index 9ce8f015a..4a9f4b91a 100644 --- a/pallets/parachain-staking/rpc/runtime-api/Cargo.toml +++ b/pallets/parachain-staking/rpc/runtime-api/Cargo.toml @@ -5,12 +5,12 @@ name = "module-pallet-staking-rpc-runtime-api" version = "1.0.0" [dependencies] -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} parity-scale-codec = {version = "3.1.5", default-features = false, features = ["derive"]} scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} serde = {version = "1.0.142", default-features = false, optional = true, features = ["derive"]} [features] diff --git a/pallets/parachain-staking/src/mock.rs b/pallets/parachain-staking/src/mock.rs index 7f9199c1f..434f39329 100644 --- a/pallets/parachain-staking/src/mock.rs +++ b/pallets/parachain-staking/src/mock.rs @@ -31,7 +31,7 @@ use sp_core::H256; use sp_runtime::{ impl_opaque_keys, testing::{Header, UintAuthorityId}, - traits::{BlakeTwo256, ConvertInto, IdentityLookup, OpaqueKeys}, + traits::{BlakeTwo256, ConvertInto, IdentityLookup, OpaqueKeys, ConstU32}, Perbill, Perquintill, }; use sp_std::fmt::Debug; @@ -111,6 +111,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } impl pallet_aura::Config for Test { diff --git a/pallets/vesting-manager/Cargo.toml b/pallets/vesting-manager/Cargo.toml index b2262fc11..0443644ae 100644 --- a/pallets/vesting-manager/Cargo.toml +++ b/pallets/vesting-manager/Cargo.toml @@ -10,16 +10,16 @@ log = "0.4.17" parity-scale-codec = {version = "3.1.5", default-features = false, features = ["derive"]} scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} serde = {version = "1.0.142", optional = true} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -pallet-vesting = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +pallet-vesting = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} # benchmarking -frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true} +frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false, optional = true} [features] default = ["std"] diff --git a/runtime/amplitude/Cargo.toml b/runtime/amplitude/Cargo.toml index d1ef1d429..c6ff172d4 100644 --- a/runtime/amplitude/Cargo.toml +++ b/runtime/amplitude/Cargo.toml @@ -12,7 +12,7 @@ version = "0.1.0" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } @@ -27,78 +27,78 @@ smallvec = "1.9.0" runtime-common = { path = "../common", default-features = false } # Custom libraries for Spacewalk -clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } +clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } +module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } -pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} # Substrate -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-child-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-child-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } # Open Runtime Module Library -orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.40" } +orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.42" } # KILT parachain-staking = { path = "../../pallets/parachain-staking", default-features = false } @@ -107,35 +107,35 @@ parachain-staking = { path = "../../pallets/parachain-staking", default-features vesting-manager = {path = "../../pallets/vesting-manager", default-features = false} # DIA -dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40" } -dia-oracle-runtime-api = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40" } +dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42" } +dia-oracle-runtime-api = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42" } # Polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } # Cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } # Zenlink -zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } -zenlink-protocol-runtime-api = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } +zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } +zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } -bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "polkadot-v0.9.40-farming-add-currencyid-generic" } -bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "polkadot-v0.9.40-farming-add-currencyid-generic" } +bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } +bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } [features] default = [ diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index d3eec1c5c..dd5b6cdea 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -27,7 +27,7 @@ use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, + AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, fungible::Credit }, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, DispatchError, FixedPointNumber, SaturatedConversion, @@ -452,13 +452,28 @@ parameter_types! { pub const MaxReserves: u32 = 50; } +pub struct MoveDustToTreasury; + +impl OnUnbalanced::AccountId, pallet_balances::Pallet>> + for MoveDustToTreasury +{ + fn on_nonzero_unbalanced( + amount: Credit<::AccountId, pallet_balances::Pallet>, + ) { + let _ = >::deposit_creating( + &TreasuryPalletId::get().into_account_truncating(), + amount.peek(), + ); + } +} + impl pallet_balances::Config for Runtime { type MaxLocks = MaxLocks; /// The type for recording an account's balance. type Balance = Balance; /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; - type DustRemoval = Treasury; + type DustRemoval = MoveDustToTreasury; type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = pallet_balances::weights::SubstrateWeight; diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 977aecc86..429c1ce78 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -15,23 +15,23 @@ paste = "1.0.14" parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false, optional = true } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.40" } -orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.40" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.42" } +orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.42" } -dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40" } -zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } +dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42" } +zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" } [features] default = [ diff --git a/runtime/common/src/chain_ext.rs b/runtime/common/src/chain_ext.rs index 5e18ef396..6348a0a8d 100644 --- a/runtime/common/src/chain_ext.rs +++ b/runtime/common/src/chain_ext.rs @@ -53,10 +53,6 @@ pub enum ChainExtensionOutcome { #[derive(Debug, Copy, Clone, PartialEq, Eq, Encode, Decode, MaxEncodedLen)] #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] pub enum ChainExtensionTokenError { - /// Funds are unavailable. - NoFunds, - /// Account that must exist would die. - WouldDie, /// Account cannot exist with the funds that would be given. BelowMinimum, /// Account cannot be created. @@ -69,6 +65,15 @@ pub enum ChainExtensionTokenError { Unsupported, /// Unknown error Unknown, + /// Funds are unavailable. + FundsUnavailable, + /// Some part of the balance gives the only provider reference to the account and thus cannot + /// be (re)moved. + OnlyProvider, + /// Account cannot be created for a held balance. + CannotCreateHold, + /// Withdrawal would cause unwanted loss of account. + NotExpendable } /// ChainExtensionArithmeticError is a nested error in ChainExtensionOutcome, similar to DispatchError's ArithmeticError. @@ -108,13 +113,15 @@ impl From for ChainExtensionOutcome { impl From for ChainExtensionTokenError { fn from(e: TokenError) -> Self { match e { - TokenError::NoFunds => ChainExtensionTokenError::NoFunds, - TokenError::WouldDie => ChainExtensionTokenError::WouldDie, TokenError::BelowMinimum => ChainExtensionTokenError::BelowMinimum, TokenError::CannotCreate => ChainExtensionTokenError::CannotCreate, TokenError::UnknownAsset => ChainExtensionTokenError::UnknownAsset, TokenError::Frozen => ChainExtensionTokenError::Frozen, TokenError::Unsupported => ChainExtensionTokenError::Unsupported, + TokenError::FundsUnavailable => ChainExtensionTokenError::FundsUnavailable, + TokenError::OnlyProvider => ChainExtensionTokenError::OnlyProvider, + TokenError::CannotCreateHold => ChainExtensionTokenError::CannotCreateHold, + TokenError::NotExpendable => ChainExtensionTokenError::NotExpendable, } } } @@ -206,13 +213,15 @@ impl ChainExtensionOutcome { impl ChainExtensionTokenError { pub fn as_u32(&self) -> u32 { match self { - ChainExtensionTokenError::NoFunds => 0, - ChainExtensionTokenError::WouldDie => 1, + ChainExtensionTokenError::FundsUnavailable => 0, + ChainExtensionTokenError::NotExpendable => 1, ChainExtensionTokenError::BelowMinimum => 2, ChainExtensionTokenError::CannotCreate => 3, ChainExtensionTokenError::UnknownAsset => 4, ChainExtensionTokenError::Frozen => 5, ChainExtensionTokenError::Unsupported => 6, + ChainExtensionTokenError::OnlyProvider => 7, + ChainExtensionTokenError::CannotCreateHold => 8, ChainExtensionTokenError::Unknown => 999, } } @@ -261,13 +270,15 @@ impl TryFrom for ChainExtensionTokenError { fn try_from(value: u32) -> Result { match value { - 0 => Ok(ChainExtensionTokenError::NoFunds), - 1 => Ok(ChainExtensionTokenError::WouldDie), + 0 => Ok(ChainExtensionTokenError::FundsUnavailable), + 1 => Ok(ChainExtensionTokenError::NotExpendable), 2 => Ok(ChainExtensionTokenError::BelowMinimum), 3 => Ok(ChainExtensionTokenError::CannotCreate), 4 => Ok(ChainExtensionTokenError::UnknownAsset), 5 => Ok(ChainExtensionTokenError::Frozen), 6 => Ok(ChainExtensionTokenError::Unsupported), + 7 => Ok(ChainExtensionTokenError::OnlyProvider), + 8 => Ok(ChainExtensionTokenError::CannotCreateHold), 999 => Ok(ChainExtensionTokenError::Unknown), _ => Err(DispatchError::Other("Invalid ChainExtensionTokenError value")), } diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index eecde2b60..222aeb3ab 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -12,7 +12,7 @@ build = "build.rs" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } @@ -26,54 +26,54 @@ smallvec = "1.9.0" runtime-common = { path = "../common", default-features = false } # Substrate -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } # Polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } # Cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } [features] default = [ diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index bdbe2b7ef..da7b650ab 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -14,7 +14,7 @@ use sp_api::impl_runtime_apis; use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - traits::{AccountIdLookup, BlakeTwo256, Block as BlockT}, + traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, ConstU32}, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, }; @@ -305,6 +305,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = pallet_balances::weights::SubstrateWeight; type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } parameter_types! { @@ -494,6 +498,14 @@ impl_runtime_apis! { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { diff --git a/runtime/development/src/xcm_config.rs b/runtime/development/src/xcm_config.rs index abfb86d01..8cc579d10 100644 --- a/runtime/development/src/xcm_config.rs +++ b/runtime/development/src/xcm_config.rs @@ -5,7 +5,7 @@ use super::{ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, - traits::{Everything, Nothing}, + traits::{Everything, Nothing, ProcessMessageError}, weights::Weight, }; use pallet_xcm::XcmPassthrough; @@ -110,7 +110,7 @@ where instructions: &mut [Instruction], max_weight: XCMWeight, weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { Deny::should_execute(origin, instructions, max_weight, weight_credit)?; Allow::should_execute(origin, instructions, max_weight, weight_credit) } diff --git a/runtime/foucoco/Cargo.toml b/runtime/foucoco/Cargo.toml index ffee26a48..6bc479b9c 100644 --- a/runtime/foucoco/Cargo.toml +++ b/runtime/foucoco/Cargo.toml @@ -12,7 +12,7 @@ version = "0.1.0" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } @@ -27,78 +27,78 @@ smallvec = "1.9.0" runtime-common = { path = "../common", default-features = false } # custom libraries from spacewalk -clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} -module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } # Substrate -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-child-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-child-bounties = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42" } # Open Runtime Module Library -orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.40" } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } +orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.42" } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } # KILT parachain-staking = { path = "../../pallets/parachain-staking", default-features = false } @@ -107,37 +107,37 @@ orml-currencies-allowance-extension = {path = "../../pallets/orml-currencies-all orml-tokens-management-extension = {path = "../../pallets/orml-tokens-management-extension", default-features = false} # DIA -dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40" } -dia-oracle-runtime-api = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40" } +dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42" } +dia-oracle-runtime-api = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42" } # Polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42" } # Cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42" } #orml -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.40" } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.42" } -zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } -zenlink-protocol-runtime-api = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } +zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } +zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } -bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "polkadot-v0.9.40-farming-add-currencyid-generic" } -bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "polkadot-v0.9.40-farming-add-currencyid-generic" } +bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } +bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } [features] default = [ diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 32c46ac33..dc6804740 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -476,6 +476,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = pallet_balances::weights::SubstrateWeight; type MaxReserves = MaxReserves; type ReserveIdentifier = ReserveIdentifier; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } parameter_types! { @@ -635,6 +639,7 @@ parameter_types! { pub const CouncilMotionDuration: BlockNumber = 3 * DAYS; pub const CouncilMaxProposals: u32 = 100; pub const CouncilMaxMembers: u32 = 100; + pub MaxProposalWeight: Weight = Perbill::from_percent(50) * RuntimeBlockWeights::get().max_block; } type CouncilCollective = pallet_collective::Instance1; @@ -648,6 +653,7 @@ impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } parameter_types! { @@ -667,6 +673,7 @@ impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } parameter_types! { @@ -1399,8 +1406,6 @@ impl pallet_contracts::Config for Runtime { type WeightPrice = pallet_transaction_payment::Pallet; type WeightInfo = pallet_contracts::weights::SubstrateWeight; type ChainExtension = Psp22Extension; - type DeletionQueueDepth = DeletionQueueDepth; - type DeletionWeightLimit = DeletionWeightLimit; type Schedule = Schedule; type AddressGenerator = pallet_contracts::DefaultAddressGenerator; type MaxCodeLen = ConstU32<{ 123 * 1024 }>; diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 96eae61ec..a0b430135 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -11,48 +11,48 @@ scale-info = { version = "2.1.2", features = ["derive"] } serde = { version = "1.0.144", features = ["derive"] } # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "58983d2695c309665c9c017a022436aaee088f3d"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } # for events -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-debug-derive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } # for events +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-debug-derive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.42" } -xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "bea35c799d725a4233db6b9108ee2ed5bbfc1aed" } +xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "d011e5ca62b93e8f688c2042c1f92cdbafc5d1d0" } -cumulus-pallet-dmp-queue = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40"} -cumulus-pallet-xcmp-queue = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40"} -cumulus-pallet-xcm = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40"} -cumulus-primitives-core = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40"} -cumulus-primitives-utility = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-pallet-dmp-queue = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42"} +cumulus-pallet-xcmp-queue = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42"} +cumulus-pallet-xcm = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42"} +cumulus-primitives-core = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42"} +cumulus-primitives-utility = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42" } -statemint-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } -statemine-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +statemint-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42" } +statemine-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42" } -orml-xcm = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.40" } -orml-xcm-support = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.40" } -orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.40" } -orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.40" } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } +orml-xcm = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.42" } +orml-xcm-support = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.42" } +orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.42" } +orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.42" } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.42" } # Local runtime-common = {path = "../common", default-features = false} diff --git a/runtime/pendulum/Cargo.toml b/runtime/pendulum/Cargo.toml index 71ac1c7cc..be8d5bf25 100644 --- a/runtime/pendulum/Cargo.toml +++ b/runtime/pendulum/Cargo.toml @@ -12,7 +12,7 @@ version = "0.1.0" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } @@ -27,93 +27,93 @@ smallvec = "1.9.0" runtime-common = {path = "../common", default-features = false} # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} # Substrate -frame-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} -frame-executive = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-support = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-system-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} -frame-system-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-try-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +frame-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42"} +frame-executive = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-support = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-system-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42"} +frame-system-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-try-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } -pallet-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-authorship = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-balances = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-bounties = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-child-bounties = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-collective = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-contracts = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-contracts-primitives = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-democracy = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-identity = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-multisig = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-preimage = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-proxy = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-insecure-randomness-collective-flip = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-scheduler = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-session = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-timestamp = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-transaction-payment = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-treasury = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-utility = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -pallet-vesting = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-block-builder = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-consensus-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-core = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-inherents = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-io = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-offchain = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-session = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-std = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-transaction-pool = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -sp-version = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} +pallet-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-authorship = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-balances = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-bounties = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-child-bounties = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-collective = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-contracts = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-contracts-primitives = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-democracy = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-identity = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-multisig = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-preimage = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-proxy = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-insecure-randomness-collective-flip = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-scheduler = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-session = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-timestamp = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-transaction-payment = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-treasury = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-utility = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +pallet-vesting = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-block-builder = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-consensus-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-core = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-inherents = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-io = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-offchain = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-session = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-std = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-transaction-pool = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +sp-version = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} # Open Runtime Module Library -orml-asset-registry = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-currencies = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.40" } +orml-asset-registry = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-currencies = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.42" } # KILT parachain-staking = {path = "../../pallets/parachain-staking", default-features = false} # DIA -dia-oracle = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40"} -dia-oracle-runtime-api = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40"} +dia-oracle = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42"} +dia-oracle-runtime-api = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42"} # Pendulum Pallets vesting-manager = {path = "../../pallets/vesting-manager", default-features = false} # Polkadot -pallet-xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40"} -polkadot-parachain = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40"} -polkadot-runtime-common = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40"} -xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40"} -xcm-builder = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40"} -xcm-executor = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40"} +pallet-xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42"} +polkadot-parachain = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42"} +polkadot-runtime-common = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42"} +xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42"} +xcm-builder = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42"} +xcm-executor = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.42"} # Cumulus -cumulus-pallet-aura-ext = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-pallet-dmp-queue = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-pallet-parachain-system = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-pallet-session-benchmarking = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-pallet-xcm = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-pallet-xcmp-queue = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-primitives-core = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-primitives-timestamp = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -cumulus-primitives-utility = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} -parachain-info = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40"} +cumulus-pallet-aura-ext = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-pallet-dmp-queue = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-pallet-parachain-system = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-pallet-session-benchmarking = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-pallet-xcm = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-pallet-xcmp-queue = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-primitives-core = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-primitives-timestamp = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +cumulus-primitives-utility = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} +parachain-info = {git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.42"} # Zenlink -zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } -zenlink-protocol-runtime-api = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } +zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } +zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } [features] diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index 0eaa3e885..bca209c31 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -42,7 +42,7 @@ use frame_support::{ parameter_types, traits::{ ConstBool, ConstU32, Contains, Currency, EitherOfDiverse, EqualPrivilegeOnly, Imbalance, - InstanceFilter, OnUnbalanced, WithdrawReasons, + InstanceFilter, OnUnbalanced, WithdrawReasons, fungible::Credit }, weights::{ constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, Weight, WeightToFeeCoefficient, @@ -358,18 +358,37 @@ parameter_types! { pub const MaxReserves: u32 = 50; } +pub struct MoveDustToTreasury; + +impl OnUnbalanced::AccountId, pallet_balances::Pallet>> + for MoveDustToTreasury +{ + fn on_nonzero_unbalanced( + amount: Credit<::AccountId, pallet_balances::Pallet>, + ) { + let _ = >::deposit_creating( + &TreasuryPalletId::get().into_account_truncating(), + amount.peek(), + ); + } +} + impl pallet_balances::Config for Runtime { type MaxLocks = MaxLocks; /// The type for recording an account's balance. type Balance = Balance; /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; - type DustRemoval = Treasury; + type DustRemoval = MoveDustToTreasury; type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = pallet_balances::weights::SubstrateWeight; type MaxReserves = MaxReserves; type ReserveIdentifier = ReserveIdentifier; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } parameter_types! { @@ -860,8 +879,6 @@ impl pallet_contracts::Config for Runtime { type WeightPrice = pallet_transaction_payment::Pallet; type WeightInfo = pallet_contracts::weights::SubstrateWeight; type ChainExtension = (); - type DeletionQueueDepth = DeletionQueueDepth; - type DeletionWeightLimit = DeletionWeightLimit; type Schedule = Schedule; type AddressGenerator = pallet_contracts::DefaultAddressGenerator; type MaxCodeLen = ConstU32<{ 123 * 1024 }>; From bb83de650335aab26ab3e9b6b7d94c0a3ec880eb Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Wed, 13 Dec 2023 18:42:06 -0300 Subject: [PATCH 03/89] wip updating modified pallet configs 2 --- runtime/amplitude/src/lib.rs | 33 +++++++++++++-------- runtime/amplitude/src/weights/pallet_xcm.rs | 9 ++++++ runtime/amplitude/src/xcm_config.rs | 10 ++++--- runtime/development/src/xcm_config.rs | 7 +++-- runtime/foucoco/src/lib.rs | 18 ++++++----- runtime/foucoco/src/weights/pallet_xcm.rs | 9 ++++++ runtime/foucoco/src/xcm_config.rs | 11 +++---- runtime/pendulum/src/lib.rs | 22 +++++++++----- runtime/pendulum/src/weights/pallet_xcm.rs | 9 ++++++ runtime/pendulum/src/xcm_config.rs | 10 ++++--- 10 files changed, 96 insertions(+), 42 deletions(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index dd5b6cdea..a801f348b 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -27,7 +27,7 @@ use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, fungible::Credit + AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto }, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, DispatchError, FixedPointNumber, SaturatedConversion, @@ -46,7 +46,7 @@ use frame_support::{ parameter_types, traits::{ ConstBool, ConstU32, Contains, Currency as FrameCurrency, EitherOfDiverse, - EqualPrivilegeOnly, Imbalance, InstanceFilter, OnUnbalanced, WithdrawReasons, + EqualPrivilegeOnly, Imbalance, InstanceFilter, OnUnbalanced, WithdrawReasons, fungible::Credit }, weights::{ constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, Weight, WeightToFeeCoefficient, @@ -460,7 +460,7 @@ impl OnUnbalanced::AccountId, pallet_ba fn on_nonzero_unbalanced( amount: Credit<::AccountId, pallet_balances::Pallet>, ) { - let _ = >::deposit_creating( + let _ = >::deposit_creating( &TreasuryPalletId::get().into_account_truncating(), amount.peek(), ); @@ -479,6 +479,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = pallet_balances::weights::SubstrateWeight; type MaxReserves = MaxReserves; type ReserveIdentifier = ReserveIdentifier; + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } parameter_types! { @@ -640,6 +644,7 @@ parameter_types! { pub const CouncilMotionDuration: BlockNumber = 3 * DAYS; pub const CouncilMaxProposals: u32 = 100; pub const CouncilMaxMembers: u32 = 100; + pub MaxProposalWeight: Weight = Perbill::from_percent(50) * RuntimeBlockWeights::get().max_block; } type CouncilCollective = pallet_collective::Instance1; @@ -654,6 +659,7 @@ impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } parameter_types! { @@ -674,6 +680,7 @@ impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } parameter_types! { @@ -952,12 +959,7 @@ const fn deposit(items: u32, bytes: u32) -> Balance { parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); pub const DepositPerByte: Balance = deposit(0, 1); - pub const DeletionQueueDepth: u32 = 128; - pub DeletionWeightLimit: Weight = RuntimeBlockWeights::get() - .per_class - .get(DispatchClass::Normal) - .max_total - .unwrap_or(RuntimeBlockWeights::get().max_block); + pub const DefaultDepositLimit: Balance = deposit(16, 16 * 1024); pub Schedule: pallet_contracts::Schedule = Default::default(); } @@ -974,14 +976,13 @@ impl pallet_contracts::Config for Runtime { type WeightPrice = pallet_transaction_payment::Pallet; type WeightInfo = pallet_contracts::weights::SubstrateWeight; type ChainExtension = (); - type DeletionQueueDepth = DeletionQueueDepth; - type DeletionWeightLimit = DeletionWeightLimit; type Schedule = Schedule; type AddressGenerator = pallet_contracts::DefaultAddressGenerator; type MaxCodeLen = ConstU32<{ 123 * 1024 }>; type MaxStorageKeyLen = ConstU32<128>; type UnsafeUnstableInterface = ConstBool; type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>; + type DefaultDepositLimit = DefaultDepositLimit; } impl pallet_insecure_randomness_collective_flip::Config for Runtime {} @@ -1452,6 +1453,14 @@ impl_runtime_apis! { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -1811,7 +1820,7 @@ impl_runtime_apis! { storage_deposit_limit, input_data, CONTRACTS_DEBUG_OUTPUT, - pallet_contracts::Determinism::Deterministic, + pallet_contracts::Determinism::Enforced, ) } diff --git a/runtime/amplitude/src/weights/pallet_xcm.rs b/runtime/amplitude/src/weights/pallet_xcm.rs index c4bcc42f9..13997fd21 100644 --- a/runtime/amplitude/src/weights/pallet_xcm.rs +++ b/runtime/amplitude/src/weights/pallet_xcm.rs @@ -55,6 +55,15 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } + // TODO RE RUN AND GET THIS PROPERLY + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_067_000 picoseconds. + Weight::from_parts(3_211_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } /// Storage: Benchmark Override (r:0 w:0) /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) fn teleport_assets() -> Weight { diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 15364a228..ead49b1d0 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -12,7 +12,7 @@ use crate::{ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing}, + traits::{ContainsPair, Everything, Nothing, ProcessMessageError}, }; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, @@ -34,6 +34,7 @@ use xcm_executor::{ traits::{JustTry, ShouldExecute}, XcmExecutor, }; +use frame_system::EnsureRoot; parameter_types! { pub const RelayLocation: MultiLocation = MultiLocation::parent(); @@ -201,7 +202,7 @@ where instructions: &mut [Instruction], max_weight: XCMWeight, weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { Deny::should_execute(origin, instructions, max_weight, weight_credit)?; Allow::should_execute(origin, instructions, max_weight, weight_credit) } @@ -215,7 +216,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { instructions: &mut [Instruction], _max_weight: XCMWeight, _weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { if instructions.iter().any(|inst| { matches!( inst, @@ -229,7 +230,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { } ) }) { - return Err(()) // Deny + return Err(ProcessMessageError::Unsupported) // Deny } // allow reserve transfers to arrive from relay chain @@ -317,6 +318,7 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = crate::weights::pallet_xcm::WeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; + type AdminOrigin = EnsureRoot; } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/development/src/xcm_config.rs b/runtime/development/src/xcm_config.rs index 8cc579d10..fb9ad546f 100644 --- a/runtime/development/src/xcm_config.rs +++ b/runtime/development/src/xcm_config.rs @@ -21,7 +21,7 @@ use xcm_builder::{ UsingComponents, }; use xcm_executor::{traits::ShouldExecute, XcmExecutor}; - +use frame_system::EnsureRoot; parameter_types! { pub const RelayLocation: MultiLocation = MultiLocation::parent(); pub const RelayNetwork: NetworkId = NetworkId::Rococo; @@ -124,7 +124,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { instructions: &mut [Instruction], _max_weight: XCMWeight, _weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { if instructions.iter().any(|inst| { matches!( inst, @@ -138,7 +138,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { } ) }) { - return Err(()) // Deny + return Err(ProcessMessageError::Unsupported) // Deny } // allow reserve transfers to arrive from relay chain @@ -235,6 +235,7 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = pallet_xcm::TestWeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; + type AdminOrigin = EnsureRoot; } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index dc6804740..d883bf4be 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -979,12 +979,7 @@ const fn deposit(items: u32, bytes: u32) -> Balance { parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); pub const DepositPerByte: Balance = deposit(0, 1); - pub const DeletionQueueDepth: u32 = 128; - pub DeletionWeightLimit: Weight = RuntimeBlockWeights::get() - .per_class - .get(DispatchClass::Normal) - .max_total - .unwrap_or(RuntimeBlockWeights::get().max_block); + pub const DefaultDepositLimit: Balance = deposit(16, 16 * 1024); pub Schedule: pallet_contracts::Schedule = pallet_contracts::Schedule::{ limits: pallet_contracts::Limits{ parameters: 256, @@ -1412,6 +1407,7 @@ impl pallet_contracts::Config for Runtime { type MaxStorageKeyLen = ConstU32<128>; type UnsafeUnstableInterface = ConstBool; type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>; + type DefaultDepositLimit = DefaultDepositLimit; } impl pallet_insecure_randomness_collective_flip::Config for Runtime {} @@ -1880,6 +1876,14 @@ impl_runtime_apis! { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -2255,7 +2259,7 @@ impl_runtime_apis! { storage_deposit_limit, input_data, CONTRACTS_DEBUG_OUTPUT, - pallet_contracts::Determinism::Deterministic, + pallet_contracts::Determinism::Enforced, ) } diff --git a/runtime/foucoco/src/weights/pallet_xcm.rs b/runtime/foucoco/src/weights/pallet_xcm.rs index d7ba6b342..55c076507 100644 --- a/runtime/foucoco/src/weights/pallet_xcm.rs +++ b/runtime/foucoco/src/weights/pallet_xcm.rs @@ -55,6 +55,15 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } + // TODO RE RUN AND GET THIS PROPERLY + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_067_000 picoseconds. + Weight::from_parts(3_211_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } /// Storage: Benchmark Override (r:0 w:0) /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) fn teleport_assets() -> Weight { diff --git a/runtime/foucoco/src/xcm_config.rs b/runtime/foucoco/src/xcm_config.rs index f2303217a..a5d0b687e 100644 --- a/runtime/foucoco/src/xcm_config.rs +++ b/runtime/foucoco/src/xcm_config.rs @@ -9,7 +9,7 @@ use crate::assets::{ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, - traits::{ConstU32, ContainsPair, Everything, Nothing}, + traits::{ConstU32, ContainsPair, Everything, Nothing, ProcessMessageError}, }; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, @@ -31,7 +31,7 @@ use xcm_executor::{ traits::{JustTry, ShouldExecute}, XcmExecutor, }; - +use frame_system::EnsureRoot; parameter_types! { pub const RelayLocation: MultiLocation = MultiLocation::parent(); pub const RelayNetwork: NetworkId = NetworkId::Rococo; @@ -216,7 +216,7 @@ where instructions: &mut [Instruction], max_weight: XCMWeight, weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { Deny::should_execute(origin, instructions, max_weight, weight_credit)?; Allow::should_execute(origin, instructions, max_weight, weight_credit) } @@ -230,7 +230,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { instructions: &mut [Instruction], _max_weight: XCMWeight, _weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { if instructions.iter().any(|inst| { matches!( inst, @@ -244,7 +244,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { } ) }) { - return Err(()) // Deny + return Err(ProcessMessageError::Unsupported) // Deny } // allow reserve transfers to arrive from relay chain @@ -333,6 +333,7 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = crate::weights::pallet_xcm::WeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; + type AdminOrigin = EnsureRoot; } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index bca209c31..f457d71db 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -549,6 +549,7 @@ parameter_types! { pub const CouncilMotionDuration: BlockNumber = 3 * DAYS; pub const CouncilMaxProposals: u32 = 100; pub const CouncilMaxMembers: u32 = 100; + pub MaxProposalWeight: Weight = Perbill::from_percent(50) * RuntimeBlockWeights::get().max_block; } type CouncilCollective = pallet_collective::Instance1; @@ -562,6 +563,7 @@ impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } parameter_types! { @@ -581,6 +583,7 @@ impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } parameter_types! { @@ -857,12 +860,8 @@ const fn deposit(items: u32, bytes: u32) -> Balance { parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); pub const DepositPerByte: Balance = deposit(0, 1); - pub const DeletionQueueDepth: u32 = 128; - pub DeletionWeightLimit: Weight = RuntimeBlockWeights::get() - .per_class - .get(DispatchClass::Normal) - .max_total - .unwrap_or(RuntimeBlockWeights::get().max_block); + // Fallback value if storage deposit limit not set by the user + pub const DefaultDepositLimit: Balance = deposit(16, 16 * 1024); pub Schedule: pallet_contracts::Schedule = Default::default(); } @@ -885,6 +884,7 @@ impl pallet_contracts::Config for Runtime { type MaxStorageKeyLen = ConstU32<128>; type UnsafeUnstableInterface = ConstBool; type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>; + type DefaultDepositLimit = DefaultDepositLimit; } impl pallet_insecure_randomness_collective_flip::Config for Runtime {} @@ -1135,6 +1135,14 @@ impl_runtime_apis! { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -1393,7 +1401,7 @@ impl_runtime_apis! { storage_deposit_limit, input_data, CONTRACTS_DEBUG_OUTPUT, - pallet_contracts::Determinism::Deterministic, + pallet_contracts::Determinism::Enforced, ) } diff --git a/runtime/pendulum/src/weights/pallet_xcm.rs b/runtime/pendulum/src/weights/pallet_xcm.rs index df921cfc9..87d396fff 100644 --- a/runtime/pendulum/src/weights/pallet_xcm.rs +++ b/runtime/pendulum/src/weights/pallet_xcm.rs @@ -55,6 +55,15 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } + // TODO RE RUN AND GET THIS PROPERLY + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_067_000 picoseconds. + Weight::from_parts(3_211_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } /// Storage: Benchmark Override (r:0 w:0) /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) fn teleport_assets() -> Weight { diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index 02de2a822..3ee487e69 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -16,7 +16,7 @@ use crate::{ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing}, + traits::{ContainsPair, Everything, Nothing,ProcessMessageError}, }; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, @@ -38,6 +38,7 @@ use xcm_executor::{ traits::{JustTry, ShouldExecute}, XcmExecutor, }; +use frame_system::EnsureRoot; parameter_types! { pub const RelayLocation: MultiLocation = MultiLocation::parent(); @@ -218,7 +219,7 @@ where instructions: &mut [Instruction], max_weight: XCMWeight, weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { Deny::should_execute(origin, instructions, max_weight, weight_credit)?; Allow::should_execute(origin, instructions, max_weight, weight_credit) } @@ -232,7 +233,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { instructions: &mut [Instruction], _max_weight: XCMWeight, _weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { if instructions.iter().any(|inst| { matches!( inst, @@ -246,7 +247,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { } ) }) { - return Err(()) // Deny + return Err(ProcessMessageError::Unsupported) // Deny } // allow reserve transfers to arrive from relay chain @@ -334,6 +335,7 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = crate::weights::pallet_xcm::WeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; + type AdminOrigin = EnsureRoot; } #[cfg(feature = "runtime-benchmarks")] From 805570882f541ad4ceb141e1f4e822f5b95e9545 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 14 Dec 2023 16:41:15 -0300 Subject: [PATCH 04/89] updgrade to v0.9.42 completed --- Cargo.lock | 27 ++++++++++++++---- node/src/command.rs | 2 +- node/src/service.rs | 32 ++++++++++++++-------- runtime/amplitude/Cargo.toml | 4 +++ runtime/amplitude/src/lib.rs | 35 +++++++++++++++++++++++- runtime/foucoco/Cargo.toml | 4 +++ runtime/foucoco/src/lib.rs | 35 ++++++++++++++++++++++++ runtime/integration-tests/src/mock.rs | 2 +- runtime/integration-tests/src/sibling.rs | 13 ++++++--- 9 files changed, 131 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 77ea5f14d..7484d37ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -191,6 +191,8 @@ version = "0.1.0" dependencies = [ "bifrost-farming", "bifrost-farming-rpc-runtime-api", + "bifrost-ve-minting", + "bifrost-ve-minting-rpc-runtime-api", "clients-info", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -681,7 +683,7 @@ dependencies = [ [[package]] name = "bifrost-farming" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" dependencies = [ "bifrost-ve-minting", "frame-benchmarking", @@ -703,7 +705,7 @@ dependencies = [ [[package]] name = "bifrost-farming-rpc-api" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" dependencies = [ "bifrost-farming-rpc-runtime-api", "jsonrpsee", @@ -720,7 +722,7 @@ dependencies = [ [[package]] name = "bifrost-farming-rpc-runtime-api" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" dependencies = [ "node-primitives", "parity-scale-codec", @@ -731,9 +733,10 @@ dependencies = [ [[package]] name = "bifrost-ve-minting" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" dependencies = [ "cumulus-primitives-core", + "frame-benchmarking", "frame-support", "frame-system", "hex-literal 0.3.4", @@ -749,6 +752,18 @@ dependencies = [ "xcm", ] +[[package]] +name = "bifrost-ve-minting-rpc-runtime-api" +version = "0.8.0" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" +dependencies = [ + "node-primitives", + "parity-scale-codec", + "sp-api", + "sp-core", + "sp-std", +] + [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" @@ -3153,6 +3168,8 @@ version = "0.1.0" dependencies = [ "bifrost-farming", "bifrost-farming-rpc-runtime-api", + "bifrost-ve-minting", + "bifrost-ve-minting-rpc-runtime-api", "clients-info", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -6028,7 +6045,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#e83e5f54d3a8278fa12e3549a093ed6e87ea7d3f" +source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" dependencies = [ "bstringify", "frame-support", diff --git a/node/src/command.rs b/node/src/command.rs index ac4214e5b..fa7728c9e 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -432,7 +432,7 @@ pub fn run() -> Result<()> { let id = ParaId::from(para_id); let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + AccountIdConversion::::into_account_truncating(&id); let state_version = Cli::native_runtime_version(&config.chain_spec).state_version(); let block: Block = generate_genesis_block(&*config.chain_spec, state_version) diff --git a/node/src/service.rs b/node/src/service.rs index 1acbfb966..67d8c9e93 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -22,7 +22,7 @@ use cumulus_relay_chain_interface::{RelayChainInterface, RelayChainResult}; use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node; // Substrate Imports -use sc_executor::NativeElseWasmExecutor; +use sc_executor::{NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, HeapAllocStrategy}; use sc_network::NetworkBlock; use sc_network_sync::SyncingService; @@ -30,7 +30,7 @@ use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, Ta use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; use sp_api::ConstructRuntimeApi; use sp_consensus_aura::{sr25519::AuthorityId, AuraApi}; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use sp_runtime::traits::BlakeTwo256; use substrate_prometheus_endpoint::Registry; @@ -191,12 +191,20 @@ where }) .transpose()?; - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, - ); + let heap_pages = config + .default_heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _ }); + + + let wasm = WasmExecutor::builder() + .with_execution_method(config.wasm_method) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) + .build(); + + let executor = NativeElseWasmExecutor::::new_with_wasm_executor(wasm); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( @@ -366,7 +374,7 @@ where transaction_pool: transaction_pool.clone(), task_manager: &mut task_manager, config: parachain_config, - keystore: params.keystore_container.sync_keystore(), + keystore: params.keystore_container.keystore(), backend: backend.clone(), network: network.clone(), system_rpc_tx, @@ -409,7 +417,7 @@ where relay_chain_interface.clone(), transaction_pool, sync_service.clone(), - params.keystore_container.sync_keystore(), + params.keystore_container.keystore(), force_authoring, id, )?; @@ -428,6 +436,7 @@ where collator_key: collator_key.expect("Command line arguments do not allow this. qed"), relay_chain_slot_duration, recovery_handle: Box::new(overseer_handle), + sync_service: sync_service.clone(), }; start_collator(params).await?; @@ -441,6 +450,7 @@ where relay_chain_slot_duration, import_queue: import_queue_service, recovery_handle: Box::new(overseer_handle), + sync_service: sync_service.clone(), }; start_full_node(params)?; @@ -507,7 +517,7 @@ fn build_consensus( relay_chain_interface: Arc, transaction_pool: Arc>, sync_oracle: Arc>, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, force_authoring: bool, id: ParaId, ) -> Result>, sc_service::Error> diff --git a/runtime/amplitude/Cargo.toml b/runtime/amplitude/Cargo.toml index c6ff172d4..ea09fd34e 100644 --- a/runtime/amplitude/Cargo.toml +++ b/runtime/amplitude/Cargo.toml @@ -136,6 +136,8 @@ zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DE bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } +bifrost-ve-minting = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } +bifrost-ve-minting-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } [features] default = [ @@ -214,6 +216,8 @@ std = [ "zenlink-protocol-runtime-api/std", "bifrost-farming/std", "bifrost-farming-rpc-runtime-api/std", + "bifrost-ve-minting/std", + "bifrost-ve-minting-rpc-runtime-api/std", # custom libraries from spacewalk "security/std", "staking/std", diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index a801f348b..0cafac82a 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -366,6 +366,7 @@ impl Contains for BaseFilter { RuntimeCall::Farming(_) | RuntimeCall::AssetRegistry(_) | RuntimeCall::Proxy(_) | + RuntimeCall::VeMinting(_) | RuntimeCall::RewardDistribution(_) => true, // All pallets are allowed, but exhaustive match is defensive // in the case of adding new pallets. @@ -1251,7 +1252,9 @@ impl pooled_rewards::Config for Runtime { parameter_types! { pub const FarmingKeeperPalletId: PalletId = PalletId(*b"am/fmkpr"); pub const FarmingRewardIssuerPalletId: PalletId = PalletId(*b"am/fmrir"); + pub const FarmingBoostPalletId: PalletId = PalletId(*b"am/fmbst"); pub AmplitudeTreasuryAccount: AccountId = TreasuryPalletId::get().into_account_truncating(); + pub const WhitelistMaximumLimit: u32 = 10; } impl farming::Config for Runtime { @@ -1263,6 +1266,36 @@ impl farming::Config for Runtime { type TreasuryAccount = AmplitudeTreasuryAccount; type Keeper = FarmingKeeperPalletId; type RewardIssuer = FarmingRewardIssuerPalletId; + type FarmingBoost = FarmingBoostPalletId; + type VeMinting = VeMinting; + type BlockNumberToBalance = ConvertInto; + type WhitelistMaximumLimit = WhitelistMaximumLimit; +} + +parameter_types! { + pub const VeMintingTokenType: CurrencyId = CurrencyId::Native; + pub VeMintingPalletId: PalletId = PalletId(*b"am/vemnt"); + pub IncentivePalletId: PalletId = PalletId(*b"am/veict"); + pub const Week: BlockNumber = 50400; // a week + pub const MaxBlock: BlockNumber = 10512000; // four years + pub const Multiplier: Balance = 10_u128.pow(12); + pub const VoteWeightMultiplier: Balance = 3; +} + +impl bifrost_ve_minting::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type CurrencyId = CurrencyId; + type MultiCurrency = Currencies; + type ControlOrigin = EnsureRoot; + type TokenType = VeMintingTokenType; + type VeMintingPalletId = VeMintingPalletId; + type IncentivePalletId = IncentivePalletId; + type WeightInfo = (); + type BlockNumberToBalance = ConvertInto; + type Week = Week; + type MaxBlock = MaxBlock; + type Multiplier = Multiplier; + type VoteWeightMultiplier = VoteWeightMultiplier; } impl InstanceFilter for ProxyType { @@ -1390,6 +1423,7 @@ construct_runtime!( // Asset Metadata AssetRegistry: orml_asset_registry::{Pallet, Storage, Call, Event, Config} = 91, + VeMinting: bifrost_ve_minting::{Pallet, Call, Storage, Event} = 92, VestingManager: vesting_manager::{Pallet, Call, Event} = 100 } @@ -1638,7 +1672,6 @@ impl_runtime_apis! { } } - #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { fn on_runtime_upgrade() -> (Weight, Weight) { diff --git a/runtime/foucoco/Cargo.toml b/runtime/foucoco/Cargo.toml index 6bc479b9c..60e7ad208 100644 --- a/runtime/foucoco/Cargo.toml +++ b/runtime/foucoco/Cargo.toml @@ -138,6 +138,8 @@ zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DE bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } +bifrost-ve-minting = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } +bifrost-ve-minting-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } [features] default = [ @@ -239,6 +241,8 @@ std = [ "bifrost-farming/std", "bifrost-farming-rpc-runtime-api/std", + "bifrost-ve-minting/std", + "bifrost-ve-minting-rpc-runtime-api/std", ] runtime-benchmarks = [ diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index d883bf4be..b5cf3ec55 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -169,6 +169,7 @@ pub type Executive = frame_executive::Executive< AllPalletsWithSystem, >; + pub struct SpacewalkNativeCurrency; impl oracle::dia::NativeCurrencyKey for SpacewalkNativeCurrency { fn native_symbol() -> Vec { @@ -379,6 +380,7 @@ impl Contains for BaseFilter { RuntimeCall::AssetRegistry(_) | RuntimeCall::Proxy(_) | RuntimeCall::OrmlExtension(_) | + RuntimeCall::VeMinting(_) | RuntimeCall::RewardDistribution(_) => true, // All pallets are allowed, but exhaustive match is defensive // in the case of adding new pallets. } @@ -1523,7 +1525,9 @@ impl currency::Config for Runtime { parameter_types! { pub const FarmingKeeperPalletId: PalletId = PalletId(*b"fo/fmkpr"); pub const FarmingRewardIssuerPalletId: PalletId = PalletId(*b"fo/fmrir"); + pub const FarmingBoostPalletId: PalletId = PalletId(*b"fo/fmbst"); pub FoucocoTreasuryAccount: AccountId = TreasuryPalletId::get().into_account_truncating(); + pub const WhitelistMaximumLimit: u32 = 10; } impl farming::Config for Runtime { @@ -1535,6 +1539,36 @@ impl farming::Config for Runtime { type TreasuryAccount = FoucocoTreasuryAccount; type Keeper = FarmingKeeperPalletId; type RewardIssuer = FarmingRewardIssuerPalletId; + type FarmingBoost = FarmingBoostPalletId; + type VeMinting = VeMinting; + type BlockNumberToBalance = ConvertInto; + type WhitelistMaximumLimit = WhitelistMaximumLimit; +} + +parameter_types! { + pub const VeMintingTokenType: CurrencyId = CurrencyId::Native; + pub VeMintingPalletId: PalletId = PalletId(*b"am/vemnt"); + pub IncentivePalletId: PalletId = PalletId(*b"am/veict"); + pub const Week: BlockNumber = 50400; // a week + pub const MaxBlock: BlockNumber = 10512000; // four years + pub const Multiplier: Balance = 10_u128.pow(12); + pub const VoteWeightMultiplier: Balance = 3; +} + +impl bifrost_ve_minting::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type CurrencyId = CurrencyId; + type MultiCurrency = Currencies; + type ControlOrigin = EnsureRoot; + type TokenType = VeMintingTokenType; + type VeMintingPalletId = VeMintingPalletId; + type IncentivePalletId = IncentivePalletId; + type WeightInfo = (); + type BlockNumberToBalance = ConvertInto; + type Week = Week; + type MaxBlock = MaxBlock; + type Multiplier = Multiplier; + type VoteWeightMultiplier = VoteWeightMultiplier; } impl security::Config for Runtime { @@ -1812,6 +1846,7 @@ construct_runtime!( // Asset Metadata AssetRegistry: orml_asset_registry::{Pallet, Storage, Call, Event, Config} = 91, + VeMinting: bifrost_ve_minting::{Pallet, Call, Storage, Event} = 92, } ); diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 75e1a39a5..282ef24ab 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -3,7 +3,7 @@ use frame_support::traits::GenesisBuild; use pendulum_runtime::CurrencyId as PendulumCurrencyId; use polkadot_core_primitives::{AccountId, Balance, BlockNumber}; use polkadot_parachain::primitives::Id as ParaId; -use polkadot_primitives::v2::{MAX_CODE_SIZE, MAX_POV_SIZE}; +use polkadot_primitives::v4::{MAX_CODE_SIZE, MAX_POV_SIZE}; use polkadot_runtime_parachains::configuration::HostConfiguration; use sibling::CurrencyId as SiblingCurrencyId; use sp_io::TestExternalities; diff --git a/runtime/integration-tests/src/sibling.rs b/runtime/integration-tests/src/sibling.rs index 5ac86b728..fe2ed0450 100644 --- a/runtime/integration-tests/src/sibling.rs +++ b/runtime/integration-tests/src/sibling.rs @@ -5,7 +5,7 @@ use codec::{Decode, Encode, MaxEncodedLen}; use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, - traits::{ConstU32, ContainsPair, Everything, Nothing}, + traits::{ConstU32, ContainsPair, Everything, Nothing, ProcessMessageError}, }; use frame_system::EnsureRoot; use orml_traits::{ @@ -269,7 +269,7 @@ where instructions: &mut [Instruction], max_weight: XCMWeight, weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { Deny::should_execute(origin, instructions, max_weight, weight_credit)?; Allow::should_execute(origin, instructions, max_weight, weight_credit) } @@ -283,7 +283,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { instructions: &mut [Instruction], _max_weight: XCMWeight, _weight_credit: &mut XCMWeight, - ) -> Result<(), ()> { + ) -> Result<(), ProcessMessageError> { if instructions.iter().any(|inst| { matches!( inst, @@ -297,7 +297,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { } ) }) { - return Err(()) // Deny + return Err(ProcessMessageError::Unsupported) // Deny } // allow reserve transfers to arrive from relay chain @@ -384,6 +384,7 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = pallet_xcm::TestWeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; + type AdminOrigin = EnsureRoot; } #[cfg(feature = "runtime-benchmarks")] @@ -550,6 +551,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = pallet_balances::weights::SubstrateWeight; type MaxReserves = MaxReserves; type ReserveIdentifier = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type MaxHolds = ConstU32<1>; + type HoldIdentifier = RuntimeHoldReason; } parameter_types! { From b59dcb3582bddbe1fb841ef0a249d2cd55ee8636 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 14 Dec 2023 17:17:35 -0300 Subject: [PATCH 05/89] avoid using VeMinting pallet in farming --- Cargo.lock | 17 ----------------- runtime/amplitude/Cargo.toml | 4 ---- runtime/amplitude/src/lib.rs | 30 +----------------------------- runtime/foucoco/Cargo.toml | 4 ---- runtime/foucoco/src/lib.rs | 31 ++----------------------------- 5 files changed, 3 insertions(+), 83 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7484d37ea..ac4ca3171 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -191,8 +191,6 @@ version = "0.1.0" dependencies = [ "bifrost-farming", "bifrost-farming-rpc-runtime-api", - "bifrost-ve-minting", - "bifrost-ve-minting-rpc-runtime-api", "clients-info", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -736,7 +734,6 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking", "frame-support", "frame-system", "hex-literal 0.3.4", @@ -752,18 +749,6 @@ dependencies = [ "xcm", ] -[[package]] -name = "bifrost-ve-minting-rpc-runtime-api" -version = "0.8.0" -source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#ad1e95fcafe0203968571ef11fd5e4ceaaee7146" -dependencies = [ - "node-primitives", - "parity-scale-codec", - "sp-api", - "sp-core", - "sp-std", -] - [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" @@ -3168,8 +3153,6 @@ version = "0.1.0" dependencies = [ "bifrost-farming", "bifrost-farming-rpc-runtime-api", - "bifrost-ve-minting", - "bifrost-ve-minting-rpc-runtime-api", "clients-info", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/runtime/amplitude/Cargo.toml b/runtime/amplitude/Cargo.toml index ea09fd34e..c6ff172d4 100644 --- a/runtime/amplitude/Cargo.toml +++ b/runtime/amplitude/Cargo.toml @@ -136,8 +136,6 @@ zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DE bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } -bifrost-ve-minting = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } -bifrost-ve-minting-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } [features] default = [ @@ -216,8 +214,6 @@ std = [ "zenlink-protocol-runtime-api/std", "bifrost-farming/std", "bifrost-farming-rpc-runtime-api/std", - "bifrost-ve-minting/std", - "bifrost-ve-minting-rpc-runtime-api/std", # custom libraries from spacewalk "security/std", "staking/std", diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 0cafac82a..0884fadf2 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -366,7 +366,6 @@ impl Contains for BaseFilter { RuntimeCall::Farming(_) | RuntimeCall::AssetRegistry(_) | RuntimeCall::Proxy(_) | - RuntimeCall::VeMinting(_) | RuntimeCall::RewardDistribution(_) => true, // All pallets are allowed, but exhaustive match is defensive // in the case of adding new pallets. @@ -1267,37 +1266,11 @@ impl farming::Config for Runtime { type Keeper = FarmingKeeperPalletId; type RewardIssuer = FarmingRewardIssuerPalletId; type FarmingBoost = FarmingBoostPalletId; - type VeMinting = VeMinting; + type VeMinting = (); type BlockNumberToBalance = ConvertInto; type WhitelistMaximumLimit = WhitelistMaximumLimit; } -parameter_types! { - pub const VeMintingTokenType: CurrencyId = CurrencyId::Native; - pub VeMintingPalletId: PalletId = PalletId(*b"am/vemnt"); - pub IncentivePalletId: PalletId = PalletId(*b"am/veict"); - pub const Week: BlockNumber = 50400; // a week - pub const MaxBlock: BlockNumber = 10512000; // four years - pub const Multiplier: Balance = 10_u128.pow(12); - pub const VoteWeightMultiplier: Balance = 3; -} - -impl bifrost_ve_minting::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type CurrencyId = CurrencyId; - type MultiCurrency = Currencies; - type ControlOrigin = EnsureRoot; - type TokenType = VeMintingTokenType; - type VeMintingPalletId = VeMintingPalletId; - type IncentivePalletId = IncentivePalletId; - type WeightInfo = (); - type BlockNumberToBalance = ConvertInto; - type Week = Week; - type MaxBlock = MaxBlock; - type Multiplier = Multiplier; - type VoteWeightMultiplier = VoteWeightMultiplier; -} - impl InstanceFilter for ProxyType { fn filter(&self, c: &RuntimeCall) -> bool { match self { @@ -1423,7 +1396,6 @@ construct_runtime!( // Asset Metadata AssetRegistry: orml_asset_registry::{Pallet, Storage, Call, Event, Config} = 91, - VeMinting: bifrost_ve_minting::{Pallet, Call, Storage, Event} = 92, VestingManager: vesting_manager::{Pallet, Call, Event} = 100 } diff --git a/runtime/foucoco/Cargo.toml b/runtime/foucoco/Cargo.toml index 60e7ad208..6bc479b9c 100644 --- a/runtime/foucoco/Cargo.toml +++ b/runtime/foucoco/Cargo.toml @@ -138,8 +138,6 @@ zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DE bifrost-farming = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } bifrost-farming-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } -bifrost-ve-minting = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } -bifrost-ve-minting-rpc-runtime-api = { git = "https://github.com/pendulum-chain/bifrost", default-features = false, branch = "upgrade-v0.9.42" } [features] default = [ @@ -241,8 +239,6 @@ std = [ "bifrost-farming/std", "bifrost-farming-rpc-runtime-api/std", - "bifrost-ve-minting/std", - "bifrost-ve-minting-rpc-runtime-api/std", ] runtime-benchmarks = [ diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index b5cf3ec55..97cf671fe 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -380,7 +380,6 @@ impl Contains for BaseFilter { RuntimeCall::AssetRegistry(_) | RuntimeCall::Proxy(_) | RuntimeCall::OrmlExtension(_) | - RuntimeCall::VeMinting(_) | RuntimeCall::RewardDistribution(_) => true, // All pallets are allowed, but exhaustive match is defensive // in the case of adding new pallets. } @@ -1540,37 +1539,11 @@ impl farming::Config for Runtime { type Keeper = FarmingKeeperPalletId; type RewardIssuer = FarmingRewardIssuerPalletId; type FarmingBoost = FarmingBoostPalletId; - type VeMinting = VeMinting; + type VeMinting = (); type BlockNumberToBalance = ConvertInto; type WhitelistMaximumLimit = WhitelistMaximumLimit; } -parameter_types! { - pub const VeMintingTokenType: CurrencyId = CurrencyId::Native; - pub VeMintingPalletId: PalletId = PalletId(*b"am/vemnt"); - pub IncentivePalletId: PalletId = PalletId(*b"am/veict"); - pub const Week: BlockNumber = 50400; // a week - pub const MaxBlock: BlockNumber = 10512000; // four years - pub const Multiplier: Balance = 10_u128.pow(12); - pub const VoteWeightMultiplier: Balance = 3; -} - -impl bifrost_ve_minting::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type CurrencyId = CurrencyId; - type MultiCurrency = Currencies; - type ControlOrigin = EnsureRoot; - type TokenType = VeMintingTokenType; - type VeMintingPalletId = VeMintingPalletId; - type IncentivePalletId = IncentivePalletId; - type WeightInfo = (); - type BlockNumberToBalance = ConvertInto; - type Week = Week; - type MaxBlock = MaxBlock; - type Multiplier = Multiplier; - type VoteWeightMultiplier = VoteWeightMultiplier; -} - impl security::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = security::SubstrateWeight; @@ -1846,7 +1819,7 @@ construct_runtime!( // Asset Metadata AssetRegistry: orml_asset_registry::{Pallet, Storage, Call, Event, Config} = 91, - VeMinting: bifrost_ve_minting::{Pallet, Call, Storage, Event} = 92, + } ); From ace3cc2359a9fbc70e936f091aae150e0efd33a1 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 14 Dec 2023 18:23:07 -0300 Subject: [PATCH 06/89] re-run benchmarks pallet-xcm --- runtime/amplitude/src/weights/pallet_xcm.rs | 108 ++++++++++---------- runtime/foucoco/src/weights/pallet_xcm.rs | 108 ++++++++++---------- runtime/pendulum/src/weights/pallet_xcm.rs | 108 ++++++++++---------- 3 files changed, 168 insertions(+), 156 deletions(-) diff --git a/runtime/amplitude/src/weights/pallet_xcm.rs b/runtime/amplitude/src/weights/pallet_xcm.rs index 13997fd21..d1c9d3932 100644 --- a/runtime/amplitude/src/weights/pallet_xcm.rs +++ b/runtime/amplitude/src/weights/pallet_xcm.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! HOSTNAME: `pop-os`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("amplitude"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,8 @@ // amplitude // --execution=wasm // --wasm-execution=compiled -// --pallet=pallet-xcm +// --pallet +// pallet-xcm // --extrinsic // * // --steps @@ -23,14 +24,15 @@ // --repeat // 20 // --output -// pallet_xcm.rs +// runtime/amplitude/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); @@ -48,22 +50,13 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn send() -> Weight { // Proof Size summary in bytes: // Measured: `212` - // Estimated: `10465` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) - .saturating_add(Weight::from_parts(0, 10465)) + // Estimated: `3677` + // Minimum execution time: 38_682_000 picoseconds. + Weight::from_parts(39_311_000, 0) + .saturating_add(Weight::from_parts(0, 3677)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - // TODO RE RUN AND GET THIS PROPERLY - fn force_suspension() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 3_067_000 picoseconds. - Weight::from_parts(3_211_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } /// Storage: Benchmark Override (r:0 w:0) /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) fn teleport_assets() -> Weight { @@ -80,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32` // Estimated: `1489` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 49_359_000 picoseconds. + Weight::from_parts(63_536_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -89,8 +82,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 13_605_000 picoseconds. + Weight::from_parts(13_911_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) @@ -99,8 +92,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 14_367_000 picoseconds. + Weight::from_parts(14_725_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -110,8 +103,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 4_740_000 picoseconds. + Weight::from_parts(5_088_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,10 +127,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `212` - // Estimated: `16051` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) - .saturating_add(Weight::from_parts(0, 16051)) + // Estimated: `3677` + // Minimum execution time: 45_605_000 picoseconds. + Weight::from_parts(46_297_000, 0) + .saturating_add(Weight::from_parts(0, 3677)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -158,21 +151,32 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `15635` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) - .saturating_add(Weight::from_parts(0, 15635)) + // Estimated: `3860` + // Minimum execution time: 45_319_000 picoseconds. + Weight::from_parts(46_314_000, 0) + .saturating_add(Weight::from_parts(0, 3860)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) + /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_724_000 picoseconds. + Weight::from_parts(5_021_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `196` // Estimated: `11086` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 22_211_000 picoseconds. + Weight::from_parts(22_666_000, 0) .saturating_add(Weight::from_parts(0, 11086)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -183,8 +187,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `200` // Estimated: `11090` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 22_156_000 picoseconds. + Weight::from_parts(22_487_000, 0) .saturating_add(Weight::from_parts(0, 11090)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -195,8 +199,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `13572` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 23_349_000 picoseconds. + Weight::from_parts(24_075_000, 0) .saturating_add(Weight::from_parts(0, 13572)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -215,10 +219,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_current_targets() -> Weight { // Proof Size summary in bytes: // Measured: `279` - // Estimated: `17019` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(29_000_000, 0) - .saturating_add(Weight::from_parts(0, 17019)) + // Estimated: `6219` + // Minimum execution time: 41_998_000 picoseconds. + Weight::from_parts(42_566_000, 0) + .saturating_add(Weight::from_parts(0, 6219)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -228,8 +232,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `8654` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 12_897_000 picoseconds. + Weight::from_parts(13_235_000, 0) .saturating_add(Weight::from_parts(0, 8654)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -239,8 +243,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `11097` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 22_372_000 picoseconds. + Weight::from_parts(22_905_000, 0) .saturating_add(Weight::from_parts(0, 11097)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -260,10 +264,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: // Measured: `283` - // Estimated: `21993` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) - .saturating_add(Weight::from_parts(0, 21993)) + // Estimated: `11173` + // Minimum execution time: 50_944_000 picoseconds. + Weight::from_parts(51_564_000, 0) + .saturating_add(Weight::from_parts(0, 11173)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/foucoco/src/weights/pallet_xcm.rs b/runtime/foucoco/src/weights/pallet_xcm.rs index 55c076507..501edc7ea 100644 --- a/runtime/foucoco/src/weights/pallet_xcm.rs +++ b/runtime/foucoco/src/weights/pallet_xcm.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! HOSTNAME: `pop-os`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("foucoco"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,8 @@ // foucoco // --execution=wasm // --wasm-execution=compiled -// --pallet=pallet-xcm +// --pallet +// pallet-xcm // --extrinsic // * // --steps @@ -23,14 +24,15 @@ // --repeat // 20 // --output -// pallet_xcm.rs +// runtime/foucoco/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); @@ -48,22 +50,13 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn send() -> Weight { // Proof Size summary in bytes: // Measured: `245` - // Estimated: `10630` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) - .saturating_add(Weight::from_parts(0, 10630)) + // Estimated: `3710` + // Minimum execution time: 37_037_000 picoseconds. + Weight::from_parts(37_780_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - // TODO RE RUN AND GET THIS PROPERLY - fn force_suspension() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 3_067_000 picoseconds. - Weight::from_parts(3_211_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } /// Storage: Benchmark Override (r:0 w:0) /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) fn teleport_assets() -> Weight { @@ -80,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32` // Estimated: `1489` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 32_612_000 picoseconds. + Weight::from_parts(59_114_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -89,8 +82,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 13_629_000 picoseconds. + Weight::from_parts(13_864_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) @@ -99,8 +92,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 14_727_000 picoseconds. + Weight::from_parts(16_019_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -110,8 +103,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 4_571_000 picoseconds. + Weight::from_parts(4_790_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,10 +127,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `245` - // Estimated: `16315` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) - .saturating_add(Weight::from_parts(0, 16315)) + // Estimated: `3710` + // Minimum execution time: 44_609_000 picoseconds. + Weight::from_parts(88_897_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -158,21 +151,32 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `428` - // Estimated: `15866` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) - .saturating_add(Weight::from_parts(0, 15866)) + // Estimated: `3893` + // Minimum execution time: 45_297_000 picoseconds. + Weight::from_parts(45_947_000, 0) + .saturating_add(Weight::from_parts(0, 3893)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) + /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_537_000 picoseconds. + Weight::from_parts(4_726_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `229` // Estimated: `11119` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 21_923_000 picoseconds. + Weight::from_parts(22_440_000, 0) .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -183,8 +187,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `233` // Estimated: `11123` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 22_204_000 picoseconds. + Weight::from_parts(22_593_000, 0) .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -195,8 +199,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `13605` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 23_228_000 picoseconds. + Weight::from_parts(23_713_000, 0) .saturating_add(Weight::from_parts(0, 13605)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -215,10 +219,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_current_targets() -> Weight { // Proof Size summary in bytes: // Measured: `312` - // Estimated: `17217` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(29_000_000, 0) - .saturating_add(Weight::from_parts(0, 17217)) + // Estimated: `6252` + // Minimum execution time: 41_887_000 picoseconds. + Weight::from_parts(43_346_000, 0) + .saturating_add(Weight::from_parts(0, 6252)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -228,8 +232,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272` // Estimated: `8687` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 13_190_000 picoseconds. + Weight::from_parts(13_674_000, 0) .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -239,8 +243,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `11130` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 22_721_000 picoseconds. + Weight::from_parts(23_207_000, 0) .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -260,10 +264,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: // Measured: `316` - // Estimated: `22191` - // Minimum execution time: 36_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) - .saturating_add(Weight::from_parts(0, 22191)) + // Estimated: `11206` + // Minimum execution time: 50_285_000 picoseconds. + Weight::from_parts(51_075_000, 0) + .saturating_add(Weight::from_parts(0, 11206)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/pendulum/src/weights/pallet_xcm.rs b/runtime/pendulum/src/weights/pallet_xcm.rs index 87d396fff..c0d3ba948 100644 --- a/runtime/pendulum/src/weights/pallet_xcm.rs +++ b/runtime/pendulum/src/weights/pallet_xcm.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! HOSTNAME: `pop-os`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pendulum"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,8 @@ // pendulum // --execution=wasm // --wasm-execution=compiled -// --pallet=pallet-xcm +// --pallet +// pallet-xcm // --extrinsic // * // --steps @@ -23,14 +24,15 @@ // --repeat // 20 // --output -// pallet_xcm.rs +// runtime/pendulum/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); @@ -48,22 +50,13 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn send() -> Weight { // Proof Size summary in bytes: // Measured: `145` - // Estimated: `10130` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) - .saturating_add(Weight::from_parts(0, 10130)) + // Estimated: `3610` + // Minimum execution time: 40_032_000 picoseconds. + Weight::from_parts(40_460_000, 0) + .saturating_add(Weight::from_parts(0, 3610)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - // TODO RE RUN AND GET THIS PROPERLY - fn force_suspension() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 3_067_000 picoseconds. - Weight::from_parts(3_211_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } /// Storage: Benchmark Override (r:0 w:0) /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) fn teleport_assets() -> Weight { @@ -80,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32` // Estimated: `1489` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 37_188_000 picoseconds. + Weight::from_parts(39_629_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -89,8 +82,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 14_427_000 picoseconds. + Weight::from_parts(30_136_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) @@ -99,8 +92,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 15_126_000 picoseconds. + Weight::from_parts(15_296_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -110,8 +103,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 5_002_000 picoseconds. + Weight::from_parts(5_109_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,10 +127,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `145` - // Estimated: `15515` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(30_000_000, 0) - .saturating_add(Weight::from_parts(0, 15515)) + // Estimated: `3610` + // Minimum execution time: 46_138_000 picoseconds. + Weight::from_parts(46_714_000, 0) + .saturating_add(Weight::from_parts(0, 3610)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -158,21 +151,32 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `328` - // Estimated: `15166` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) - .saturating_add(Weight::from_parts(0, 15166)) + // Estimated: `3793` + // Minimum execution time: 45_902_000 picoseconds. + Weight::from_parts(47_995_000, 0) + .saturating_add(Weight::from_parts(0, 3793)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) + /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_807_000 picoseconds. + Weight::from_parts(5_523_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `11052` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 23_133_000 picoseconds. + Weight::from_parts(23_599_000, 0) .saturating_add(Weight::from_parts(0, 11052)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -183,8 +187,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `166` // Estimated: `11056` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 23_543_000 picoseconds. + Weight::from_parts(23_918_000, 0) .saturating_add(Weight::from_parts(0, 11056)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -195,8 +199,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `13538` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 24_704_000 picoseconds. + Weight::from_parts(25_267_000, 0) .saturating_add(Weight::from_parts(0, 13538)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -215,10 +219,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_current_targets() -> Weight { // Proof Size summary in bytes: // Measured: `212` - // Estimated: `16617` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(28_000_000, 0) - .saturating_add(Weight::from_parts(0, 16617)) + // Estimated: `6152` + // Minimum execution time: 42_577_000 picoseconds. + Weight::from_parts(43_366_000, 0) + .saturating_add(Weight::from_parts(0, 6152)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -228,8 +232,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8621` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 12_957_000 picoseconds. + Weight::from_parts(13_179_000, 0) .saturating_add(Weight::from_parts(0, 8621)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -239,8 +243,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `11063` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 23_953_000 picoseconds. + Weight::from_parts(24_967_000, 0) .saturating_add(Weight::from_parts(0, 11063)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -260,10 +264,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: // Measured: `215` - // Estimated: `21585` - // Minimum execution time: 36_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) - .saturating_add(Weight::from_parts(0, 21585)) + // Estimated: `11105` + // Minimum execution time: 50_999_000 picoseconds. + Weight::from_parts(51_842_000, 0) + .saturating_add(Weight::from_parts(0, 11105)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } From 531cbafe7c38a1897c1c92bd084764d11a3c2032 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Fri, 15 Dec 2023 09:40:06 -0300 Subject: [PATCH 07/89] modify default deposit limit for amplitude --- runtime/amplitude/src/lib.rs | 2 +- runtime/foucoco/src/lib.rs | 2 +- runtime/pendulum/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 0884fadf2..717e8dc67 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -959,7 +959,7 @@ const fn deposit(items: u32, bytes: u32) -> Balance { parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); pub const DepositPerByte: Balance = deposit(0, 1); - pub const DefaultDepositLimit: Balance = deposit(16, 16 * 1024); + pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); pub Schedule: pallet_contracts::Schedule = Default::default(); } diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 97cf671fe..1ef6e1958 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -980,7 +980,7 @@ const fn deposit(items: u32, bytes: u32) -> Balance { parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); pub const DepositPerByte: Balance = deposit(0, 1); - pub const DefaultDepositLimit: Balance = deposit(16, 16 * 1024); + pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); pub Schedule: pallet_contracts::Schedule = pallet_contracts::Schedule::{ limits: pallet_contracts::Limits{ parameters: 256, diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index f457d71db..0e2fdb879 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -861,7 +861,7 @@ parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); pub const DepositPerByte: Balance = deposit(0, 1); // Fallback value if storage deposit limit not set by the user - pub const DefaultDepositLimit: Balance = deposit(16, 16 * 1024); + pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); pub Schedule: pallet_contracts::Schedule = Default::default(); } From 8e3a548e0bc81930f3adc9bd5c2374e7ee65a024 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Fri, 29 Dec 2023 16:07:13 -0300 Subject: [PATCH 08/89] fix for try-runtime features --- Cargo.lock | 148 +++++++++--------- node/Cargo.toml | 12 +- .../Cargo.toml | 5 + .../Cargo.toml | 7 + pallets/parachain-staking/rpc/Cargo.toml | 2 +- .../rpc/runtime-api/Cargo.toml | 2 +- pallets/parachain-staking/src/try_state.rs | 2 +- runtime/amplitude/Cargo.toml | 104 +++++++++--- runtime/amplitude/src/lib.rs | 17 +- runtime/common/Cargo.toml | 2 +- runtime/development/Cargo.toml | 22 ++- runtime/development/src/lib.rs | 21 ++- runtime/foucoco/Cargo.toml | 103 +++++++++--- runtime/foucoco/src/lib.rs | 19 ++- runtime/pendulum/Cargo.toml | 54 ++++++- runtime/pendulum/src/lib.rs | 18 ++- 16 files changed, 376 insertions(+), 162 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eba0e2641..6918d5926 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,7 +280,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "staking", "stellar-relay", "substrate-wasm-builder", @@ -1194,8 +1194,8 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clients-info" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "frame-system", @@ -2065,8 +2065,8 @@ dependencies = [ [[package]] name = "currency" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "frame-system", @@ -2080,7 +2080,7 @@ dependencies = [ "serde", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -2853,8 +2853,8 @@ dependencies = [ [[package]] name = "fee" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "frame-benchmarking", @@ -2873,7 +2873,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "staking", ] @@ -3099,7 +3099,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "staking", "stellar-relay", "substrate-wasm-builder", @@ -4158,8 +4158,8 @@ dependencies = [ [[package]] name = "issue" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "base64 0.13.1", "currency", @@ -4186,7 +4186,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", ] @@ -5437,8 +5437,8 @@ dependencies = [ [[package]] name = "module-issue-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "jsonrpsee", "module-issue-rpc-runtime-api", @@ -5450,8 +5450,8 @@ dependencies = [ [[package]] name = "module-issue-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "parity-scale-codec", @@ -5461,8 +5461,8 @@ dependencies = [ [[package]] name = "module-oracle-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", @@ -5470,20 +5470,20 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-runtime", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", ] [[package]] name = "module-oracle-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "parity-scale-codec", "serde", "sp-api", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -5514,8 +5514,8 @@ dependencies = [ [[package]] name = "module-redeem-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "jsonrpsee", "module-redeem-rpc-runtime-api", @@ -5527,8 +5527,8 @@ dependencies = [ [[package]] name = "module-redeem-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "parity-scale-codec", @@ -5538,8 +5538,8 @@ dependencies = [ [[package]] name = "module-replace-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "jsonrpsee", "module-replace-rpc-runtime-api", @@ -5551,8 +5551,8 @@ dependencies = [ [[package]] name = "module-replace-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "parity-scale-codec", @@ -5562,8 +5562,8 @@ dependencies = [ [[package]] name = "module-vault-registry-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", @@ -5576,8 +5576,8 @@ dependencies = [ [[package]] name = "module-vault-registry-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "module-oracle-rpc-runtime-api", @@ -5851,8 +5851,8 @@ dependencies = [ [[package]] name = "nomination" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "fee", @@ -5876,7 +5876,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "staking", "vault-registry", ] @@ -6023,8 +6023,8 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "oracle" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "dia-oracle", @@ -6043,7 +6043,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "spin 0.9.8", "staking", ] @@ -6201,7 +6201,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36)", + "spacewalk-primitives 1.0.0", ] [[package]] @@ -7747,7 +7747,7 @@ dependencies = [ "sp-session", "sp-timestamp", "sp-transaction-pool", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -7838,7 +7838,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "substrate-wasm-builder", "vesting-manager", "xcm", @@ -9169,8 +9169,8 @@ dependencies = [ [[package]] name = "pooled-rewards" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "frame-benchmarking", @@ -9185,7 +9185,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -9614,8 +9614,8 @@ dependencies = [ [[package]] name = "redeem" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "fee", @@ -9639,7 +9639,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", ] @@ -9776,8 +9776,8 @@ dependencies = [ [[package]] name = "replace" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "fee", @@ -9803,7 +9803,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", ] @@ -9820,8 +9820,8 @@ dependencies = [ [[package]] name = "reward" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-benchmarking", "frame-support", @@ -9834,13 +9834,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", ] [[package]] name = "reward-distribution" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "frame-benchmarking", @@ -9862,7 +9862,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "staking", ] @@ -10081,7 +10081,7 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "xcm", "xcm-executor", "zenlink-protocol", @@ -11609,8 +11609,8 @@ dependencies = [ [[package]] name = "security" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-support", "frame-system", @@ -12652,7 +12652,7 @@ dependencies = [ [[package]] name = "spacewalk-primitives" version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36#d05b0015d15ca39cc780889bcc095335e9862a36" dependencies = [ "base58", "bstringify", @@ -12669,8 +12669,8 @@ dependencies = [ [[package]] name = "spacewalk-primitives" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36#d05b0015d15ca39cc780889bcc095335e9862a36" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "base58", "bstringify", @@ -12749,8 +12749,8 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staking" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12765,7 +12765,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -12955,8 +12955,8 @@ dependencies = [ [[package]] name = "stellar-relay" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "base64 0.13.1", "currency", @@ -12969,7 +12969,7 @@ dependencies = [ "sha2 0.10.7", "sp-core", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -13934,8 +13934,8 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "vault-registry" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=ae196e585339bf32b2db9dbbe9e5e11299cb23c3#ae196e585339bf32b2db9dbbe9e5e11299cb23c3" dependencies = [ "currency", "fee", @@ -13962,7 +13962,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85)", + "spacewalk-primitives 1.0.3", "staking", ] diff --git a/node/Cargo.toml b/node/Cargo.toml index d7bbc4528..82821d855 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -15,13 +15,13 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.145", features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server"] } -module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} module-pallet-staking-rpc = { path = "../pallets/parachain-staking/rpc" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} # Local amplitude-runtime = {path = "../runtime/amplitude"} diff --git a/pallets/orml-currencies-allowance-extension/Cargo.toml b/pallets/orml-currencies-allowance-extension/Cargo.toml index 2439e4c24..7153dcb19 100644 --- a/pallets/orml-currencies-allowance-extension/Cargo.toml +++ b/pallets/orml-currencies-allowance-extension/Cargo.toml @@ -55,3 +55,8 @@ runtime-benchmarks = [ "frame-system/runtime-benchmarks", "pallet-balances" ] + +try-runtime = [ + "frame-system/try-runtime", + "pallet-balances/try-runtime" +] \ No newline at end of file diff --git a/pallets/orml-tokens-management-extension/Cargo.toml b/pallets/orml-tokens-management-extension/Cargo.toml index d2ca15d7d..70d804768 100644 --- a/pallets/orml-tokens-management-extension/Cargo.toml +++ b/pallets/orml-tokens-management-extension/Cargo.toml @@ -59,3 +59,10 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", ] + +try-runtime = [ + "frame-system/try-runtime", + "frame-support/try-runtime", + "orml-currencies/try-runtime", + "orml-tokens/try-runtime", +] \ No newline at end of file diff --git a/pallets/parachain-staking/rpc/Cargo.toml b/pallets/parachain-staking/rpc/Cargo.toml index cafbca161..8f42205b7 100644 --- a/pallets/parachain-staking/rpc/Cargo.toml +++ b/pallets/parachain-staking/rpc/Cargo.toml @@ -7,7 +7,7 @@ version = "1.0.0" [dependencies] codec = {package = "parity-scale-codec", version = "3.0.0"} jsonrpsee = {version = "0.16.0", features = ["server", "macros"]} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} module-pallet-staking-rpc-runtime-api = {path = "runtime-api"} sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} diff --git a/pallets/parachain-staking/rpc/runtime-api/Cargo.toml b/pallets/parachain-staking/rpc/runtime-api/Cargo.toml index 9ce8f015a..670a4c81a 100644 --- a/pallets/parachain-staking/rpc/runtime-api/Cargo.toml +++ b/pallets/parachain-staking/rpc/runtime-api/Cargo.toml @@ -10,7 +10,7 @@ sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0 sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} parity-scale-codec = {version = "3.1.5", default-features = false, features = ["derive"]} scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} serde = {version = "1.0.142", default-features = false, optional = true, features = ["derive"]} [features] diff --git a/pallets/parachain-staking/src/try_state.rs b/pallets/parachain-staking/src/try_state.rs index c2e58bb85..7dbfd28e1 100644 --- a/pallets/parachain-staking/src/try_state.rs +++ b/pallets/parachain-staking/src/try_state.rs @@ -17,7 +17,7 @@ // If you feel like getting in touch with us, you can do so at info@botlabs.org use frame_support::{ensure, traits::Get}; -use scale_info::prelude::format; +use scale_info::prelude::{string::String,format}; use sp_runtime::{ traits::{CheckedAdd, Zero}, SaturatedConversion, Saturating, diff --git a/runtime/amplitude/Cargo.toml b/runtime/amplitude/Cargo.toml index fb52cc741..195513682 100644 --- a/runtime/amplitude/Cargo.toml +++ b/runtime/amplitude/Cargo.toml @@ -27,27 +27,27 @@ smallvec = "1.9.0" runtime-common = { path = "../common", default-features = false } # Custom libraries for Spacewalk -clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } -module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } +clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } +module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } -pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} # Substrate @@ -164,6 +164,7 @@ std = [ "frame-support/std", "frame-system-rpc-runtime-api/std", "frame-system/std", + "frame-try-runtime/std", "orml-asset-registry/std", "orml-currencies/std", "orml-traits/std", @@ -274,5 +275,64 @@ runtime-benchmarks = [ try-runtime = [ "frame-executive/try-runtime", - "frame-try-runtime/try-runtime", -] + "frame-try-runtime", + "frame-system/try-runtime", + "parachain-info/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", + "pallet-balances/try-runtime", + "pallet-bounties/try-runtime", + "pallet-child-bounties/try-runtime", + "pallet-collective/try-runtime", + "pallet-contracts/try-runtime", + "pallet-democracy/try-runtime", + "pallet-identity/try-runtime", + "pallet-multisig/try-runtime", + "pallet-preimage/try-runtime", + "pallet-proxy/try-runtime", + "pallet-insecure-randomness-collective-flip/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-treasury/try-runtime", + "pallet-utility/try-runtime", + "pallet-vesting/try-runtime", + "pallet-xcm/try-runtime", + + "parachain-staking/try-runtime", + + "cumulus-pallet-aura-ext/try-runtime", + "cumulus-pallet-dmp-queue/try-runtime", + "cumulus-pallet-parachain-system/try-runtime", + "cumulus-pallet-xcm/try-runtime", + "cumulus-pallet-xcmp-queue/try-runtime", + + "orml-asset-registry/try-runtime", + "orml-currencies/try-runtime", + "orml-tokens/try-runtime", + "orml-xtokens/try-runtime", + + "stellar-relay/try-runtime", + "issue/try-runtime", + "currency/try-runtime", + "security/try-runtime", + "staking/try-runtime", + "oracle/try-runtime", + "fee/try-runtime", + "vault-registry/try-runtime", + "redeem/try-runtime", + "nomination/try-runtime", + "replace/try-runtime", + "pooled-rewards/try-runtime", + "clients-info/try-runtime", + "reward-distribution/try-runtime", + + "dia-oracle/try-runtime", + "orml-currencies-allowance-extension/try-runtime", + "vesting-manager/try-runtime", + + "bifrost-farming/try-runtime", + + "zenlink-protocol/try-runtime", +] \ No newline at end of file diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index b133d1046..74d8d1c68 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -1632,15 +1632,22 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> (Weight, Weight) { + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade amplitude."); - let weight = Executive::try_runtime_upgrade().unwrap(); + let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, RuntimeBlockWeights::get().max_block) } - fn execute_block_no_check(block: Block) -> Weight { - Executive::execute_block_no_check(block) - } + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 7bc227474..313857041 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -33,7 +33,7 @@ orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-modu dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40" } zenlink-protocol = { git = "https://github.com/pendulum-chain/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.40-protocol" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3" } [features] default = [ diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index eecde2b60..73b25db47 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -96,6 +96,7 @@ std = [ "frame-support/std", "frame-system-rpc-runtime-api/std", "frame-system/std", + "frame-try-runtime/std", "pallet-aura/std", "pallet-authorship/std", "pallet-balances/std", @@ -144,6 +145,23 @@ runtime-benchmarks = [ ] try-runtime = [ - "frame-executive/try-runtime", - "frame-try-runtime/try-runtime", + "frame-executive/try-runtime", + "frame-try-runtime", + "frame-system/try-runtime", + "parachain-info/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", + "pallet-balances/try-runtime", + "pallet-session/try-runtime", + "pallet-sudo/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-xcm/try-runtime", + + "cumulus-pallet-aura-ext/try-runtime", + "cumulus-pallet-dmp-queue/try-runtime", + "cumulus-pallet-parachain-system/try-runtime", + "cumulus-pallet-xcm/try-runtime", + "cumulus-pallet-xcmp-queue/try-runtime", + ] diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index bdbe2b7ef..8931a5627 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -583,23 +583,20 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. If any of the pre/post migration checks fail, we shall stop - // right here and right now. let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, RuntimeBlockWeights::get().max_block) } fn execute_block( - block: Block, - state_root_check: bool, - signature_check: bool, - select: frame_try_runtime::TryStateSelect - ) -> Weight { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. - Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") - } + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/foucoco/Cargo.toml b/runtime/foucoco/Cargo.toml index 9e288e986..04048445c 100644 --- a/runtime/foucoco/Cargo.toml +++ b/runtime/foucoco/Cargo.toml @@ -27,27 +27,27 @@ smallvec = "1.9.0" runtime-common = { path = "../common", default-features = false } # custom libraries from spacewalk -clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} -module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} +module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } # Substrate @@ -163,6 +163,7 @@ std = [ "frame-support/std", "frame-system-rpc-runtime-api/std", "frame-system/std", + "frame-try-runtime/std", "orml-asset-registry/std", "orml-currencies/std", "orml-traits/std", @@ -274,5 +275,65 @@ runtime-benchmarks = [ try-runtime = [ "frame-executive/try-runtime", - "frame-try-runtime/try-runtime", + "frame-try-runtime", + "frame-system/try-runtime", + "parachain-info/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", + "pallet-balances/try-runtime", + "pallet-bounties/try-runtime", + "pallet-child-bounties/try-runtime", + "pallet-collective/try-runtime", + "pallet-contracts/try-runtime", + "pallet-democracy/try-runtime", + "pallet-identity/try-runtime", + "pallet-multisig/try-runtime", + "pallet-preimage/try-runtime", + "pallet-proxy/try-runtime", + "pallet-insecure-randomness-collective-flip/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session/try-runtime", + "pallet-sudo/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-treasury/try-runtime", + "pallet-utility/try-runtime", + "pallet-vesting/try-runtime", + "pallet-xcm/try-runtime", + + "parachain-staking/try-runtime", + + "cumulus-pallet-aura-ext/try-runtime", + "cumulus-pallet-dmp-queue/try-runtime", + "cumulus-pallet-parachain-system/try-runtime", + "cumulus-pallet-xcm/try-runtime", + "cumulus-pallet-xcmp-queue/try-runtime", + + "orml-asset-registry/try-runtime", + "orml-currencies/try-runtime", + "orml-tokens/try-runtime", + "orml-xtokens/try-runtime", + + "stellar-relay/try-runtime", + "issue/try-runtime", + "currency/try-runtime", + "security/try-runtime", + "staking/try-runtime", + "oracle/try-runtime", + "fee/try-runtime", + "vault-registry/try-runtime", + "redeem/try-runtime", + "nomination/try-runtime", + "replace/try-runtime", + "pooled-rewards/try-runtime", + "clients-info/try-runtime", + "reward-distribution/try-runtime", + + "dia-oracle/try-runtime", + "orml-currencies-allowance-extension/try-runtime", + "orml-tokens-management-extension/try-runtime", + + "bifrost-farming/try-runtime", + + "zenlink-protocol/try-runtime", ] diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 0f09d689c..bd0432032 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -2057,17 +2057,24 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> (Weight, Weight) { - log::info!("try-runtime::on_runtime_upgrade foucoco."); - let weight = Executive::try_runtime_upgrade().unwrap(); + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { + let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, RuntimeBlockWeights::get().max_block) } - fn execute_block_no_check(block: Block) -> Weight { - Executive::execute_block_no_check(block) - } + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata(extra: bool) -> ( diff --git a/runtime/pendulum/Cargo.toml b/runtime/pendulum/Cargo.toml index d575d0af6..a48979fa1 100644 --- a/runtime/pendulum/Cargo.toml +++ b/runtime/pendulum/Cargo.toml @@ -27,7 +27,7 @@ smallvec = "1.9.0" runtime-common = {path = "../common", default-features = false} # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} # Substrate frame-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} @@ -37,7 +37,7 @@ frame-system = {git = "https://github.com/paritytech/substrate", default-feature frame-system-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} frame-system-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} frame-try-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "ae196e585339bf32b2db9dbbe9e5e11299cb23c3"} module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } pallet-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} pallet-authorship = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} @@ -145,6 +145,7 @@ std = [ "frame-support/std", "frame-system-rpc-runtime-api/std", "frame-system/std", + "frame-try-runtime/std", "module-pallet-staking-rpc-runtime-api/std", "module-oracle-rpc-runtime-api/std", "orml-asset-registry/std", @@ -224,6 +225,51 @@ runtime-benchmarks = [ ] try-runtime = [ - "frame-executive/try-runtime", - "frame-try-runtime/try-runtime", + "frame-executive/try-runtime", + "frame-try-runtime", + "frame-system/try-runtime", + "parachain-info/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", + "pallet-balances/try-runtime", + "pallet-bounties/try-runtime", + "pallet-child-bounties/try-runtime", + "pallet-collective/try-runtime", + "pallet-contracts/try-runtime", + "pallet-democracy/try-runtime", + "pallet-identity/try-runtime", + "pallet-multisig/try-runtime", + "pallet-preimage/try-runtime", + "pallet-proxy/try-runtime", + "pallet-insecure-randomness-collective-flip/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-treasury/try-runtime", + "pallet-utility/try-runtime", + "pallet-vesting/try-runtime", + "pallet-xcm/try-runtime", + + "cumulus-pallet-aura-ext/try-runtime", + "cumulus-pallet-dmp-queue/try-runtime", + "cumulus-pallet-parachain-system/try-runtime", + "cumulus-pallet-xcm/try-runtime", + "cumulus-pallet-xcmp-queue/try-runtime", + + "orml-asset-registry/try-runtime", + "orml-currencies/try-runtime", + "orml-tokens/try-runtime", + "orml-xtokens/try-runtime", + + "dia-oracle/try-runtime", + "orml-currencies-allowance-extension/try-runtime", + + "vesting-manager/try-runtime", + + "bifrost-farming/try-runtime", + + "zenlink-protocol/try-runtime", + + "parachain-staking/try-runtime", ] diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index 0723fce51..8a0581325 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -1336,15 +1336,21 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> (Weight, Weight) { - log::info!("try-runtime::on_runtime_upgrade pendulum."); - let weight = Executive::try_runtime_upgrade().unwrap(); + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { + let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, RuntimeBlockWeights::get().max_block) } - fn execute_block_no_check(block: Block) -> Weight { - Executive::execute_block_no_check(block) - } + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } #[cfg(feature = "runtime-benchmarks")] From a9b64e1ad7a12bd79ad6c5814e2ab8a80c42e2c2 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Fri, 29 Dec 2023 18:40:48 -0300 Subject: [PATCH 09/89] reorg imports --- runtime/pendulum/src/xcm_config.rs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index 550878482..9fb68f368 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -1,6 +1,18 @@ - +use core::marker::PhantomData; +use frame_support::{ + log, match_types, parameter_types, + traits::{ContainsPair, Everything, Nothing,ProcessMessageError}, +}; +use orml_traits::{ + location::{RelativeReserveProvider, Reserve}, + parameter_type_with_key, +}; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; +use pallet_xcm::XcmPassthrough; +use polkadot_parachain::primitives::Sibling; +use polkadot_runtime_common::impls::ToAuthor; use sp_runtime::traits::Convert; + use xcm::latest::{prelude::*, Weight as XCMWeight}; use xcm_builder::{ AccountId32Aliases, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, @@ -29,18 +41,6 @@ use crate::{ }, ConstU32, }; -use core::marker::PhantomData; -use frame_support::{ - log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing,ProcessMessageError}, -}; -use orml_traits::{ - location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, -}; -use pallet_xcm::XcmPassthrough; -use polkadot_parachain::primitives::Sibling; -use polkadot_runtime_common::impls::ToAuthor; use super::{ AccountId, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, From 9dc0dd7884617b6999e22d271ce00de232f45977 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Wed, 3 Jan 2024 13:31:01 -0300 Subject: [PATCH 10/89] fixes after merge with try-runtime fix --- Cargo.lock | 3867 ++++++++++++++-------------------- node/Cargo.toml | 12 +- runtime/amplitude/src/lib.rs | 15 + runtime/pendulum/Cargo.toml | 14 +- 4 files changed, 1601 insertions(+), 2307 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 490224eae..2cbc44354 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -206,22 +206,22 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.3.4", "issue", "log", - "module-issue-rpc-runtime-api 1.0.3", - "module-oracle-rpc-runtime-api 1.0.3", + "module-issue-rpc-runtime-api", + "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", - "module-redeem-rpc-runtime-api 1.0.3", - "module-replace-rpc-runtime-api 1.0.3", - "module-vault-registry-rpc-runtime-api 1.0.3", + "module-redeem-rpc-runtime-api", + "module-replace-rpc-runtime-api", + "module-vault-registry-rpc-runtime-api", "nomination", "oracle", "orml-asset-registry", @@ -269,18 +269,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -502,14 +502,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "pallet-xcm", "parachains-common", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -696,9 +696,9 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bifrost-ve-minting", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.3.4", "log", "node-primitives", @@ -706,10 +706,10 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -722,11 +722,11 @@ dependencies = [ "node-primitives", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -736,8 +736,8 @@ source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#3 dependencies = [ "node-primitives", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -746,8 +746,8 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "hex-literal 0.3.4", "log", "node-primitives", @@ -755,9 +755,9 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "xcm", ] @@ -1249,15 +1249,15 @@ name = "clients-info" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -1645,8 +1645,8 @@ dependencies = [ "sc-chain-spec", "sc-cli", "sc-service", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "url", ] @@ -1666,10 +1666,10 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", "tracing", ] @@ -1688,16 +1688,16 @@ dependencies = [ "sc-consensus-aura", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -1719,10 +1719,10 @@ dependencies = [ "sc-client-api", "sc-consensus", "schnellru", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", + "sp-runtime", + "sp-trie", "tracing", ] @@ -1741,11 +1741,11 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "sc-client-api", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", "tracing", ] @@ -1767,9 +1767,9 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-consensus", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "tracing", ] @@ -1800,11 +1800,11 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", "sp-transaction-pool", ] @@ -1813,15 +1813,15 @@ name = "cumulus-pallet-aura-ext" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-aura", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -1830,14 +1830,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -1851,22 +1851,22 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", "xcm", ] @@ -1886,13 +1886,13 @@ name = "cumulus-pallet-session-benchmarking" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-session", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -1901,13 +1901,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -1917,17 +1917,17 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -1942,10 +1942,10 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", + "sp-trie", "xcm", ] @@ -1961,14 +1961,14 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "tracing", ] @@ -1980,8 +1980,8 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-std", "sp-timestamp", ] @@ -1991,13 +1991,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "parity-scale-codec", "polkadot-runtime-common", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -2021,11 +2021,11 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -2040,9 +2040,9 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-state-machine", "thiserror", ] @@ -2075,11 +2075,11 @@ dependencies = [ "sc-service", "sc-tracing", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "tokio", "tracing", ] @@ -2103,12 +2103,12 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-state-machine", + "sp-storage", "tokio", "tracing", "url", @@ -2122,9 +2122,9 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", + "sp-std", ] [[package]] @@ -2132,8 +2132,8 @@ name = "currency" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -2142,8 +2142,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -2443,13 +2443,13 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.3.4", "log", "pallet-aura", @@ -2470,18 +2470,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -2493,17 +2493,17 @@ name = "dia-oracle" version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -2512,9 +2512,9 @@ version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "dia-oracle", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "sp-api", + "sp-runtime", ] [[package]] @@ -3026,9 +3026,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "oracle", "pallet-balances", "parity-scale-codec", @@ -3037,11 +3037,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", ] @@ -3201,22 +3201,22 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.3.4", "issue", "log", - "module-issue-rpc-runtime-api 1.0.3", - "module-oracle-rpc-runtime-api 1.0.3", + "module-issue-rpc-runtime-api", + "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", - "module-redeem-rpc-runtime-api 1.0.3", - "module-replace-rpc-runtime-api 1.0.3", - "module-vault-registry-rpc-runtime-api 1.0.3", + "module-redeem-rpc-runtime-api", + "module-replace-rpc-runtime-api", + "module-vault-registry-rpc-runtime-api", "nomination", "oracle", "orml-asset-registry", @@ -3266,18 +3266,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -3296,51 +3296,28 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "static_assertions", -] - [[package]] name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] @@ -3354,9 +3331,9 @@ dependencies = [ "chrono", "clap", "comfy-table", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "gethostname", "handlebars", "itertools 0.10.5", @@ -3375,18 +3352,18 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-database 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-externalities", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "thiserror", "thousands", ] @@ -3408,32 +3385,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-election-provider-solution-type", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime", + "sp-std", ] [[package]] @@ -3441,16 +3401,16 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", + "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -3477,47 +3437,14 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "spinners", "substrate-rpc-client", "tokio", ] -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "bitflags 1.3.2", - "environmental", - "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "tt-call", -] - [[package]] name = "frame-support" version = "4.0.0-dev" @@ -3526,9 +3453,9 @@ dependencies = [ "bitflags 1.3.2", "environmental", "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural", "impl-trait-for-tuples", - "k256 0.13.2", + "k256", "log", "once_cell", "parity-scale-codec", @@ -3536,36 +3463,21 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-weights", "tt-call", ] -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "itertools 0.10.5", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -3574,7 +3486,7 @@ dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural-tools", "itertools 0.10.5", "proc-macro-warning", "proc-macro2", @@ -3582,40 +3494,18 @@ dependencies = [ "syn 2.0.43", ] -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural-tools-derive", "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.43", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" @@ -3626,55 +3516,22 @@ dependencies = [ "syn 2.0.43", ] -[[package]] -name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", + "sp-weights", ] [[package]] @@ -3682,23 +3539,14 @@ name = "frame-system-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -3707,19 +3555,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", ] [[package]] @@ -3727,11 +3563,11 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -4567,9 +4403,9 @@ dependencies = [ "base64 0.13.1", "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "log", "oracle", @@ -4584,11 +4420,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -4780,18 +4616,6 @@ dependencies = [ "jsonrpsee-types", ] -[[package]] -name = "k256" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" -dependencies = [ - "cfg-if", - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - [[package]] name = "k256" version = "0.13.2" @@ -4820,14 +4644,14 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.4.1", "kusama-runtime-constants", "log", @@ -4887,24 +4711,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -4917,13 +4741,13 @@ name = "kusama-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -5805,13 +5629,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5823,11 +5647,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5879,26 +5703,15 @@ dependencies = [ [[package]] name = "module-issue-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "jsonrpsee", - "module-issue-rpc-runtime-api 1.0.0", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - -[[package]] -name = "module-issue-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "module-issue-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -5906,37 +5719,24 @@ name = "module-issue-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-oracle-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "jsonrpsee", - "module-oracle-rpc-runtime-api 1.0.0", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "spacewalk-primitives 1.0.0", -] - -[[package]] -name = "module-oracle-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "module-oracle-rpc-runtime-api", "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "spacewalk-primitives 1.0.0", + "sp-api", + "sp-blockchain", + "sp-runtime", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -5944,12 +5744,12 @@ name = "module-oracle-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -5958,49 +5758,38 @@ name = "module-pallet-staking-rpc" version = "1.0.0" dependencies = [ "jsonrpsee", - "module-oracle-rpc-runtime-api 1.0.3", + "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-runtime", ] [[package]] name = "module-pallet-staking-rpc-runtime-api" version = "1.0.0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "module-oracle-rpc-runtime-api 1.0.3", + "frame-support", + "module-oracle-rpc-runtime-api", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-redeem-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "jsonrpsee", - "module-redeem-rpc-runtime-api 1.0.0", + "module-redeem-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - -[[package]] -name = "module-redeem-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -6008,34 +5797,23 @@ name = "module-redeem-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-replace-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "jsonrpsee", - "module-replace-rpc-runtime-api 1.0.0", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - -[[package]] -name = "module-replace-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "module-replace-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -6043,36 +5821,24 @@ name = "module-replace-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-vault-registry-rpc" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" +version = "1.0.3" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "jsonrpsee", - "module-oracle-rpc-runtime-api 1.0.0", - "module-vault-registry-rpc-runtime-api 1.0.0", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - -[[package]] -name = "module-vault-registry-rpc-runtime-api" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "module-oracle-rpc-runtime-api 1.0.0", + "module-oracle-rpc-runtime-api", + "module-vault-registry-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -6080,11 +5846,11 @@ name = "module-vault-registry-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "module-oracle-rpc-runtime-api 1.0.3", + "frame-support", + "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -6323,14 +6089,14 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "zenlink-protocol", ] @@ -6357,9 +6123,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "oracle", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6372,11 +6138,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", "vault-registry", @@ -6535,9 +6301,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "dia-oracle", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "once_cell", "orml-oracle", "pallet-balances", @@ -6545,11 +6311,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "security", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "spin 0.9.8", "staking", @@ -6601,15 +6367,15 @@ name = "orml-asset-registry" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -6620,25 +6386,25 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "orml-currencies-allowance-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6648,10 +6414,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6659,17 +6425,17 @@ name = "orml-oracle" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6677,15 +6443,15 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] @@ -6693,24 +6459,24 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] name = "orml-tokens-management-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6720,10 +6486,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.1", ] @@ -6732,17 +6498,17 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -6751,13 +6517,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6765,13 +6531,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6779,12 +6545,12 @@ name = "orml-xcm" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "xcm", ] @@ -6793,11 +6559,11 @@ name = "orml-xcm-support" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "orml-traits", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -6808,17 +6574,17 @@ version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "orml-xcm-support", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -6850,17 +6616,17 @@ name = "pallet-asset-tx-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6868,14 +6634,14 @@ name = "pallet-assets" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -6883,15 +6649,15 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6899,15 +6665,15 @@ name = "pallet-authority-discovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-authority-discovery", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6915,13 +6681,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6929,23 +6695,23 @@ name = "pallet-babe" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -6953,19 +6719,19 @@ name = "pallet-bags-list" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -6973,14 +6739,14 @@ name = "pallet-balances" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6988,18 +6754,18 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -7009,8 +6775,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-beefy", "pallet-mmr", @@ -7018,12 +6784,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7031,17 +6797,17 @@ name = "pallet-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7049,18 +6815,18 @@ name = "pallet-child-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7068,18 +6834,18 @@ name = "pallet-collator-selection" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7087,16 +6853,16 @@ name = "pallet-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7106,9 +6872,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "bitflags 1.3.2", "environmental", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-contracts-primitives", @@ -7118,11 +6884,11 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "wasm-instrument 0.4.0", "wasmi 0.28.0", "wasmparser-nostd", @@ -7136,9 +6902,9 @@ dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] @@ -7157,15 +6923,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7173,17 +6939,17 @@ name = "pallet-democracy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7191,21 +6957,21 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "strum", ] @@ -7214,12 +6980,12 @@ name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -7227,17 +6993,17 @@ name = "pallet-elections-phragmen" version = "5.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7245,17 +7011,17 @@ name = "pallet-fast-unstake" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7263,22 +7029,22 @@ name = "pallet-grandpa" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -7287,14 +7053,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7302,19 +7068,19 @@ name = "pallet-im-online" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7322,16 +7088,16 @@ name = "pallet-indices" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7339,13 +7105,13 @@ name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7353,16 +7119,16 @@ name = "pallet-membership" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7370,16 +7136,16 @@ name = "pallet-mmr" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7387,15 +7153,15 @@ name = "pallet-multisig" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7404,16 +7170,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7421,10 +7187,10 @@ name = "pallet-nfts-runtime-api" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "pallet-nfts", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -7432,15 +7198,15 @@ name = "pallet-nis" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -7448,16 +7214,16 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7465,19 +7231,19 @@ name = "pallet-nomination-pools-benchmarking" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-runtime-interface", + "sp-staking", + "sp-std", ] [[package]] @@ -7487,8 +7253,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -7496,16 +7262,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7513,10 +7279,10 @@ name = "pallet-offences-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-babe", "pallet-balances", @@ -7527,9 +7293,9 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7537,16 +7303,16 @@ name = "pallet-preimage" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7554,14 +7320,14 @@ name = "pallet-proxy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7569,17 +7335,17 @@ name = "pallet-ranked-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7587,14 +7353,14 @@ name = "pallet-recovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7603,17 +7369,17 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7621,16 +7387,16 @@ name = "pallet-scheduler" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] @@ -7638,20 +7404,20 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", + "sp-trie", ] [[package]] @@ -7659,15 +7425,15 @@ name = "pallet-session-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-session", "pallet-staking", "rand 0.8.5", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", ] [[package]] @@ -7675,13 +7441,13 @@ name = "pallet-society" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7689,10 +7455,10 @@ name = "pallet-staking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -7700,11 +7466,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7724,7 +7490,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", ] [[package]] @@ -7733,7 +7499,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -7741,16 +7507,16 @@ name = "pallet-state-trie-migration" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7758,13 +7524,13 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7772,16 +7538,16 @@ name = "pallet-timestamp" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -7790,18 +7556,18 @@ name = "pallet-tips" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7809,15 +7575,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7828,12 +7594,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7843,9 +7609,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7853,16 +7619,16 @@ name = "pallet-treasury" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7870,14 +7636,14 @@ name = "pallet-uniques" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7885,15 +7651,15 @@ name = "pallet-utility" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7901,14 +7667,14 @@ name = "pallet-vesting" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7916,14 +7682,14 @@ name = "pallet-whitelist" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -7932,17 +7698,17 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-collections", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -7952,15 +7718,15 @@ name = "pallet-xcm-benchmarks" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -7972,8 +7738,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", ] @@ -7982,9 +7748,9 @@ dependencies = [ name = "parachain-staking" version = "1.7.2" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "module-pallet-staking-rpc-runtime-api", "pallet-aura", @@ -7995,13 +7761,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -8010,8 +7776,8 @@ version = "1.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-utility", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", @@ -8021,10 +7787,10 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -8213,7 +7979,7 @@ dependencies = [ "cumulus-relay-chain-rpc-interface", "development-runtime", "foucoco-runtime", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-benchmarking-cli", "jsonrpsee", "log", @@ -8248,19 +8014,19 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", "sp-timestamp", "sp-transaction-pool", - "spacewalk-primitives 1.0.0", + "spacewalk-primitives 1.0.3", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -8288,16 +8054,16 @@ dependencies = [ "cumulus-primitives-utility", "dia-oracle", "dia-oracle-runtime-api", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.3.4", "log", - "module-oracle-rpc-runtime-api 1.0.3", + "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", "orml-asset-registry", "orml-currencies", @@ -8339,18 +8105,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "spacewalk-primitives 1.0.3", "substrate-wasm-builder", "vesting-manager", @@ -8545,8 +8311,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8592,8 +8358,8 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-keyring", "sp-maybe-compressed-blob", "substrate-build-script-utils", @@ -8607,10 +8373,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-benchmarking-cli", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system", + "frame-system-rpc-runtime-api", "futures", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", @@ -8623,22 +8389,22 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-service", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-keyring", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage", "sp-timestamp", "sp-transaction-pool", ] @@ -8658,9 +8424,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -8672,9 +8438,9 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -8696,8 +8462,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8711,8 +8477,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-trie", "thiserror", ] @@ -8730,9 +8496,9 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sc-network", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "tracing-gum", ] @@ -8754,7 +8520,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-network", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-consensus", "thiserror", "tracing-gum", ] @@ -8771,7 +8537,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -8798,10 +8564,10 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "schnorrkel", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-consensus", "sp-consensus-slots", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -8822,7 +8588,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-consensus", "thiserror", "tracing-gum", ] @@ -8841,7 +8607,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8855,7 +8621,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", "wasm-timer", @@ -8892,7 +8658,7 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "sc-consensus-babe", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", "tracing-gum", ] @@ -8943,8 +8709,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-inherents", "thiserror", "tracing-gum", ] @@ -8985,10 +8751,10 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-maybe-compressed-blob", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing", + "sp-wasm-interface", "substrate-build-script-utils", "tokio", "tracing-gum", @@ -9005,7 +8771,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -9027,11 +8793,11 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-io", "sp-maybe-compressed-blob", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing", "substrate-build-script-utils", "tempfile", "tikv-jemalloc-ctl", @@ -9067,7 +8833,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "thiserror", "tokio", ] @@ -9125,12 +8891,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "zstd 0.11.2+zstd.1.5.2", ] @@ -9161,7 +8927,7 @@ dependencies = [ "polkadot-statement-table", "sc-network", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -9194,9 +8960,9 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -9218,8 +8984,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -9231,14 +8997,14 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "bounded-collections", "derive_more", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -9271,18 +9037,18 @@ dependencies = [ "polkadot-parachain", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -9306,13 +9072,13 @@ dependencies = [ "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-runtime", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -9323,14 +9089,14 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.4.1", "log", "pallet-authority-discovery", @@ -9386,24 +9152,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -9417,10 +9183,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", "log", @@ -9444,15 +9210,15 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "static_assertions", "xcm", ] @@ -9462,13 +9228,13 @@ name = "polkadot-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -9479,8 +9245,8 @@ dependencies = [ "bs58", "parity-scale-codec", "polkadot-primitives", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", + "sp-tracing", ] [[package]] @@ -9491,9 +9257,9 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authority-discovery", "pallet-authorship", @@ -9512,16 +9278,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "static_assertions", "xcm", "xcm-executor", @@ -9534,8 +9300,8 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "async-trait", "frame-benchmarking-cli", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", "kusama-runtime", @@ -9609,27 +9375,27 @@ dependencies = [ "sc-transaction-pool", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", + "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -9651,8 +9417,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-staking", "thiserror", "tracing-gum", ] @@ -9664,7 +9430,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", ] [[package]] @@ -9722,18 +9488,18 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -10197,9 +9963,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "oracle", "orml-currencies", @@ -10212,11 +9978,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -10359,9 +10125,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "nomination", "oracle", @@ -10376,11 +10142,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -10401,17 +10167,17 @@ name = "reward" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -10421,9 +10187,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "oracle", "orml-currencies", @@ -10435,11 +10201,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", ] @@ -10510,13 +10276,13 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "binary-merkle-tree", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.4.1", "log", "pallet-authority-discovery", @@ -10567,22 +10333,22 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -10595,13 +10361,13 @@ name = "rococo-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -10670,9 +10436,9 @@ name = "runtime-common" version = "0.1.0" dependencies = [ "dia-oracle", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "orml-asset-registry", "orml-traits", "orml-xcm-support", @@ -10680,9 +10446,9 @@ dependencies = [ "paste", "scale-info", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "xcm", "xcm-executor", @@ -10699,8 +10465,8 @@ dependencies = [ "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "kusama-runtime", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -10722,12 +10488,12 @@ dependencies = [ "runtime-common", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-debug-derive", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", "spacewalk-primitives 1.0.1", "statemine-runtime", "statemint-runtime", @@ -10933,8 +10699,8 @@ version = "4.1.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-wasm-interface", "thiserror", ] @@ -10956,12 +10722,12 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10980,12 +10746,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-inherents", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -10996,12 +10762,12 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-core", + "sp-inherents", + "sp-runtime", ] [[package]] @@ -11017,10 +10783,10 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -11062,13 +10828,13 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-core", "sp-keyring", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", "thiserror", "tiny-bip39", "tokio", @@ -11087,16 +10853,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-database 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-database", + "sp-externalities", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", "substrate-prometheus-endpoint", ] @@ -11117,13 +10883,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-database 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -11141,12 +10907,12 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", "substrate-prometheus-endpoint", "thiserror", ] @@ -11165,17 +10931,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11201,17 +10967,17 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11227,14 +10993,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", ] @@ -11258,16 +11024,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -11287,8 +11053,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11301,8 +11067,8 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-consensus", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -11332,15 +11098,15 @@ dependencies = [ "sc-telemetry", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11359,9 +11125,9 @@ dependencies = [ "sc-consensus-grandpa", "sc-rpc", "serde", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11378,14 +11144,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -11399,15 +11165,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", "tracing", "wasmi 0.13.2", ] @@ -11419,7 +11185,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface", "thiserror", "wasm-instrument 0.3.0", "wasmi 0.13.2", @@ -11433,8 +11199,8 @@ dependencies = [ "log", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmi 0.13.2", ] @@ -11451,8 +11217,8 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] @@ -11468,8 +11234,8 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -11481,9 +11247,9 @@ dependencies = [ "async-trait", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -11521,11 +11287,11 @@ dependencies = [ "serde_json", "smallvec", "snow", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -11546,8 +11312,8 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-runtime", "thiserror", "unsigned-varint", ] @@ -11571,10 +11337,10 @@ dependencies = [ "sc-utils", "serde", "smallvec", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "zeroize", @@ -11594,7 +11360,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-peerset", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -11615,9 +11381,9 @@ dependencies = [ "sc-network", "sc-network-common", "sc-peerset", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11645,12 +11411,12 @@ dependencies = [ "sc-peerset", "sc-utils", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11670,8 +11436,8 @@ dependencies = [ "sc-network-common", "sc-peerset", "sc-utils", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-consensus", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -11698,10 +11464,10 @@ dependencies = [ "sc-network-common", "sc-peerset", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "threadpool", "tracing", ] @@ -11746,15 +11512,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-keystore", "sp-offchain", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "tokio", ] @@ -11770,10 +11536,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-version", "thiserror", ] @@ -11809,11 +11575,11 @@ dependencies = [ "sc-client-api", "sc-transaction-pool-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-version", "thiserror", "tokio-stream", ] @@ -11861,20 +11627,20 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie", + "sp-version", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -11892,7 +11658,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", ] [[package]] @@ -11906,7 +11672,7 @@ dependencies = [ "log", "sc-client-db", "sc-utils", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "thiserror", "tokio", ] @@ -11925,8 +11691,8 @@ dependencies = [ "sc-consensus-grandpa", "serde", "serde_json", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-runtime", "thiserror", ] @@ -11944,9 +11710,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -11987,12 +11753,12 @@ dependencies = [ "sc-rpc-server", "sc-tracing-proc-macro", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-tracing", "thiserror", "tracing", "tracing-log", @@ -12027,11 +11793,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -12046,8 +11812,8 @@ dependencies = [ "futures", "log", "serde", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-runtime", "thiserror", ] @@ -12063,7 +11829,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", ] [[package]] @@ -12234,15 +12000,15 @@ name = "security" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -12497,8 +12263,8 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -12585,24 +12351,6 @@ dependencies = [ "sha-1", ] -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", -] - [[package]] name = "sp-api" version = "4.0.0-dev" @@ -12612,31 +12360,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api-proc-macro", + "sp-core", "sp-metadata-ir", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", + "sp-std", + "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-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "Inflector", - "blake2", - "expander 1.0.0", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" @@ -12651,19 +12385,6 @@ dependencies = [ "syn 2.0.43", ] -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-application-crypto" version = "7.0.0" @@ -12672,23 +12393,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "static_assertions", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -12701,7 +12408,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "static_assertions", ] @@ -12712,10 +12419,10 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-runtime", + "sp-std", ] [[package]] @@ -12724,28 +12431,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "futures", - "log", - "lru 0.8.1", - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-database 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", ] [[package]] @@ -12758,26 +12447,11 @@ dependencies = [ "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-database 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "async-trait", - "futures", - "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", + "sp-consensus", + "sp-database", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12789,10 +12463,10 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12804,13 +12478,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-consensus", "sp-consensus-slots", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -12823,15 +12497,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -12844,13 +12518,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "strum", ] @@ -12864,12 +12538,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] @@ -12880,20 +12554,20 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-timestamp", ] [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "array-bytes 4.2.0", - "base58", "bitflags 1.3.2", "blake2", "bounded-collections", + "bs58", "dyn-clonable", "ed25519-zebra", "futures", @@ -12906,6 +12580,7 @@ dependencies = [ "merlin", "parity-scale-codec", "parking_lot 0.12.1", + "paste", "primitive-types", "rand 0.8.5", "regex", @@ -12914,12 +12589,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -12928,88 +12603,19 @@ dependencies = [ ] [[package]] -name = "sp-core" -version = "7.0.0" +name = "sp-core-hashing" +version = "5.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" -dependencies = [ - "array-bytes 4.2.0", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", "sha2 0.10.8", "sha3", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "twox-hash", ] -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "syn 1.0.109", -] - [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" @@ -13017,19 +12623,10 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing", "syn 2.0.43", ] -[[package]] -name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "kvdb", - "parking_lot 0.12.1", -] - [[package]] name = "sp-database" version = "4.0.0-dev" @@ -13039,16 +12636,6 @@ dependencies = [ "parking_lot 0.12.1", ] -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-debug-derive" version = "5.0.0" @@ -13059,17 +12646,6 @@ dependencies = [ "syn 2.0.43", ] -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-externalities" version = "0.13.0" @@ -13077,23 +12653,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", + "sp-std", + "sp-storage", ] [[package]] @@ -13105,37 +12666,12 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "tracing", - "tracing-core", -] - [[package]] name = "sp-io" version = "7.0.0" @@ -13150,14 +12686,14 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-trie", "tracing", "tracing-core", ] @@ -13168,27 +12704,11 @@ version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lazy_static", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "strum", ] -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "async-trait", - "futures", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", -] - [[package]] name = "sp-keystore" version = "0.13.0" @@ -13198,8 +12718,8 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", "thiserror", ] @@ -13220,7 +12740,7 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", ] [[package]] @@ -13233,11 +12753,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-debug-derive", + "sp-runtime", + "sp-std", "thiserror", ] @@ -13249,10 +12769,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -13260,19 +12780,9 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] @@ -13292,29 +12802,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "rustc-hash", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", ] [[package]] @@ -13331,30 +12819,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "static_assertions", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", + "sp-weights", ] [[package]] @@ -13366,27 +12836,15 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" @@ -13406,23 +12864,11 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", + "sp-core", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -13433,29 +12879,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", - "tracing", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -13469,38 +12895,20 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", "thiserror", "tracing", ] -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" - [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-storage" version = "7.0.0" @@ -13510,8 +12918,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -13523,31 +12931,19 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "tracing", - "tracing-core", - "tracing-subscriber", -] - [[package]] name = "sp-tracing" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "tracing", "tracing-core", "tracing-subscriber", @@ -13558,8 +12954,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", ] [[package]] @@ -13571,34 +12967,11 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "ahash 0.8.6", - "hash-db", - "hashbrown 0.12.3", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-info", - "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-trie", ] [[package]] @@ -13616,31 +12989,14 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-std", "thiserror", "tracing", "trie-db", "trie-root", ] -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", -] - [[package]] name = "sp-version" version = "5.0.0" @@ -13651,24 +13007,13 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing-proc-macro", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", "thiserror", ] -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" @@ -13680,20 +13025,6 @@ dependencies = [ "syn 2.0.43", ] -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "wasmi 0.13.2", - "wasmtime", -] - [[package]] name = "sp-wasm-interface" version = "7.0.0" @@ -13703,26 +13034,11 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "wasmi 0.13.2", "wasmtime", ] -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-weights" version = "4.0.0" @@ -13732,28 +13048,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "spacewalk-primitives" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=20a3dd191dc352f989f90a1a48eacb8ff6d9ac85#20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" -dependencies = [ - "base58", - "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "hex", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "substrate-stellar-sdk 0.2.4 (git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.40)", + "sp-arithmetic", + "sp-core", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -13763,15 +13061,15 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea dependencies = [ "base58", "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "substrate-stellar-sdk 0.2.4 (git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", + "substrate-stellar-sdk", ] [[package]] @@ -13781,15 +13079,15 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base58", "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "substrate-stellar-sdk 0.2.4 (git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", + "substrate-stellar-sdk", ] [[package]] @@ -13864,19 +13162,19 @@ name = "staking" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -13895,10 +13193,10 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", "hex-literal 0.4.1", "kusama-runtime-constants", "log", @@ -13928,18 +13226,18 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13961,10 +13259,10 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", "log", "pallet-asset-tx-payment", "pallet-assets", @@ -13990,18 +13288,18 @@ dependencies = [ "polkadot-runtime-constants", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -14049,15 +13347,15 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base64 0.13.1", "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", "sha2 0.10.8", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -14134,18 +13432,18 @@ name = "substrate-frame-rpc-system" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system-rpc-runtime-api", "futures", "jsonrpsee", "log", "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-blockchain", + "sp-core", + "sp-runtime", ] [[package]] @@ -14170,7 +13468,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -14185,32 +13483,13 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", "trie-db", ] -[[package]] -name = "substrate-stellar-sdk" -version = "0.2.4" -source = "git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.40#cf00336f3616c7c205ad6436fb1b86afa14f06f9" -dependencies = [ - "base64 0.13.1", - "hex", - "lazy_static", - "num-rational", - "scale-info", - "serde", - "serde_json", - "sha2 0.9.9", - "sodalite", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "substrate-stellar-sdk" version = "0.2.4" @@ -14225,9 +13504,9 @@ dependencies = [ "serde_json", "sha2 0.9.9", "sodalite", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -14874,7 +14153,7 @@ dependencies = [ "async-trait", "clap", "frame-remote-externalities", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-try-runtime", "hex", "log", "parity-scale-codec", @@ -14883,22 +14162,22 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-debug-derive", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-rpc-client", "zstd 0.12.4", ] @@ -15081,9 +14360,9 @@ dependencies = [ "currency", "fee", "fixed-hash 0.7.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "oracle", "orml-currencies", @@ -15098,11 +14377,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", ] @@ -15123,17 +14402,17 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" name = "vesting-manager" version = "0.0.1" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-vesting", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -15843,14 +15122,14 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-executive 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system-rpc-runtime-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-try-runtime 0.10.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.4.1", "log", "pallet-authority-discovery", @@ -15905,23 +15184,23 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "substrate-wasm-builder", "westend-runtime-constants", "xcm", @@ -15934,13 +15213,13 @@ name = "westend-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -16334,7 +15613,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights", "xcm-procedural", ] @@ -16343,18 +15622,18 @@ name = "xcm-builder" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -16370,17 +15649,17 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parachain-info", "parity-scale-codec", "paste", "polkadot-primitives", "polkadot-runtime-parachains", "quote", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-std", "xcm", "xcm-executor", ] @@ -16391,17 +15670,17 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "environmental", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", "xcm", ] @@ -16445,8 +15724,8 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0)", "orml-traits", @@ -16454,10 +15733,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -16469,10 +15748,10 @@ source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v dependencies = [ "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-blockchain", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "zenlink-protocol", "zenlink-protocol-runtime-api", ] @@ -16483,8 +15762,8 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "zenlink-protocol", ] diff --git a/node/Cargo.toml b/node/Cargo.toml index ffbdd5d2c..796413df5 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -15,13 +15,13 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.145", features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server"] } -module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} -module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} +module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} +module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} +module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} +module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} module-pallet-staking-rpc = { path = "../pallets/parachain-staking/rpc" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} # Local amplitude-runtime = {path = "../runtime/amplitude"} diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 2e0db02b5..da62ae2a1 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -146,6 +146,20 @@ pub type SignedPayload = generic::SignedPayload; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; +use crate::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch::GetStorageVersion; + +pub struct CustomOnRuntimeUpgrade; +impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { + fn on_runtime_upgrade() -> frame_support::weights::Weight { + log::info!("Custom on-runtime-upgrade function"); + if Contracts::on_chain_storage_version() == 0 { + log::info!("Upgrading pallet contract's storage version to 10"); + StorageVersion::new(0).put::(); + } + // not really a heavy operation + frame_support::weights::Weight::zero() + } +} /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -153,6 +167,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, + CustomOnRuntimeUpgrade >; pub struct AmplitudeDiaOracleKeyConverter; diff --git a/runtime/pendulum/Cargo.toml b/runtime/pendulum/Cargo.toml index 05657cd66..ce99d0755 100644 --- a/runtime/pendulum/Cargo.toml +++ b/runtime/pendulum/Cargo.toml @@ -30,13 +30,13 @@ runtime-common = {path = "../common", default-features = false} spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} # Substrate -frame-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} -frame-executive = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-support = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-system-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} -frame-system-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} -frame-try-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40"} +frame-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42"} +frame-executive = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-support = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-system-benchmarking = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42"} +frame-system-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} +frame-try-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42"} module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } pallet-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.42"} From eaa4cbf39349e22d165d69253884d4f9e1d58226 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Wed, 3 Jan 2024 18:25:15 -0300 Subject: [PATCH 11/89] wip add custom update code, workaround for TakeFirstAsset trader --- runtime/amplitude/src/lib.rs | 7 ++- runtime/amplitude/src/xcm_config.rs | 85 +++++++++++++++++++++++++++- runtime/pendulum/src/xcm_config.rs | 86 +++++++++++++++++++++++++++-- 3 files changed, 169 insertions(+), 9 deletions(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index da62ae2a1..95d7db851 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -147,14 +147,17 @@ pub type SignedPayload = generic::SignedPayload; pub type CheckedExtrinsic = generic::CheckedExtrinsic; use crate::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch::GetStorageVersion; +use frame_support::pallet_prelude::StorageVersion; pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { log::info!("Custom on-runtime-upgrade function"); if Contracts::on_chain_storage_version() == 0 { + log::info!{"version for pallet_xcm {:?}",StorageVersion::get::()}; + log::info!{"version for tx payment {:?}",StorageVersion::get::()}; log::info!("Upgrading pallet contract's storage version to 10"); - StorageVersion::new(0).put::(); + StorageVersion::new(10).put::(); } // not really a heavy operation frame_support::weights::Weight::zero() @@ -167,7 +170,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - CustomOnRuntimeUpgrade + (CustomOnRuntimeUpgrade, pallet_xcm::migration::v1::MigrateToV1) >; pub struct AmplitudeDiaOracleKeyConverter; diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 3ded549f5..604daa1a1 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -2,8 +2,9 @@ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing, ProcessMessageError}, + traits::{ContainsPair, Everything, Nothing, ProcessMessageError, tokens::fungibles}, weights::{Weight, WeightToFee as WeightToFeeTrait}, + pallet_prelude::DispatchError, }; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, @@ -38,6 +39,7 @@ use crate::{ xcm_assets, }, ConstU32, + }; use super::{ @@ -305,7 +307,7 @@ pub type Barrier = ( ); pub struct ChargeWeightInFungiblesImplementation; -impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { +impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { fn charge_weight_in_fungibles( asset_id: CurrencyId, weight: Weight, @@ -324,16 +326,93 @@ impl ChargeWeightInFungibles for ChargeWeightInFungiblesImple } } +// Workarround for TakeFirstAssetTrader +use frame_support::traits::tokens::{Preservation, Fortitude, Provenance, WithdrawConsequence, DepositConsequence}; + +pub struct ConcreteAssets; +impl fungibles::Mutate for ConcreteAssets {} +impl fungibles::Balanced for ConcreteAssets { + type OnDropCredit = fungibles::DecreaseIssuance; + type OnDropDebt = fungibles::IncreaseIssuance; +} +impl fungibles::Inspect for ConcreteAssets { + type AssetId = >::AssetId; + type Balance = >::Balance; + + fn minimum_balance(id: Self::AssetId) -> Self::Balance { + Tokens::minimum_balance(id) + } + + fn total_issuance(asset_id: Self::AssetId) -> Self::Balance { + Tokens::total_issuance(asset_id) + } + + fn balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn total_balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn reducible_balance( + _: Self::AssetId, + _: &AccountId, + _: Preservation, + _: Fortitude, + ) -> Self::Balance { + todo!() + } + + fn can_deposit( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + _: Provenance, + ) -> DepositConsequence { + todo!() + } + + fn can_withdraw( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> WithdrawConsequence { + todo!() + } + + fn asset_exists(_: Self::AssetId) -> bool { + todo!() + } + +} +impl fungibles::Unbalanced for ConcreteAssets { + fn handle_dust(_: fungibles::Dust) { + todo!() + } + fn write_balance( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> Result, DispatchError> { + todo!() + } + + fn set_total_issuance(_: Self::AssetId, _: Self::Balance) { + todo!() + } +} pub type Traders = ( TakeFirstAssetTrader< AccountId, ChargeWeightInFungiblesImplementation, ConvertedConcreteId, - Tokens, + ConcreteAssets, XcmFeesTo32ByteAccount, >, ); + pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { type RuntimeCall = RuntimeCall; diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index fe12f7b00..4170f7aaf 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -5,8 +5,9 @@ use cumulus_primitives_utility::{ }; use frame_support::{ log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing, ProcessMessageError}, + traits::{ContainsPair, Everything, Nothing, ProcessMessageError,tokens::fungibles}, weights::{Weight, WeightToFee as WeightToFeeTrait}, + pallet_prelude::DispatchError, }; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, @@ -45,7 +46,7 @@ use crate::{ xcm_assets, }, ConstU32, -}; + }; use super::{ AccountId, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, @@ -321,7 +322,7 @@ pub type Barrier = ( ); pub struct ChargeWeightInFungiblesImplementation; -impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { +impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { fn charge_weight_in_fungibles( asset_id: CurrencyId, weight: Weight, @@ -355,12 +356,89 @@ type Transactor = MultiCurrencyAdapter< DepositToAlternative, >; +// Workarround for TakeFirstAssetTrader +use frame_support::traits::tokens::{Preservation, Fortitude, Provenance, WithdrawConsequence, DepositConsequence}; + +pub struct ConcreteAssets; +impl fungibles::Mutate for ConcreteAssets {} +impl fungibles::Balanced for ConcreteAssets { + type OnDropCredit = fungibles::DecreaseIssuance; + type OnDropDebt = fungibles::IncreaseIssuance; +} +impl fungibles::Inspect for ConcreteAssets { + type AssetId = >::AssetId; + type Balance = >::Balance; + + fn minimum_balance(id: Self::AssetId) -> Self::Balance { + Tokens::minimum_balance(id) + } + + fn total_issuance(asset_id: Self::AssetId) -> Self::Balance { + Tokens::total_issuance(asset_id) + } + + fn balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn total_balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn reducible_balance( + _: Self::AssetId, + _: &AccountId, + _: Preservation, + _: Fortitude, + ) -> Self::Balance { + todo!() + } + + fn can_deposit( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + _: Provenance, + ) -> DepositConsequence { + todo!() + } + + fn can_withdraw( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> WithdrawConsequence { + todo!() + } + + fn asset_exists(_: Self::AssetId) -> bool { + todo!() + } + +} +impl fungibles::Unbalanced for ConcreteAssets { + fn handle_dust(_: fungibles::Dust) { + todo!() + } + fn write_balance( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> Result, DispatchError> { + todo!() + } + + fn set_total_issuance(_: Self::AssetId, _: Self::Balance) { + todo!() + } +} + pub type Traders = ( TakeFirstAssetTrader< AccountId, ChargeWeightInFungiblesImplementation, ConvertedConcreteId, - Tokens, + ConcreteAssets, XcmFeesTo32ByteAccount, >, ); From 52ffc971ecc7d3260c848a66e4aebb9e5975c228 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Fri, 5 Jan 2024 10:59:18 -0300 Subject: [PATCH 12/89] wip patching scheduler and xcm --- Cargo.lock | 5256 ++++++++++++++------------ Cargo.toml | 6 + pallets/parachain-staking/src/lib.rs | 2 +- runtime/amplitude/src/lib.rs | 15 +- 4 files changed, 2841 insertions(+), 2438 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2cbc44354..92568a8d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,11 +23,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" dependencies = [ - "gimli 0.28.1", + "gimli 0.27.3", ] [[package]] @@ -115,9 +115,9 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.10.3" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +checksum = "209b47e8954a928e1d72e86eca7000ebb6655fe1436d33eefc2201cad027e237" dependencies = [ "aead 0.5.2", "aes 0.8.3", @@ -149,33 +149,32 @@ dependencies = [ [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.10", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if", - "getrandom 0.2.11", + "getrandom 0.2.10", "once_cell", "version_check", - "zerocopy", ] [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" dependencies = [ "memchr", ] @@ -206,10 +205,10 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -269,18 +268,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -320,57 +319,58 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is-terminal", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] name = "anyhow" -version = "1.0.77" +version = "1.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9d19de80eff169429ac1e9f48fffb163916b448a44e8e046186232046d9e1f9" +checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" [[package]] name = "approx" @@ -395,9 +395,9 @@ checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" [[package]] name = "array-bytes" -version = "6.2.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" +checksum = "d9b1c5a481ec30a5abd8dfbd94ab5cf1bb4e9a66be7f1b3b322f2f1170c200fd" [[package]] name = "arrayref" @@ -430,7 +430,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -446,7 +446,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -502,14 +502,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-xcm", "parachains-common", "parity-scale-codec", "scale-info", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -523,47 +523,37 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ "concurrent-queue", - "event-listener 2.5.3", + "event-listener", "futures-core", ] [[package]] name = "async-io" -version = "2.2.2" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" dependencies = [ - "async-lock 3.2.0", + "async-lock", + "autocfg", "cfg-if", "concurrent-queue", - "futures-io", "futures-lite", + "log", "parking", "polling", - "rustix 0.38.28", + "rustix 0.37.23", "slab", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", + "socket2 0.4.9", + "waker-fn", ] [[package]] name = "async-lock" -version = "3.2.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" dependencies = [ - "event-listener 4.0.1", - "event-listener-strategy", - "pin-project-lite 0.2.13", + "event-listener", ] [[package]] @@ -574,18 +564,18 @@ checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "async-trait" -version = "0.1.75" +version = "0.1.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98" +checksum = "cc6dde6e4ed435a4c1ee4e73592f5ba9da2151af10076cc04858746af9352d09" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -598,14 +588,14 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", ] [[package]] name = "atomic-waker" -version = "1.1.2" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" [[package]] name = "atty" @@ -626,16 +616,16 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" dependencies = [ - "addr2line 0.21.0", + "addr2line 0.20.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.32.2", + "object 0.31.1", "rustc-demangle", ] @@ -671,9 +661,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.5" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "base64ct" @@ -696,9 +686,9 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bifrost-ve-minting", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex-literal 0.3.4", "log", "node-primitives", @@ -706,10 +696,10 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -722,11 +712,11 @@ dependencies = [ "node-primitives", "parity-scale-codec", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -736,8 +726,8 @@ source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#3 dependencies = [ "node-primitives", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -746,8 +736,8 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex-literal 0.3.4", "log", "node-primitives", @@ -755,9 +745,9 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -807,9 +797,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" [[package]] name = "bitvec" @@ -834,37 +824,38 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" +checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.2.6", ] [[package]] name = "blake2s_simd" -version = "1.0.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" +checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.2.6", ] [[package]] name = "blake3" -version = "1.5.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" +checksum = "199c42ab6972d92c9f8995f086273d25c42fc0f7b2a1fcefba465c1352d25ba5" dependencies = [ "arrayref", "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq", + "constant_time_eq 0.3.0", + "digest 0.10.7", ] [[package]] @@ -924,9 +915,9 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "bounded-collections" -version = "0.1.9" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" dependencies = [ "log", "parity-scale-codec", @@ -951,9 +942,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "1.9.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc" +checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" dependencies = [ "memchr", "serde", @@ -976,9 +967,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-slice-cast" @@ -994,21 +985,21 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" [[package]] name = "byteorder" -version = "1.5.0" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.5.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" [[package]] name = "bzip2-sys" @@ -1032,9 +1023,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.6" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceed8ef69d8518a5dda55c07425450b58a4e1946f4951eab6d7191ee86c2443d" +checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" dependencies = [ "serde", ] @@ -1047,7 +1038,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.20", + "semver 1.0.18", "serde", "serde_json", "thiserror", @@ -1055,9 +1046,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.83" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "6c6b2562119bf28c3439f7f02db99faf0aa1a8cdfe5772a2ee155d32227239f0" dependencies = [ "jobserver", "libc", @@ -1106,40 +1097,42 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chacha20" -version = "0.9.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" dependencies = [ "cfg-if", - "cipher 0.4.4", + "cipher 0.3.0", "cpufeatures", + "zeroize", ] [[package]] name = "chacha20poly1305" -version = "0.10.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" dependencies = [ - "aead 0.5.2", + "aead 0.4.3", "chacha20", - "cipher 0.4.4", + "cipher 0.3.0", "poly1305", "zeroize", ] [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", + "time 0.1.45", "wasm-bindgen", - "windows-targets 0.48.5", + "winapi", ] [[package]] @@ -1181,7 +1174,6 @@ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ "crypto-common", "inout", - "zeroize", ] [[package]] @@ -1206,19 +1198,20 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.12" +version = "4.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfab8ba68f3668e89f6ff60f5b205cea56aa7b769451a59f34b8682f51c056d" +checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" dependencies = [ "clap_builder", "clap_derive", + "once_cell", ] [[package]] name = "clap_builder" -version = "4.4.12" +version = "4.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9" +checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" dependencies = [ "anstream", "anstyle", @@ -1228,43 +1221,43 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clients-info" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "coarsetime" -version = "0.1.33" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71367d3385c716342014ad17e3d19f7788ae514885a1f4c24f500260fb365e1a" +checksum = "a90d114103adbc625300f346d4d09dfb4ab1c4a8df6868435dd903392ecf4354" dependencies = [ "libc", "once_cell", @@ -1301,9 +1294,9 @@ dependencies = [ [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" dependencies = [ "crossbeam-utils", ] @@ -1323,9 +1316,15 @@ dependencies = [ [[package]] name = "const-oid" -version = "0.9.6" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "795bc6e66a8e340f075fcf6227e417a2dc976b92b91f3cdc778bb858778b6747" + +[[package]] +name = "constant_time_eq" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" +checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" [[package]] name = "constant_time_eq" @@ -1341,9 +1340,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation" -version = "0.9.4" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" dependencies = [ "core-foundation-sys", "libc", @@ -1351,9 +1350,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.6" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" [[package]] name = "core2" @@ -1385,9 +1384,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] @@ -1484,7 +1483,7 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-frontend", - "itertools 0.10.5", + "itertools", "log", "smallvec", "wasmparser", @@ -1502,9 +1501,9 @@ dependencies = [ [[package]] name = "crc-catalog" -version = "2.4.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" +checksum = "9cace84e55f07e7301bae1c519df89cdad8cc3cd868413d3fdbdeca9ff3db484" [[package]] name = "crc32fast" @@ -1515,11 +1514,21 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-channel" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + [[package]] name = "crossbeam-deque" -version = "0.8.4" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" dependencies = [ "cfg-if", "crossbeam-epoch", @@ -1528,20 +1537,22 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.17" +version = "0.9.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", + "memoffset 0.9.0", + "scopeguard", ] [[package]] name = "crossbeam-queue" -version = "0.3.10" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc6598521bb5a83d491e8c1fe51db7296019d2ca3cb93cc6c2a20369a4d78a2" +checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" dependencies = [ "cfg-if", "crossbeam-utils", @@ -1549,9 +1560,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.18" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" dependencies = [ "cfg-if", ] @@ -1645,8 +1656,8 @@ dependencies = [ "sc-chain-spec", "sc-cli", "sc-service", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "url", ] @@ -1666,10 +1677,10 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1688,16 +1699,16 @@ dependencies = [ "sc-consensus-aura", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "tracing", ] @@ -1721,8 +1732,8 @@ dependencies = [ "schnellru", "sp-blockchain", "sp-consensus", - "sp-runtime", - "sp-trie", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1743,9 +1754,9 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1769,7 +1780,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1800,11 +1811,11 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", ] @@ -1813,15 +1824,15 @@ name = "cumulus-pallet-aura-ext" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-aura", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -1830,14 +1841,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1851,22 +1862,22 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1875,10 +1886,10 @@ name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -1886,13 +1897,13 @@ name = "cumulus-pallet-session-benchmarking" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-session", "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -1901,13 +1912,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1917,17 +1928,17 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -1942,10 +1953,10 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1961,14 +1972,14 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "scale-info", - "sp-api", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-storage", - "sp-trie", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1980,8 +1991,8 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -1991,13 +2002,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "polkadot-runtime-common", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-builder", "xcm-executor", @@ -2021,11 +2032,11 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2040,9 +2051,9 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-state-machine", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -2051,7 +2062,7 @@ name = "cumulus-relay-chain-minimal-node" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.1.0", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -2075,11 +2086,11 @@ dependencies = [ "sc-service", "sc-tracing", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tokio", "tracing", ] @@ -2103,12 +2114,12 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-consensus-babe", - "sp-core", - "sp-state-machine", - "sp-storage", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tokio", "tracing", "url", @@ -2122,9 +2133,9 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime", - "sp-state-machine", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2132,8 +2143,8 @@ name = "currency" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -2142,8 +2153,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -2175,37 +2186,23 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.0.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16" dependencies = [ "cfg-if", - "cpufeatures", - "curve25519-dalek-derive", - "digest 0.10.7", "fiat-crypto", - "platforms 3.3.0", - "rustc_version 0.4.0", + "packed_simd_2", + "platforms 3.0.2", "subtle", "zeroize", ] -[[package]] -name = "curve25519-dalek-derive" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.43", -] - [[package]] name = "cxx" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9fc0c733f71e58dedf4f034cd2a266f80b94cc9ed512729e1798651b68c2cba" +checksum = "f68e12e817cb19eaab81aaec582b4052d07debd3c3c6b083b9d361db47c7dc9d" dependencies = [ "cc", "cxxbridge-flags", @@ -2215,9 +2212,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bc81d2664db24cf1d35405f66e18a85cffd4d49ab930c71a5c6342a410f38c" +checksum = "e789217e4ab7cf8cc9ce82253180a9fe331f35f5d339f0ccfe0270b39433f397" dependencies = [ "cc", "codespan-reporting", @@ -2225,24 +2222,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "cxxbridge-flags" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8511afbe34ea242697784da5cb2c5d4a0afb224ca8b136bdf93bfe180cbe5884" +checksum = "78a19f4c80fd9ab6c882286fa865e92e07688f4387370a209508014ead8751d0" [[package]] name = "cxxbridge-macro" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" +checksum = "b8fcfa71f66c8563c4fa9dd2bb68368d50267856f831ac5d85367e0805f9606c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2282,15 +2279,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "data-encoding-macro" -version = "0.1.14" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" +checksum = "c904b33cc60130e1aeea4956ab803d08a3f4a0ca82d64ed757afac3891f2bb99" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2298,9 +2295,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.12" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" +checksum = "8fdf3fce3ce863539ec1d7fd1b6dcc3c645663376b43ed376bbf887733e4f772" dependencies = [ "data-encoding", "syn 1.0.109", @@ -2357,12 +2354,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.10" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" -dependencies = [ - "powerfmt", -] +checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929" [[package]] name = "derivative" @@ -2443,10 +2437,10 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -2470,18 +2464,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -2493,17 +2487,17 @@ name = "dia-oracle" version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2512,9 +2506,9 @@ version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "dia-oracle", - "frame-support", - "sp-api", - "sp-runtime", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2602,7 +2596,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2646,9 +2640,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.16" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +checksum = "304e6508efa593091e97a9abbc10f90aa7ca635b6d2784feff3c89d41dd12272" [[package]] name = "ecdsa" @@ -2670,7 +2664,7 @@ checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ "der 0.7.8", "digest 0.10.7", - "elliptic-curve 0.13.8", + "elliptic-curve 0.13.7", "rfc6979 0.4.0", "signature 2.2.0", "spki 0.7.3", @@ -2685,16 +2679,6 @@ dependencies = [ "signature 1.6.4", ] -[[package]] -name = "ed25519" -version = "2.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" -dependencies = [ - "pkcs8 0.10.2", - "signature 2.2.0", -] - [[package]] name = "ed25519-dalek" version = "1.0.1" @@ -2702,28 +2686,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek 3.2.0", - "ed25519 1.5.3", + "ed25519", "rand 0.7.3", "serde", "sha2 0.9.9", "zeroize", ] -[[package]] -name = "ed25519-dalek" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" -dependencies = [ - "curve25519-dalek 4.1.1", - "ed25519 2.2.3", - "rand_core 0.6.4", - "serde", - "sha2 0.10.8", - "subtle", - "zeroize", -] - [[package]] name = "ed25519-zebra" version = "3.1.0" @@ -2768,9 +2737,9 @@ dependencies = [ [[package]] name = "elliptic-curve" -version = "0.13.8" +version = "0.13.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +checksum = "e9775b22bc152ad86a0cf23f0f348b884b26add12bf741e7ffc4d4ab2ab4d205" dependencies = [ "base16ct 0.2.0", "crypto-bigint 0.5.5", @@ -2805,33 +2774,33 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "enumn" -version = "0.1.12" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" +checksum = "b893c4eb2dc092c811165f84dc7447fae16fb66521717968c34c509b39b1a5c5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2849,9 +2818,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ "humantime", "is-terminal", @@ -2874,40 +2843,30 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.8" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" dependencies = [ + "errno-dragonfly", "libc", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "event-listener" -version = "4.0.1" +name = "errno-dragonfly" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.13", + "cc", + "libc", ] [[package]] -name = "event-listener-strategy" -version = "0.4.0" +name = "event-listener" +version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.1", - "pin-project-lite 0.2.13", -] +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "exit-future" @@ -2965,7 +2924,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2982,9 +2941,18 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "2.0.1" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +dependencies = [ + "instant", +] + +[[package]] +name = "fastrand" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" [[package]] name = "fatality" @@ -3004,7 +2972,7 @@ checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" dependencies = [ "expander 0.0.4", "indexmap 1.9.3", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -3026,9 +2994,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "oracle", "pallet-balances", "parity-scale-codec", @@ -3037,11 +3005,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", ] @@ -3068,9 +3036,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.5" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" [[package]] name = "file-per-thread-logger" @@ -3078,20 +3046,20 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "env_logger 0.10.1", + "env_logger 0.10.0", "log", ] [[package]] name = "filetime" -version = "0.2.23" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", + "redox_syscall 0.2.16", + "windows-sys 0.48.0", ] [[package]] @@ -3140,9 +3108,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" dependencies = [ "crc32fast", "libz-sys", @@ -3174,9 +3142,9 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" dependencies = [ "percent-encoding", ] @@ -3201,10 +3169,10 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -3266,18 +3234,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -3296,28 +3264,52 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-support-procedural 4.0.0-dev", + "frame-system 4.0.0-dev", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 7.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "static_assertions", +] + [[package]] name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", ] @@ -3331,12 +3323,12 @@ dependencies = [ "chrono", "clap", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools", "lazy_static", "linked-hash-map", "log", @@ -3352,18 +3344,18 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-database", - "sp-externalities", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-storage", - "sp-trie", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "thousands", ] @@ -3373,10 +3365,10 @@ name = "frame-election-provider-solution-type" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -3385,15 +3377,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3401,16 +3393,16 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3437,14 +3429,46 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spinners", "substrate-rpc-client", "tokio", ] +[[package]] +name = "frame-support" +version = "4.0.0-dev" +dependencies = [ + "bitflags 1.3.2", + "environmental", + "frame-metadata", + "frame-support-procedural 4.0.0-dev", + "impl-trait-for-tuples", + "k256", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-api 4.0.0-dev", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-core-hashing-proc-macro 5.0.0", + "sp-inherents 4.0.0-dev", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-weights 4.0.0", + "tt-call", +] + [[package]] name = "frame-support" version = "4.0.0-dev" @@ -3453,7 +3477,7 @@ dependencies = [ "bitflags 1.3.2", "environmental", "frame-metadata", - "frame-support-procedural", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "k256", "log", @@ -3463,21 +3487,36 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-weights", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tt-call", ] +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse", + "frame-support-procedural-tools 4.0.0-dev", + "itertools", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -3486,12 +3525,23 @@ dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", - "frame-support-procedural-tools", - "itertools 0.10.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "itertools", "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", ] [[package]] @@ -3499,11 +3549,20 @@ name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support-procedural-tools-derive", - "proc-macro-crate 1.3.1", + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -3513,7 +3572,24 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version 5.0.0", + "sp-weights 4.0.0", ] [[package]] @@ -3521,17 +3597,17 @@ name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3539,14 +3615,14 @@ name = "frame-system-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3555,7 +3631,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3563,21 +3639,18 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "fs-err" -version = "2.11.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" -dependencies = [ - "autocfg", -] +checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541" [[package]] name = "fs2" @@ -3595,7 +3668,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.6", "windows-sys 0.48.0", ] @@ -3607,9 +3680,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" dependencies = [ "futures-channel", "futures-core", @@ -3622,9 +3695,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" dependencies = [ "futures-core", "futures-sink", @@ -3632,15 +3705,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" dependencies = [ "futures-core", "futures-task", @@ -3650,29 +3723,34 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" [[package]] name = "futures-lite" -version = "2.1.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ + "fastrand 1.9.0", "futures-core", - "pin-project-lite 0.2.13", + "futures-io", + "memchr", + "parking", + "pin-project-lite 0.2.10", + "waker-fn", ] [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -3682,21 +3760,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", - "rustls 0.20.9", - "webpki 0.22.4", + "rustls 0.20.8", + "webpki 0.22.0", ] [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" [[package]] name = "futures-timer" @@ -3706,9 +3784,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" dependencies = [ "futures-channel", "futures-core", @@ -3717,7 +3795,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "pin-utils", "slab", ] @@ -3774,9 +3852,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", "libc", @@ -3816,9 +3894,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" [[package]] name = "glob" @@ -3828,15 +3906,15 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.14" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +checksum = "aca8bbd8e0707c1887a8bbb7e6b40e228f251ff5d62c8220a4a7a53c73aff006" dependencies = [ "aho-corasick", "bstr", + "fnv", "log", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex", ] [[package]] @@ -3863,9 +3941,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.22" +version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" +checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" dependencies = [ "bytes", "fnv", @@ -3873,7 +3951,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 1.9.3", "slab", "tokio", "tokio-util", @@ -3882,9 +3960,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.5.0" +version = "4.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa67bab9ff362228eb3d00bd024a4965d8231bbb7921167f0cfa66c6626b225" +checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" dependencies = [ "log", "pest", @@ -3915,7 +3993,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.6", ] [[package]] @@ -3924,14 +4002,14 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", ] [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" [[package]] name = "heck" @@ -3950,9 +4028,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" [[package]] name = "hex" @@ -3974,9 +4052,9 @@ checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hkdf" -version = "0.12.4" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437" dependencies = [ "hmac 0.12.1", ] @@ -4021,15 +4099,6 @@ dependencies = [ "hmac 0.8.1", ] -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "hostname" version = "0.3.1" @@ -4043,9 +4112,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes", "fnv", @@ -4054,13 +4123,13 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", ] [[package]] @@ -4077,9 +4146,9 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" -version = "1.0.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" +checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" [[package]] name = "humantime" @@ -4089,9 +4158,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" dependencies = [ "bytes", "futures-channel", @@ -4103,8 +4172,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.5.5", + "pin-project-lite 0.2.10", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -4120,41 +4189,25 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.20.9", - "rustls-native-certs", - "tokio", - "tokio-rustls 0.23.4", -] - -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http", - "hyper", - "log", - "rustls 0.21.10", + "rustls 0.20.8", "rustls-native-certs", "tokio", - "tokio-rustls 0.24.1", - "webpki-roots 0.25.3", + "tokio-rustls", + "webpki-roots", ] [[package]] name = "iana-time-zone" -version = "0.1.58" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows 0.48.0", ] [[package]] @@ -4185,9 +4238,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.5.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -4195,19 +4248,19 @@ dependencies = [ [[package]] name = "if-addrs" -version = "0.10.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" +checksum = "cbc0fa01ffc752e9dbc72818cdb072cd028b86be5e09dd04c5a643704fe101a9" dependencies = [ "libc", - "windows-sys 0.48.0", + "winapi", ] [[package]] name = "if-watch" -version = "3.2.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" +checksum = "a9465340214b296cd17a0009acdb890d6160010b8adf8f78a00d0d7ab270f79f" dependencies = [ "async-io", "core-foundation", @@ -4219,7 +4272,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows", + "windows 0.34.0", ] [[package]] @@ -4270,12 +4323,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.14.0", ] [[package]] @@ -4355,7 +4408,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.2", "libc", "windows-sys 0.48.0", ] @@ -4372,7 +4425,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.5", + "socket2 0.5.3", "widestring", "windows-sys 0.48.0", "winreg", @@ -4380,19 +4433,19 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" [[package]] name = "is-terminal" -version = "0.4.10" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.3", - "rustix 0.38.28", - "windows-sys 0.52.0", + "hermit-abi 0.3.2", + "rustix 0.38.6", + "windows-sys 0.48.0", ] [[package]] @@ -4403,9 +4456,9 @@ dependencies = [ "base64 0.13.1", "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "log", "oracle", @@ -4420,11 +4473,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -4439,44 +4492,35 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpsee" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" +checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" dependencies = [ "jsonrpsee-core", "jsonrpsee-http-client", @@ -4489,9 +4533,9 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" dependencies = [ "futures-util", "http", @@ -4502,21 +4546,21 @@ dependencies = [ "soketto", "thiserror", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls", "tokio-util", "tracing", - "webpki-roots 0.25.3", + "webpki-roots", ] [[package]] name = "jsonrpsee-core" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" dependencies = [ "anyhow", "arrayvec 0.7.4", - "async-lock 2.8.0", + "async-lock", "async-trait", "beef", "futures-channel", @@ -4538,13 +4582,13 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +checksum = "cc345b0a43c6bc49b947ebeb936e886a419ee3d894421790c969cc56040542ad" dependencies = [ "async-trait", "hyper", - "hyper-rustls 0.24.2", + "hyper-rustls", "jsonrpsee-core", "jsonrpsee-types", "rustc-hash", @@ -4557,12 +4601,12 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" +checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c" dependencies = [ "heck", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -4570,9 +4614,9 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" +checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" dependencies = [ "futures-channel", "futures-util", @@ -4592,9 +4636,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" +checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c" dependencies = [ "anyhow", "beef", @@ -4606,9 +4650,9 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" dependencies = [ "http", "jsonrpsee-client-transport", @@ -4624,9 +4668,9 @@ checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" dependencies = [ "cfg-if", "ecdsa 0.16.9", - "elliptic-curve 0.13.8", + "elliptic-curve 0.13.7", "once_cell", - "sha2 0.10.8", + "sha2 0.10.7", ] [[package]] @@ -4644,11 +4688,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4711,24 +4755,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "substrate-wasm-builder", "xcm", @@ -4741,13 +4785,13 @@ name = "kusama-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -4800,9 +4844,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libloading" @@ -4816,9 +4860,15 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.8" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" + +[[package]] +name = "libm" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libp2p" @@ -4829,7 +4879,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.11", + "getrandom 0.2.10", "instant", "libp2p-core 0.38.0", "libp2p-dns", @@ -4862,7 +4912,7 @@ checksum = "b6a8fcd392ff67af6cc3f03b1426c41f7f26b6b9aff2dc632c1c56dd649e571f" dependencies = [ "asn1_der", "bs58", - "ed25519-dalek 1.0.1", + "ed25519-dalek", "either", "fnv", "futures", @@ -4880,7 +4930,7 @@ dependencies = [ "rand 0.8.5", "rw-stream-sink", "sec1 0.3.0", - "sha2 0.10.8", + "sha2 0.10.7", "smallvec", "thiserror", "unsigned-varint", @@ -4953,18 +5003,18 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.1.3" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" +checksum = "9e2d584751cecb2aabaa56106be6be91338a60a0f4e420cf2af639204f596fc1" dependencies = [ "bs58", - "ed25519-dalek 2.1.0", + "ed25519-dalek", "log", "multiaddr 0.17.1", "multihash 0.17.0", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.7", "thiserror", "zeroize", ] @@ -4989,7 +5039,7 @@ dependencies = [ "prost", "prost-build", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.7", "smallvec", "thiserror", "uint", @@ -5011,7 +5061,7 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "socket2 0.4.10", + "socket2 0.4.9", "tokio", "trust-dns-proto", "void", @@ -5064,7 +5114,7 @@ dependencies = [ "prost", "prost-build", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.7", "snow", "static_assertions", "thiserror", @@ -5104,7 +5154,7 @@ dependencies = [ "parking_lot 0.12.1", "quinn-proto", "rand 0.8.5", - "rustls 0.20.9", + "rustls 0.20.8", "thiserror", "tokio", ] @@ -5172,7 +5222,7 @@ dependencies = [ "libc", "libp2p-core 0.38.0", "log", - "socket2 0.4.10", + "socket2 0.4.9", "tokio", ] @@ -5187,10 +5237,10 @@ dependencies = [ "libp2p-core 0.39.2", "libp2p-identity", "rcgen 0.10.0", - "ring 0.16.20", - "rustls 0.20.9", + "ring", + "rustls 0.20.8", "thiserror", - "webpki 0.22.4", + "webpki 0.22.0", "x509-parser 0.14.0", "yasna", ] @@ -5256,7 +5306,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -5273,17 +5323,6 @@ dependencies = [ "yamux", ] -[[package]] -name = "libredox" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" -dependencies = [ - "bitflags 2.4.1", - "libc", - "redox_syscall 0.4.1", -] - [[package]] name = "librocksdb-sys" version = "0.10.0+7.9.2" @@ -5384,9 +5423,9 @@ dependencies = [ [[package]] name = "linregress" -version = "0.5.3" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "4de0b5f52a9f84544d268f5fabb71b38962d6aa3c6600b8bcd27d44ccf9c9c45" dependencies = [ "nalgebra", ] @@ -5399,15 +5438,21 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" dependencies = [ "autocfg", "scopeguard", @@ -5415,9 +5460,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" [[package]] name = "lru" @@ -5504,9 +5549,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.8" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" dependencies = [ "autocfg", "rawpointer", @@ -5514,27 +5559,26 @@ dependencies = [ [[package]] name = "md-5" -version = "0.10.6" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" dependencies = [ - "cfg-if", "digest 0.10.7", ] [[package]] name = "memchr" -version = "2.7.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memfd" -version = "0.6.4" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" dependencies = [ - "rustix 0.38.28", + "rustix 0.37.23", ] [[package]] @@ -5555,6 +5599,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "memory-db" version = "0.32.0" @@ -5610,9 +5663,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.10" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -5629,13 +5682,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5647,11 +5700,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5709,9 +5762,9 @@ dependencies = [ "jsonrpsee", "module-issue-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5719,10 +5772,10 @@ name = "module-issue-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5733,9 +5786,9 @@ dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -5744,12 +5797,12 @@ name = "module-oracle-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -5761,22 +5814,22 @@ dependencies = [ "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "module-pallet-staking-rpc-runtime-api" version = "1.0.0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "module-oracle-rpc-runtime-api", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5787,9 +5840,9 @@ dependencies = [ "jsonrpsee", "module-redeem-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5797,10 +5850,10 @@ name = "module-redeem-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5811,9 +5864,9 @@ dependencies = [ "jsonrpsee", "module-replace-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5821,10 +5874,10 @@ name = "module-replace-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5836,9 +5889,9 @@ dependencies = [ "module-oracle-rpc-runtime-api", "module-vault-registry-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5846,11 +5899,11 @@ name = "module-vault-registry-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5913,7 +5966,7 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive", - "sha2 0.10.8", + "sha2 0.10.7", "sha3", "unsigned-varint", ] @@ -5935,7 +5988,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro-error", "proc-macro2", "quote", @@ -6080,7 +6133,7 @@ dependencies = [ "bitflags 1.3.2", "cfg-if", "libc", - "memoffset", + "memoffset 0.6.5", ] [[package]] @@ -6089,14 +6142,14 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bstringify", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "zenlink-protocol", ] @@ -6123,9 +6176,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "oracle", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6138,11 +6191,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", "vault-registry", @@ -6156,9 +6209,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" dependencies = [ "autocfg", "num-integer", @@ -6167,9 +6220,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" dependencies = [ "num-traits", ] @@ -6208,9 +6261,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", ] @@ -6221,7 +6274,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.2", "libc", ] @@ -6245,9 +6298,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" dependencies = [ "memchr", ] @@ -6272,9 +6325,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "opaque-debug" @@ -6301,9 +6354,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "dia-oracle", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "once_cell", "orml-oracle", "pallet-balances", @@ -6311,11 +6364,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "security", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "spin 0.9.8", "staking", @@ -6345,9 +6398,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" dependencies = [ "expander 0.0.6", - "itertools 0.10.5", + "itertools", "petgraph", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -6367,15 +6420,15 @@ name = "orml-asset-registry" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-builder", "xcm-executor", @@ -6386,25 +6439,25 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "orml-currencies-allowance-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6414,10 +6467,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6425,17 +6478,17 @@ name = "orml-oracle" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6443,15 +6496,15 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6459,24 +6512,24 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "orml-tokens-management-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6486,10 +6539,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.1", ] @@ -6498,17 +6551,17 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "num-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -6517,13 +6570,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6531,13 +6584,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6545,12 +6598,12 @@ name = "orml-xcm" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -6559,11 +6612,11 @@ name = "orml-xcm-support" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -6574,17 +6627,17 @@ version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "orml-xcm-support", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -6597,7 +6650,7 @@ checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.8", + "sha2 0.10.7", ] [[package]] @@ -6608,7 +6661,17 @@ checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.8", + "sha2 0.10.7", +] + +[[package]] +name = "packed_simd_2" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" +dependencies = [ + "cfg-if", + "libm 0.1.4", ] [[package]] @@ -6616,17 +6679,17 @@ name = "pallet-asset-tx-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6634,14 +6697,14 @@ name = "pallet-assets" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6649,15 +6712,15 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6665,15 +6728,15 @@ name = "pallet-authority-discovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6681,13 +6744,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6695,23 +6758,23 @@ name = "pallet-babe" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6719,19 +6782,19 @@ name = "pallet-bags-list" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6739,14 +6802,14 @@ name = "pallet-balances" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6754,18 +6817,18 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6775,8 +6838,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-beefy", "pallet-mmr", @@ -6784,12 +6847,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6797,17 +6860,17 @@ name = "pallet-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6815,18 +6878,18 @@ name = "pallet-child-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6834,18 +6897,18 @@ name = "pallet-collator-selection" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6853,16 +6916,16 @@ name = "pallet-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6872,9 +6935,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "bitflags 1.3.2", "environmental", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "pallet-contracts-primitives", @@ -6884,11 +6947,11 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasm-instrument 0.4.0", "wasmi 0.28.0", "wasmparser-nostd", @@ -6902,9 +6965,9 @@ dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6914,7 +6977,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -6923,15 +6986,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6939,17 +7002,17 @@ name = "pallet-democracy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6957,21 +7020,21 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "strum", ] @@ -6980,12 +7043,12 @@ name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-system", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "sp-npos-elections", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6993,17 +7056,17 @@ name = "pallet-elections-phragmen" version = "5.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7011,17 +7074,17 @@ name = "pallet-fast-unstake" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7029,22 +7092,22 @@ name = "pallet-grandpa" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7053,14 +7116,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7068,19 +7131,19 @@ name = "pallet-im-online" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7088,16 +7151,16 @@ name = "pallet-indices" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7105,13 +7168,13 @@ name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7119,16 +7182,16 @@ name = "pallet-membership" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7136,16 +7199,16 @@ name = "pallet-mmr" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7153,15 +7216,15 @@ name = "pallet-multisig" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7170,16 +7233,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7187,10 +7250,10 @@ name = "pallet-nfts-runtime-api" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-nfts", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7198,15 +7261,15 @@ name = "pallet-nis" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7214,16 +7277,16 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7231,19 +7294,19 @@ name = "pallet-nomination-pools-benchmarking" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-runtime-interface", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7253,8 +7316,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7262,16 +7325,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7279,10 +7342,10 @@ name = "pallet-offences-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-babe", "pallet-balances", @@ -7293,9 +7356,9 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7303,16 +7366,16 @@ name = "pallet-preimage" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7320,14 +7383,14 @@ name = "pallet-proxy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7335,17 +7398,17 @@ name = "pallet-ranked-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7353,14 +7416,14 @@ name = "pallet-recovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7369,34 +7432,33 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7404,20 +7466,20 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", - "sp-trie", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7425,15 +7487,15 @@ name = "pallet-session-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-session", "pallet-staking", "rand 0.8.5", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7441,13 +7503,13 @@ name = "pallet-society" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7455,10 +7517,10 @@ name = "pallet-staking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", @@ -7466,11 +7528,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7478,10 +7540,10 @@ name = "pallet-staking-reward-curve" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -7490,7 +7552,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7499,7 +7561,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7507,16 +7569,16 @@ name = "pallet-state-trie-migration" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7524,13 +7586,13 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7538,16 +7600,16 @@ name = "pallet-timestamp" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -7556,18 +7618,18 @@ name = "pallet-tips" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7575,15 +7637,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7594,12 +7656,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7609,9 +7671,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7619,16 +7681,16 @@ name = "pallet-treasury" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7636,14 +7698,14 @@ name = "pallet-uniques" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7651,15 +7713,15 @@ name = "pallet-utility" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7667,14 +7729,14 @@ name = "pallet-vesting" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7682,33 +7744,32 @@ name = "pallet-whitelist" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "pallet-xcm" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-collections", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -7718,15 +7779,15 @@ name = "pallet-xcm-benchmarks" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-builder", "xcm-executor", @@ -7738,8 +7799,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", ] @@ -7748,9 +7809,9 @@ dependencies = [ name = "parachain-staking" version = "1.7.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "module-pallet-staking-rpc-runtime-api", "pallet-aura", @@ -7761,13 +7822,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7776,8 +7837,8 @@ version = "1.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-utility", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", @@ -7787,10 +7848,10 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -7799,9 +7860,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.12" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" +checksum = "78f19d20a0d2cc52327a88d131fa1c4ea81ea4a04714aedcfeca2dd410049cf8" dependencies = [ "blake2", "crc32fast", @@ -7819,9 +7880,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -7834,11 +7895,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -7858,9 +7919,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.2.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" [[package]] name = "parking_lot" @@ -7880,7 +7941,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.8", ] [[package]] @@ -7899,15 +7960,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", + "redox_syscall 0.3.5", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.48.1", ] [[package]] @@ -7979,7 +8040,7 @@ dependencies = [ "cumulus-relay-chain-rpc-interface", "development-runtime", "foucoco-runtime", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-benchmarking-cli", "jsonrpsee", "log", @@ -8014,15 +8075,15 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus-aura", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", "sp-timestamp", "sp-transaction-pool", @@ -8054,10 +8115,10 @@ dependencies = [ "cumulus-primitives-utility", "dia-oracle", "dia-oracle-runtime-api", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -8105,18 +8166,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "substrate-wasm-builder", "vesting-manager", @@ -8129,26 +8190,25 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" +checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" dependencies = [ - "memchr", "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" +checksum = "666d00490d4ac815001da55838c500eafb0320019bbaa44444137c48b443a853" dependencies = [ "pest", "pest_generator", @@ -8156,56 +8216,56 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" +checksum = "68ca01446f50dbda87c1786af8770d535423fa8a53aec03b8f4e3d7eb10e0929" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "pest_meta" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" +checksum = "56af0a30af74d0445c0bf6d9d051c979b516a1a5af790d251daee76005420a48" dependencies = [ "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.7", ] [[package]] name = "petgraph" -version = "0.6.4" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", - "indexmap 2.1.0", + "indexmap 1.9.3", ] [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -8216,9 +8276,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57" [[package]] name = "pin-utils" @@ -8248,9 +8308,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.28" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" +checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] name = "platforms" @@ -8260,9 +8320,9 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "platforms" -version = "3.3.0" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" +checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" @@ -8311,8 +8371,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8358,8 +8418,8 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", "sp-maybe-compressed-blob", "substrate-build-script-utils", @@ -8373,9 +8433,9 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-benchmarking-cli", - "frame-system", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "futures", "pallet-transaction-payment", @@ -8389,7 +8449,7 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-service", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -8397,14 +8457,14 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core", - "sp-inherents", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", "sp-transaction-pool", ] @@ -8424,9 +8484,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8438,9 +8498,9 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -8462,8 +8522,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", - "sp-application-crypto", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8477,8 +8537,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -8496,9 +8556,9 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sc-network", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing-gum", ] @@ -8537,7 +8597,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -8564,10 +8624,10 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "schnorrkel", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-consensus-slots", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8607,7 +8667,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8621,7 +8681,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", "wasm-timer", @@ -8710,7 +8770,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-blockchain", - "sp-inherents", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8751,10 +8811,10 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", - "sp-tracing", - "sp-wasm-interface", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-build-script-utils", "tokio", "tracing-gum", @@ -8771,7 +8831,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8793,11 +8853,11 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-core", - "sp-externalities", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", - "sp-tracing", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-build-script-utils", "tempfile", "tikv-jemalloc-ctl", @@ -8833,7 +8893,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tokio", ] @@ -8891,12 +8951,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel", "serde", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-babe", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "zstd 0.11.2+zstd.1.5.2", ] @@ -8927,7 +8987,7 @@ dependencies = [ "polkadot-statement-table", "sc-network", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -8944,7 +9004,7 @@ dependencies = [ "fatality", "futures", "futures-channel", - "itertools 0.10.5", + "itertools", "kvdb", "lru 0.9.0", "parity-db", @@ -8960,9 +9020,9 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8984,8 +9044,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -8997,14 +9057,14 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "bounded-collections", "derive_more", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9037,18 +9097,18 @@ dependencies = [ "polkadot-parachain", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9072,13 +9132,13 @@ dependencies = [ "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -9089,11 +9149,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -9152,24 +9212,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "substrate-wasm-builder", "xcm", @@ -9183,10 +9243,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "libsecp256k1", "log", @@ -9210,15 +9270,15 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api", - "sp-core", - "sp-inherents", - "sp-io", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "xcm", ] @@ -9228,13 +9288,13 @@ name = "polkadot-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9245,8 +9305,8 @@ dependencies = [ "bs58", "parity-scale-codec", "polkadot-primitives", - "sp-std", - "sp-tracing", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9257,9 +9317,9 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authority-discovery", "pallet-authorship", @@ -9278,16 +9338,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "xcm", "xcm-executor", @@ -9300,7 +9360,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "async-trait", "frame-benchmarking-cli", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -9375,7 +9435,7 @@ dependencies = [ "sc-transaction-pool", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -9383,19 +9443,19 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-state-machine", - "sp-storage", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", "sp-transaction-pool", - "sp-trie", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -9417,8 +9477,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", - "sp-staking", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -9430,32 +9490,34 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "polling" -version = "3.3.1" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ + "autocfg", + "bitflags 1.3.2", "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", - "rustix 0.38.28", - "tracing", - "windows-sys 0.52.0", + "libc", + "log", + "pin-project-lite 0.2.10", + "windows-sys 0.48.0", ] [[package]] name = "poly1305" -version = "0.8.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" dependencies = [ "cpufeatures", "opaque-debug 0.3.0", - "universal-hash 0.5.1", + "universal-hash 0.4.1", ] [[package]] @@ -9488,18 +9550,18 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -9509,12 +9571,6 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - [[package]] name = "ppv-lite86" version = "0.2.17" @@ -9529,7 +9585,7 @@ checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" dependencies = [ "difflib", "float-cmp", - "itertools 0.10.5", + "itertools", "normalize-line-endings", "predicates-core", "regex", @@ -9563,9 +9619,9 @@ dependencies = [ [[package]] name = "primitive-types" -version = "0.12.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" dependencies = [ "fixed-hash 0.8.0", "impl-codec", @@ -9597,16 +9653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ "once_cell", - "toml_edit 0.19.15", -] - -[[package]] -name = "proc-macro-crate" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" -dependencies = [ - "toml_edit 0.20.7", + "toml_edit", ] [[package]] @@ -9641,14 +9688,14 @@ checksum = "0e99670bafb56b9a106419397343bdbc8b8742c3cc449fec6345f86173f47cd4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "proc-macro2" -version = "1.0.71" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8" +checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" dependencies = [ "unicode-ident", ] @@ -9708,7 +9755,7 @@ checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", "heck", - "itertools 0.10.5", + "itertools", "lazy_static", "log", "multimap", @@ -9742,7 +9789,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools", "proc-macro2", "quote", "syn 1.0.109", @@ -9794,27 +9841,27 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.9.6" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" +checksum = "f31999cfc7927c4e212e60fd50934ab40e8e8bfd2d493d6095d2d306bc0764d9" dependencies = [ "bytes", "rand 0.8.5", - "ring 0.16.20", + "ring", "rustc-hash", - "rustls 0.20.9", + "rustls 0.20.8", "slab", "thiserror", "tinyvec", "tracing", - "webpki 0.22.4", + "webpki 0.22.0", ] [[package]] name = "quote" -version = "1.0.33" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" dependencies = [ "proc-macro2", ] @@ -9884,7 +9931,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.10", ] [[package]] @@ -9913,9 +9960,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.8.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" dependencies = [ "either", "rayon-core", @@ -9923,12 +9970,14 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" dependencies = [ + "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", + "num_cpus", ] [[package]] @@ -9938,8 +9987,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", - "ring 0.16.20", - "time", + "ring", + "time 0.3.25", "x509-parser 0.13.2", "yasna", ] @@ -9951,8 +10000,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", - "ring 0.16.20", - "time", + "ring", + "time 0.3.25", "yasna", ] @@ -9963,9 +10012,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "oracle", "orml-currencies", @@ -9978,11 +10027,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -9999,55 +10048,55 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ "bitflags 1.3.2", ] [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.11", - "libredox", + "getrandom 0.2.10", + "redox_syscall 0.2.16", "thiserror", ] [[package]] name = "reed-solomon-novelpoly" -version = "1.0.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58130877ca403ab42c864fbac74bb319a0746c07a634a92a5cfc7f54af272582" +checksum = "3bd8f48b2066e9f69ab192797d66da804d1935bf22763204ed3675740cb0f221" dependencies = [ "derive_more", "fs-err", - "itertools 0.11.0", - "static_init", + "itertools", + "static_init 0.5.2", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.21" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53313ec9f12686aeeffb43462c3ac77aa25f590a5f630eb2cde0de59417b29c7" +checksum = "61ef7e18e8841942ddb1cf845054f8008410030a3997875d9e49b7a363063df1" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.21" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" +checksum = "2dfaf0c85b766276c797f3791f5bc6d5bd116b41d53049af2789666b0c0bc9fa" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -10064,14 +10113,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-automata 0.3.4", + "regex-syntax 0.7.4", ] [[package]] @@ -10085,13 +10134,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "b7b6d6190b7594385f61bd3911cd1be99dfddcfc365a4160cc2ab5bff4aed294" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.7.4", ] [[package]] @@ -10102,9 +10151,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" [[package]] name = "region" @@ -10125,9 +10174,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "nomination", "oracle", @@ -10142,11 +10191,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -10167,17 +10216,17 @@ name = "reward" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -10187,9 +10236,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "oracle", "orml-currencies", @@ -10201,11 +10250,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", ] @@ -10241,25 +10290,11 @@ dependencies = [ "libc", "once_cell", "spin 0.5.2", - "untrusted 0.7.1", + "untrusted", "web-sys", "winapi", ] -[[package]] -name = "ring" -version = "0.17.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" -dependencies = [ - "cc", - "getrandom 0.2.11", - "libc", - "spin 0.9.8", - "untrusted 0.9.0", - "windows-sys 0.48.0", -] - [[package]] name = "rocksdb" version = "0.20.1" @@ -10276,10 +10311,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "binary-merkle-tree", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -10333,22 +10368,22 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "substrate-wasm-builder", "xcm", @@ -10361,24 +10396,24 @@ name = "rococo-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "rpassword" -version = "7.3.1" +version = "7.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" +checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" dependencies = [ "libc", "rtoolbox", - "windows-sys 0.48.0", + "winapi", ] [[package]] @@ -10409,12 +10444,12 @@ dependencies = [ [[package]] name = "rtoolbox" -version = "0.0.2" +version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" +checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" dependencies = [ "libc", - "windows-sys 0.48.0", + "winapi", ] [[package]] @@ -10436,9 +10471,9 @@ name = "runtime-common" version = "0.1.0" dependencies = [ "dia-oracle", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-asset-registry", "orml-traits", "orml-xcm-support", @@ -10446,9 +10481,9 @@ dependencies = [ "paste", "scale-info", "sp-consensus-aura", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "xcm", "xcm-executor", @@ -10465,8 +10500,8 @@ dependencies = [ "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "kusama-runtime", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -10488,12 +10523,12 @@ dependencies = [ "runtime-common", "scale-info", "serde", - "sp-core", - "sp-debug-derive", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.1", "statemine-runtime", "statemint-runtime", @@ -10536,7 +10571,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.20", + "semver 1.0.18", ] [[package]] @@ -10550,9 +10585,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.17" +version = "0.36.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941" dependencies = [ "bitflags 1.3.2", "errno", @@ -10564,52 +10599,54 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.37.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" dependencies = [ - "bitflags 2.4.1", + "bitflags 1.3.2", "errno", + "io-lifetimes", "libc", - "linux-raw-sys 0.4.12", - "windows-sys 0.52.0", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", ] [[package]] -name = "rustls" -version = "0.19.1" +name = "rustix" +version = "0.38.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +checksum = "1ee020b1716f0a80e2ace9b03441a749e402e86712f15f16fe8a8f75afac732f" dependencies = [ - "base64 0.13.1", - "log", - "ring 0.16.20", - "sct 0.6.1", - "webpki 0.21.4", + "bitflags 2.3.3", + "errno", + "libc", + "linux-raw-sys 0.4.5", + "windows-sys 0.48.0", ] [[package]] name = "rustls" -version = "0.20.9" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ + "base64 0.13.1", "log", - "ring 0.16.20", - "sct 0.7.1", - "webpki 0.22.4", + "ring", + "sct 0.6.1", + "webpki 0.21.4", ] [[package]] name = "rustls" -version = "0.21.10" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" dependencies = [ "log", - "ring 0.17.7", - "rustls-webpki", - "sct 0.7.1", + "ring", + "sct 0.7.0", + "webpki 0.22.0", ] [[package]] @@ -10626,21 +10663,11 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.5", -] - -[[package]] -name = "rustls-webpki" -version = "0.101.7" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "ring 0.17.7", - "untrusted 0.9.0", + "base64 0.21.2", ] [[package]] @@ -10662,9 +10689,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "safe-mix" @@ -10699,8 +10726,8 @@ version = "4.1.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-core", - "sp-wasm-interface", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -10722,12 +10749,12 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10746,12 +10773,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", ] @@ -10762,12 +10789,12 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -10784,9 +10811,9 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -10794,10 +10821,10 @@ name = "sc-chain-spec-derive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -10829,12 +10856,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tiny-bip39", "tokio", @@ -10853,16 +10880,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-database", - "sp-externalities", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", ] @@ -10883,13 +10910,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -10907,12 +10934,12 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10931,17 +10958,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10967,17 +10994,17 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10993,14 +11020,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11024,16 +11051,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -11053,8 +11080,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11068,7 +11095,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11076,7 +11103,7 @@ name = "sc-consensus-grandpa" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "array-bytes 4.2.0", "async-trait", "dyn-clone", @@ -11098,15 +11125,15 @@ dependencies = [ "sc-telemetry", "sc-utils", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -11126,8 +11153,8 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11144,14 +11171,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11165,15 +11192,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", - "sp-wasm-interface", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", "wasmi 0.13.2", ] @@ -11185,7 +11212,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "wasm-instrument 0.3.0", "wasmi 0.13.2", @@ -11199,8 +11226,8 @@ dependencies = [ "log", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasmi 0.13.2", ] @@ -11214,11 +11241,11 @@ dependencies = [ "libc", "log", "once_cell", - "rustix 0.36.17", + "rustix 0.36.15", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasmtime", ] @@ -11235,7 +11262,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11247,9 +11274,9 @@ dependencies = [ "async-trait", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11287,11 +11314,11 @@ dependencies = [ "serde_json", "smallvec", "snow", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -11313,7 +11340,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "unsigned-varint", ] @@ -11340,7 +11367,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "zeroize", @@ -11351,7 +11378,7 @@ name = "sc-network-gossip" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "futures", "futures-timer", "libp2p", @@ -11360,7 +11387,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-peerset", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "tracing", ] @@ -11382,8 +11409,8 @@ dependencies = [ "sc-network-common", "sc-peerset", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11411,12 +11438,12 @@ dependencies = [ "sc-peerset", "sc-utils", "smallvec", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -11437,7 +11464,7 @@ dependencies = [ "sc-peerset", "sc-utils", "sp-consensus", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", ] @@ -11452,7 +11479,7 @@ dependencies = [ "futures", "futures-timer", "hyper", - "hyper-rustls 0.23.2", + "hyper-rustls", "libp2p", "num_cpus", "once_cell", @@ -11464,10 +11491,10 @@ dependencies = [ "sc-network-common", "sc-peerset", "sc-utils", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "threadpool", "tracing", ] @@ -11512,15 +11539,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tokio", ] @@ -11536,10 +11563,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11575,11 +11602,11 @@ dependencies = [ "sc-client-api", "sc-transaction-pool-api", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-version", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tokio-stream", ] @@ -11627,21 +11654,21 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-state-machine", - "sp-storage", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", - "static_init", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "static_init 1.0.3", "substrate-prometheus-endpoint", "tempfile", "thiserror", @@ -11658,7 +11685,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11672,7 +11699,7 @@ dependencies = [ "log", "sc-client-db", "sc-utils", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tokio", ] @@ -11692,7 +11719,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11710,9 +11737,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11753,12 +11780,12 @@ dependencies = [ "sc-rpc-server", "sc-tracing-proc-macro", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-tracing", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing", "tracing-log", @@ -11770,10 +11797,10 @@ name = "sc-tracing-proc-macro" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -11793,11 +11820,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -11813,7 +11840,7 @@ dependencies = [ "log", "serde", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11829,14 +11856,14 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "scale-info" -version = "2.10.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" dependencies = [ "bitvec", "cfg-if", @@ -11848,11 +11875,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -11860,11 +11887,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] @@ -11873,7 +11900,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "cfg-if", "hashbrown 0.13.2", ] @@ -11914,18 +11941,18 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring", + "untrusted", ] [[package]] name = "sct" -version = "0.7.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" dependencies = [ - "ring 0.17.7", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -12000,15 +12027,15 @@ name = "security" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", "sha2 0.8.2", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12054,9 +12081,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" dependencies = [ "serde", ] @@ -12069,29 +12096,29 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.181" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "6d3e73c93c3240c0bda063c239298e633114c69a888c3e37ca8bb33f343e9890" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.181" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "be02f6cb0cd3a5ec20bbcfbcbd749f57daddb1a0882dc2e46a6c236c90b977ed" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c" dependencies = [ "itoa", "ryu", @@ -12122,9 +12149,9 @@ dependencies = [ [[package]] name = "sha1" -version = "0.10.6" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if", "cpufeatures", @@ -12158,9 +12185,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" dependencies = [ "cfg-if", "cpufeatures", @@ -12179,18 +12206,18 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.7" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" dependencies = [ "lazy_static", ] [[package]] name = "shlex" -version = "1.2.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" +checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "signal-hook-registry" @@ -12236,15 +12263,15 @@ dependencies = [ [[package]] name = "siphasher" -version = "0.3.11" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" +checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "slab" -version = "0.4.9" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" dependencies = [ "autocfg", ] @@ -12263,53 +12290,53 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "slotmap" -version = "1.0.7" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" +checksum = "e1e08e261d0e8f5c43123b7adf3e4ca1690d655377ac93a03b2c9d3e98de1342" dependencies = [ "version_check", ] [[package]] name = "smallvec" -version = "1.11.2" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" [[package]] name = "snap" -version = "1.1.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" +checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" [[package]] name = "snow" -version = "0.9.4" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" +checksum = "5ccba027ba85743e09d15c03296797cad56395089b832b48b5a5217880f57733" dependencies = [ - "aes-gcm 0.10.3", + "aes-gcm 0.9.4", "blake2", "chacha20poly1305", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.0.0-rc.1", "rand_core 0.6.4", - "ring 0.17.7", + "ring", "rustc_version 0.4.0", - "sha2 0.10.8", + "sha2 0.10.7", "subtle", ] [[package]] name = "socket2" -version = "0.4.10" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" dependencies = [ "libc", "winapi", @@ -12317,9 +12344,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" dependencies = [ "libc", "windows-sys 0.48.0", @@ -12351,6 +12378,25 @@ dependencies = [ "sha-1", ] +[[package]] +name = "sp-api" +version = "4.0.0-dev" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 7.0.0", + "sp-metadata-ir 0.1.0", + "sp-runtime 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "sp-version 5.0.0", + "thiserror", +] + [[package]] name = "sp-api" version = "4.0.0-dev" @@ -12360,17 +12406,30 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "blake2", + "expander 1.0.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" @@ -12379,10 +12438,22 @@ dependencies = [ "Inflector", "blake2", "expander 1.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -12393,9 +12464,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0", + "static_assertions", ] [[package]] @@ -12408,7 +12492,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", ] @@ -12419,10 +12503,10 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12431,10 +12515,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12447,11 +12531,11 @@ dependencies = [ "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12463,10 +12547,10 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12478,13 +12562,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -12497,15 +12581,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -12518,13 +12602,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "strum", ] @@ -12538,12 +12622,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12554,10 +12638,53 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] +[[package]] +name = "sp-core" +version = "7.0.0" +dependencies = [ + "array-bytes 4.2.0", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin", + "parity-scale-codec", + "parking_lot 0.12.1", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0", + "sp-debug-derive 5.0.0", + "sp-externalities 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + [[package]] name = "sp-core" version = "7.0.0" @@ -12589,12 +12716,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "ss58-registry", "substrate-bip39", "thiserror", @@ -12602,6 +12729,19 @@ dependencies = [ "zeroize", ] +[[package]] +name = "sp-core-hashing" +version = "5.0.0" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.7", + "sha3", + "sp-std 5.0.0", + "twox-hash", +] + [[package]] name = "sp-core-hashing" version = "5.0.0" @@ -12610,12 +12750,22 @@ dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.8", + "sha2 0.10.7", "sha3", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "twox-hash", ] +[[package]] +name = "sp-core-hashing-proc-macro" +version = "5.0.0" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing 5.0.0", + "syn 2.0.28", +] + [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" @@ -12623,8 +12773,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "sp-core-hashing", - "syn 2.0.43", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "syn 2.0.28", ] [[package]] @@ -12636,6 +12786,15 @@ dependencies = [ "parking_lot 0.12.1", ] +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-debug-derive" version = "5.0.0" @@ -12643,7 +12802,17 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0", + "sp-storage 7.0.0", ] [[package]] @@ -12653,8 +12822,22 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "thiserror", ] [[package]] @@ -12666,34 +12849,59 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-io" +version = "7.0.0" +dependencies = [ + "bytes", + "ed25519", + "ed25519-dalek", + "futures", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-keystore 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-trie 7.0.0", + "tracing", + "tracing-core", +] + [[package]] name = "sp-io" version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", + "ed25519", + "ed25519-dalek", "futures", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", "tracing-core", ] @@ -12704,11 +12912,23 @@ version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "strum", ] +[[package]] +name = "sp-keystore" +version = "0.13.0" +dependencies = [ + "futures", + "parity-scale-codec", + "parking_lot 0.12.1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "thiserror", +] + [[package]] name = "sp-keystore" version = "0.13.0" @@ -12718,8 +12938,8 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "serde", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12732,6 +12952,16 @@ dependencies = [ "zstd 0.12.4", ] +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std 5.0.0", +] + [[package]] name = "sp-metadata-ir" version = "0.1.0" @@ -12740,7 +12970,7 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12753,11 +12983,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-debug-derive", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12769,10 +12999,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12780,9 +13010,18 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +dependencies = [ + "backtrace", + "lazy_static", + "regex", ] [[package]] @@ -12802,7 +13041,28 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-runtime" +version = "7.0.0" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", + "sp-weights 4.0.0", ] [[package]] @@ -12819,12 +13079,29 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", - "sp-weights", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0", + "sp-runtime-interface-proc-macro 6.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "sp-tracing 6.0.0", + "sp-wasm-interface 7.0.0", + "static_assertions", ] [[package]] @@ -12836,25 +13113,36 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "Inflector", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -12864,11 +13152,23 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -12879,9 +13179,28 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-panic-handler 5.0.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "thiserror", + "tracing", ] [[package]] @@ -12895,20 +13214,36 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing", ] +[[package]] +name = "sp-std" +version = "5.0.0" + [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" +[[package]] +name = "sp-storage" +version = "7.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", +] + [[package]] name = "sp-storage" version = "7.0.0" @@ -12918,8 +13253,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12931,19 +13266,30 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-tracing" +version = "6.0.0" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0", + "tracing", + "tracing-core", + "tracing-subscriber", +] + [[package]] name = "sp-tracing" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", "tracing-core", "tracing-subscriber", @@ -12954,8 +13300,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12967,11 +13313,33 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-trie" +version = "7.0.0" +dependencies = [ + "ahash 0.8.3", + "hash-db", + "hashbrown 0.13.2", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.1", + "scale-info", + "schnellru", + "sp-core 7.0.0", + "sp-std 5.0.0", + "thiserror", + "tracing", + "trie-db", + "trie-root", ] [[package]] @@ -12979,7 +13347,7 @@ name = "sp-trie" version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "hash-db", "hashbrown 0.13.2", "lazy_static", @@ -12989,14 +13357,30 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing", "trie-db", "trie-root", ] +[[package]] +name = "sp-version" +version = "5.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version-proc-macro 4.0.0-dev", + "thiserror", +] + [[package]] name = "sp-version" version = "5.0.0" @@ -13007,13 +13391,23 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" @@ -13022,7 +13416,20 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0", + "wasmi 0.13.2", + "wasmtime", ] [[package]] @@ -13034,11 +13441,25 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasmi 0.13.2", "wasmtime", ] +[[package]] +name = "sp-weights" +version = "4.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", +] + [[package]] name = "sp-weights" version = "4.0.0" @@ -13048,10 +13469,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13061,14 +13482,14 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea dependencies = [ "base58", "bstringify", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-stellar-sdk", ] @@ -13079,14 +13500,14 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base58", "bstringify", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-stellar-sdk", ] @@ -13138,9 +13559,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.44.0" +version = "1.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35935738370302d5e33963665b77541e4b990a3e919ec904c837a56cfc891de1" +checksum = "bfc443bad666016e012538782d9e3006213a7db43e9fb1dda91657dc06a6fa08" dependencies = [ "Inflector", "num-format", @@ -13162,19 +13583,19 @@ name = "staking" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -13194,8 +13615,8 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", "kusama-runtime-constants", @@ -13226,18 +13647,18 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", - "sp-weights", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13260,8 +13681,8 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "log", "pallet-asset-tx-payment", @@ -13288,18 +13709,18 @@ dependencies = [ "polkadot-runtime-constants", "scale-info", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", - "sp-weights", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13312,6 +13733,18 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +[[package]] +name = "static_init" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11b73400442027c4adedda20a9f9b7945234a5bd8d5f7e86da22bd5d0622369c" +dependencies = [ + "cfg_aliases", + "libc", + "parking_lot 0.11.2", + "static_init_macro 0.5.0", +] + [[package]] name = "static_init" version = "1.0.3" @@ -13323,10 +13756,23 @@ dependencies = [ "libc", "parking_lot 0.11.2", "parking_lot_core 0.8.6", - "static_init_macro", + "static_init_macro 1.0.2", "winapi", ] +[[package]] +name = "static_init_macro" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2261c91034a1edc3fc4d1b80e89d82714faede0515c14a75da10cb941546bbf" +dependencies = [ + "cfg_aliases", + "memchr", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "static_init_macro" version = "1.0.2" @@ -13347,15 +13793,15 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base64 0.13.1", "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sha2 0.10.8", - "sp-core", - "sp-std", + "sha2 0.10.7", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -13398,7 +13844,7 @@ dependencies = [ "lazy_static", "md-5", "rand 0.8.5", - "ring 0.16.20", + "ring", "subtle", "thiserror", "tokio", @@ -13408,9 +13854,9 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", @@ -13439,11 +13885,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13468,7 +13914,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13483,10 +13929,10 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "trie-db", ] @@ -13504,9 +13950,9 @@ dependencies = [ "serde_json", "sha2 0.9.9", "sodalite", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13521,7 +13967,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.7.8", + "toml 0.7.6", "walkdir", "wasm-opt", ] @@ -13554,9 +14000,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.43" +version = "2.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" +checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" dependencies = [ "proc-macro2", "quote", @@ -13604,28 +14050,28 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] name = "tempfile" -version = "3.9.0" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" +checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998" dependencies = [ "cfg-if", - "fastrand", - "redox_syscall 0.4.1", - "rustix 0.38.28", - "windows-sys 0.52.0", + "fastrand 2.0.0", + "redox_syscall 0.3.5", + "rustix 0.38.6", + "windows-sys 0.48.0", ] [[package]] name = "termcolor" -version = "1.4.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ "winapi-util", ] @@ -13638,22 +14084,22 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.52" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a48fd946b02c0a526b2e9481c8e2a17755e47039164a86c4070446e3a4614d" +checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.52" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7fbe9b594d6568a6a1443250a7e67d80b74e1e96f6d1715e1e21cc1888291d3" +checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -13717,13 +14163,23 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" +dependencies = [ + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", + "winapi", +] + +[[package]] +name = "time" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea" dependencies = [ "deranged", "itoa", - "powerfmt", "serde", "time-core", "time-macros", @@ -13731,15 +14187,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd" dependencies = [ "time-core", ] @@ -13756,7 +14212,7 @@ dependencies = [ "pbkdf2 0.11.0", "rand 0.8.5", "rustc-hash", - "sha2 0.10.8", + "sha2 0.10.7", "thiserror", "unicode-normalization", "wasm-bindgen", @@ -13790,32 +14246,33 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" dependencies = [ + "autocfg", "backtrace", "bytes", "libc", "mio", "num_cpus", "parking_lot 0.12.1", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "signal-hook-registry", - "socket2 0.5.5", + "socket2 0.4.9", "tokio-macros", "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -13824,19 +14281,9 @@ version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls 0.20.9", - "tokio", - "webpki 0.22.4", -] - -[[package]] -name = "tokio-rustls" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" -dependencies = [ - "rustls 0.21.10", + "rustls 0.20.8", "tokio", + "webpki 0.22.0", ] [[package]] @@ -13846,22 +14293,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tokio", "tokio-util", ] [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tokio", "tracing", ] @@ -13877,49 +14324,38 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.19.15", + "toml_edit", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.15" +version = "0.19.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.0.0", "serde", "serde_spanned", "toml_datetime", "winnow", ] -[[package]] -name = "toml_edit" -version = "0.20.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" -dependencies = [ - "indexmap 2.1.0", - "toml_datetime", - "winnow", -] - [[package]] name = "tower" version = "0.4.13" @@ -13944,7 +14380,7 @@ dependencies = [ "http", "http-body", "http-range-header", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tower-layer", "tower-service", ] @@ -13963,32 +14399,33 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ + "cfg-if", "log", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tracing-attributes", "tracing-core", ] [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ "once_cell", "valuable", @@ -14021,20 +14458,20 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "tracing-log" -version = "0.1.4" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ + "lazy_static", "log", - "once_cell", "tracing-core", ] @@ -14111,7 +14548,7 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", - "socket2 0.4.10", + "socket2 0.4.9", "thiserror", "tinyvec", "tokio", @@ -14141,9 +14578,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.5" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" +checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" @@ -14162,22 +14599,22 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-debug-derive", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-state-machine", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version", - "sp-weights", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-rpc-client", "zstd 0.12.4", ] @@ -14200,7 +14637,7 @@ dependencies = [ "log", "md-5", "rand 0.8.5", - "ring 0.16.20", + "ring", "stun", "thiserror", "tokio", @@ -14221,9 +14658,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.17.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "ucd-trie" @@ -14245,15 +14682,15 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" [[package]] name = "unicode-normalization" @@ -14266,9 +14703,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "unicode-xid" @@ -14298,9 +14735,9 @@ dependencies = [ [[package]] name = "unsigned-varint" -version = "0.7.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" +checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" dependencies = [ "asynchronous-codec", "bytes", @@ -14314,20 +14751,14 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" -[[package]] -name = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - [[package]] name = "url" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna 0.4.0", "percent-encoding", ] @@ -14339,11 +14770,11 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.6.1" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" +checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.10", ] [[package]] @@ -14360,9 +14791,9 @@ dependencies = [ "currency", "fee", "fixed-hash 0.7.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "oracle", "orml-currencies", @@ -14377,11 +14808,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", ] @@ -14402,17 +14833,17 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" name = "vesting-manager" version = "0.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-vesting", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -14430,11 +14861,17 @@ dependencies = [ "atomic-waker", ] +[[package]] +name = "waker-fn" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" + [[package]] name = "walkdir" -version = "2.4.0" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" dependencies = [ "same-file", "winapi-util", @@ -14455,6 +14892,12 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" +[[package]] +name = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -14463,9 +14906,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -14473,24 +14916,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" dependencies = [ "cfg-if", "js-sys", @@ -14500,9 +14943,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -14510,22 +14953,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-instrument" @@ -14646,7 +15089,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" dependencies = [ "downcast-rs", - "libm", + "libm 0.2.7", "memory_units", "num-rational", "num-traits", @@ -14660,7 +15103,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7" dependencies = [ "downcast-rs", - "libm", + "libm 0.2.7", "num-traits", "paste", ] @@ -14733,9 +15176,9 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix 0.36.17", + "rustix 0.36.15", "serde", - "sha2 0.10.8", + "sha2 0.10.7", "toml 0.5.11", "windows-sys 0.42.0", "zstd 0.11.2+zstd.1.5.2", @@ -14813,7 +15256,7 @@ checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" dependencies = [ "object 0.29.0", "once_cell", - "rustix 0.36.17", + "rustix 0.36.15", ] [[package]] @@ -14841,10 +15284,10 @@ dependencies = [ "log", "mach", "memfd", - "memoffset", + "memoffset 0.6.5", "paste", "rand 0.8.5", - "rustix 0.36.17", + "rustix 0.36.15", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", @@ -14865,9 +15308,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" dependencies = [ "js-sys", "wasm-bindgen", @@ -14879,18 +15322,18 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring", + "untrusted", ] [[package]] name = "webpki" -version = "0.22.4" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" +checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" dependencies = [ - "ring 0.17.7", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -14899,15 +15342,9 @@ version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ - "webpki 0.22.4", + "webpki 0.22.0", ] -[[package]] -name = "webpki-roots" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" - [[package]] name = "webrtc" version = "0.6.0" @@ -14924,17 +15361,17 @@ dependencies = [ "rand 0.8.5", "rcgen 0.9.3", "regex", - "ring 0.16.20", + "ring", "rtcp", "rtp", "rustls 0.19.1", "sdp", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.7", "stun", "thiserror", - "time", + "time 0.3.25", "tokio", "turn", "url", @@ -14966,12 +15403,12 @@ dependencies = [ [[package]] name = "webrtc-dtls" -version = "0.7.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" +checksum = "942be5bd85f072c3128396f6e5a9bfb93ca8c1939ded735d177b7bcba9a13d05" dependencies = [ "aes 0.6.0", - "aes-gcm 0.10.3", + "aes-gcm 0.10.2", "async-trait", "bincode", "block-modes", @@ -14983,24 +15420,25 @@ dependencies = [ "hkdf", "hmac 0.12.1", "log", + "oid-registry 0.6.1", "p256", "p384", "rand 0.8.5", "rand_core 0.6.4", - "rcgen 0.10.0", - "ring 0.16.20", + "rcgen 0.9.3", + "ring", "rustls 0.19.1", "sec1 0.3.0", "serde", "sha1", - "sha2 0.10.8", + "sha2 0.10.7", "signature 1.6.4", "subtle", "thiserror", "tokio", "webpki 0.21.4", "webrtc-util", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.0-pre.1", "x509-parser 0.13.2", ] @@ -15035,7 +15473,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log", - "socket2 0.4.10", + "socket2 0.4.9", "thiserror", "tokio", "webrtc-util", @@ -15122,11 +15560,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -15184,23 +15622,23 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "westend-runtime-constants", "xcm", @@ -15213,32 +15651,31 @@ name = "westend-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "which" -version = "4.4.2" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" dependencies = [ "either", - "home", + "libc", "once_cell", - "rustix 0.38.28", ] [[package]] name = "wide" -version = "0.7.13" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f" dependencies = [ "bytemuck", "safe_arch", @@ -15268,9 +15705,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ "winapi", ] @@ -15283,21 +15720,24 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.51.1" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f" dependencies = [ - "windows-core", - "windows-targets 0.48.5", + "windows_aarch64_msvc 0.34.0", + "windows_i686_gnu 0.34.0", + "windows_i686_msvc 0.34.0", + "windows_x86_64_gnu 0.34.0", + "windows_x86_64_msvc 0.34.0", ] [[package]] -name = "windows-core" -version = "0.51.1" +name = "windows" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets 0.48.5", + "windows-targets 0.48.1", ] [[package]] @@ -15330,16 +15770,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.48.1", ] [[package]] @@ -15359,32 +15790,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.0" +version = "0.48.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.48.0", + "windows_aarch64_msvc 0.48.0", + "windows_i686_gnu 0.48.0", + "windows_i686_msvc 0.48.0", + "windows_x86_64_gnu 0.48.0", + "windows_x86_64_gnullvm 0.48.0", + "windows_x86_64_msvc 0.48.0", ] [[package]] @@ -15395,15 +15811,15 @@ checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" [[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.0" +name = "windows_aarch64_msvc" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" [[package]] name = "windows_aarch64_msvc" @@ -15413,15 +15829,15 @@ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_aarch64_msvc" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" [[package]] -name = "windows_aarch64_msvc" -version = "0.52.0" +name = "windows_i686_gnu" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" [[package]] name = "windows_i686_gnu" @@ -15431,15 +15847,15 @@ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_gnu" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" [[package]] -name = "windows_i686_gnu" -version = "0.52.0" +name = "windows_i686_msvc" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" [[package]] name = "windows_i686_msvc" @@ -15449,15 +15865,15 @@ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_i686_msvc" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" [[package]] -name = "windows_i686_msvc" -version = "0.52.0" +name = "windows_x86_64_gnu" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" [[package]] name = "windows_x86_64_gnu" @@ -15467,15 +15883,9 @@ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" [[package]] name = "windows_x86_64_gnullvm" @@ -15485,15 +15895,15 @@ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" [[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.0" +name = "windows_x86_64_msvc" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" [[package]] name = "windows_x86_64_msvc" @@ -15503,21 +15913,15 @@ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" [[package]] name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.5.31" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97a4882e6b134d6c28953a387571f1acdd3496830d5e36c5e3a1075580ea641c" +checksum = "f46aab759304e4d7b2075a9aecba26228bb073ee8c50db796b2c72c676b5d807" dependencies = [ "memchr", ] @@ -15554,13 +15958,12 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.0-pre.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "e5da623d8af10a62342bcbbb230e33e58a63255a58012f8653c578e54bab48df" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 3.2.0", "rand_core 0.6.4", - "serde", "zeroize", ] @@ -15577,10 +15980,10 @@ dependencies = [ "lazy_static", "nom", "oid-registry 0.4.0", - "ring 0.16.20", + "ring", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -15598,7 +16001,7 @@ dependencies = [ "oid-registry 0.6.1", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -15613,7 +16016,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm-procedural", ] @@ -15622,18 +16025,18 @@ name = "xcm-builder" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -15649,17 +16052,17 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parachain-info", "parity-scale-codec", "paste", "polkadot-primitives", "polkadot-runtime-parachains", "quote", - "sp-arithmetic", - "sp-io", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -15670,17 +16073,17 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "environmental", - "frame-benchmarking", - "frame-support", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -15692,7 +16095,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -15715,7 +16118,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time", + "time 0.3.25", ] [[package]] @@ -15724,8 +16127,8 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0)", "orml-traits", @@ -15733,10 +16136,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -15748,10 +16151,10 @@ source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v dependencies = [ "jsonrpsee", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "zenlink-protocol", "zenlink-protocol-runtime-api", ] @@ -15762,36 +16165,16 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "zenlink-protocol", ] -[[package]] -name = "zerocopy" -version = "0.7.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.43", -] - [[package]] name = "zeroize" -version = "1.7.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" dependencies = [ "zeroize_derive", ] @@ -15804,7 +16187,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -15847,11 +16230,12 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.8+zstd.1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" dependencies = [ "cc", + "libc", "pkg-config", ] diff --git a/Cargo.toml b/Cargo.toml index 738e4d327..60fef0640 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,3 +34,9 @@ orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-modu orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } + +[patch.'https://github.com/paritytech/polkadot'] +pallet-xcm = {path = "/home/giannipop/root/pendulum/polkadot/xcm/pallet-xcm/"} + +[patch.'https://github.com/paritytech/substrate'] +pallet-scheduler = {path = "/home/giannipop/root/pendulum/substrate/frame/scheduler/"} \ No newline at end of file diff --git a/pallets/parachain-staking/src/lib.rs b/pallets/parachain-staking/src/lib.rs index 08a41e43a..dd66b3d3f 100644 --- a/pallets/parachain-staking/src/lib.rs +++ b/pallets/parachain-staking/src/lib.rs @@ -2311,7 +2311,7 @@ pub mod pallet { } }) .map(u32::saturated_from::) - // FIXME: Does not prevent the collator from being able to author a block in this (or potentially the next) session. See https://github.com/paritytech/substrate/issues/8004 + // FIXME: Does not prevent the collator from being able to author a block in this (or potentially the next) session. See https://github.com/gianfra-t/substrate-sotrage-patch/issues/8004 .map(pallet_session::Pallet::::disable_index); CandidatePool::::remove(collator); diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 95d7db851..e1878ab44 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -149,9 +149,14 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic = Vec::new(); +} + pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { + log::info!("Custom on-runtime-upgrade function"); if Contracts::on_chain_storage_version() == 0 { log::info!{"version for pallet_xcm {:?}",StorageVersion::get::()}; @@ -170,7 +175,15 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (CustomOnRuntimeUpgrade, pallet_xcm::migration::v1::MigrateToV1) + (CustomOnRuntimeUpgrade, + pallet_xcm::migration::v1::MigrateToV1, + pallet_democracy::migrations::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_balances::migration::MigrateManyToTrackInactive, + //pallet_preimage::migration::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + orml_asset_registry::Migration + ) >; pub struct AmplitudeDiaOracleKeyConverter; From 64f49caceb0eecd6a76bac5d86853f9c96ab36f7 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Fri, 5 Jan 2024 11:16:20 -0300 Subject: [PATCH 13/89] patching 2 --- Cargo.lock | 5258 ++++++++++++++++++---------------- Cargo.toml | 9 + runtime/amplitude/src/lib.rs | 49 +- runtime/pendulum/src/lib.rs | 47 +- 4 files changed, 2919 insertions(+), 2444 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2cbc44354..0a297823f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,11 +23,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" dependencies = [ - "gimli 0.28.1", + "gimli 0.27.3", ] [[package]] @@ -115,9 +115,9 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.10.3" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +checksum = "209b47e8954a928e1d72e86eca7000ebb6655fe1436d33eefc2201cad027e237" dependencies = [ "aead 0.5.2", "aes 0.8.3", @@ -149,33 +149,32 @@ dependencies = [ [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.10", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if", - "getrandom 0.2.11", + "getrandom 0.2.10", "once_cell", "version_check", - "zerocopy", ] [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" dependencies = [ "memchr", ] @@ -206,10 +205,10 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -269,18 +268,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -320,57 +319,58 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is-terminal", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] name = "anyhow" -version = "1.0.77" +version = "1.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9d19de80eff169429ac1e9f48fffb163916b448a44e8e046186232046d9e1f9" +checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" [[package]] name = "approx" @@ -395,9 +395,9 @@ checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" [[package]] name = "array-bytes" -version = "6.2.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" +checksum = "d9b1c5a481ec30a5abd8dfbd94ab5cf1bb4e9a66be7f1b3b322f2f1170c200fd" [[package]] name = "arrayref" @@ -430,7 +430,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -446,7 +446,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -502,14 +502,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-xcm", "parachains-common", "parity-scale-codec", "scale-info", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -523,47 +523,37 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ "concurrent-queue", - "event-listener 2.5.3", + "event-listener", "futures-core", ] [[package]] name = "async-io" -version = "2.2.2" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" dependencies = [ - "async-lock 3.2.0", + "async-lock", + "autocfg", "cfg-if", "concurrent-queue", - "futures-io", "futures-lite", + "log", "parking", "polling", - "rustix 0.38.28", + "rustix 0.37.23", "slab", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", + "socket2 0.4.9", + "waker-fn", ] [[package]] name = "async-lock" -version = "3.2.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" dependencies = [ - "event-listener 4.0.1", - "event-listener-strategy", - "pin-project-lite 0.2.13", + "event-listener", ] [[package]] @@ -574,18 +564,18 @@ checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "async-trait" -version = "0.1.75" +version = "0.1.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98" +checksum = "cc6dde6e4ed435a4c1ee4e73592f5ba9da2151af10076cc04858746af9352d09" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -598,14 +588,14 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", ] [[package]] name = "atomic-waker" -version = "1.1.2" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" [[package]] name = "atty" @@ -626,16 +616,16 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" dependencies = [ - "addr2line 0.21.0", + "addr2line 0.20.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.32.2", + "object 0.31.1", "rustc-demangle", ] @@ -671,9 +661,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.5" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "base64ct" @@ -696,9 +686,9 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bifrost-ve-minting", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex-literal 0.3.4", "log", "node-primitives", @@ -706,10 +696,10 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -722,11 +712,11 @@ dependencies = [ "node-primitives", "parity-scale-codec", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -736,8 +726,8 @@ source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#3 dependencies = [ "node-primitives", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -746,8 +736,8 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex-literal 0.3.4", "log", "node-primitives", @@ -755,9 +745,9 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -807,9 +797,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" [[package]] name = "bitvec" @@ -834,37 +824,38 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" +checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.2.6", ] [[package]] name = "blake2s_simd" -version = "1.0.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" +checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.2.6", ] [[package]] name = "blake3" -version = "1.5.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" +checksum = "199c42ab6972d92c9f8995f086273d25c42fc0f7b2a1fcefba465c1352d25ba5" dependencies = [ "arrayref", "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq", + "constant_time_eq 0.3.0", + "digest 0.10.7", ] [[package]] @@ -924,9 +915,9 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "bounded-collections" -version = "0.1.9" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" dependencies = [ "log", "parity-scale-codec", @@ -951,9 +942,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "1.9.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc" +checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" dependencies = [ "memchr", "serde", @@ -976,9 +967,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-slice-cast" @@ -994,21 +985,21 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" [[package]] name = "byteorder" -version = "1.5.0" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.5.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" [[package]] name = "bzip2-sys" @@ -1032,9 +1023,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.6" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceed8ef69d8518a5dda55c07425450b58a4e1946f4951eab6d7191ee86c2443d" +checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" dependencies = [ "serde", ] @@ -1047,7 +1038,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.20", + "semver 1.0.18", "serde", "serde_json", "thiserror", @@ -1055,9 +1046,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.83" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "6c6b2562119bf28c3439f7f02db99faf0aa1a8cdfe5772a2ee155d32227239f0" dependencies = [ "jobserver", "libc", @@ -1106,40 +1097,42 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chacha20" -version = "0.9.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" dependencies = [ "cfg-if", - "cipher 0.4.4", + "cipher 0.3.0", "cpufeatures", + "zeroize", ] [[package]] name = "chacha20poly1305" -version = "0.10.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" dependencies = [ - "aead 0.5.2", + "aead 0.4.3", "chacha20", - "cipher 0.4.4", + "cipher 0.3.0", "poly1305", "zeroize", ] [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", + "time 0.1.45", "wasm-bindgen", - "windows-targets 0.48.5", + "winapi", ] [[package]] @@ -1181,7 +1174,6 @@ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ "crypto-common", "inout", - "zeroize", ] [[package]] @@ -1206,19 +1198,20 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.12" +version = "4.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfab8ba68f3668e89f6ff60f5b205cea56aa7b769451a59f34b8682f51c056d" +checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" dependencies = [ "clap_builder", "clap_derive", + "once_cell", ] [[package]] name = "clap_builder" -version = "4.4.12" +version = "4.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9" +checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" dependencies = [ "anstream", "anstyle", @@ -1228,43 +1221,43 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clients-info" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "coarsetime" -version = "0.1.33" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71367d3385c716342014ad17e3d19f7788ae514885a1f4c24f500260fb365e1a" +checksum = "a90d114103adbc625300f346d4d09dfb4ab1c4a8df6868435dd903392ecf4354" dependencies = [ "libc", "once_cell", @@ -1301,9 +1294,9 @@ dependencies = [ [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" dependencies = [ "crossbeam-utils", ] @@ -1323,9 +1316,15 @@ dependencies = [ [[package]] name = "const-oid" -version = "0.9.6" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "795bc6e66a8e340f075fcf6227e417a2dc976b92b91f3cdc778bb858778b6747" + +[[package]] +name = "constant_time_eq" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" +checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" [[package]] name = "constant_time_eq" @@ -1341,9 +1340,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation" -version = "0.9.4" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" dependencies = [ "core-foundation-sys", "libc", @@ -1351,9 +1350,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.6" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" [[package]] name = "core2" @@ -1385,9 +1384,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] @@ -1484,7 +1483,7 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-frontend", - "itertools 0.10.5", + "itertools", "log", "smallvec", "wasmparser", @@ -1502,9 +1501,9 @@ dependencies = [ [[package]] name = "crc-catalog" -version = "2.4.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" +checksum = "9cace84e55f07e7301bae1c519df89cdad8cc3cd868413d3fdbdeca9ff3db484" [[package]] name = "crc32fast" @@ -1515,11 +1514,21 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-channel" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + [[package]] name = "crossbeam-deque" -version = "0.8.4" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" dependencies = [ "cfg-if", "crossbeam-epoch", @@ -1528,20 +1537,22 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.17" +version = "0.9.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", + "memoffset 0.9.0", + "scopeguard", ] [[package]] name = "crossbeam-queue" -version = "0.3.10" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc6598521bb5a83d491e8c1fe51db7296019d2ca3cb93cc6c2a20369a4d78a2" +checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" dependencies = [ "cfg-if", "crossbeam-utils", @@ -1549,9 +1560,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.18" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" dependencies = [ "cfg-if", ] @@ -1645,8 +1656,8 @@ dependencies = [ "sc-chain-spec", "sc-cli", "sc-service", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "url", ] @@ -1666,10 +1677,10 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1688,16 +1699,16 @@ dependencies = [ "sc-consensus-aura", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "tracing", ] @@ -1721,8 +1732,8 @@ dependencies = [ "schnellru", "sp-blockchain", "sp-consensus", - "sp-runtime", - "sp-trie", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1743,9 +1754,9 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1769,7 +1780,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1800,11 +1811,11 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", ] @@ -1813,15 +1824,15 @@ name = "cumulus-pallet-aura-ext" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-aura", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -1830,14 +1841,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1851,22 +1862,22 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1875,10 +1886,10 @@ name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -1886,13 +1897,13 @@ name = "cumulus-pallet-session-benchmarking" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-session", "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -1901,13 +1912,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1917,17 +1928,17 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -1942,10 +1953,10 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -1961,14 +1972,14 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "scale-info", - "sp-api", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-storage", - "sp-trie", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", ] @@ -1980,8 +1991,8 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -1991,13 +2002,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "polkadot-runtime-common", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-builder", "xcm-executor", @@ -2021,11 +2032,11 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2040,9 +2051,9 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-state-machine", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -2051,7 +2062,7 @@ name = "cumulus-relay-chain-minimal-node" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.1.0", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -2075,11 +2086,11 @@ dependencies = [ "sc-service", "sc-tracing", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tokio", "tracing", ] @@ -2103,12 +2114,12 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-consensus-babe", - "sp-core", - "sp-state-machine", - "sp-storage", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tokio", "tracing", "url", @@ -2122,9 +2133,9 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime", - "sp-state-machine", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2132,8 +2143,8 @@ name = "currency" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -2142,8 +2153,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -2175,37 +2186,23 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.0.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16" dependencies = [ "cfg-if", - "cpufeatures", - "curve25519-dalek-derive", - "digest 0.10.7", "fiat-crypto", - "platforms 3.3.0", - "rustc_version 0.4.0", + "packed_simd_2", + "platforms 3.0.2", "subtle", "zeroize", ] -[[package]] -name = "curve25519-dalek-derive" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.43", -] - [[package]] name = "cxx" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9fc0c733f71e58dedf4f034cd2a266f80b94cc9ed512729e1798651b68c2cba" +checksum = "f68e12e817cb19eaab81aaec582b4052d07debd3c3c6b083b9d361db47c7dc9d" dependencies = [ "cc", "cxxbridge-flags", @@ -2215,9 +2212,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bc81d2664db24cf1d35405f66e18a85cffd4d49ab930c71a5c6342a410f38c" +checksum = "e789217e4ab7cf8cc9ce82253180a9fe331f35f5d339f0ccfe0270b39433f397" dependencies = [ "cc", "codespan-reporting", @@ -2225,24 +2222,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "cxxbridge-flags" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8511afbe34ea242697784da5cb2c5d4a0afb224ca8b136bdf93bfe180cbe5884" +checksum = "78a19f4c80fd9ab6c882286fa865e92e07688f4387370a209508014ead8751d0" [[package]] name = "cxxbridge-macro" -version = "1.0.111" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" +checksum = "b8fcfa71f66c8563c4fa9dd2bb68368d50267856f831ac5d85367e0805f9606c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2282,15 +2279,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "data-encoding-macro" -version = "0.1.14" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" +checksum = "c904b33cc60130e1aeea4956ab803d08a3f4a0ca82d64ed757afac3891f2bb99" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2298,9 +2295,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.12" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" +checksum = "8fdf3fce3ce863539ec1d7fd1b6dcc3c645663376b43ed376bbf887733e4f772" dependencies = [ "data-encoding", "syn 1.0.109", @@ -2357,12 +2354,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.10" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" -dependencies = [ - "powerfmt", -] +checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929" [[package]] name = "derivative" @@ -2443,10 +2437,10 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -2470,18 +2464,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -2493,17 +2487,17 @@ name = "dia-oracle" version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2512,9 +2506,9 @@ version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "dia-oracle", - "frame-support", - "sp-api", - "sp-runtime", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -2602,7 +2596,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2646,9 +2640,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.16" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +checksum = "304e6508efa593091e97a9abbc10f90aa7ca635b6d2784feff3c89d41dd12272" [[package]] name = "ecdsa" @@ -2670,7 +2664,7 @@ checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ "der 0.7.8", "digest 0.10.7", - "elliptic-curve 0.13.8", + "elliptic-curve 0.13.7", "rfc6979 0.4.0", "signature 2.2.0", "spki 0.7.3", @@ -2685,16 +2679,6 @@ dependencies = [ "signature 1.6.4", ] -[[package]] -name = "ed25519" -version = "2.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" -dependencies = [ - "pkcs8 0.10.2", - "signature 2.2.0", -] - [[package]] name = "ed25519-dalek" version = "1.0.1" @@ -2702,28 +2686,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek 3.2.0", - "ed25519 1.5.3", + "ed25519", "rand 0.7.3", "serde", "sha2 0.9.9", "zeroize", ] -[[package]] -name = "ed25519-dalek" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" -dependencies = [ - "curve25519-dalek 4.1.1", - "ed25519 2.2.3", - "rand_core 0.6.4", - "serde", - "sha2 0.10.8", - "subtle", - "zeroize", -] - [[package]] name = "ed25519-zebra" version = "3.1.0" @@ -2768,9 +2737,9 @@ dependencies = [ [[package]] name = "elliptic-curve" -version = "0.13.8" +version = "0.13.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +checksum = "e9775b22bc152ad86a0cf23f0f348b884b26add12bf741e7ffc4d4ab2ab4d205" dependencies = [ "base16ct 0.2.0", "crypto-bigint 0.5.5", @@ -2805,33 +2774,33 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "enumn" -version = "0.1.12" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" +checksum = "b893c4eb2dc092c811165f84dc7447fae16fb66521717968c34c509b39b1a5c5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2849,9 +2818,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ "humantime", "is-terminal", @@ -2874,40 +2843,30 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.8" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" dependencies = [ + "errno-dragonfly", "libc", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "event-listener" -version = "4.0.1" +name = "errno-dragonfly" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.13", + "cc", + "libc", ] [[package]] -name = "event-listener-strategy" -version = "0.4.0" +name = "event-listener" +version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.1", - "pin-project-lite 0.2.13", -] +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "exit-future" @@ -2965,7 +2924,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -2982,9 +2941,18 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "2.0.1" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +dependencies = [ + "instant", +] + +[[package]] +name = "fastrand" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" [[package]] name = "fatality" @@ -3004,7 +2972,7 @@ checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" dependencies = [ "expander 0.0.4", "indexmap 1.9.3", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -3026,9 +2994,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "oracle", "pallet-balances", "parity-scale-codec", @@ -3037,11 +3005,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", ] @@ -3068,9 +3036,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.5" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" [[package]] name = "file-per-thread-logger" @@ -3078,20 +3046,20 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "env_logger 0.10.1", + "env_logger 0.10.0", "log", ] [[package]] name = "filetime" -version = "0.2.23" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", + "redox_syscall 0.2.16", + "windows-sys 0.48.0", ] [[package]] @@ -3140,9 +3108,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" dependencies = [ "crc32fast", "libz-sys", @@ -3174,9 +3142,9 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" dependencies = [ "percent-encoding", ] @@ -3201,10 +3169,10 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -3266,18 +3234,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -3296,28 +3264,52 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-support-procedural 4.0.0-dev", + "frame-system 4.0.0-dev", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 7.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "static_assertions", +] + [[package]] name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", ] @@ -3331,12 +3323,12 @@ dependencies = [ "chrono", "clap", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools", "lazy_static", "linked-hash-map", "log", @@ -3352,18 +3344,18 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-database", - "sp-externalities", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-storage", - "sp-trie", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "thousands", ] @@ -3373,10 +3365,10 @@ name = "frame-election-provider-solution-type" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -3385,15 +3377,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3401,16 +3393,16 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3437,14 +3429,46 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spinners", "substrate-rpc-client", "tokio", ] +[[package]] +name = "frame-support" +version = "4.0.0-dev" +dependencies = [ + "bitflags 1.3.2", + "environmental", + "frame-metadata", + "frame-support-procedural 4.0.0-dev", + "impl-trait-for-tuples", + "k256", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-api 4.0.0-dev", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-core-hashing-proc-macro 5.0.0", + "sp-inherents 4.0.0-dev", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-weights 4.0.0", + "tt-call", +] + [[package]] name = "frame-support" version = "4.0.0-dev" @@ -3453,7 +3477,7 @@ dependencies = [ "bitflags 1.3.2", "environmental", "frame-metadata", - "frame-support-procedural", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "k256", "log", @@ -3463,21 +3487,36 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-weights", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tt-call", ] +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse", + "frame-support-procedural-tools 4.0.0-dev", + "itertools", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -3486,12 +3525,23 @@ dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", - "frame-support-procedural-tools", - "itertools 0.10.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "itertools", "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", ] [[package]] @@ -3499,11 +3549,20 @@ name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support-procedural-tools-derive", - "proc-macro-crate 1.3.1", + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -3513,7 +3572,24 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version 5.0.0", + "sp-weights 4.0.0", ] [[package]] @@ -3521,17 +3597,17 @@ name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3539,14 +3615,14 @@ name = "frame-system-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3555,7 +3631,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -3563,21 +3639,18 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "fs-err" -version = "2.11.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" -dependencies = [ - "autocfg", -] +checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541" [[package]] name = "fs2" @@ -3595,7 +3668,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.6", "windows-sys 0.48.0", ] @@ -3607,9 +3680,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" dependencies = [ "futures-channel", "futures-core", @@ -3622,9 +3695,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" dependencies = [ "futures-core", "futures-sink", @@ -3632,15 +3705,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" dependencies = [ "futures-core", "futures-task", @@ -3650,29 +3723,34 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" [[package]] name = "futures-lite" -version = "2.1.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ + "fastrand 1.9.0", "futures-core", - "pin-project-lite 0.2.13", + "futures-io", + "memchr", + "parking", + "pin-project-lite 0.2.10", + "waker-fn", ] [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -3682,21 +3760,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", - "rustls 0.20.9", - "webpki 0.22.4", + "rustls 0.20.8", + "webpki 0.22.0", ] [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" [[package]] name = "futures-timer" @@ -3706,9 +3784,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" dependencies = [ "futures-channel", "futures-core", @@ -3717,7 +3795,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "pin-utils", "slab", ] @@ -3774,9 +3852,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", "libc", @@ -3816,9 +3894,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" [[package]] name = "glob" @@ -3828,15 +3906,15 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.14" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +checksum = "aca8bbd8e0707c1887a8bbb7e6b40e228f251ff5d62c8220a4a7a53c73aff006" dependencies = [ "aho-corasick", "bstr", + "fnv", "log", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex", ] [[package]] @@ -3863,9 +3941,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.22" +version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" +checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" dependencies = [ "bytes", "fnv", @@ -3873,7 +3951,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 1.9.3", "slab", "tokio", "tokio-util", @@ -3882,9 +3960,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.5.0" +version = "4.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa67bab9ff362228eb3d00bd024a4965d8231bbb7921167f0cfa66c6626b225" +checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" dependencies = [ "log", "pest", @@ -3915,7 +3993,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.6", ] [[package]] @@ -3924,14 +4002,14 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", ] [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" [[package]] name = "heck" @@ -3950,9 +4028,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" [[package]] name = "hex" @@ -3974,9 +4052,9 @@ checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hkdf" -version = "0.12.4" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437" dependencies = [ "hmac 0.12.1", ] @@ -4021,15 +4099,6 @@ dependencies = [ "hmac 0.8.1", ] -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "hostname" version = "0.3.1" @@ -4043,9 +4112,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes", "fnv", @@ -4054,13 +4123,13 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", ] [[package]] @@ -4077,9 +4146,9 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" -version = "1.0.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" +checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" [[package]] name = "humantime" @@ -4089,9 +4158,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" dependencies = [ "bytes", "futures-channel", @@ -4103,8 +4172,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.5.5", + "pin-project-lite 0.2.10", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -4120,41 +4189,25 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.20.9", - "rustls-native-certs", - "tokio", - "tokio-rustls 0.23.4", -] - -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http", - "hyper", - "log", - "rustls 0.21.10", + "rustls 0.20.8", "rustls-native-certs", "tokio", - "tokio-rustls 0.24.1", - "webpki-roots 0.25.3", + "tokio-rustls", + "webpki-roots", ] [[package]] name = "iana-time-zone" -version = "0.1.58" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows 0.48.0", ] [[package]] @@ -4185,9 +4238,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.5.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -4195,19 +4248,19 @@ dependencies = [ [[package]] name = "if-addrs" -version = "0.10.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" +checksum = "cbc0fa01ffc752e9dbc72818cdb072cd028b86be5e09dd04c5a643704fe101a9" dependencies = [ "libc", - "windows-sys 0.48.0", + "winapi", ] [[package]] name = "if-watch" -version = "3.2.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" +checksum = "a9465340214b296cd17a0009acdb890d6160010b8adf8f78a00d0d7ab270f79f" dependencies = [ "async-io", "core-foundation", @@ -4219,7 +4272,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows", + "windows 0.34.0", ] [[package]] @@ -4270,12 +4323,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.14.0", ] [[package]] @@ -4355,7 +4408,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.2", "libc", "windows-sys 0.48.0", ] @@ -4372,7 +4425,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.5", + "socket2 0.5.3", "widestring", "windows-sys 0.48.0", "winreg", @@ -4380,19 +4433,19 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" [[package]] name = "is-terminal" -version = "0.4.10" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.3", - "rustix 0.38.28", - "windows-sys 0.52.0", + "hermit-abi 0.3.2", + "rustix 0.38.6", + "windows-sys 0.48.0", ] [[package]] @@ -4403,9 +4456,9 @@ dependencies = [ "base64 0.13.1", "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "log", "oracle", @@ -4420,11 +4473,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -4439,44 +4492,35 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpsee" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" +checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" dependencies = [ "jsonrpsee-core", "jsonrpsee-http-client", @@ -4489,9 +4533,9 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" dependencies = [ "futures-util", "http", @@ -4502,21 +4546,21 @@ dependencies = [ "soketto", "thiserror", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls", "tokio-util", "tracing", - "webpki-roots 0.25.3", + "webpki-roots", ] [[package]] name = "jsonrpsee-core" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" dependencies = [ "anyhow", "arrayvec 0.7.4", - "async-lock 2.8.0", + "async-lock", "async-trait", "beef", "futures-channel", @@ -4538,13 +4582,13 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +checksum = "cc345b0a43c6bc49b947ebeb936e886a419ee3d894421790c969cc56040542ad" dependencies = [ "async-trait", "hyper", - "hyper-rustls 0.24.2", + "hyper-rustls", "jsonrpsee-core", "jsonrpsee-types", "rustc-hash", @@ -4557,12 +4601,12 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" +checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c" dependencies = [ "heck", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -4570,9 +4614,9 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" +checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" dependencies = [ "futures-channel", "futures-util", @@ -4592,9 +4636,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" +checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c" dependencies = [ "anyhow", "beef", @@ -4606,9 +4650,9 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" dependencies = [ "http", "jsonrpsee-client-transport", @@ -4624,9 +4668,9 @@ checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" dependencies = [ "cfg-if", "ecdsa 0.16.9", - "elliptic-curve 0.13.8", + "elliptic-curve 0.13.7", "once_cell", - "sha2 0.10.8", + "sha2 0.10.7", ] [[package]] @@ -4644,11 +4688,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4711,24 +4755,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "substrate-wasm-builder", "xcm", @@ -4741,13 +4785,13 @@ name = "kusama-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -4800,9 +4844,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libloading" @@ -4816,9 +4860,15 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.8" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" + +[[package]] +name = "libm" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libp2p" @@ -4829,7 +4879,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.11", + "getrandom 0.2.10", "instant", "libp2p-core 0.38.0", "libp2p-dns", @@ -4862,7 +4912,7 @@ checksum = "b6a8fcd392ff67af6cc3f03b1426c41f7f26b6b9aff2dc632c1c56dd649e571f" dependencies = [ "asn1_der", "bs58", - "ed25519-dalek 1.0.1", + "ed25519-dalek", "either", "fnv", "futures", @@ -4880,7 +4930,7 @@ dependencies = [ "rand 0.8.5", "rw-stream-sink", "sec1 0.3.0", - "sha2 0.10.8", + "sha2 0.10.7", "smallvec", "thiserror", "unsigned-varint", @@ -4953,18 +5003,18 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.1.3" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" +checksum = "9e2d584751cecb2aabaa56106be6be91338a60a0f4e420cf2af639204f596fc1" dependencies = [ "bs58", - "ed25519-dalek 2.1.0", + "ed25519-dalek", "log", "multiaddr 0.17.1", "multihash 0.17.0", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.7", "thiserror", "zeroize", ] @@ -4989,7 +5039,7 @@ dependencies = [ "prost", "prost-build", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.7", "smallvec", "thiserror", "uint", @@ -5011,7 +5061,7 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "socket2 0.4.10", + "socket2 0.4.9", "tokio", "trust-dns-proto", "void", @@ -5064,7 +5114,7 @@ dependencies = [ "prost", "prost-build", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.7", "snow", "static_assertions", "thiserror", @@ -5104,7 +5154,7 @@ dependencies = [ "parking_lot 0.12.1", "quinn-proto", "rand 0.8.5", - "rustls 0.20.9", + "rustls 0.20.8", "thiserror", "tokio", ] @@ -5172,7 +5222,7 @@ dependencies = [ "libc", "libp2p-core 0.38.0", "log", - "socket2 0.4.10", + "socket2 0.4.9", "tokio", ] @@ -5187,10 +5237,10 @@ dependencies = [ "libp2p-core 0.39.2", "libp2p-identity", "rcgen 0.10.0", - "ring 0.16.20", - "rustls 0.20.9", + "ring", + "rustls 0.20.8", "thiserror", - "webpki 0.22.4", + "webpki 0.22.0", "x509-parser 0.14.0", "yasna", ] @@ -5256,7 +5306,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -5273,17 +5323,6 @@ dependencies = [ "yamux", ] -[[package]] -name = "libredox" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" -dependencies = [ - "bitflags 2.4.1", - "libc", - "redox_syscall 0.4.1", -] - [[package]] name = "librocksdb-sys" version = "0.10.0+7.9.2" @@ -5384,9 +5423,9 @@ dependencies = [ [[package]] name = "linregress" -version = "0.5.3" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "4de0b5f52a9f84544d268f5fabb71b38962d6aa3c6600b8bcd27d44ccf9c9c45" dependencies = [ "nalgebra", ] @@ -5399,15 +5438,21 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" dependencies = [ "autocfg", "scopeguard", @@ -5415,9 +5460,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" [[package]] name = "lru" @@ -5504,9 +5549,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.8" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" dependencies = [ "autocfg", "rawpointer", @@ -5514,27 +5559,26 @@ dependencies = [ [[package]] name = "md-5" -version = "0.10.6" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" dependencies = [ - "cfg-if", "digest 0.10.7", ] [[package]] name = "memchr" -version = "2.7.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memfd" -version = "0.6.4" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" dependencies = [ - "rustix 0.38.28", + "rustix 0.37.23", ] [[package]] @@ -5555,6 +5599,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "memory-db" version = "0.32.0" @@ -5610,9 +5663,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.10" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -5629,13 +5682,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5647,11 +5700,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5709,9 +5762,9 @@ dependencies = [ "jsonrpsee", "module-issue-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5719,10 +5772,10 @@ name = "module-issue-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5733,9 +5786,9 @@ dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -5744,12 +5797,12 @@ name = "module-oracle-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -5761,22 +5814,22 @@ dependencies = [ "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "module-pallet-staking-rpc-runtime-api" version = "1.0.0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "module-oracle-rpc-runtime-api", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5787,9 +5840,9 @@ dependencies = [ "jsonrpsee", "module-redeem-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5797,10 +5850,10 @@ name = "module-redeem-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5811,9 +5864,9 @@ dependencies = [ "jsonrpsee", "module-replace-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5821,10 +5874,10 @@ name = "module-replace-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5836,9 +5889,9 @@ dependencies = [ "module-oracle-rpc-runtime-api", "module-vault-registry-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5846,11 +5899,11 @@ name = "module-vault-registry-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -5913,7 +5966,7 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive", - "sha2 0.10.8", + "sha2 0.10.7", "sha3", "unsigned-varint", ] @@ -5935,7 +5988,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro-error", "proc-macro2", "quote", @@ -6080,7 +6133,7 @@ dependencies = [ "bitflags 1.3.2", "cfg-if", "libc", - "memoffset", + "memoffset 0.6.5", ] [[package]] @@ -6089,14 +6142,14 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bstringify", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "zenlink-protocol", ] @@ -6123,9 +6176,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "oracle", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6138,11 +6191,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", "vault-registry", @@ -6156,9 +6209,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" dependencies = [ "autocfg", "num-integer", @@ -6167,9 +6220,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" dependencies = [ "num-traits", ] @@ -6208,9 +6261,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", ] @@ -6221,7 +6274,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.2", "libc", ] @@ -6245,9 +6298,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" dependencies = [ "memchr", ] @@ -6272,9 +6325,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "opaque-debug" @@ -6301,9 +6354,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "dia-oracle", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "once_cell", "orml-oracle", "pallet-balances", @@ -6311,11 +6364,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "security", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "spin 0.9.8", "staking", @@ -6345,9 +6398,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" dependencies = [ "expander 0.0.6", - "itertools 0.10.5", + "itertools", "petgraph", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -6367,15 +6420,15 @@ name = "orml-asset-registry" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-builder", "xcm-executor", @@ -6386,25 +6439,25 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "orml-currencies-allowance-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6414,10 +6467,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6425,17 +6478,17 @@ name = "orml-oracle" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6443,15 +6496,15 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6459,24 +6512,24 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "orml-tokens-management-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6486,10 +6539,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.1", ] @@ -6498,17 +6551,17 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "num-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -6517,13 +6570,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6531,13 +6584,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6545,12 +6598,12 @@ name = "orml-xcm" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -6559,11 +6612,11 @@ name = "orml-xcm-support" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -6574,17 +6627,17 @@ version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-traits", "orml-xcm-support", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -6597,7 +6650,7 @@ checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.8", + "sha2 0.10.7", ] [[package]] @@ -6608,7 +6661,17 @@ checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.8", + "sha2 0.10.7", +] + +[[package]] +name = "packed_simd_2" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" +dependencies = [ + "cfg-if", + "libm 0.1.4", ] [[package]] @@ -6616,17 +6679,17 @@ name = "pallet-asset-tx-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6634,14 +6697,14 @@ name = "pallet-assets" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6649,15 +6712,15 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6665,15 +6728,15 @@ name = "pallet-authority-discovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6681,13 +6744,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6695,23 +6758,23 @@ name = "pallet-babe" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6719,19 +6782,19 @@ name = "pallet-bags-list" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6739,14 +6802,14 @@ name = "pallet-balances" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6754,18 +6817,18 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6775,8 +6838,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-beefy", "pallet-mmr", @@ -6784,12 +6847,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6797,17 +6860,17 @@ name = "pallet-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6815,18 +6878,18 @@ name = "pallet-child-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6834,18 +6897,18 @@ name = "pallet-collator-selection" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6853,16 +6916,16 @@ name = "pallet-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6872,9 +6935,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "bitflags 1.3.2", "environmental", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "pallet-contracts-primitives", @@ -6884,11 +6947,11 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasm-instrument 0.4.0", "wasmi 0.28.0", "wasmparser-nostd", @@ -6902,9 +6965,9 @@ dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6914,7 +6977,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -6923,15 +6986,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6939,17 +7002,17 @@ name = "pallet-democracy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6957,21 +7020,21 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "strum", ] @@ -6980,12 +7043,12 @@ name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-system", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "sp-npos-elections", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -6993,17 +7056,17 @@ name = "pallet-elections-phragmen" version = "5.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7011,17 +7074,17 @@ name = "pallet-fast-unstake" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7029,22 +7092,22 @@ name = "pallet-grandpa" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7053,14 +7116,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7068,19 +7131,19 @@ name = "pallet-im-online" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7088,16 +7151,16 @@ name = "pallet-indices" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7105,13 +7168,13 @@ name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7119,16 +7182,16 @@ name = "pallet-membership" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7136,16 +7199,16 @@ name = "pallet-mmr" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7153,15 +7216,15 @@ name = "pallet-multisig" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7170,16 +7233,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7187,10 +7250,10 @@ name = "pallet-nfts-runtime-api" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-nfts", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7198,15 +7261,15 @@ name = "pallet-nis" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7214,16 +7277,16 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7231,19 +7294,19 @@ name = "pallet-nomination-pools-benchmarking" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-runtime-interface", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7253,8 +7316,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7262,16 +7325,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7279,10 +7342,10 @@ name = "pallet-offences-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-babe", "pallet-balances", @@ -7293,26 +7356,25 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7320,14 +7382,14 @@ name = "pallet-proxy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7335,17 +7397,17 @@ name = "pallet-ranked-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7353,14 +7415,14 @@ name = "pallet-recovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7369,34 +7431,33 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7404,20 +7465,20 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", - "sp-trie", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7425,15 +7486,15 @@ name = "pallet-session-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-session", "pallet-staking", "rand 0.8.5", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7441,13 +7502,13 @@ name = "pallet-society" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7455,10 +7516,10 @@ name = "pallet-staking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authorship", "pallet-session", @@ -7466,11 +7527,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7478,10 +7539,10 @@ name = "pallet-staking-reward-curve" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -7490,7 +7551,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7499,7 +7560,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7507,16 +7568,16 @@ name = "pallet-state-trie-migration" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7524,13 +7585,13 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7538,16 +7599,16 @@ name = "pallet-timestamp" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -7556,18 +7617,18 @@ name = "pallet-tips" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7575,15 +7636,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7594,12 +7655,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7609,9 +7670,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7619,16 +7680,16 @@ name = "pallet-treasury" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7636,14 +7697,14 @@ name = "pallet-uniques" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7651,30 +7712,29 @@ name = "pallet-utility" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7682,33 +7742,32 @@ name = "pallet-whitelist" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "pallet-xcm" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-collections", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -7718,15 +7777,15 @@ name = "pallet-xcm-benchmarks" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-builder", "xcm-executor", @@ -7738,8 +7797,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", ] @@ -7748,9 +7807,9 @@ dependencies = [ name = "parachain-staking" version = "1.7.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "module-pallet-staking-rpc-runtime-api", "pallet-aura", @@ -7761,13 +7820,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -7776,8 +7835,8 @@ version = "1.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-utility", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", @@ -7787,10 +7846,10 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -7799,9 +7858,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.12" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" +checksum = "78f19d20a0d2cc52327a88d131fa1c4ea81ea4a04714aedcfeca2dd410049cf8" dependencies = [ "blake2", "crc32fast", @@ -7819,9 +7878,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -7834,11 +7893,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -7858,9 +7917,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.2.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" [[package]] name = "parking_lot" @@ -7880,7 +7939,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.8", ] [[package]] @@ -7899,15 +7958,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", + "redox_syscall 0.3.5", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.48.1", ] [[package]] @@ -7979,7 +8038,7 @@ dependencies = [ "cumulus-relay-chain-rpc-interface", "development-runtime", "foucoco-runtime", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-benchmarking-cli", "jsonrpsee", "log", @@ -8014,15 +8073,15 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus-aura", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", "sp-timestamp", "sp-transaction-pool", @@ -8054,10 +8113,10 @@ dependencies = [ "cumulus-primitives-utility", "dia-oracle", "dia-oracle-runtime-api", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -8105,18 +8164,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "substrate-wasm-builder", "vesting-manager", @@ -8129,26 +8188,25 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" +checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" dependencies = [ - "memchr", "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" +checksum = "666d00490d4ac815001da55838c500eafb0320019bbaa44444137c48b443a853" dependencies = [ "pest", "pest_generator", @@ -8156,56 +8214,56 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" +checksum = "68ca01446f50dbda87c1786af8770d535423fa8a53aec03b8f4e3d7eb10e0929" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "pest_meta" -version = "2.7.5" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" +checksum = "56af0a30af74d0445c0bf6d9d051c979b516a1a5af790d251daee76005420a48" dependencies = [ "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.7", ] [[package]] name = "petgraph" -version = "0.6.4" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", - "indexmap 2.1.0", + "indexmap 1.9.3", ] [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -8216,9 +8274,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57" [[package]] name = "pin-utils" @@ -8248,9 +8306,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.28" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" +checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] name = "platforms" @@ -8260,9 +8318,9 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "platforms" -version = "3.3.0" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" +checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" @@ -8311,8 +8369,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8358,8 +8416,8 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", "sp-maybe-compressed-blob", "substrate-build-script-utils", @@ -8373,9 +8431,9 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-benchmarking-cli", - "frame-system", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "futures", "pallet-transaction-payment", @@ -8389,7 +8447,7 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-service", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -8397,14 +8455,14 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core", - "sp-inherents", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", "sp-transaction-pool", ] @@ -8424,9 +8482,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8438,9 +8496,9 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -8462,8 +8520,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", - "sp-application-crypto", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8477,8 +8535,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -8496,9 +8554,9 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sc-network", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing-gum", ] @@ -8537,7 +8595,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -8564,10 +8622,10 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "schnorrkel", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-consensus-slots", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8607,7 +8665,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8621,7 +8679,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", "wasm-timer", @@ -8710,7 +8768,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-blockchain", - "sp-inherents", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8751,10 +8809,10 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", - "sp-tracing", - "sp-wasm-interface", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-build-script-utils", "tokio", "tracing-gum", @@ -8771,7 +8829,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8793,11 +8851,11 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-core", - "sp-externalities", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", - "sp-tracing", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-build-script-utils", "tempfile", "tikv-jemalloc-ctl", @@ -8833,7 +8891,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tokio", ] @@ -8891,12 +8949,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel", "serde", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-babe", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-maybe-compressed-blob", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "zstd 0.11.2+zstd.1.5.2", ] @@ -8927,7 +8985,7 @@ dependencies = [ "polkadot-statement-table", "sc-network", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -8944,7 +9002,7 @@ dependencies = [ "fatality", "futures", "futures-channel", - "itertools 0.10.5", + "itertools", "kvdb", "lru 0.9.0", "parity-db", @@ -8960,9 +9018,9 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -8984,8 +9042,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -8997,14 +9055,14 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "bounded-collections", "derive_more", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9037,18 +9095,18 @@ dependencies = [ "polkadot-parachain", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9072,13 +9130,13 @@ dependencies = [ "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -9089,11 +9147,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -9152,24 +9210,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "substrate-wasm-builder", "xcm", @@ -9183,10 +9241,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "libsecp256k1", "log", @@ -9210,15 +9268,15 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api", - "sp-core", - "sp-inherents", - "sp-io", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-npos-elections", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "xcm", ] @@ -9228,13 +9286,13 @@ name = "polkadot-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9245,8 +9303,8 @@ dependencies = [ "bs58", "parity-scale-codec", "polkadot-primitives", - "sp-std", - "sp-tracing", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -9257,9 +9315,9 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-authority-discovery", "pallet-authorship", @@ -9278,16 +9336,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "xcm", "xcm-executor", @@ -9300,7 +9358,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "async-trait", "frame-benchmarking-cli", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -9375,7 +9433,7 @@ dependencies = [ "sc-transaction-pool", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -9383,19 +9441,19 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-state-machine", - "sp-storage", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", "sp-transaction-pool", - "sp-trie", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -9417,8 +9475,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", - "sp-staking", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing-gum", ] @@ -9430,32 +9488,34 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "polling" -version = "3.3.1" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ + "autocfg", + "bitflags 1.3.2", "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", - "rustix 0.38.28", - "tracing", - "windows-sys 0.52.0", + "libc", + "log", + "pin-project-lite 0.2.10", + "windows-sys 0.48.0", ] [[package]] name = "poly1305" -version = "0.8.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" dependencies = [ "cpufeatures", "opaque-debug 0.3.0", - "universal-hash 0.5.1", + "universal-hash 0.4.1", ] [[package]] @@ -9488,18 +9548,18 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -9509,12 +9569,6 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - [[package]] name = "ppv-lite86" version = "0.2.17" @@ -9529,7 +9583,7 @@ checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" dependencies = [ "difflib", "float-cmp", - "itertools 0.10.5", + "itertools", "normalize-line-endings", "predicates-core", "regex", @@ -9563,9 +9617,9 @@ dependencies = [ [[package]] name = "primitive-types" -version = "0.12.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" dependencies = [ "fixed-hash 0.8.0", "impl-codec", @@ -9597,16 +9651,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ "once_cell", - "toml_edit 0.19.15", -] - -[[package]] -name = "proc-macro-crate" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" -dependencies = [ - "toml_edit 0.20.7", + "toml_edit", ] [[package]] @@ -9641,14 +9686,14 @@ checksum = "0e99670bafb56b9a106419397343bdbc8b8742c3cc449fec6345f86173f47cd4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "proc-macro2" -version = "1.0.71" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8" +checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" dependencies = [ "unicode-ident", ] @@ -9708,7 +9753,7 @@ checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", "heck", - "itertools 0.10.5", + "itertools", "lazy_static", "log", "multimap", @@ -9742,7 +9787,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools", "proc-macro2", "quote", "syn 1.0.109", @@ -9794,27 +9839,27 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.9.6" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" +checksum = "f31999cfc7927c4e212e60fd50934ab40e8e8bfd2d493d6095d2d306bc0764d9" dependencies = [ "bytes", "rand 0.8.5", - "ring 0.16.20", + "ring", "rustc-hash", - "rustls 0.20.9", + "rustls 0.20.8", "slab", "thiserror", "tinyvec", "tracing", - "webpki 0.22.4", + "webpki 0.22.0", ] [[package]] name = "quote" -version = "1.0.33" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" dependencies = [ "proc-macro2", ] @@ -9884,7 +9929,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.10", ] [[package]] @@ -9913,9 +9958,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.8.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" dependencies = [ "either", "rayon-core", @@ -9923,12 +9968,14 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" dependencies = [ + "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", + "num_cpus", ] [[package]] @@ -9938,8 +9985,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", - "ring 0.16.20", - "time", + "ring", + "time 0.3.25", "x509-parser 0.13.2", "yasna", ] @@ -9951,8 +9998,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", - "ring 0.16.20", - "time", + "ring", + "time 0.3.25", "yasna", ] @@ -9963,9 +10010,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "oracle", "orml-currencies", @@ -9978,11 +10025,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -9999,55 +10046,55 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ "bitflags 1.3.2", ] [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.11", - "libredox", + "getrandom 0.2.10", + "redox_syscall 0.2.16", "thiserror", ] [[package]] name = "reed-solomon-novelpoly" -version = "1.0.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58130877ca403ab42c864fbac74bb319a0746c07a634a92a5cfc7f54af272582" +checksum = "3bd8f48b2066e9f69ab192797d66da804d1935bf22763204ed3675740cb0f221" dependencies = [ "derive_more", "fs-err", - "itertools 0.11.0", - "static_init", + "itertools", + "static_init 0.5.2", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.21" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53313ec9f12686aeeffb43462c3ac77aa25f590a5f630eb2cde0de59417b29c7" +checksum = "61ef7e18e8841942ddb1cf845054f8008410030a3997875d9e49b7a363063df1" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.21" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" +checksum = "2dfaf0c85b766276c797f3791f5bc6d5bd116b41d53049af2789666b0c0bc9fa" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -10064,14 +10111,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-automata 0.3.4", + "regex-syntax 0.7.4", ] [[package]] @@ -10085,13 +10132,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "b7b6d6190b7594385f61bd3911cd1be99dfddcfc365a4160cc2ab5bff4aed294" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.7.4", ] [[package]] @@ -10102,9 +10149,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" [[package]] name = "region" @@ -10125,9 +10172,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "nomination", "oracle", @@ -10142,11 +10189,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -10167,17 +10214,17 @@ name = "reward" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -10187,9 +10234,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "oracle", "orml-currencies", @@ -10201,11 +10248,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", ] @@ -10241,25 +10288,11 @@ dependencies = [ "libc", "once_cell", "spin 0.5.2", - "untrusted 0.7.1", + "untrusted", "web-sys", "winapi", ] -[[package]] -name = "ring" -version = "0.17.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" -dependencies = [ - "cc", - "getrandom 0.2.11", - "libc", - "spin 0.9.8", - "untrusted 0.9.0", - "windows-sys 0.48.0", -] - [[package]] name = "rocksdb" version = "0.20.1" @@ -10276,10 +10309,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "binary-merkle-tree", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -10333,22 +10366,22 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", "substrate-wasm-builder", "xcm", @@ -10361,24 +10394,24 @@ name = "rococo-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "rpassword" -version = "7.3.1" +version = "7.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" +checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" dependencies = [ "libc", "rtoolbox", - "windows-sys 0.48.0", + "winapi", ] [[package]] @@ -10409,12 +10442,12 @@ dependencies = [ [[package]] name = "rtoolbox" -version = "0.0.2" +version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" +checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" dependencies = [ "libc", - "windows-sys 0.48.0", + "winapi", ] [[package]] @@ -10436,9 +10469,9 @@ name = "runtime-common" version = "0.1.0" dependencies = [ "dia-oracle", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-asset-registry", "orml-traits", "orml-xcm-support", @@ -10446,9 +10479,9 @@ dependencies = [ "paste", "scale-info", "sp-consensus-aura", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "xcm", "xcm-executor", @@ -10465,8 +10498,8 @@ dependencies = [ "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "kusama-runtime", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -10488,12 +10521,12 @@ dependencies = [ "runtime-common", "scale-info", "serde", - "sp-core", - "sp-debug-derive", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.1", "statemine-runtime", "statemint-runtime", @@ -10536,7 +10569,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.20", + "semver 1.0.18", ] [[package]] @@ -10550,9 +10583,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.17" +version = "0.36.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941" dependencies = [ "bitflags 1.3.2", "errno", @@ -10564,52 +10597,54 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.37.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" dependencies = [ - "bitflags 2.4.1", + "bitflags 1.3.2", "errno", + "io-lifetimes", "libc", - "linux-raw-sys 0.4.12", - "windows-sys 0.52.0", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", ] [[package]] -name = "rustls" -version = "0.19.1" +name = "rustix" +version = "0.38.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +checksum = "1ee020b1716f0a80e2ace9b03441a749e402e86712f15f16fe8a8f75afac732f" dependencies = [ - "base64 0.13.1", - "log", - "ring 0.16.20", - "sct 0.6.1", - "webpki 0.21.4", + "bitflags 2.3.3", + "errno", + "libc", + "linux-raw-sys 0.4.5", + "windows-sys 0.48.0", ] [[package]] name = "rustls" -version = "0.20.9" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ + "base64 0.13.1", "log", - "ring 0.16.20", - "sct 0.7.1", - "webpki 0.22.4", + "ring", + "sct 0.6.1", + "webpki 0.21.4", ] [[package]] name = "rustls" -version = "0.21.10" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" dependencies = [ "log", - "ring 0.17.7", - "rustls-webpki", - "sct 0.7.1", + "ring", + "sct 0.7.0", + "webpki 0.22.0", ] [[package]] @@ -10626,21 +10661,11 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.5", -] - -[[package]] -name = "rustls-webpki" -version = "0.101.7" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "ring 0.17.7", - "untrusted 0.9.0", + "base64 0.21.2", ] [[package]] @@ -10662,9 +10687,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "safe-mix" @@ -10699,8 +10724,8 @@ version = "4.1.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-core", - "sp-wasm-interface", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -10722,12 +10747,12 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10746,12 +10771,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", ] @@ -10762,12 +10787,12 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -10784,9 +10809,9 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -10794,10 +10819,10 @@ name = "sc-chain-spec-derive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -10829,12 +10854,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tiny-bip39", "tokio", @@ -10853,16 +10878,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-database", - "sp-externalities", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", ] @@ -10883,13 +10908,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -10907,12 +10932,12 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10931,17 +10956,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10967,17 +10992,17 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -10993,14 +11018,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11024,16 +11049,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -11053,8 +11078,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11068,7 +11093,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11076,7 +11101,7 @@ name = "sc-consensus-grandpa" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "array-bytes 4.2.0", "async-trait", "dyn-clone", @@ -11098,15 +11123,15 @@ dependencies = [ "sc-telemetry", "sc-utils", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -11126,8 +11151,8 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11144,14 +11169,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11165,15 +11190,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", - "sp-wasm-interface", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", "wasmi 0.13.2", ] @@ -11185,7 +11210,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "wasm-instrument 0.3.0", "wasmi 0.13.2", @@ -11199,8 +11224,8 @@ dependencies = [ "log", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasmi 0.13.2", ] @@ -11214,11 +11239,11 @@ dependencies = [ "libc", "log", "once_cell", - "rustix 0.36.17", + "rustix 0.36.15", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasmtime", ] @@ -11235,7 +11260,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11247,9 +11272,9 @@ dependencies = [ "async-trait", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11287,11 +11312,11 @@ dependencies = [ "serde_json", "smallvec", "snow", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -11313,7 +11338,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "unsigned-varint", ] @@ -11340,7 +11365,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", "zeroize", @@ -11351,7 +11376,7 @@ name = "sc-network-gossip" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "futures", "futures-timer", "libp2p", @@ -11360,7 +11385,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-peerset", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "tracing", ] @@ -11382,8 +11407,8 @@ dependencies = [ "sc-network-common", "sc-peerset", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11411,12 +11436,12 @@ dependencies = [ "sc-peerset", "sc-utils", "smallvec", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", "thiserror", ] @@ -11437,7 +11462,7 @@ dependencies = [ "sc-peerset", "sc-utils", "sp-consensus", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-prometheus-endpoint", ] @@ -11452,7 +11477,7 @@ dependencies = [ "futures", "futures-timer", "hyper", - "hyper-rustls 0.23.2", + "hyper-rustls", "libp2p", "num_cpus", "once_cell", @@ -11464,10 +11489,10 @@ dependencies = [ "sc-network-common", "sc-peerset", "sc-utils", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "threadpool", "tracing", ] @@ -11512,15 +11537,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tokio", ] @@ -11536,10 +11561,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11575,11 +11600,11 @@ dependencies = [ "sc-client-api", "sc-transaction-pool-api", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-version", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tokio-stream", ] @@ -11627,21 +11652,21 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-state-machine", - "sp-storage", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", - "static_init", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "static_init 1.0.3", "substrate-prometheus-endpoint", "tempfile", "thiserror", @@ -11658,7 +11683,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11672,7 +11697,7 @@ dependencies = [ "log", "sc-client-db", "sc-utils", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tokio", ] @@ -11692,7 +11717,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11710,9 +11735,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -11753,12 +11778,12 @@ dependencies = [ "sc-rpc-server", "sc-tracing-proc-macro", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-tracing", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing", "tracing-log", @@ -11770,10 +11795,10 @@ name = "sc-tracing-proc-macro" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -11793,11 +11818,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -11813,7 +11838,7 @@ dependencies = [ "log", "serde", "sp-blockchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -11829,14 +11854,14 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "scale-info" -version = "2.10.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" dependencies = [ "bitvec", "cfg-if", @@ -11848,11 +11873,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", @@ -11860,11 +11885,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] @@ -11873,7 +11898,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "cfg-if", "hashbrown 0.13.2", ] @@ -11914,18 +11939,18 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring", + "untrusted", ] [[package]] name = "sct" -version = "0.7.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" dependencies = [ - "ring 0.17.7", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -12000,15 +12025,15 @@ name = "security" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", "sha2 0.8.2", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12054,9 +12079,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" dependencies = [ "serde", ] @@ -12069,29 +12094,29 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.181" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "6d3e73c93c3240c0bda063c239298e633114c69a888c3e37ca8bb33f343e9890" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.181" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "be02f6cb0cd3a5ec20bbcfbcbd749f57daddb1a0882dc2e46a6c236c90b977ed" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c" dependencies = [ "itoa", "ryu", @@ -12122,9 +12147,9 @@ dependencies = [ [[package]] name = "sha1" -version = "0.10.6" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if", "cpufeatures", @@ -12158,9 +12183,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" dependencies = [ "cfg-if", "cpufeatures", @@ -12179,18 +12204,18 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.7" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" dependencies = [ "lazy_static", ] [[package]] name = "shlex" -version = "1.2.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" +checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "signal-hook-registry" @@ -12236,15 +12261,15 @@ dependencies = [ [[package]] name = "siphasher" -version = "0.3.11" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" +checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "slab" -version = "0.4.9" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" dependencies = [ "autocfg", ] @@ -12263,53 +12288,53 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "slotmap" -version = "1.0.7" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" +checksum = "e1e08e261d0e8f5c43123b7adf3e4ca1690d655377ac93a03b2c9d3e98de1342" dependencies = [ "version_check", ] [[package]] name = "smallvec" -version = "1.11.2" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" [[package]] name = "snap" -version = "1.1.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" +checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" [[package]] name = "snow" -version = "0.9.4" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" +checksum = "5ccba027ba85743e09d15c03296797cad56395089b832b48b5a5217880f57733" dependencies = [ - "aes-gcm 0.10.3", + "aes-gcm 0.9.4", "blake2", "chacha20poly1305", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.0.0-rc.1", "rand_core 0.6.4", - "ring 0.17.7", + "ring", "rustc_version 0.4.0", - "sha2 0.10.8", + "sha2 0.10.7", "subtle", ] [[package]] name = "socket2" -version = "0.4.10" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" dependencies = [ "libc", "winapi", @@ -12317,9 +12342,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" dependencies = [ "libc", "windows-sys 0.48.0", @@ -12351,6 +12376,25 @@ dependencies = [ "sha-1", ] +[[package]] +name = "sp-api" +version = "4.0.0-dev" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 7.0.0", + "sp-metadata-ir 0.1.0", + "sp-runtime 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "sp-version 5.0.0", + "thiserror", +] + [[package]] name = "sp-api" version = "4.0.0-dev" @@ -12360,17 +12404,30 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "blake2", + "expander 1.0.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" @@ -12379,10 +12436,22 @@ dependencies = [ "Inflector", "blake2", "expander 1.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -12393,9 +12462,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0", + "static_assertions", ] [[package]] @@ -12408,7 +12490,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", ] @@ -12419,10 +12501,10 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12431,10 +12513,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12447,11 +12529,11 @@ dependencies = [ "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12463,10 +12545,10 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12478,13 +12560,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -12497,15 +12579,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] @@ -12518,13 +12600,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "strum", ] @@ -12538,12 +12620,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12554,10 +12636,53 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", ] +[[package]] +name = "sp-core" +version = "7.0.0" +dependencies = [ + "array-bytes 4.2.0", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin", + "parity-scale-codec", + "parking_lot 0.12.1", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0", + "sp-debug-derive 5.0.0", + "sp-externalities 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + [[package]] name = "sp-core" version = "7.0.0" @@ -12589,12 +12714,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "ss58-registry", "substrate-bip39", "thiserror", @@ -12602,6 +12727,19 @@ dependencies = [ "zeroize", ] +[[package]] +name = "sp-core-hashing" +version = "5.0.0" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.7", + "sha3", + "sp-std 5.0.0", + "twox-hash", +] + [[package]] name = "sp-core-hashing" version = "5.0.0" @@ -12610,12 +12748,22 @@ dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.8", + "sha2 0.10.7", "sha3", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "twox-hash", ] +[[package]] +name = "sp-core-hashing-proc-macro" +version = "5.0.0" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing 5.0.0", + "syn 2.0.28", +] + [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" @@ -12623,8 +12771,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "sp-core-hashing", - "syn 2.0.43", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "syn 2.0.28", ] [[package]] @@ -12636,6 +12784,15 @@ dependencies = [ "parking_lot 0.12.1", ] +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-debug-derive" version = "5.0.0" @@ -12643,7 +12800,17 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0", + "sp-storage 7.0.0", ] [[package]] @@ -12653,8 +12820,22 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "thiserror", ] [[package]] @@ -12666,34 +12847,59 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-io" +version = "7.0.0" +dependencies = [ + "bytes", + "ed25519", + "ed25519-dalek", + "futures", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-keystore 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-trie 7.0.0", + "tracing", + "tracing-core", +] + [[package]] name = "sp-io" version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", + "ed25519", + "ed25519-dalek", "futures", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", "tracing-core", ] @@ -12704,11 +12910,23 @@ version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "strum", ] +[[package]] +name = "sp-keystore" +version = "0.13.0" +dependencies = [ + "futures", + "parity-scale-codec", + "parking_lot 0.12.1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "thiserror", +] + [[package]] name = "sp-keystore" version = "0.13.0" @@ -12718,8 +12936,8 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "serde", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12732,6 +12950,16 @@ dependencies = [ "zstd 0.12.4", ] +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std 5.0.0", +] + [[package]] name = "sp-metadata-ir" version = "0.1.0" @@ -12740,7 +12968,7 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12753,11 +12981,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-debug-derive", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] @@ -12769,10 +12997,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12780,9 +13008,18 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +dependencies = [ + "backtrace", + "lazy_static", + "regex", ] [[package]] @@ -12802,7 +13039,28 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-runtime" +version = "7.0.0" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", + "sp-weights 4.0.0", ] [[package]] @@ -12819,12 +13077,29 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", - "sp-weights", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0", + "sp-runtime-interface-proc-macro 6.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "sp-tracing 6.0.0", + "sp-wasm-interface 7.0.0", + "static_assertions", ] [[package]] @@ -12836,25 +13111,36 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "static_assertions", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "Inflector", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -12864,11 +13150,23 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -12879,9 +13177,28 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-panic-handler 5.0.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "thiserror", + "tracing", ] [[package]] @@ -12895,20 +13212,36 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing", ] +[[package]] +name = "sp-std" +version = "5.0.0" + [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" +[[package]] +name = "sp-storage" +version = "7.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", +] + [[package]] name = "sp-storage" version = "7.0.0" @@ -12918,8 +13251,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12931,19 +13264,30 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-tracing" +version = "6.0.0" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0", + "tracing", + "tracing-core", + "tracing-subscriber", +] + [[package]] name = "sp-tracing" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "tracing", "tracing-core", "tracing-subscriber", @@ -12954,8 +13298,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -12967,11 +13311,33 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", +] + +[[package]] +name = "sp-trie" +version = "7.0.0" +dependencies = [ + "ahash 0.8.3", + "hash-db", + "hashbrown 0.13.2", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.1", + "scale-info", + "schnellru", + "sp-core 7.0.0", + "sp-std 5.0.0", + "thiserror", + "tracing", + "trie-db", + "trie-root", ] [[package]] @@ -12979,7 +13345,7 @@ name = "sp-trie" version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.3", "hash-db", "hashbrown 0.13.2", "lazy_static", @@ -12989,14 +13355,30 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", "tracing", "trie-db", "trie-root", ] +[[package]] +name = "sp-version" +version = "5.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version-proc-macro 4.0.0-dev", + "thiserror", +] + [[package]] name = "sp-version" version = "5.0.0" @@ -13007,13 +13389,23 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "thiserror", ] +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" @@ -13022,7 +13414,20 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0", + "wasmi 0.13.2", + "wasmtime", ] [[package]] @@ -13034,11 +13439,25 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "wasmi 0.13.2", "wasmtime", ] +[[package]] +name = "sp-weights" +version = "4.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", +] + [[package]] name = "sp-weights" version = "4.0.0" @@ -13048,10 +13467,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13061,14 +13480,14 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea dependencies = [ "base58", "bstringify", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-stellar-sdk", ] @@ -13079,14 +13498,14 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base58", "bstringify", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-stellar-sdk", ] @@ -13138,9 +13557,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.44.0" +version = "1.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35935738370302d5e33963665b77541e4b990a3e919ec904c837a56cfc891de1" +checksum = "bfc443bad666016e012538782d9e3006213a7db43e9fb1dda91657dc06a6fa08" dependencies = [ "Inflector", "num-format", @@ -13162,19 +13581,19 @@ name = "staking" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -13194,8 +13613,8 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", "kusama-runtime-constants", @@ -13226,18 +13645,18 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", - "sp-weights", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13260,8 +13679,8 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-rpc-runtime-api", "log", "pallet-asset-tx-payment", @@ -13288,18 +13707,18 @@ dependencies = [ "polkadot-runtime-constants", "scale-info", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", - "sp-weights", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13312,6 +13731,18 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +[[package]] +name = "static_init" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11b73400442027c4adedda20a9f9b7945234a5bd8d5f7e86da22bd5d0622369c" +dependencies = [ + "cfg_aliases", + "libc", + "parking_lot 0.11.2", + "static_init_macro 0.5.0", +] + [[package]] name = "static_init" version = "1.0.3" @@ -13323,10 +13754,23 @@ dependencies = [ "libc", "parking_lot 0.11.2", "parking_lot_core 0.8.6", - "static_init_macro", + "static_init_macro 1.0.2", "winapi", ] +[[package]] +name = "static_init_macro" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2261c91034a1edc3fc4d1b80e89d82714faede0515c14a75da10cb941546bbf" +dependencies = [ + "cfg_aliases", + "memchr", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "static_init_macro" version = "1.0.2" @@ -13347,15 +13791,15 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base64 0.13.1", "currency", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sha2 0.10.8", - "sp-core", - "sp-std", + "sha2 0.10.7", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", ] @@ -13398,7 +13842,7 @@ dependencies = [ "lazy_static", "md-5", "rand 0.8.5", - "ring 0.16.20", + "ring", "subtle", "thiserror", "tokio", @@ -13408,9 +13852,9 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", @@ -13439,11 +13883,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13468,7 +13912,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13483,10 +13927,10 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "trie-db", ] @@ -13504,9 +13948,9 @@ dependencies = [ "serde_json", "sha2 0.9.9", "sodalite", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -13521,7 +13965,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.7.8", + "toml 0.7.6", "walkdir", "wasm-opt", ] @@ -13554,9 +13998,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.43" +version = "2.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" +checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" dependencies = [ "proc-macro2", "quote", @@ -13604,28 +14048,28 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] name = "tempfile" -version = "3.9.0" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" +checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998" dependencies = [ "cfg-if", - "fastrand", - "redox_syscall 0.4.1", - "rustix 0.38.28", - "windows-sys 0.52.0", + "fastrand 2.0.0", + "redox_syscall 0.3.5", + "rustix 0.38.6", + "windows-sys 0.48.0", ] [[package]] name = "termcolor" -version = "1.4.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ "winapi-util", ] @@ -13638,22 +14082,22 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.52" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a48fd946b02c0a526b2e9481c8e2a17755e47039164a86c4070446e3a4614d" +checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.52" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7fbe9b594d6568a6a1443250a7e67d80b74e1e96f6d1715e1e21cc1888291d3" +checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -13717,13 +14161,23 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" +dependencies = [ + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", + "winapi", +] + +[[package]] +name = "time" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea" dependencies = [ "deranged", "itoa", - "powerfmt", "serde", "time-core", "time-macros", @@ -13731,15 +14185,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd" dependencies = [ "time-core", ] @@ -13756,7 +14210,7 @@ dependencies = [ "pbkdf2 0.11.0", "rand 0.8.5", "rustc-hash", - "sha2 0.10.8", + "sha2 0.10.7", "thiserror", "unicode-normalization", "wasm-bindgen", @@ -13790,32 +14244,33 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" dependencies = [ + "autocfg", "backtrace", "bytes", "libc", "mio", "num_cpus", "parking_lot 0.12.1", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "signal-hook-registry", - "socket2 0.5.5", + "socket2 0.4.9", "tokio-macros", "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -13824,19 +14279,9 @@ version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls 0.20.9", - "tokio", - "webpki 0.22.4", -] - -[[package]] -name = "tokio-rustls" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" -dependencies = [ - "rustls 0.21.10", + "rustls 0.20.8", "tokio", + "webpki 0.22.0", ] [[package]] @@ -13846,22 +14291,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tokio", "tokio-util", ] [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tokio", "tracing", ] @@ -13877,49 +14322,38 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.19.15", + "toml_edit", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.15" +version = "0.19.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.0.0", "serde", "serde_spanned", "toml_datetime", "winnow", ] -[[package]] -name = "toml_edit" -version = "0.20.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" -dependencies = [ - "indexmap 2.1.0", - "toml_datetime", - "winnow", -] - [[package]] name = "tower" version = "0.4.13" @@ -13944,7 +14378,7 @@ dependencies = [ "http", "http-body", "http-range-header", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tower-layer", "tower-service", ] @@ -13963,32 +14397,33 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ + "cfg-if", "log", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.10", "tracing-attributes", "tracing-core", ] [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ "once_cell", "valuable", @@ -14021,20 +14456,20 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] name = "tracing-log" -version = "0.1.4" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ + "lazy_static", "log", - "once_cell", "tracing-core", ] @@ -14111,7 +14546,7 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", - "socket2 0.4.10", + "socket2 0.4.9", "thiserror", "tinyvec", "tokio", @@ -14141,9 +14576,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.5" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" +checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" @@ -14162,22 +14597,22 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-debug-derive", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-rpc", - "sp-runtime", - "sp-state-machine", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version", - "sp-weights", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-rpc-client", "zstd 0.12.4", ] @@ -14200,7 +14635,7 @@ dependencies = [ "log", "md-5", "rand 0.8.5", - "ring 0.16.20", + "ring", "stun", "thiserror", "tokio", @@ -14221,9 +14656,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.17.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "ucd-trie" @@ -14245,15 +14680,15 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" [[package]] name = "unicode-normalization" @@ -14266,9 +14701,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "unicode-xid" @@ -14298,9 +14733,9 @@ dependencies = [ [[package]] name = "unsigned-varint" -version = "0.7.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" +checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" dependencies = [ "asynchronous-codec", "bytes", @@ -14314,20 +14749,14 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" -[[package]] -name = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - [[package]] name = "url" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna 0.4.0", "percent-encoding", ] @@ -14339,11 +14768,11 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.6.1" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" +checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.10", ] [[package]] @@ -14360,9 +14789,9 @@ dependencies = [ "currency", "fee", "fixed-hash 0.7.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "oracle", "orml-currencies", @@ -14377,11 +14806,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "spacewalk-primitives 1.0.3", "staking", ] @@ -14402,17 +14831,17 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" name = "vesting-manager" version = "0.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "pallet-vesting", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] @@ -14430,11 +14859,17 @@ dependencies = [ "atomic-waker", ] +[[package]] +name = "waker-fn" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" + [[package]] name = "walkdir" -version = "2.4.0" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" dependencies = [ "same-file", "winapi-util", @@ -14455,6 +14890,12 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" +[[package]] +name = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -14463,9 +14904,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -14473,24 +14914,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" dependencies = [ "cfg-if", "js-sys", @@ -14500,9 +14941,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -14510,22 +14951,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-instrument" @@ -14646,7 +15087,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" dependencies = [ "downcast-rs", - "libm", + "libm 0.2.7", "memory_units", "num-rational", "num-traits", @@ -14660,7 +15101,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7" dependencies = [ "downcast-rs", - "libm", + "libm 0.2.7", "num-traits", "paste", ] @@ -14733,9 +15174,9 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix 0.36.17", + "rustix 0.36.15", "serde", - "sha2 0.10.8", + "sha2 0.10.7", "toml 0.5.11", "windows-sys 0.42.0", "zstd 0.11.2+zstd.1.5.2", @@ -14813,7 +15254,7 @@ checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" dependencies = [ "object 0.29.0", "once_cell", - "rustix 0.36.17", + "rustix 0.36.15", ] [[package]] @@ -14841,10 +15282,10 @@ dependencies = [ "log", "mach", "memfd", - "memoffset", + "memoffset 0.6.5", "paste", "rand 0.8.5", - "rustix 0.36.17", + "rustix 0.36.15", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", @@ -14865,9 +15306,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" dependencies = [ "js-sys", "wasm-bindgen", @@ -14879,18 +15320,18 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring", + "untrusted", ] [[package]] name = "webpki" -version = "0.22.4" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" +checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" dependencies = [ - "ring 0.17.7", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -14899,15 +15340,9 @@ version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ - "webpki 0.22.4", + "webpki 0.22.0", ] -[[package]] -name = "webpki-roots" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" - [[package]] name = "webrtc" version = "0.6.0" @@ -14924,17 +15359,17 @@ dependencies = [ "rand 0.8.5", "rcgen 0.9.3", "regex", - "ring 0.16.20", + "ring", "rtcp", "rtp", "rustls 0.19.1", "sdp", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.7", "stun", "thiserror", - "time", + "time 0.3.25", "tokio", "turn", "url", @@ -14966,12 +15401,12 @@ dependencies = [ [[package]] name = "webrtc-dtls" -version = "0.7.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" +checksum = "942be5bd85f072c3128396f6e5a9bfb93ca8c1939ded735d177b7bcba9a13d05" dependencies = [ "aes 0.6.0", - "aes-gcm 0.10.3", + "aes-gcm 0.10.2", "async-trait", "bincode", "block-modes", @@ -14983,24 +15418,25 @@ dependencies = [ "hkdf", "hmac 0.12.1", "log", + "oid-registry 0.6.1", "p256", "p384", "rand 0.8.5", "rand_core 0.6.4", - "rcgen 0.10.0", - "ring 0.16.20", + "rcgen 0.9.3", + "ring", "rustls 0.19.1", "sec1 0.3.0", "serde", "sha1", - "sha2 0.10.8", + "sha2 0.10.7", "signature 1.6.4", "subtle", "thiserror", "tokio", "webpki 0.21.4", "webrtc-util", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.0-pre.1", "x509-parser 0.13.2", ] @@ -15035,7 +15471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log", - "socket2 0.4.10", + "socket2 0.4.9", "thiserror", "tokio", "webrtc-util", @@ -15122,11 +15558,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -15184,23 +15620,23 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "substrate-wasm-builder", "westend-runtime-constants", "xcm", @@ -15213,32 +15649,31 @@ name = "westend-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", ] [[package]] name = "which" -version = "4.4.2" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" dependencies = [ "either", - "home", + "libc", "once_cell", - "rustix 0.38.28", ] [[package]] name = "wide" -version = "0.7.13" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f" dependencies = [ "bytemuck", "safe_arch", @@ -15268,9 +15703,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ "winapi", ] @@ -15283,21 +15718,24 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.51.1" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f" dependencies = [ - "windows-core", - "windows-targets 0.48.5", + "windows_aarch64_msvc 0.34.0", + "windows_i686_gnu 0.34.0", + "windows_i686_msvc 0.34.0", + "windows_x86_64_gnu 0.34.0", + "windows_x86_64_msvc 0.34.0", ] [[package]] -name = "windows-core" -version = "0.51.1" +name = "windows" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets 0.48.5", + "windows-targets 0.48.1", ] [[package]] @@ -15330,16 +15768,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.48.1", ] [[package]] @@ -15359,32 +15788,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.0" +version = "0.48.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.48.0", + "windows_aarch64_msvc 0.48.0", + "windows_i686_gnu 0.48.0", + "windows_i686_msvc 0.48.0", + "windows_x86_64_gnu 0.48.0", + "windows_x86_64_gnullvm 0.48.0", + "windows_x86_64_msvc 0.48.0", ] [[package]] @@ -15395,15 +15809,15 @@ checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" [[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.0" +name = "windows_aarch64_msvc" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" [[package]] name = "windows_aarch64_msvc" @@ -15413,15 +15827,15 @@ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_aarch64_msvc" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" [[package]] -name = "windows_aarch64_msvc" -version = "0.52.0" +name = "windows_i686_gnu" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" [[package]] name = "windows_i686_gnu" @@ -15431,15 +15845,15 @@ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_gnu" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" [[package]] -name = "windows_i686_gnu" -version = "0.52.0" +name = "windows_i686_msvc" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" [[package]] name = "windows_i686_msvc" @@ -15449,15 +15863,15 @@ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_i686_msvc" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" [[package]] -name = "windows_i686_msvc" -version = "0.52.0" +name = "windows_x86_64_gnu" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" [[package]] name = "windows_x86_64_gnu" @@ -15467,15 +15881,9 @@ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" [[package]] name = "windows_x86_64_gnullvm" @@ -15485,15 +15893,15 @@ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.5" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" [[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.0" +name = "windows_x86_64_msvc" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" [[package]] name = "windows_x86_64_msvc" @@ -15503,21 +15911,15 @@ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" [[package]] name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.5.31" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97a4882e6b134d6c28953a387571f1acdd3496830d5e36c5e3a1075580ea641c" +checksum = "f46aab759304e4d7b2075a9aecba26228bb073ee8c50db796b2c72c676b5d807" dependencies = [ "memchr", ] @@ -15554,13 +15956,12 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.0-pre.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "e5da623d8af10a62342bcbbb230e33e58a63255a58012f8653c578e54bab48df" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 3.2.0", "rand_core 0.6.4", - "serde", "zeroize", ] @@ -15577,10 +15978,10 @@ dependencies = [ "lazy_static", "nom", "oid-registry 0.4.0", - "ring 0.16.20", + "ring", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -15598,7 +15999,7 @@ dependencies = [ "oid-registry 0.6.1", "rusticata-macros", "thiserror", - "time", + "time 0.3.25", ] [[package]] @@ -15613,7 +16014,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm-procedural", ] @@ -15622,18 +16023,18 @@ name = "xcm-builder" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -15649,17 +16050,17 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "parachain-info", "parity-scale-codec", "paste", "polkadot-primitives", "polkadot-runtime-parachains", "quote", - "sp-arithmetic", - "sp-io", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -15670,17 +16071,17 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "environmental", - "frame-benchmarking", - "frame-support", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", ] @@ -15692,7 +16093,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -15715,7 +16116,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time", + "time 0.3.25", ] [[package]] @@ -15724,8 +16125,8 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "log", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0)", "orml-traits", @@ -15733,10 +16134,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "xcm", "xcm-executor", ] @@ -15748,10 +16149,10 @@ source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v dependencies = [ "jsonrpsee", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "sp-blockchain", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "zenlink-protocol", "zenlink-protocol-runtime-api", ] @@ -15762,36 +16163,16 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", "zenlink-protocol", ] -[[package]] -name = "zerocopy" -version = "0.7.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.43", -] - [[package]] name = "zeroize" -version = "1.7.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" dependencies = [ "zeroize_derive", ] @@ -15804,7 +16185,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.28", ] [[package]] @@ -15847,11 +16228,12 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.8+zstd.1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" dependencies = [ "cc", + "libc", "pkg-config", ] diff --git a/Cargo.toml b/Cargo.toml index 738e4d327..1ab942a50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,3 +34,12 @@ orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-modu orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } + + +[patch.'https://github.com/paritytech/polkadot'] +pallet-xcm = {path = "/home/giannipop/root/pendulum/polkadot/xcm/pallet-xcm/"} + +[patch.'https://github.com/paritytech/substrate'] +pallet-scheduler = {path = "/home/giannipop/root/pendulum/substrate/frame/scheduler/"} +pallet-preimage = {path = "/home/giannipop/root/pendulum/substrate/frame/preimage/"} +pallet-vesting = {path = "/home/giannipop/root/pendulum/substrate/frame/vesting/"} \ No newline at end of file diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 95d7db851..53abe2ed0 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -149,15 +149,47 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic = Vec::new(); +} + +pub struct VestingMigrateToV1; +impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1{ + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result, &'static str> { + pallet_vesting::migrations::v1::pre_migrate::(); + + Ok(Vec::new()) + } + + fn on_runtime_upgrade() -> Weight { + + pallet_vesting::migrations::v1::migrate::(); + + frame_support::weights::Weight::zero() + + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + pallet_vesting::migrations::v1::post_migrate::(); + + Ok(()) + } + +} + +// Temporary struct that defines the executions to be done upon upgrade, +// Should be removed or at least checked on each upgrade to see if it is relevant, +// given that these are "one-time" executions for particular upgrades pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { log::info!("Custom on-runtime-upgrade function"); if Contracts::on_chain_storage_version() == 0 { log::info!{"version for pallet_xcm {:?}",StorageVersion::get::()}; - log::info!{"version for tx payment {:?}",StorageVersion::get::()}; log::info!("Upgrading pallet contract's storage version to 10"); - StorageVersion::new(10).put::(); + StorageVersion::new(10).put::(); } // not really a heavy operation frame_support::weights::Weight::zero() @@ -170,7 +202,16 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (CustomOnRuntimeUpgrade, pallet_xcm::migration::v1::MigrateToV1) + (CustomOnRuntimeUpgrade, + //VestingMigrateToV1, + // pallet_xcm::migration::v1::MigrateToV1, + //pallet_democracy::migrations::v1::Migration, + //pallet_scheduler::migration::v3::MigrateToV4, + // pallet_balances::migration::MigrateManyToTrackInactive, + //pallet_preimage::migration::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + // orml_asset_registry::Migration + ) >; pub struct AmplitudeDiaOracleKeyConverter; @@ -264,7 +305,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("amplitude"), impl_name: create_runtime_str!("amplitude"), authoring_version: 1, - spec_version: 13, + spec_version: 15, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 13, diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index b7f03df1a..7dac18878 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -124,6 +124,44 @@ pub type SignedPayload = generic::SignedPayload; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; +parameter_types! { + pub const InactiveAccounts: Vec = Vec::new(); +} + +use crate::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch::GetStorageVersion; + +use frame_support::pallet_prelude::StorageVersion; + + +pub struct VestingMigrateToV1; +impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1{ + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result, &'static str> { + pallet_vesting::migrations::v1::pre_migrate::(); + + Ok(Vec::new()) + } + + fn on_runtime_upgrade() -> Weight { + + frame_support::weights::Weight::zero() + + } +} + +pub struct CustomOnRuntimeUpgrade; +impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { + fn on_runtime_upgrade() -> frame_support::weights::Weight { + log::info!("Custom on-runtime-upgrade function"); + if Contracts::on_chain_storage_version() == 0 { + log::info!{"version for pallet_xcm {:?}",StorageVersion::get::()}; + StorageVersion::new(10).put::(); + } + // not really a heavy operation + frame_support::weights::Weight::zero() + } +} + /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -131,8 +169,13 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, + (CustomOnRuntimeUpgrade, + //VestingMigrateToV1, + //pallet_xcm::migration::v1::MigrateToV1, + pallet_scheduler::migration::v3::MigrateToV4, + //pallet_balances::migration::MigrateManyToTrackInactive, + ) >; - /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the /// node's balance type. /// @@ -169,7 +212,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("pendulum"), impl_name: create_runtime_str!("pendulum"), authoring_version: 1, - spec_version: 10, + spec_version: 11, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 10, From 31fcc003ee26fdb47ee368a8bd97e099e1fe2a20 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Wed, 10 Jan 2024 17:50:58 -0300 Subject: [PATCH 14/89] add storage versions --- Cargo.lock | 3312 +++++++++----------- Cargo.toml | 9 - node/src/service.rs | 7 +- pallets/parachain-staking/src/mock.rs | 2 +- pallets/parachain-staking/src/try_state.rs | 2 +- runtime/amplitude/src/lib.rs | 108 +- runtime/amplitude/src/xcm_config.rs | 14 +- runtime/common/src/chain_ext.rs | 4 +- runtime/development/src/lib.rs | 18 +- runtime/development/src/xcm_config.rs | 2 +- runtime/foucoco/src/lib.rs | 31 +- runtime/pendulum/src/lib.rs | 98 +- runtime/pendulum/src/xcm_config.rs | 16 +- 13 files changed, 1569 insertions(+), 2054 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0a297823f..e5003534f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -205,10 +205,10 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -268,18 +268,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -502,14 +502,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "pallet-xcm", "parachains-common", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -686,9 +686,9 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bifrost-ve-minting", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.3.4", "log", "node-primitives", @@ -696,10 +696,10 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -712,11 +712,11 @@ dependencies = [ "node-primitives", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -726,8 +726,8 @@ source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#3 dependencies = [ "node-primitives", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -736,8 +736,8 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "hex-literal 0.3.4", "log", "node-primitives", @@ -745,9 +745,9 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "xcm", ] @@ -1242,15 +1242,15 @@ name = "clients-info" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -1656,8 +1656,8 @@ dependencies = [ "sc-chain-spec", "sc-cli", "sc-service", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "url", ] @@ -1677,10 +1677,10 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "tracing", ] @@ -1699,16 +1699,16 @@ dependencies = [ "sc-consensus-aura", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -1732,8 +1732,8 @@ dependencies = [ "schnellru", "sp-blockchain", "sp-consensus", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-trie", "tracing", ] @@ -1754,9 +1754,9 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", "tracing", ] @@ -1780,7 +1780,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "tracing", ] @@ -1811,11 +1811,11 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "sp-transaction-pool", ] @@ -1824,15 +1824,15 @@ name = "cumulus-pallet-aura-ext" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-aura", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -1841,14 +1841,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -1862,22 +1862,22 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", "xcm", ] @@ -1897,13 +1897,13 @@ name = "cumulus-pallet-session-benchmarking" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-session", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -1912,13 +1912,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -1928,17 +1928,17 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -1953,10 +1953,10 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", + "sp-trie", "xcm", ] @@ -1972,14 +1972,14 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "tracing", ] @@ -1991,8 +1991,8 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-std", "sp-timestamp", ] @@ -2002,13 +2002,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "parity-scale-codec", "polkadot-runtime-common", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -2032,11 +2032,11 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -2051,9 +2051,9 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", "thiserror", ] @@ -2086,11 +2086,11 @@ dependencies = [ "sc-service", "sc-tracing", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "tokio", "tracing", ] @@ -2114,12 +2114,12 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-state-machine", + "sp-storage", "tokio", "tracing", "url", @@ -2133,9 +2133,9 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", + "sp-std", ] [[package]] @@ -2143,8 +2143,8 @@ name = "currency" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -2153,8 +2153,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -2437,10 +2437,10 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -2464,18 +2464,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -2487,17 +2487,17 @@ name = "dia-oracle" version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -2506,9 +2506,9 @@ version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "dia-oracle", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "sp-api", + "sp-runtime", ] [[package]] @@ -2994,9 +2994,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "oracle", "pallet-balances", "parity-scale-codec", @@ -3005,11 +3005,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", ] @@ -3169,10 +3169,10 @@ dependencies = [ "dia-oracle", "dia-oracle-runtime-api", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -3234,18 +3234,18 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "spacewalk-primitives 1.0.3", "staking", "stellar-relay", @@ -3264,52 +3264,28 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-support-procedural 4.0.0-dev", - "frame-system 4.0.0-dev", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 7.0.0", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-runtime-interface 7.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "static_assertions", -] - [[package]] name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] @@ -3323,9 +3299,9 @@ dependencies = [ "chrono", "clap", "comfy-table", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "gethostname", "handlebars", "itertools", @@ -3344,18 +3320,18 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "thiserror", "thousands", ] @@ -3377,15 +3353,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-election-provider-solution-type", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -3393,16 +3369,16 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -3429,46 +3405,14 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "spinners", "substrate-rpc-client", "tokio", ] -[[package]] -name = "frame-support" -version = "4.0.0-dev" -dependencies = [ - "bitflags 1.3.2", - "environmental", - "frame-metadata", - "frame-support-procedural 4.0.0-dev", - "impl-trait-for-tuples", - "k256", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-core-hashing-proc-macro 5.0.0", - "sp-inherents 4.0.0-dev", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-weights 4.0.0", - "tt-call", -] - [[package]] name = "frame-support" version = "4.0.0-dev" @@ -3477,7 +3421,7 @@ dependencies = [ "bitflags 1.3.2", "environmental", "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", @@ -3487,36 +3431,21 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-weights", "tt-call", ] -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "frame-support-procedural-tools 4.0.0-dev", - "itertools", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -3525,7 +3454,7 @@ dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural-tools", "itertools", "proc-macro-warning", "proc-macro2", @@ -3533,38 +3462,18 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", "syn 2.0.28", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" @@ -3575,39 +3484,22 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "frame-system" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version 5.0.0", - "sp-weights 4.0.0", -] - [[package]] name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", + "sp-weights", ] [[package]] @@ -3615,14 +3507,14 @@ name = "frame-system-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -3631,7 +3523,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -3639,11 +3531,11 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -4456,9 +4348,9 @@ dependencies = [ "base64 0.13.1", "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "log", "oracle", @@ -4473,11 +4365,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -4688,11 +4580,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4755,24 +4647,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -4785,13 +4677,13 @@ name = "kusama-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -5682,13 +5574,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5700,11 +5592,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5762,9 +5654,9 @@ dependencies = [ "jsonrpsee", "module-issue-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5772,10 +5664,10 @@ name = "module-issue-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -5786,9 +5678,9 @@ dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "spacewalk-primitives 1.0.3", ] @@ -5797,12 +5689,12 @@ name = "module-oracle-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -5814,22 +5706,22 @@ dependencies = [ "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] name = "module-pallet-staking-rpc-runtime-api" version = "1.0.0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "module-oracle-rpc-runtime-api", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -5840,9 +5732,9 @@ dependencies = [ "jsonrpsee", "module-redeem-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5850,10 +5742,10 @@ name = "module-redeem-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -5864,9 +5756,9 @@ dependencies = [ "jsonrpsee", "module-replace-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5874,10 +5766,10 @@ name = "module-replace-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -5889,9 +5781,9 @@ dependencies = [ "module-oracle-rpc-runtime-api", "module-vault-registry-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5899,11 +5791,11 @@ name = "module-vault-registry-rpc-runtime-api" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -6142,14 +6034,14 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "zenlink-protocol", ] @@ -6176,9 +6068,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "oracle", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6191,11 +6083,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", "vault-registry", @@ -6354,9 +6246,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "dia-oracle", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "once_cell", "orml-oracle", "pallet-balances", @@ -6364,11 +6256,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "security", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "spin 0.9.8", "staking", @@ -6420,15 +6312,15 @@ name = "orml-asset-registry" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -6439,25 +6331,25 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "orml-currencies-allowance-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6467,10 +6359,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6478,17 +6370,17 @@ name = "orml-oracle" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6496,15 +6388,15 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] @@ -6512,24 +6404,24 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] name = "orml-tokens-management-extension" version = "1.0.0" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "mocktopus", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -6539,10 +6431,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.1", ] @@ -6551,17 +6443,17 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -6570,13 +6462,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6584,13 +6476,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6598,12 +6490,12 @@ name = "orml-xcm" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "xcm", ] @@ -6612,11 +6504,11 @@ name = "orml-xcm-support" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "orml-traits", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -6627,17 +6519,17 @@ version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "orml-traits", "orml-xcm-support", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -6679,17 +6571,17 @@ name = "pallet-asset-tx-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6697,14 +6589,14 @@ name = "pallet-assets" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -6712,15 +6604,15 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6728,15 +6620,15 @@ name = "pallet-authority-discovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-authority-discovery", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6744,13 +6636,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6758,23 +6650,23 @@ name = "pallet-babe" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -6782,19 +6674,19 @@ name = "pallet-bags-list" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -6802,14 +6694,14 @@ name = "pallet-balances" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6817,18 +6709,18 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -6838,8 +6730,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-beefy", "pallet-mmr", @@ -6847,12 +6739,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6860,17 +6752,17 @@ name = "pallet-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6878,18 +6770,18 @@ name = "pallet-child-bounties" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6897,18 +6789,18 @@ name = "pallet-collator-selection" version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -6916,16 +6808,16 @@ name = "pallet-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6935,9 +6827,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "bitflags 1.3.2", "environmental", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-contracts-primitives", @@ -6947,11 +6839,11 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "wasm-instrument 0.4.0", "wasmi 0.28.0", "wasmparser-nostd", @@ -6965,9 +6857,9 @@ dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] @@ -6986,15 +6878,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7002,17 +6894,17 @@ name = "pallet-democracy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7020,21 +6912,21 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "strum", ] @@ -7043,12 +6935,12 @@ name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -7056,17 +6948,17 @@ name = "pallet-elections-phragmen" version = "5.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7074,17 +6966,17 @@ name = "pallet-fast-unstake" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7092,22 +6984,22 @@ name = "pallet-grandpa" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -7116,14 +7008,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7131,19 +7023,19 @@ name = "pallet-im-online" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7151,16 +7043,16 @@ name = "pallet-indices" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7168,13 +7060,13 @@ name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7182,16 +7074,16 @@ name = "pallet-membership" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7199,16 +7091,16 @@ name = "pallet-mmr" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7216,15 +7108,15 @@ name = "pallet-multisig" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7233,16 +7125,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "enumflags2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7250,10 +7142,10 @@ name = "pallet-nfts-runtime-api" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "pallet-nfts", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -7261,15 +7153,15 @@ name = "pallet-nis" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -7277,16 +7169,16 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7294,19 +7186,19 @@ name = "pallet-nomination-pools-benchmarking" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-runtime-interface", + "sp-staking", + "sp-std", ] [[package]] @@ -7316,8 +7208,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -7325,16 +7217,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7342,10 +7234,10 @@ name = "pallet-offences-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-babe", "pallet-balances", @@ -7356,25 +7248,26 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-preimage" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7382,14 +7275,14 @@ name = "pallet-proxy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7397,17 +7290,17 @@ name = "pallet-ranked-collective" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7415,14 +7308,14 @@ name = "pallet-recovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7431,33 +7324,34 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "assert_matches", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-scheduler" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] @@ -7465,20 +7359,20 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", + "sp-trie", ] [[package]] @@ -7486,15 +7380,15 @@ name = "pallet-session-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-session", "pallet-staking", "rand 0.8.5", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", ] [[package]] @@ -7502,13 +7396,13 @@ name = "pallet-society" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7516,10 +7410,10 @@ name = "pallet-staking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -7527,11 +7421,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7551,7 +7445,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", ] [[package]] @@ -7560,7 +7454,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -7568,16 +7462,16 @@ name = "pallet-state-trie-migration" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7585,13 +7479,13 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7599,16 +7493,16 @@ name = "pallet-timestamp" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -7617,18 +7511,18 @@ name = "pallet-tips" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7636,15 +7530,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7655,12 +7549,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7670,9 +7564,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7680,16 +7574,16 @@ name = "pallet-treasury" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7697,14 +7591,14 @@ name = "pallet-uniques" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7712,29 +7606,30 @@ name = "pallet-utility" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-vesting" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7742,32 +7637,33 @@ name = "pallet-whitelist" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-xcm" version = "0.9.42" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bounded-collections", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -7777,15 +7673,15 @@ name = "pallet-xcm-benchmarks" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -7797,8 +7693,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", ] @@ -7807,9 +7703,9 @@ dependencies = [ name = "parachain-staking" version = "1.7.2" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "module-pallet-staking-rpc-runtime-api", "pallet-aura", @@ -7820,13 +7716,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7835,8 +7731,8 @@ version = "1.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-utility", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", @@ -7846,10 +7742,10 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -8038,7 +7934,7 @@ dependencies = [ "cumulus-relay-chain-rpc-interface", "development-runtime", "foucoco-runtime", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-benchmarking-cli", "jsonrpsee", "log", @@ -8073,15 +7969,15 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-block-builder", "sp-blockchain", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", "sp-timestamp", "sp-transaction-pool", @@ -8113,10 +8009,10 @@ dependencies = [ "cumulus-primitives-utility", "dia-oracle", "dia-oracle-runtime-api", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -8164,18 +8060,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "spacewalk-primitives 1.0.3", "substrate-wasm-builder", "vesting-manager", @@ -8369,8 +8265,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8416,8 +8312,8 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-keyring", "sp-maybe-compressed-blob", "substrate-build-script-utils", @@ -8431,9 +8327,9 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "async-trait", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-benchmarking-cli", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-system", "frame-system-rpc-runtime-api", "futures", "pallet-transaction-payment", @@ -8447,7 +8343,7 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-service", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -8455,14 +8351,14 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-keyring", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage", "sp-timestamp", "sp-transaction-pool", ] @@ -8482,9 +8378,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -8496,9 +8392,9 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -8520,8 +8416,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8535,8 +8431,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-trie", "thiserror", ] @@ -8554,9 +8450,9 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sc-network", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "tracing-gum", ] @@ -8595,7 +8491,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -8622,10 +8518,10 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "schnorrkel", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -8665,7 +8561,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8679,7 +8575,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", "wasm-timer", @@ -8768,7 +8664,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-blockchain", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", "thiserror", "tracing-gum", ] @@ -8809,10 +8705,10 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-maybe-compressed-blob", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing", + "sp-wasm-interface", "substrate-build-script-utils", "tokio", "tracing-gum", @@ -8829,7 +8725,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8851,11 +8747,11 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-io", "sp-maybe-compressed-blob", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing", "substrate-build-script-utils", "tempfile", "tikv-jemalloc-ctl", @@ -8891,7 +8787,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "thiserror", "tokio", ] @@ -8949,12 +8845,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "zstd 0.11.2+zstd.1.5.2", ] @@ -8985,7 +8881,7 @@ dependencies = [ "polkadot-statement-table", "sc-network", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -9018,9 +8914,9 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -9042,8 +8938,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -9055,14 +8951,14 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "bounded-collections", "derive_more", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -9095,18 +8991,18 @@ dependencies = [ "polkadot-parachain", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -9130,13 +9026,13 @@ dependencies = [ "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-runtime", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -9147,11 +9043,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -9210,24 +9106,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -9241,10 +9137,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", "log", @@ -9268,15 +9164,15 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "static_assertions", "xcm", ] @@ -9286,13 +9182,13 @@ name = "polkadot-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -9303,8 +9199,8 @@ dependencies = [ "bs58", "parity-scale-codec", "polkadot-primitives", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", + "sp-tracing", ] [[package]] @@ -9315,9 +9211,9 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authority-discovery", "pallet-authorship", @@ -9336,16 +9232,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "static_assertions", "xcm", "xcm-executor", @@ -9358,7 +9254,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "async-trait", "frame-benchmarking-cli", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -9433,7 +9329,7 @@ dependencies = [ "sc-transaction-pool", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -9441,19 +9337,19 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", + "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -9475,8 +9371,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-staking", "thiserror", "tracing-gum", ] @@ -9488,7 +9384,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", ] [[package]] @@ -9548,18 +9444,18 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -10010,9 +9906,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "oracle", "orml-currencies", @@ -10025,11 +9921,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -10172,9 +10068,9 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "currency", "fee", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "nomination", "oracle", @@ -10189,11 +10085,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", @@ -10214,17 +10110,17 @@ name = "reward" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -10234,9 +10130,9 @@ version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "oracle", "orml-currencies", @@ -10248,11 +10144,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", ] @@ -10309,10 +10205,10 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "binary-merkle-tree", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -10366,22 +10262,22 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -10394,13 +10290,13 @@ name = "rococo-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -10469,9 +10365,9 @@ name = "runtime-common" version = "0.1.0" dependencies = [ "dia-oracle", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "orml-asset-registry", "orml-traits", "orml-xcm-support", @@ -10479,9 +10375,9 @@ dependencies = [ "paste", "scale-info", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "xcm", "xcm-executor", @@ -10498,8 +10394,8 @@ dependencies = [ "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "kusama-runtime", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", @@ -10521,12 +10417,12 @@ dependencies = [ "runtime-common", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-debug-derive", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", "spacewalk-primitives 1.0.1", "statemine-runtime", "statemint-runtime", @@ -10724,8 +10620,8 @@ version = "4.1.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-wasm-interface", "thiserror", ] @@ -10747,12 +10643,12 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10771,12 +10667,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -10787,12 +10683,12 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", ] [[package]] @@ -10809,9 +10705,9 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -10854,12 +10750,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-keyring", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", "thiserror", "tiny-bip39", "tokio", @@ -10878,16 +10774,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", "substrate-prometheus-endpoint", ] @@ -10908,13 +10804,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-database", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -10932,12 +10828,12 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", "substrate-prometheus-endpoint", "thiserror", ] @@ -10956,17 +10852,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10992,17 +10888,17 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11018,14 +10914,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", ] @@ -11049,16 +10945,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -11078,8 +10974,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11093,7 +10989,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -11123,15 +11019,15 @@ dependencies = [ "sc-telemetry", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11151,8 +11047,8 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11169,14 +11065,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -11190,15 +11086,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", "tracing", "wasmi 0.13.2", ] @@ -11210,7 +11106,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface", "thiserror", "wasm-instrument 0.3.0", "wasmi 0.13.2", @@ -11224,8 +11120,8 @@ dependencies = [ "log", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmi 0.13.2", ] @@ -11242,8 +11138,8 @@ dependencies = [ "rustix 0.36.15", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] @@ -11260,7 +11156,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -11272,9 +11168,9 @@ dependencies = [ "async-trait", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -11312,11 +11208,11 @@ dependencies = [ "serde_json", "smallvec", "snow", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -11338,7 +11234,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "unsigned-varint", ] @@ -11365,7 +11261,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "zeroize", @@ -11385,7 +11281,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-peerset", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -11407,8 +11303,8 @@ dependencies = [ "sc-network-common", "sc-peerset", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11436,12 +11332,12 @@ dependencies = [ "sc-peerset", "sc-utils", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11462,7 +11358,7 @@ dependencies = [ "sc-peerset", "sc-utils", "sp-consensus", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -11489,10 +11385,10 @@ dependencies = [ "sc-network-common", "sc-peerset", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "threadpool", "tracing", ] @@ -11537,15 +11433,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-offchain", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "tokio", ] @@ -11561,10 +11457,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-version", "thiserror", ] @@ -11600,11 +11496,11 @@ dependencies = [ "sc-client-api", "sc-transaction-pool-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-version", "thiserror", "tokio-stream", ] @@ -11652,20 +11548,20 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie", + "sp-version", "static_init 1.0.3", "substrate-prometheus-endpoint", "tempfile", @@ -11683,7 +11579,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", ] [[package]] @@ -11697,7 +11593,7 @@ dependencies = [ "log", "sc-client-db", "sc-utils", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "thiserror", "tokio", ] @@ -11717,7 +11613,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", ] @@ -11735,9 +11631,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -11778,12 +11674,12 @@ dependencies = [ "sc-rpc-server", "sc-tracing-proc-macro", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-tracing", "thiserror", "tracing", "tracing-log", @@ -11818,11 +11714,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -11838,7 +11734,7 @@ dependencies = [ "log", "serde", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", ] @@ -11854,7 +11750,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", ] [[package]] @@ -12025,15 +11921,15 @@ name = "security" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -12288,8 +12184,8 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -12376,25 +12272,6 @@ dependencies = [ "sha-1", ] -[[package]] -name = "sp-api" -version = "4.0.0-dev" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 7.0.0", - "sp-metadata-ir 0.1.0", - "sp-runtime 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "sp-version 5.0.0", - "thiserror", -] - [[package]] name = "sp-api" version = "4.0.0-dev" @@ -12404,30 +12281,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api-proc-macro", + "sp-core", + "sp-metadata-ir", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", "thiserror", ] -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -dependencies = [ - "Inflector", - "blake2", - "expander 1.0.0", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" @@ -12442,18 +12306,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", -] - [[package]] name = "sp-application-crypto" version = "7.0.0" @@ -12462,22 +12314,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0", - "static_assertions", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -12490,7 +12329,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "static_assertions", ] @@ -12501,10 +12340,10 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-runtime", + "sp-std", ] [[package]] @@ -12513,10 +12352,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", ] [[package]] @@ -12529,11 +12368,11 @@ dependencies = [ "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus", "sp-database", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12545,10 +12384,10 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12560,13 +12399,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -12579,15 +12418,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -12600,13 +12439,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "strum", ] @@ -12620,12 +12459,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] @@ -12636,53 +12475,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-timestamp", ] -[[package]] -name = "sp-core" -version = "7.0.0" -dependencies = [ - "array-bytes 4.2.0", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0", - "sp-debug-derive 5.0.0", - "sp-externalities 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - [[package]] name = "sp-core" version = "7.0.0" @@ -12714,12 +12510,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -12727,19 +12523,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.7", - "sha3", - "sp-std 5.0.0", - "twox-hash", -] - [[package]] name = "sp-core-hashing" version = "5.0.0" @@ -12750,20 +12533,10 @@ dependencies = [ "digest 0.10.7", "sha2 0.10.7", "sha3", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "twox-hash", ] -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0", - "syn 2.0.28", -] - [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" @@ -12771,7 +12544,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing", "syn 2.0.28", ] @@ -12784,15 +12557,6 @@ dependencies = [ "parking_lot 0.12.1", ] -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "sp-debug-derive" version = "5.0.0" @@ -12803,16 +12567,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "sp-externalities" -version = "0.13.0" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0", - "sp-storage 7.0.0", -] - [[package]] name = "sp-externalities" version = "0.13.0" @@ -12820,22 +12574,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "thiserror", + "sp-std", + "sp-storage", ] [[package]] @@ -12847,37 +12587,12 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-io" -version = "7.0.0" -dependencies = [ - "bytes", - "ed25519", - "ed25519-dalek", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-keystore 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-trie 7.0.0", - "tracing", - "tracing-core", -] - [[package]] name = "sp-io" version = "7.0.0" @@ -12892,14 +12607,14 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-trie", "tracing", "tracing-core", ] @@ -12910,23 +12625,11 @@ version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lazy_static", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "strum", ] -[[package]] -name = "sp-keystore" -version = "0.13.0" -dependencies = [ - "futures", - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "thiserror", -] - [[package]] name = "sp-keystore" version = "0.13.0" @@ -12936,8 +12639,8 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", "thiserror", ] @@ -12950,16 +12653,6 @@ dependencies = [ "zstd 0.12.4", ] -[[package]] -name = "sp-metadata-ir" -version = "0.1.0" -dependencies = [ - "frame-metadata", - "parity-scale-codec", - "scale-info", - "sp-std 5.0.0", -] - [[package]] name = "sp-metadata-ir" version = "0.1.0" @@ -12968,7 +12661,7 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", ] [[package]] @@ -12981,11 +12674,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-debug-derive", + "sp-runtime", + "sp-std", "thiserror", ] @@ -12997,10 +12690,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -13008,18 +12701,9 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] @@ -13039,28 +12723,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "rustc-hash", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", - "sp-weights 4.0.0", + "sp-core", ] [[package]] @@ -13077,29 +12740,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0", - "sp-runtime-interface-proc-macro 6.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "sp-tracing 6.0.0", - "sp-wasm-interface 7.0.0", - "static_assertions", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", + "sp-weights", ] [[package]] @@ -13111,26 +12757,15 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -dependencies = [ - "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" @@ -13150,23 +12785,11 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", + "sp-api", + "sp-core", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -13177,28 +12800,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-panic-handler 5.0.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "thiserror", - "tracing", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -13212,36 +12816,20 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", "thiserror", "tracing", ] -[[package]] -name = "sp-std" -version = "5.0.0" - [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" -[[package]] -name = "sp-storage" -version = "7.0.0" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", -] - [[package]] name = "sp-storage" version = "7.0.0" @@ -13251,8 +12839,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -13264,30 +12852,19 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-tracing" -version = "6.0.0" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] - [[package]] name = "sp-tracing" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "tracing", "tracing-core", "tracing-subscriber", @@ -13298,8 +12875,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", ] [[package]] @@ -13311,33 +12888,11 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -dependencies = [ - "ahash 0.8.3", - "hash-db", - "hashbrown 0.13.2", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-info", - "schnellru", - "sp-core 7.0.0", - "sp-std 5.0.0", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-trie", ] [[package]] @@ -13355,30 +12910,14 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-std", "thiserror", "tracing", "trie-db", "trie-root", ] -[[package]] -name = "sp-version" -version = "5.0.0" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version-proc-macro 4.0.0-dev", - "thiserror", -] - [[package]] name = "sp-version" version = "5.0.0" @@ -13389,23 +12928,13 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing-proc-macro", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", "thiserror", ] -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" @@ -13417,19 +12946,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0", - "wasmi 0.13.2", - "wasmtime", -] - [[package]] name = "sp-wasm-interface" version = "7.0.0" @@ -13439,25 +12955,11 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "wasmi 0.13.2", "wasmtime", ] -[[package]] -name = "sp-weights" -version = "4.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", -] - [[package]] name = "sp-weights" version = "4.0.0" @@ -13467,10 +12969,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -13480,14 +12982,14 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea dependencies = [ "base58", "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "substrate-stellar-sdk", ] @@ -13498,14 +13000,14 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base58", "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "substrate-stellar-sdk", ] @@ -13581,19 +13083,19 @@ name = "staking" version = "1.0.3" source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f91103323b4d7ba3f1e186fe#59896f7df1c1daf0f91103323b4d7ba3f1e186fe" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -13613,8 +13115,8 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", "kusama-runtime-constants", @@ -13645,18 +13147,18 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13679,8 +13181,8 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-rpc-runtime-api", "log", "pallet-asset-tx-payment", @@ -13707,18 +13209,18 @@ dependencies = [ "polkadot-runtime-constants", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13791,15 +13293,15 @@ source = "git+https://github.com/pendulum-chain/spacewalk?rev=59896f7df1c1daf0f9 dependencies = [ "base64 0.13.1", "currency", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", "sha2 0.10.7", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-std", "spacewalk-primitives 1.0.3", ] @@ -13883,11 +13385,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", ] [[package]] @@ -13912,7 +13414,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -13927,10 +13429,10 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", "trie-db", ] @@ -13948,9 +13450,9 @@ dependencies = [ "serde_json", "sha2 0.9.9", "sodalite", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -14597,22 +14099,22 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-debug-derive", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-rpc-client", "zstd 0.12.4", ] @@ -14789,9 +14291,9 @@ dependencies = [ "currency", "fee", "fixed-hash 0.7.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "oracle", "orml-currencies", @@ -14806,11 +14308,11 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "spacewalk-primitives 1.0.3", "staking", ] @@ -14831,17 +14333,17 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" name = "vesting-manager" version = "0.0.1" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-vesting", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -15558,11 +15060,11 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -15620,23 +15122,23 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "substrate-wasm-builder", "westend-runtime-constants", "xcm", @@ -15649,13 +15151,13 @@ name = "westend-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -16014,7 +15516,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights", "xcm-procedural", ] @@ -16023,18 +15525,18 @@ name = "xcm-builder" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -16050,17 +15552,17 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "parachain-info", "parity-scale-codec", "paste", "polkadot-primitives", "polkadot-runtime-parachains", "quote", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-std", "xcm", "xcm-executor", ] @@ -16071,17 +15573,17 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "environmental", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-benchmarking", + "frame-support", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", "xcm", ] @@ -16125,8 +15627,8 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-system", "log", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0)", "orml-traits", @@ -16134,10 +15636,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -16149,10 +15651,10 @@ source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v dependencies = [ "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "zenlink-protocol", "zenlink-protocol-runtime-api", ] @@ -16163,8 +15665,8 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "zenlink-protocol", ] diff --git a/Cargo.toml b/Cargo.toml index 1ab942a50..738e4d327 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,12 +34,3 @@ orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-modu orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } - - -[patch.'https://github.com/paritytech/polkadot'] -pallet-xcm = {path = "/home/giannipop/root/pendulum/polkadot/xcm/pallet-xcm/"} - -[patch.'https://github.com/paritytech/substrate'] -pallet-scheduler = {path = "/home/giannipop/root/pendulum/substrate/frame/scheduler/"} -pallet-preimage = {path = "/home/giannipop/root/pendulum/substrate/frame/preimage/"} -pallet-vesting = {path = "/home/giannipop/root/pendulum/substrate/frame/vesting/"} \ No newline at end of file diff --git a/node/src/service.rs b/node/src/service.rs index 67d8c9e93..a2dafbb46 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -22,7 +22,9 @@ use cumulus_relay_chain_interface::{RelayChainInterface, RelayChainResult}; use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node; // Substrate Imports -use sc_executor::{NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, HeapAllocStrategy}; +use sc_executor::{ + HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, +}; use sc_network::NetworkBlock; use sc_network_sync::SyncingService; @@ -195,7 +197,6 @@ where .default_heap_pages .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _ }); - let wasm = WasmExecutor::builder() .with_execution_method(config.wasm_method) .with_onchain_heap_alloc_strategy(heap_pages) @@ -203,7 +204,7 @@ where .with_max_runtime_instances(config.max_runtime_instances) .with_runtime_cache_size(config.runtime_cache_size) .build(); - + let executor = NativeElseWasmExecutor::::new_with_wasm_executor(wasm); let (client, backend, keystore_container, task_manager) = diff --git a/pallets/parachain-staking/src/mock.rs b/pallets/parachain-staking/src/mock.rs index 434f39329..2a31ab022 100644 --- a/pallets/parachain-staking/src/mock.rs +++ b/pallets/parachain-staking/src/mock.rs @@ -31,7 +31,7 @@ use sp_core::H256; use sp_runtime::{ impl_opaque_keys, testing::{Header, UintAuthorityId}, - traits::{BlakeTwo256, ConvertInto, IdentityLookup, OpaqueKeys, ConstU32}, + traits::{BlakeTwo256, ConstU32, ConvertInto, IdentityLookup, OpaqueKeys}, Perbill, Perquintill, }; use sp_std::fmt::Debug; diff --git a/pallets/parachain-staking/src/try_state.rs b/pallets/parachain-staking/src/try_state.rs index 7dbfd28e1..899b7bb9e 100644 --- a/pallets/parachain-staking/src/try_state.rs +++ b/pallets/parachain-staking/src/try_state.rs @@ -17,7 +17,7 @@ // If you feel like getting in touch with us, you can do so at info@botlabs.org use frame_support::{ensure, traits::Get}; -use scale_info::prelude::{string::String,format}; +use scale_info::prelude::{format, string::String}; use sp_runtime::{ traits::{CheckedAdd, Zero}, SaturatedConversion, Saturating, diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 53abe2ed0..4d3ac6352 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -28,7 +28,7 @@ use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto + AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, }, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, DispatchError, FixedPointNumber, SaturatedConversion, @@ -46,8 +46,9 @@ use frame_support::{ dispatch::DispatchClass, parameter_types, traits::{ - ConstBool, ConstU32, Contains, Currency as FrameCurrency, EitherOfDiverse, - EqualPrivilegeOnly, Imbalance, InstanceFilter, OnUnbalanced, WithdrawReasons, fungible::Credit + fungible::Credit, ConstBool, ConstU32, Contains, Currency as FrameCurrency, + EitherOfDiverse, EqualPrivilegeOnly, Imbalance, InstanceFilter, OnUnbalanced, + WithdrawReasons, }, weights::{ constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, Weight, WeightToFeeCoefficient, @@ -154,7 +155,7 @@ parameter_types! { } pub struct VestingMigrateToV1; -impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1{ +impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1 { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, &'static str> { pallet_vesting::migrations::v1::pre_migrate::(); @@ -163,11 +164,9 @@ impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1{ } fn on_runtime_upgrade() -> Weight { - pallet_vesting::migrations::v1::migrate::(); frame_support::weights::Weight::zero() - } #[cfg(feature = "try-runtime")] @@ -176,24 +175,48 @@ impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1{ Ok(()) } - } -// Temporary struct that defines the executions to be done upon upgrade, +// Temporary struct that defines the executions to be done upon upgrade, // Should be removed or at least checked on each upgrade to see if it is relevant, // given that these are "one-time" executions for particular upgrades pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { - fn on_runtime_upgrade() -> frame_support::weights::Weight { + fn on_runtime_upgrade() -> frame_support::weights::Weight { log::info!("Custom on-runtime-upgrade function"); - if Contracts::on_chain_storage_version() == 0 { - log::info!{"version for pallet_xcm {:?}",StorageVersion::get::()}; + + // WARNING: manually setting the storage version + if StorageVersion::get::() == 0 { log::info!("Upgrading pallet contract's storage version to 10"); - StorageVersion::new(10).put::(); + StorageVersion::new(10).put::(); } - // not really a heavy operation - frame_support::weights::Weight::zero() - } + if StorageVersion::get::() == 0 { + log::info!("Upgrading pallet democracy's storage version to 1"); + StorageVersion::new(1).put::(); + } + if StorageVersion::get::() == 3 { + log::info!("Upgrading pallet scheduler's storage version to 4"); + StorageVersion::new(4).put::(); + } + if StorageVersion::get::() == 0 { + log::info!("Upgrading pallet preimage's storage version to 1"); + StorageVersion::new(1).put::(); + } + if StorageVersion::get::() == 0 { + log::info!("Upgrading pallet multisig's storage version to 1"); + StorageVersion::new(1).put::(); + } + if StorageVersion::get::() == 0 { + log::info!("Upgrading pallet xcm's storage version to 1"); + StorageVersion::new(1).put::(); + } + if StorageVersion::get::() == 0 { + log::info!("Upgrading pallet asset registry's storage version to 2"); + StorageVersion::new(2).put::(); + } + + frame_support::weights::Weight::reads(7).writes(7) + } } /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< @@ -202,16 +225,10 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (CustomOnRuntimeUpgrade, - //VestingMigrateToV1, - // pallet_xcm::migration::v1::MigrateToV1, - //pallet_democracy::migrations::v1::Migration, - //pallet_scheduler::migration::v3::MigrateToV4, - // pallet_balances::migration::MigrateManyToTrackInactive, - //pallet_preimage::migration::v1::Migration, - pallet_multisig::migrations::v1::MigrateToV1, - // orml_asset_registry::Migration - ) + ( + CustomOnRuntimeUpgrade, + pallet_balances::migration::MigrateManyToTrackInactive, + ), >; pub struct AmplitudeDiaOracleKeyConverter; @@ -516,11 +533,16 @@ parameter_types! { pub struct MoveDustToTreasury; -impl OnUnbalanced::AccountId, pallet_balances::Pallet>> - for MoveDustToTreasury +impl + OnUnbalanced< + Credit<::AccountId, pallet_balances::Pallet>, + > for MoveDustToTreasury { fn on_nonzero_unbalanced( - amount: Credit<::AccountId, pallet_balances::Pallet>, + amount: Credit< + ::AccountId, + pallet_balances::Pallet, + >, ) { let _ = >::deposit_creating( &TreasuryPalletId::get().into_account_truncating(), @@ -859,7 +881,7 @@ impl pallet_child_bounties::Config for Runtime { parameter_type_with_key! { pub ExistentialDeposits: |currency_id: CurrencyId| -> Balance { // Since the xcm trader uses Tokens to get the minimum - // balance of both it's assets and native, we need to + // balance of both it's assets and native, we need to // handle native here match currency_id{ CurrencyId::Native => EXISTENTIAL_DEPOSIT, @@ -1541,12 +1563,12 @@ impl_runtime_apis! { } fn metadata_at_version(version: u32) -> Option { - Runtime::metadata_at_version(version) - } + Runtime::metadata_at_version(version) + } - fn metadata_versions() -> sp_std::vec::Vec { - Runtime::metadata_versions() - } + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -1733,15 +1755,15 @@ impl_runtime_apis! { } fn execute_block( - block: Block, - state_root_check: bool, - signature_check: bool, - select: frame_try_runtime::TryStateSelect - ) -> Weight { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. - Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") - } + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 604daa1a1..f9ea93df6 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -1,10 +1,11 @@ use core::marker::PhantomData; use frame_support::{ - log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing, ProcessMessageError, tokens::fungibles}, - weights::{Weight, WeightToFee as WeightToFeeTrait}, + log, match_types, pallet_prelude::DispatchError, + parameter_types, + traits::{tokens::fungibles, ContainsPair, Everything, Nothing, ProcessMessageError}, + weights::{Weight, WeightToFee as WeightToFeeTrait}, }; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, @@ -39,7 +40,6 @@ use crate::{ xcm_assets, }, ConstU32, - }; use super::{ @@ -327,7 +327,9 @@ impl ChargeWeightInFungibles for ChargeWeightInFungib } // Workarround for TakeFirstAssetTrader -use frame_support::traits::tokens::{Preservation, Fortitude, Provenance, WithdrawConsequence, DepositConsequence}; +use frame_support::traits::tokens::{ + DepositConsequence, Fortitude, Preservation, Provenance, WithdrawConsequence, +}; pub struct ConcreteAssets; impl fungibles::Mutate for ConcreteAssets {} @@ -384,7 +386,6 @@ impl fungibles::Inspect for ConcreteAssets { fn asset_exists(_: Self::AssetId) -> bool { todo!() } - } impl fungibles::Unbalanced for ConcreteAssets { fn handle_dust(_: fungibles::Dust) { @@ -412,7 +413,6 @@ pub type Traders = ( >, ); - pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { type RuntimeCall = RuntimeCall; diff --git a/runtime/common/src/chain_ext.rs b/runtime/common/src/chain_ext.rs index 6348a0a8d..d16183699 100644 --- a/runtime/common/src/chain_ext.rs +++ b/runtime/common/src/chain_ext.rs @@ -73,7 +73,7 @@ pub enum ChainExtensionTokenError { /// Account cannot be created for a held balance. CannotCreateHold, /// Withdrawal would cause unwanted loss of account. - NotExpendable + NotExpendable, } /// ChainExtensionArithmeticError is a nested error in ChainExtensionOutcome, similar to DispatchError's ArithmeticError. @@ -221,7 +221,7 @@ impl ChainExtensionTokenError { ChainExtensionTokenError::Frozen => 5, ChainExtensionTokenError::Unsupported => 6, ChainExtensionTokenError::OnlyProvider => 7, - ChainExtensionTokenError::CannotCreateHold => 8, + ChainExtensionTokenError::CannotCreateHold => 8, ChainExtensionTokenError::Unknown => 999, } } diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index 9c21dbc02..bfb0446ac 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -600,15 +600,15 @@ impl_runtime_apis! { } fn execute_block( - block: Block, - state_root_check: bool, - signature_check: bool, - select: frame_try_runtime::TryStateSelect - ) -> Weight { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. - Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") - } + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/development/src/xcm_config.rs b/runtime/development/src/xcm_config.rs index fb9ad546f..3e9eb90a8 100644 --- a/runtime/development/src/xcm_config.rs +++ b/runtime/development/src/xcm_config.rs @@ -8,6 +8,7 @@ use frame_support::{ traits::{Everything, Nothing, ProcessMessageError}, weights::Weight, }; +use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; use polkadot_runtime_common::impls::ToAuthor; @@ -21,7 +22,6 @@ use xcm_builder::{ UsingComponents, }; use xcm_executor::{traits::ShouldExecute, XcmExecutor}; -use frame_system::EnsureRoot; parameter_types! { pub const RelayLocation: MultiLocation = MultiLocation::parent(); pub const RelayNetwork: NetworkId = NetworkId::Rococo; diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index c3ed7c2c6..78945f422 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -169,7 +169,6 @@ pub type Executive = frame_executive::Executive< AllPalletsWithSystem, >; - pub struct SpacewalkNativeCurrency; impl oracle::dia::NativeCurrencyKey for SpacewalkNativeCurrency { fn native_symbol() -> Vec { @@ -791,7 +790,7 @@ impl pallet_child_bounties::Config for Runtime { parameter_type_with_key! { pub ExistentialDeposits: |currency_id: CurrencyId| -> Balance { // Since the xcm trader uses Tokens to get the minimum - // balance of both it's assets and native, we need to + // balance of both it's assets and native, we need to // handle native here match currency_id{ CurrencyId::Native => EXISTENTIAL_DEPOSIT, @@ -1893,12 +1892,12 @@ impl_runtime_apis! { } fn metadata_at_version(version: u32) -> Option { - Runtime::metadata_at_version(version) - } + Runtime::metadata_at_version(version) + } - fn metadata_versions() -> sp_std::vec::Vec { - Runtime::metadata_versions() - } + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -2086,15 +2085,15 @@ impl_runtime_apis! { } fn execute_block( - block: Block, - state_root_check: bool, - signature_check: bool, - select: frame_try_runtime::TryStateSelect - ) -> Weight { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. - Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") - } + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index 7dac18878..8d363df49 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -45,8 +45,8 @@ use frame_support::{ dispatch::DispatchClass, parameter_types, traits::{ - ConstBool, ConstU32, Contains, Currency, EitherOfDiverse, EqualPrivilegeOnly, Imbalance, - InstanceFilter, OnUnbalanced, WithdrawReasons, fungible::Credit + fungible::Credit, ConstBool, ConstU32, Contains, Currency, EitherOfDiverse, + EqualPrivilegeOnly, Imbalance, InstanceFilter, OnUnbalanced, WithdrawReasons, }, weights::{ constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, Weight, WeightToFeeCoefficient, @@ -129,37 +129,32 @@ parameter_types! { } use crate::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch::GetStorageVersion; - use frame_support::pallet_prelude::StorageVersion; - -pub struct VestingMigrateToV1; -impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1{ - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { - pallet_vesting::migrations::v1::pre_migrate::(); - - Ok(Vec::new()) - } - - fn on_runtime_upgrade() -> Weight { - - frame_support::weights::Weight::zero() - - } -} - pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { - fn on_runtime_upgrade() -> frame_support::weights::Weight { + fn on_runtime_upgrade() -> frame_support::weights::Weight { log::info!("Custom on-runtime-upgrade function"); - if Contracts::on_chain_storage_version() == 0 { - log::info!{"version for pallet_xcm {:?}",StorageVersion::get::()}; + // WARNING: manually setting the storage version + if StorageVersion::get::() = 0 { + log::info!("Upgrading pallet contract's storage version to 10"); StorageVersion::new(10).put::(); } + if StorageVersion::get::() = 3 { + log::info!("Upgrading pallet scheduler's storage version to 4"); + StorageVersion::new(4).put::(); + } + if StorageVersion::get::() == 0 { + log::info!("Upgrading pallet xcm's storage version to 1"); + StorageVersion::new(1).put::(); + } + if StorageVersion::get::() == 0 { + log::info!("Upgrading pallet asset registry's storage version to 2"); + StorageVersion::new(2).put::(); + } // not really a heavy operation - frame_support::weights::Weight::zero() - } + frame_support::weights::Weight::reads(4).writes(4) + } } /// Executive: handles dispatch to the various modules. @@ -169,12 +164,10 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (CustomOnRuntimeUpgrade, - //VestingMigrateToV1, - //pallet_xcm::migration::v1::MigrateToV1, - pallet_scheduler::migration::v3::MigrateToV4, - //pallet_balances::migration::MigrateManyToTrackInactive, - ) + ( + CustomOnRuntimeUpgrade, + pallet_balances::migration::MigrateManyToTrackInactive, + ), >; /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the /// node's balance type. @@ -410,11 +403,16 @@ parameter_types! { pub struct MoveDustToTreasury; -impl OnUnbalanced::AccountId, pallet_balances::Pallet>> - for MoveDustToTreasury +impl + OnUnbalanced< + Credit<::AccountId, pallet_balances::Pallet>, + > for MoveDustToTreasury { fn on_nonzero_unbalanced( - amount: Credit<::AccountId, pallet_balances::Pallet>, + amount: Credit< + ::AccountId, + pallet_balances::Pallet, + >, ) { let _ = >::deposit_creating( &TreasuryPalletId::get().into_account_truncating(), @@ -750,7 +748,7 @@ impl pallet_child_bounties::Config for Runtime { parameter_type_with_key! { pub ExistentialDeposits: |currency_id: CurrencyId| -> Balance { // Since the xcm trader uses Tokens to get the minimum - // balance of both it's assets and native, we need to + // balance of both it's assets and native, we need to // handle native here match currency_id{ CurrencyId::Native => EXISTENTIAL_DEPOSIT, @@ -917,7 +915,7 @@ parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); pub const DepositPerByte: Balance = deposit(0, 1); // Fallback value if storage deposit limit not set by the user - pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); + pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); pub Schedule: pallet_contracts::Schedule = Default::default(); } @@ -1230,12 +1228,12 @@ impl_runtime_apis! { } fn metadata_at_version(version: u32) -> Option { - Runtime::metadata_at_version(version) - } + Runtime::metadata_at_version(version) + } - fn metadata_versions() -> sp_std::vec::Vec { - Runtime::metadata_versions() - } + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -1422,15 +1420,15 @@ impl_runtime_apis! { } fn execute_block( - block: Block, - state_root_check: bool, - signature_check: bool, - select: frame_try_runtime::TryStateSelect - ) -> Weight { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. - Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") - } + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).expect("execute-block failed") + } } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index 4170f7aaf..a1edbf9a4 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -4,10 +4,11 @@ use cumulus_primitives_utility::{ ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, }; use frame_support::{ - log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing, ProcessMessageError,tokens::fungibles}, - weights::{Weight, WeightToFee as WeightToFeeTrait}, + log, match_types, pallet_prelude::DispatchError, + parameter_types, + traits::{tokens::fungibles, ContainsPair, Everything, Nothing, ProcessMessageError}, + weights::{Weight, WeightToFee as WeightToFeeTrait}, }; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, @@ -24,7 +25,7 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, + SovereignSignedViaLocation, TakeWeightCredit, }; use xcm_executor::{ traits::{JustTry, ShouldExecute}, @@ -46,7 +47,7 @@ use crate::{ xcm_assets, }, ConstU32, - }; +}; use super::{ AccountId, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, @@ -357,7 +358,9 @@ type Transactor = MultiCurrencyAdapter< >; // Workarround for TakeFirstAssetTrader -use frame_support::traits::tokens::{Preservation, Fortitude, Provenance, WithdrawConsequence, DepositConsequence}; +use frame_support::traits::tokens::{ + DepositConsequence, Fortitude, Preservation, Provenance, WithdrawConsequence, +}; pub struct ConcreteAssets; impl fungibles::Mutate for ConcreteAssets {} @@ -414,7 +417,6 @@ impl fungibles::Inspect for ConcreteAssets { fn asset_exists(_: Self::AssetId) -> bool { todo!() } - } impl fungibles::Unbalanced for ConcreteAssets { fn handle_dust(_: fungibles::Dust) { From ccdd0895738ef672e57853442afe5f3b0ebf74eb Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Wed, 10 Jan 2024 19:14:08 -0300 Subject: [PATCH 15/89] fix for storage version definition --- runtime/amplitude/src/lib.rs | 16 ++++++++-------- runtime/pendulum/src/lib.rs | 10 +++++----- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 4d3ac6352..a1044df9d 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -186,36 +186,36 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { log::info!("Custom on-runtime-upgrade function"); // WARNING: manually setting the storage version - if StorageVersion::get::() == 0 { + if Contracts::on_chain_storage_version() == 0 { log::info!("Upgrading pallet contract's storage version to 10"); StorageVersion::new(10).put::(); } - if StorageVersion::get::() == 0 { + if Democracy::on_chain_storage_version() == 0 { log::info!("Upgrading pallet democracy's storage version to 1"); StorageVersion::new(1).put::(); } - if StorageVersion::get::() == 3 { + if Scheduler::on_chain_storage_version() == 3 { log::info!("Upgrading pallet scheduler's storage version to 4"); StorageVersion::new(4).put::(); } - if StorageVersion::get::() == 0 { + if Preimage::on_chain_storage_version() == 0 { log::info!("Upgrading pallet preimage's storage version to 1"); StorageVersion::new(1).put::(); } - if StorageVersion::get::() == 0 { + if Multisig::on_chain_storage_version() == 0 { log::info!("Upgrading pallet multisig's storage version to 1"); StorageVersion::new(1).put::(); } - if StorageVersion::get::() == 0 { + if PolkadotXcm::on_chain_storage_version() == 0 { log::info!("Upgrading pallet xcm's storage version to 1"); StorageVersion::new(1).put::(); } - if StorageVersion::get::() == 0 { + if AssetRegistry::on_chain_storage_version() == 0 { log::info!("Upgrading pallet asset registry's storage version to 2"); StorageVersion::new(2).put::(); } - frame_support::weights::Weight::reads(7).writes(7) + ::DbWeight::get().reads_writes(7, 7) } } /// Executive: handles dispatch to the various modules. diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index 8d363df49..ae950ca2e 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -136,24 +136,24 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { log::info!("Custom on-runtime-upgrade function"); // WARNING: manually setting the storage version - if StorageVersion::get::() = 0 { + if Contracts::on_chain_storage_version() == 0 { log::info!("Upgrading pallet contract's storage version to 10"); StorageVersion::new(10).put::(); } - if StorageVersion::get::() = 3 { + if Scheduler::on_chain_storage_version() == 3 { log::info!("Upgrading pallet scheduler's storage version to 4"); StorageVersion::new(4).put::(); } - if StorageVersion::get::() == 0 { + if PolkadotXcm::on_chain_storage_version() == 0 { log::info!("Upgrading pallet xcm's storage version to 1"); StorageVersion::new(1).put::(); } - if StorageVersion::get::() == 0 { + if AssetRegistry::on_chain_storage_version() == 0 { log::info!("Upgrading pallet asset registry's storage version to 2"); StorageVersion::new(2).put::(); } // not really a heavy operation - frame_support::weights::Weight::reads(4).writes(4) + ::DbWeight::get().reads_writes(4, 4) } } From a3a795b411017096ebdf8047567773a919ae39c7 Mon Sep 17 00:00:00 2001 From: Marcel Ebert Date: Thu, 11 Jan 2024 11:58:39 +0100 Subject: [PATCH 16/89] Use proper return values for vesting migration --- runtime/amplitude/src/lib.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index a1044df9d..dd512e4fa 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -158,22 +158,18 @@ pub struct VestingMigrateToV1; impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1 { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, &'static str> { - pallet_vesting::migrations::v1::pre_migrate::(); + pallet_vesting::migrations::v1::pre_migrate::()?; Ok(Vec::new()) } fn on_runtime_upgrade() -> Weight { - pallet_vesting::migrations::v1::migrate::(); - - frame_support::weights::Weight::zero() + pallet_vesting::migrations::v1::migrate::() } #[cfg(feature = "try-runtime")] fn post_upgrade(_state: Vec) -> Result<(), &'static str> { - pallet_vesting::migrations::v1::post_migrate::(); - - Ok(()) + pallet_vesting::migrations::v1::post_migrate::() } } From fd60b6059bfb2786beaed0e80e03aaa7e42688fd Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 11 Jan 2024 11:47:57 -0300 Subject: [PATCH 17/89] remove vesting migration since it is not needed --- runtime/amplitude/src/lib.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index dd512e4fa..da3840e83 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -154,25 +154,6 @@ parameter_types! { pub const InactiveAccounts: Vec = Vec::new(); } -pub struct VestingMigrateToV1; -impl frame_support::traits::OnRuntimeUpgrade for VestingMigrateToV1 { - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { - pallet_vesting::migrations::v1::pre_migrate::()?; - - Ok(Vec::new()) - } - - fn on_runtime_upgrade() -> Weight { - pallet_vesting::migrations::v1::migrate::() - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { - pallet_vesting::migrations::v1::post_migrate::() - } -} - // Temporary struct that defines the executions to be done upon upgrade, // Should be removed or at least checked on each upgrade to see if it is relevant, // given that these are "one-time" executions for particular upgrades From 6a6e9d24cf20460045483506cf75bf41e07e99cd Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 11 Jan 2024 13:11:37 -0300 Subject: [PATCH 18/89] add transaction payment and vesting custom migrations to set version --- Cargo.lock | 4 ++-- Cargo.toml | 5 +++++ runtime/amplitude/src/lib.rs | 4 +++- runtime/pendulum/src/lib.rs | 1 + 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e5003534f..fa773f608 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7528,7 +7528,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" +source = "git+https://github.com/pendulum-chain/patch-pallet-vesting-transaction-storage?branch=polkadot-v0.9.42#2c1ddd4bf181040b24c28a3ace7336d45622a73d" dependencies = [ "frame-support", "frame-system", @@ -7620,7 +7620,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" +source = "git+https://github.com/pendulum-chain/patch-pallet-vesting-transaction-storage?branch=polkadot-v0.9.42#2c1ddd4bf181040b24c28a3ace7336d45622a73d" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/Cargo.toml b/Cargo.toml index 738e4d327..a9f787518 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,3 +34,8 @@ orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-modu orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library", branch = "polkadot-v0.9.42" } zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", branch = "polkadot-v0.9.42" } + + +[patch.'https://github.com/paritytech/substrate'] +pallet-vesting = { git = "https://github.com/pendulum-chain/patch-pallet-vesting-transaction-storage", branch = "polkadot-v0.9.42" } +pallet-transaction-payment = { git = "https://github.com/pendulum-chain/patch-pallet-vesting-transaction-storage", branch = "polkadot-v0.9.42" } \ No newline at end of file diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index da3840e83..13fbed577 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -192,7 +192,7 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { StorageVersion::new(2).put::(); } - ::DbWeight::get().reads_writes(7, 7) + ::DbWeight::get().reads_writes(8, 8) } } /// Executive: handles dispatch to the various modules. @@ -205,6 +205,8 @@ pub type Executive = frame_executive::Executive< ( CustomOnRuntimeUpgrade, pallet_balances::migration::MigrateManyToTrackInactive, + pallet_vesting::migrations::v1::ForceSetVersionToV1, + pallet_transaction_payment::migrations::v1::ForceSetVersionToV2, ), >; diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index ae950ca2e..c3525dd9f 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -167,6 +167,7 @@ pub type Executive = frame_executive::Executive< ( CustomOnRuntimeUpgrade, pallet_balances::migration::MigrateManyToTrackInactive, + pallet_transaction_payment::migrations::v1::ForceSetVersionToV2 ), >; /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the From aa3f7c833bc38373edf1887a9d8a94abb9b715f0 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 11 Jan 2024 16:08:50 -0300 Subject: [PATCH 19/89] rollback on version change, fix some spacewalk revision --- pallets/orml-tokens-management-extension/Cargo.toml | 2 +- runtime/amplitude/src/lib.rs | 2 +- runtime/integration-tests/Cargo.toml | 2 +- runtime/pendulum/src/lib.rs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pallets/orml-tokens-management-extension/Cargo.toml b/pallets/orml-tokens-management-extension/Cargo.toml index d10ee35b7..bd9bec48c 100644 --- a/pallets/orml-tokens-management-extension/Cargo.toml +++ b/pallets/orml-tokens-management-extension/Cargo.toml @@ -33,7 +33,7 @@ sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0. pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} [features] diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 13fbed577..c965bbb54 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -301,7 +301,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("amplitude"), impl_name: create_runtime_str!("amplitude"), authoring_version: 1, - spec_version: 15, + spec_version: 13, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 13, diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index a0b430135..a584f7e81 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -11,7 +11,7 @@ scale-info = { version = "2.1.2", features = ["derive"] } serde = { version = "1.0.144", features = ["derive"] } # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index c3525dd9f..9d8c47448 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -167,7 +167,7 @@ pub type Executive = frame_executive::Executive< ( CustomOnRuntimeUpgrade, pallet_balances::migration::MigrateManyToTrackInactive, - pallet_transaction_payment::migrations::v1::ForceSetVersionToV2 + pallet_transaction_payment::migrations::v1::ForceSetVersionToV2, ), >; /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the @@ -206,7 +206,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("pendulum"), impl_name: create_runtime_str!("pendulum"), authoring_version: 1, - spec_version: 11, + spec_version: 10, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 10, From 4152f43a6c0e217c7271f91640b51b73588c494b Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 11 Jan 2024 16:26:02 -0300 Subject: [PATCH 20/89] fix incorrect spacewalk revision, add variable writes for custom upgrade function --- Cargo.lock | 62 ++++++++++------------------ runtime/amplitude/src/lib.rs | 10 ++++- runtime/integration-tests/Cargo.toml | 2 +- runtime/pendulum/src/lib.rs | 8 +++- 4 files changed, 39 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fa773f608..5db3fdd97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,7 +280,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "staking", "stellar-relay", "substrate-wasm-builder", @@ -2155,7 +2155,7 @@ dependencies = [ "serde", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", ] [[package]] @@ -3010,7 +3010,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "staking", ] @@ -3246,7 +3246,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "staking", "stellar-relay", "substrate-wasm-builder", @@ -4370,7 +4370,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -5681,7 +5681,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-runtime", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", ] [[package]] @@ -5695,7 +5695,7 @@ dependencies = [ "serde", "sp-api", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", ] [[package]] @@ -6088,7 +6088,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "staking", "vault-registry", ] @@ -6261,7 +6261,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "spin 0.9.8", "staking", ] @@ -6435,7 +6435,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.1", + "spacewalk-primitives", ] [[package]] @@ -7981,7 +7981,7 @@ dependencies = [ "sp-session", "sp-timestamp", "sp-transaction-pool", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -8072,7 +8072,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "substrate-wasm-builder", "vesting-manager", "xcm", @@ -9456,7 +9456,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", ] [[package]] @@ -9926,7 +9926,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -10090,7 +10090,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -10121,7 +10121,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", ] [[package]] @@ -10149,7 +10149,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "staking", ] @@ -10378,7 +10378,7 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "xcm", "xcm-executor", "zenlink-protocol", @@ -10423,7 +10423,7 @@ dependencies = [ "sp-runtime", "sp-std", "sp-tracing", - "spacewalk-primitives 1.0.1", + "spacewalk-primitives", "statemine-runtime", "statemint-runtime", "xcm", @@ -12975,24 +12975,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "spacewalk-primitives" -version = "1.0.1" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b#3c7d6c7f66f74ea1ea0d14cbe993c1e69856170b" -dependencies = [ - "base58", - "bstringify", - "frame-support", - "hex", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-runtime", - "sp-std", - "substrate-stellar-sdk", -] - [[package]] name = "spacewalk-primitives" version = "1.0.3" @@ -13096,7 +13078,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", ] [[package]] @@ -13302,7 +13284,7 @@ dependencies = [ "sha2 0.10.7", "sp-core", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", ] [[package]] @@ -14313,7 +14295,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.3", + "spacewalk-primitives", "staking", ] diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index c965bbb54..a0032c0af 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -162,37 +162,45 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { log::info!("Custom on-runtime-upgrade function"); + let mut writes = 0; // WARNING: manually setting the storage version if Contracts::on_chain_storage_version() == 0 { log::info!("Upgrading pallet contract's storage version to 10"); StorageVersion::new(10).put::(); + writes += 1; } if Democracy::on_chain_storage_version() == 0 { log::info!("Upgrading pallet democracy's storage version to 1"); StorageVersion::new(1).put::(); + writes += 1; } if Scheduler::on_chain_storage_version() == 3 { log::info!("Upgrading pallet scheduler's storage version to 4"); StorageVersion::new(4).put::(); + writes += 1; } if Preimage::on_chain_storage_version() == 0 { log::info!("Upgrading pallet preimage's storage version to 1"); StorageVersion::new(1).put::(); + writes += 1; } if Multisig::on_chain_storage_version() == 0 { log::info!("Upgrading pallet multisig's storage version to 1"); StorageVersion::new(1).put::(); + writes += 1; } if PolkadotXcm::on_chain_storage_version() == 0 { log::info!("Upgrading pallet xcm's storage version to 1"); StorageVersion::new(1).put::(); + writes += 1; } if AssetRegistry::on_chain_storage_version() == 0 { log::info!("Upgrading pallet asset registry's storage version to 2"); StorageVersion::new(2).put::(); + writes += 1; } - ::DbWeight::get().reads_writes(8, 8) + ::DbWeight::get().reads_writes(8, writes) } } /// Executive: handles dispatch to the various modules. diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index a584f7e81..16ef79cc9 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -11,7 +11,7 @@ scale-info = { version = "2.1.2", features = ["derive"] } serde = { version = "1.0.144", features = ["derive"] } # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "59896f7df1c1daf0f91103323b4d7ba3f1e186fe"} frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index 9d8c47448..db8b2db4b 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -135,25 +135,31 @@ pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { log::info!("Custom on-runtime-upgrade function"); + + let mut writes = 0; // WARNING: manually setting the storage version if Contracts::on_chain_storage_version() == 0 { log::info!("Upgrading pallet contract's storage version to 10"); StorageVersion::new(10).put::(); + writes += 1; } if Scheduler::on_chain_storage_version() == 3 { log::info!("Upgrading pallet scheduler's storage version to 4"); StorageVersion::new(4).put::(); + writes += 1; } if PolkadotXcm::on_chain_storage_version() == 0 { log::info!("Upgrading pallet xcm's storage version to 1"); StorageVersion::new(1).put::(); + writes += 1; } if AssetRegistry::on_chain_storage_version() == 0 { log::info!("Upgrading pallet asset registry's storage version to 2"); StorageVersion::new(2).put::(); + writes += 1; } // not really a heavy operation - ::DbWeight::get().reads_writes(4, 4) + ::DbWeight::get().reads_writes(4, writes) } } From 6f3f9ac3cc65a031d6eb380207fd3fdab279fce5 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 11 Jan 2024 17:44:53 -0300 Subject: [PATCH 21/89] add foucoco storage version updates --- runtime/foucoco/src/lib.rs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 78945f422..ccc9d8cfd 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -160,6 +160,33 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic; +use crate::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch::GetStorageVersion; +use frame_support::pallet_prelude::StorageVersion; + +// Temporary struct that defines the executions to be done upon upgrade, +// Should be removed or at least checked on each upgrade to see if it is relevant, +// given that these are "one-time" executions for particular upgrades +pub struct CustomOnRuntimeUpgrade; +impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { + fn on_runtime_upgrade() -> frame_support::weights::Weight { + let mut writes = 0; + // WARNING: manually setting the storage version + if Contracts::on_chain_storage_version() == 9 { + log::info!("Upgrading pallet contract's storage version to 10"); + StorageVersion::new(10).put::(); + writes += 1; + } + + if AssetRegistry::on_chain_storage_version() == 0 { + log::info!("Upgrading pallet asset registry's storage version to 2"); + StorageVersion::new(2).put::(); + writes += 1; + } + + ::DbWeight::get().reads_writes(2, writes) + } +} + /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -167,6 +194,11 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, + ( + CustomOnRuntimeUpgrade, + pallet_vesting::migrations::v1::ForceSetVersionToV1, + pallet_transaction_payment::migrations::v1::ForceSetVersionToV2, + ), >; pub struct SpacewalkNativeCurrency; From 13f9321e924b2b8197b51548cd8264c47c71185f Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Thu, 11 Jan 2024 18:24:49 -0300 Subject: [PATCH 22/89] use right number of reads for amplitude custom on runtime upgrade --- runtime/amplitude/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index a0032c0af..120046bcc 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -200,7 +200,7 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { writes += 1; } - ::DbWeight::get().reads_writes(8, writes) + ::DbWeight::get().reads_writes(7, writes) } } /// Executive: handles dispatch to the various modules. From b1ad3f1eb823dccf75d82c481a213aca57ecc1d4 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 00:45:10 +0200 Subject: [PATCH 23/89] WIP --- Cargo.lock | 29 ++ Cargo.toml | 1 + pallets/treasury-buyout-extension/Cargo.toml | 68 ++++ .../src/benchmarking.rs | 0 .../src/default_weights.rs | 0 pallets/treasury-buyout-extension/src/lib.rs | 380 ++++++++++++++++++ pallets/treasury-buyout-extension/src/mock.rs | 0 .../treasury-buyout-extension/src/tests.rs | 0 .../treasury-buyout-extension/src/types.rs | 16 + 9 files changed, 494 insertions(+) create mode 100644 pallets/treasury-buyout-extension/Cargo.toml create mode 100644 pallets/treasury-buyout-extension/src/benchmarking.rs create mode 100644 pallets/treasury-buyout-extension/src/default_weights.rs create mode 100644 pallets/treasury-buyout-extension/src/lib.rs create mode 100644 pallets/treasury-buyout-extension/src/mock.rs create mode 100644 pallets/treasury-buyout-extension/src/tests.rs create mode 100644 pallets/treasury-buyout-extension/src/types.rs diff --git a/Cargo.lock b/Cargo.lock index eba0e2641..59a0f913c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13657,6 +13657,35 @@ dependencies = [ "tracing-serde", ] +[[package]] +name = "treasury-buyout-extension" +version = "1.0.0" +dependencies = [ + "dia-oracle", + "dia-oracle-runtime-api", + "frame-benchmarking", + "frame-support", + "frame-system", + "mocktopus", + "oracle", + "orml-asset-registry", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-treasury", + "parity-scale-codec", + "scale-info", + "serde", + "sha2 0.8.2", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36)", +] + [[package]] name = "trie-db" version = "0.27.1" diff --git a/Cargo.toml b/Cargo.toml index 5900a4897..b8bf0bac1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ members = [ "pallets/vesting-manager", "pallets/orml-currencies-allowance-extension", "pallets/orml-tokens-management-extension", + "pallets/treasury-buyout-extension", "runtime/common", "runtime/amplitude", "runtime/foucoco", diff --git a/pallets/treasury-buyout-extension/Cargo.toml b/pallets/treasury-buyout-extension/Cargo.toml new file mode 100644 index 000000000..0e3280a45 --- /dev/null +++ b/pallets/treasury-buyout-extension/Cargo.toml @@ -0,0 +1,68 @@ +[package] +authors = ["Pendulum Chain"] +edition = "2021" +name = "treasury-buyout-extension" +version = "1.0.0" + +[dependencies] +codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive", "max-encoded-len"]} +scale-info = {version = "2.2.0", default-features = false, features = ["derive"]} +serde = {version = "1.0.130", default-features = false, features = ["derive"], optional = true} +sha2 = {version = "0.8.2", default-features = false} + +# Substrate dependencies +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-arithmetic = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-treasury = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40"} + +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } + +orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } + +dia-oracle = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40"} +dia-oracle-runtime-api = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40"} +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } + + +[dev-dependencies] +mocktopus = "0.8.0" +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} + +pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} + +# Spacewalk libraries +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "d05b0015d15ca39cc780889bcc095335e9862a36"} + + +[features] +default = ["std"] +std = [ + "serde", + "codec/std", + "sha2/std", + "sp-core/std", + "sp-std/std", + "sp-arithmetic/std", + "sp-runtime/std", + "frame-support/std", + "frame-system/std", + "orml-currencies/std", + "orml-tokens/std", + "orml-traits/std", + "frame-benchmarking/std", + "spacewalk-primitives/std" +] + +runtime-benchmarks = [ + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", +] diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs new file mode 100644 index 000000000..e69de29bb diff --git a/pallets/treasury-buyout-extension/src/default_weights.rs b/pallets/treasury-buyout-extension/src/default_weights.rs new file mode 100644 index 000000000..e69de29bb diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs new file mode 100644 index 000000000..eaebce55c --- /dev/null +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -0,0 +1,380 @@ +#![deny(warnings)] +#![cfg_attr(not(feature = "std"), no_std)] + +#[cfg(feature = "runtime-benchmarks")] +mod benchmarking; + +#[cfg(test)] +mod mock; + +pub mod default_weights; + +#[cfg(test)] +mod tests; + +mod types; + +pub use pallet::*; +use crate::types::{Amount, BUYOUT_LIMIT_PERIOD_IN_SEC}; +use orml_traits::MultiCurrency; + +#[allow(type_alias_bounds)] +pub type AccountIdOf = ::AccountId; + +#[allow(type_alias_bounds)] +pub(crate) type CurrencyIdOf = <::MultiCurrency as MultiCurrency< + ::AccountId, +>>::CurrencyId; + +#[allow(type_alias_bounds)] +type BalanceOf = + <::Currency as MultiCurrency>>::Balance; + +#[frame_support::pallet] +pub mod pallet { + use super::*; + use frame_support::{pallet_prelude::*, traits::UnixTime, sp_runtime::{traits::Zero, FixedU128, ArithmeticError, Permill, PerThing}}; + use sp_arithmetic::per_things::Rounding; + use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, WeightInfo}; + use oracle::OracleKey; + + #[pallet::config] + pub trait Config: frame_system::Config + orml_currencies::Config + oracle::Config { + + type RuntimeEvent: From> + IsType<::RuntimeEvent>; + + type Currency: MultiCurrency, CurrencyId = CurrencyIdOf>; + + #[pallet::constant] + type TreasuryAccount: Get; + + type UnixTime: UnixTime; + + #[pallet::constant] + type SellFee: Get; + + // might be needed? + //type AssetRegistry: Inspect; + + #[pallet::constant] + type MinAmountToBuyout: Get>; + + type WeightInfo: WeightInfo; + + //Going to get rid of this + type MyUnsignedFixedPoint: PerThing + From + Into; + + } + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::call] + impl Pallet { + + #[pallet::call_index(0)] + //TODO add weight + //#[pallet::weight((T::WeightInfo::buyout(), Pays::No))] + #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] + pub fn buyout( + origin: OriginFor, + asset: CurrencyIdOf, + amount: Amount>, + ) -> DispatchResultWithPostInfo { + let who = ensure_signed(origin)?; + Self::do_buyout(who, asset, amount)?; + Ok(().into()) + } + + #[pallet::call_index(1)] + //TODO add weight + // #[pallet::weight(T::WeightInfo::update_buyout_limit())] + #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] + pub fn update_buyout_limit( + origin: OriginFor, + limit: Option>, + ) -> DispatchResultWithPostInfo { + ensure_root(origin)?; + match limit { + Some(limit) => BuyoutLimit::::put(limit), + None => BuyoutLimit::::kill(), + } + + Ok(().into()) + } + } + + #[pallet::error] + pub enum Error { + /// Attempt to exchange native token to native token + WrongAssetToBuyout, + /// Daily buyout limit exceeded + BuyoutLimitExceeded, + /// One of transacted currencies is missing price information + /// or the price is outdated + NoPrice, + /// The treasury balance is too low for an operation + InsufficientTreasuryBalance, + /// The account balance is too low for an operation + InsufficientAccountBalance, + } + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + /// Buyout event + Buyout { + who: AccountIdOf, + buyout_amount: BalanceOf, + asset: CurrencyIdOf, + exchange_amount: BalanceOf, + }, + } + + /// Stores limit amount user could by for a period. + /// When `None` - buyouts not limited + #[pallet::storage] + pub type BuyoutLimit = StorageValue<_, BalanceOf, OptionQuery>; + + /// Stores amount of buyouts (amount, timestamp of last buyout) + #[pallet::storage] + pub type Buyouts = + StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u64), ValueQuery>; + + impl Pallet { + + fn ensure_buyout_limit_not_exceeded( + account_id: &AccountIdOf, + buyout_amount: BalanceOf, + ) -> DispatchResult { + if let Some(buyout_limit) = BuyoutLimit::::get() { + let now = T::UnixTime::now().as_secs(); + let current_period = (now / BUYOUT_LIMIT_PERIOD_IN_SEC) * BUYOUT_LIMIT_PERIOD_IN_SEC; + let (mut buyouts, last_buyout) = Buyouts::::get(account_id); + + if !buyouts.is_zero() && last_buyout < current_period { + buyouts = Default::default(); + Buyouts::::insert(account_id, (buyouts, now)); + }; + + ensure!( + buyouts + buyout_amount <= buyout_limit, + Error::::BuyoutLimitExceeded + ); + } + + Ok(()) + } + + fn ensure_not_native_buyout(asset: &CurrencyIdOf) -> DispatchResult { + ensure!( + asset != &::GetNativeCurrencyId::get(), + Error::::WrongAssetToBuyout + ); + + Ok(()) + } + + fn update_buyouts(account_id: &AccountIdOf, buyout_amount: BalanceOf) { + if BuyoutLimit::::get().is_some() { + Buyouts::::mutate(account_id, |(prev_buyouts, last)| { + *prev_buyouts = *prev_buyouts + buyout_amount; + *last = T::UnixTime::now().as_secs(); + }); + } + } + + fn calc_amount_to_exchange( + asset: CurrencyIdOf, + buyout_amount:BalanceOf, + ) -> Result, DispatchError> { + let basic_asset = ::GetNativeCurrencyId::get(); + //TODO + // eq_ensure!( + // asset != basic_asset, + // Error::::WrongAssetToBuyout, + // "{}:{}. Exchange same assets forbidden", + // file!(), + // line!(), + // ); + + let basic_asset_price_with_fee = { + let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); + basic_asset_price * (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + T::MyUnsignedFixedPoint::one()) + }; + let exchange_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); + + let exchange_amount = Self::multiply_by_rational( + buyout_amount.into(), + basic_asset_price_with_fee.into_inner(), + exchange_asset_price.into_inner(), + ) + .map(|n| n.try_into().ok()) + .flatten() + .ok_or(ArithmeticError::Overflow.into()); + + exchange_amount + } + + fn calc_buyout_amount( + asset: CurrencyIdOf, + exchange_amount: BalanceOf, + ) -> Result, DispatchError> { + let basic_asset = ::GetNativeCurrencyId::get(); + //TODO + // eq_ensure!( + // asset != basic_asset, + // Error::::WrongAssetToBuyout, + // "{}:{}. Exchange same assets forbidden", + // file!(), + // line!(), + // ); + + let basic_asset_price_with_fee = { + let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); + (basic_asset_price * (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + T::MyUnsignedFixedPoint::one())) + .into_inner() + }; + let exchange_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); + + let buyout_amount = Self::multiply_by_rational( + exchange_amount.into(), + exchange_asset_price, + basic_asset_price_with_fee, + ) + .map(|b| b.try_into().ok()) + .flatten() + .ok_or(ArithmeticError::Overflow.into()); + + buyout_amount + } + + fn split_to_buyout_and_exchange( + asset: CurrencyIdOf, + amount: Amount>, + ) -> Result<(BalanceOf, BalanceOf), DispatchError> { + match amount { + Amount::Buyout(buyout_amount) => { + let exchange_amount = Self::calc_amount_to_exchange(asset, buyout_amount)?; + Ok((buyout_amount, exchange_amount)) + } + Amount::Exchange(exchange_amount) => { + let buyout_amount = Self::calc_buyout_amount(asset, exchange_amount)?; + Ok((buyout_amount, exchange_amount)) + } + } + } + + fn do_buyout(who: AccountIdOf, asset: CurrencyIdOf, amount: Amount>) -> DispatchResult { + Self::ensure_not_native_buyout(&asset)?; + let basic_asset = ::GetNativeCurrencyId::get(); + let (buyout_amount, exchange_amount) = Self::split_to_buyout_and_exchange(asset, amount)?; + Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; + let treasury_account_id = T::TreasuryAccount::get(); + + Self::exchange( + (&who, &treasury_account_id), + (&asset, &basic_asset), + (exchange_amount, buyout_amount), + ) + .map_err(|(error, maybe_acc)| match maybe_acc { + Some(acc) => { + if acc == treasury_account_id { + Error::::InsufficientTreasuryBalance.into() + } else if acc == who { + Error::::InsufficientAccountBalance.into() + } else { + error + } + } + _ => error, + })?; + + Self::update_buyouts(&who, buyout_amount); + Self::deposit_event(Event::::Buyout { + who, + buyout_amount, + asset, + exchange_amount, + }); + + Ok(()) + } + + fn multiply_by_rational( + a: impl Into, + b: impl Into, + c: impl Into, + ) -> Option { + // return a * b / c + sp_runtime::helpers_128bit::multiply_by_rational_with_rounding( + a.into(), + b.into(), + c.into(), + Rounding::NearestPrefDown, + ) + } + + //Not sure if this is going to be like this + fn exchange( + accounts: (&AccountIdOf, &AccountIdOf), + assets: (&CurrencyIdOf, &CurrencyIdOf), + values: (BalanceOf, BalanceOf), + ) -> Result<(), (DispatchError, Option)> { + if assets.0 == assets.1 { + frame_support::log::error!( + "{}:{}. Exchange same assets. Who: {:?}, amounts: {:?}, asset {:?}.", + file!(), + line!(), + accounts, + values, + format!("{:?}", assets.0) + ); + return Err((Error::::WrongAssetToBuyout.into(), None)); + } + + if values.0.is_zero() && values.1.is_zero() || accounts.0 == accounts.1 { + return Ok(()); + } + + //TODO use this to return in case of error and event + let mut err_acc: Option = None; + + + // Return early if both values are zero or accounts are the same + if (values.0.is_zero() && values.1.is_zero()) || accounts.0 == accounts.1 { + return Ok(()); + } + + // Transfer from user to treasury for the first asset + if values.0 > Zero::zero() { + let user_balance = T::Currency::free_balance(*assets.0, accounts.0); + ensure!(user_balance >= values.0, Error::::InsufficientAccountBalance); + T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0)?; + } + + // Update the treasury balance after the first transfer + let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); + + // Transfer from treasury to user for the second asset + if values.1 > Zero::zero() { + ensure!(treasury_balance >= values.1, Error::::InsufficientTreasuryBalance); + T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1)?; + } + + // TODO Deposit an event for the exchange + // Self::deposit_event(Event::Exchange( + // accounts.0.clone(), + // assets.0, + // values.0, + // accounts.1.clone(), + // assets.1, + // values.1, + // )); + + Ok(()) + } +} + +} + diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs new file mode 100644 index 000000000..e69de29bb diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs new file mode 100644 index 000000000..e69de29bb diff --git a/pallets/treasury-buyout-extension/src/types.rs b/pallets/treasury-buyout-extension/src/types.rs new file mode 100644 index 000000000..0cecca03d --- /dev/null +++ b/pallets/treasury-buyout-extension/src/types.rs @@ -0,0 +1,16 @@ +use codec::{Encode, Decode, MaxEncodedLen}; +// use orml_traits::MultiCurrency; +use scale_info::TypeInfo; + +/// Type of amount +#[derive( + Copy, Clone, Debug, Encode, Decode, PartialEq, Eq, TypeInfo, MaxEncodedLen, +)] +pub(crate) enum Amount { + /// Amount of native asset user get for buyout + Buyout(Balance), + /// Amount of exchange asset user give for buyout + Exchange(Balance), +} + +pub(crate) const BUYOUT_LIMIT_PERIOD_IN_SEC: u64 = 86400; // 1 day \ No newline at end of file From dd83e1b405b6a9b0a7311034f5267d2bf3d2c0a6 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 00:49:49 +0200 Subject: [PATCH 24/89] Fmt --- .../src/benchmarking.rs | 1 + .../src/default_weights.rs | 1 + pallets/treasury-buyout-extension/src/lib.rs | 678 +++++++++--------- pallets/treasury-buyout-extension/src/mock.rs | 1 + .../treasury-buyout-extension/src/tests.rs | 1 + .../treasury-buyout-extension/src/types.rs | 16 +- 6 files changed, 351 insertions(+), 347 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index e69de29bb..8b1378917 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -0,0 +1 @@ + diff --git a/pallets/treasury-buyout-extension/src/default_weights.rs b/pallets/treasury-buyout-extension/src/default_weights.rs index e69de29bb..8b1378917 100644 --- a/pallets/treasury-buyout-extension/src/default_weights.rs +++ b/pallets/treasury-buyout-extension/src/default_weights.rs @@ -0,0 +1 @@ + diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index eaebce55c..564bed80e 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -14,367 +14,369 @@ mod tests; mod types; -pub use pallet::*; use crate::types::{Amount, BUYOUT_LIMIT_PERIOD_IN_SEC}; use orml_traits::MultiCurrency; +pub use pallet::*; #[allow(type_alias_bounds)] pub type AccountIdOf = ::AccountId; #[allow(type_alias_bounds)] -pub(crate) type CurrencyIdOf = <::MultiCurrency as MultiCurrency< - ::AccountId, ->>::CurrencyId; +pub(crate) type CurrencyIdOf = + <::MultiCurrency as MultiCurrency< + ::AccountId, + >>::CurrencyId; #[allow(type_alias_bounds)] -type BalanceOf = - <::Currency as MultiCurrency>>::Balance; +type BalanceOf = <::Currency as MultiCurrency>>::Balance; #[frame_support::pallet] pub mod pallet { - use super::*; - use frame_support::{pallet_prelude::*, traits::UnixTime, sp_runtime::{traits::Zero, FixedU128, ArithmeticError, Permill, PerThing}}; - use sp_arithmetic::per_things::Rounding; - use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, WeightInfo}; - use oracle::OracleKey; - - #[pallet::config] - pub trait Config: frame_system::Config + orml_currencies::Config + oracle::Config { - - type RuntimeEvent: From> + IsType<::RuntimeEvent>; + use super::*; + use frame_support::{ + pallet_prelude::*, + sp_runtime::{traits::Zero, ArithmeticError, FixedU128, PerThing, Permill}, + traits::UnixTime, + }; + use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, WeightInfo}; + use oracle::OracleKey; + use sp_arithmetic::per_things::Rounding; + + #[pallet::config] + pub trait Config: frame_system::Config + orml_currencies::Config + oracle::Config { + type RuntimeEvent: From> + IsType<::RuntimeEvent>; type Currency: MultiCurrency, CurrencyId = CurrencyIdOf>; - #[pallet::constant] + #[pallet::constant] type TreasuryAccount: Get; - type UnixTime: UnixTime; + type UnixTime: UnixTime; - #[pallet::constant] - type SellFee: Get; + #[pallet::constant] + type SellFee: Get; - // might be needed? - //type AssetRegistry: Inspect; + // might be needed? + //type AssetRegistry: Inspect; - #[pallet::constant] - type MinAmountToBuyout: Get>; + #[pallet::constant] + type MinAmountToBuyout: Get>; - type WeightInfo: WeightInfo; + type WeightInfo: WeightInfo; - //Going to get rid of this - type MyUnsignedFixedPoint: PerThing + From + Into; + //Going to get rid of this + type MyUnsignedFixedPoint: PerThing + From + Into; + } - } - - #[pallet::pallet] + #[pallet::pallet] pub struct Pallet(_); - #[pallet::call] - impl Pallet { - - #[pallet::call_index(0)] - //TODO add weight - //#[pallet::weight((T::WeightInfo::buyout(), Pays::No))] - #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] - pub fn buyout( - origin: OriginFor, - asset: CurrencyIdOf, - amount: Amount>, - ) -> DispatchResultWithPostInfo { - let who = ensure_signed(origin)?; - Self::do_buyout(who, asset, amount)?; - Ok(().into()) - } - - #[pallet::call_index(1)] - //TODO add weight - // #[pallet::weight(T::WeightInfo::update_buyout_limit())] - #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] - pub fn update_buyout_limit( - origin: OriginFor, - limit: Option>, - ) -> DispatchResultWithPostInfo { - ensure_root(origin)?; - match limit { - Some(limit) => BuyoutLimit::::put(limit), - None => BuyoutLimit::::kill(), - } - - Ok(().into()) - } - } - - #[pallet::error] - pub enum Error { - /// Attempt to exchange native token to native token - WrongAssetToBuyout, - /// Daily buyout limit exceeded - BuyoutLimitExceeded, - /// One of transacted currencies is missing price information - /// or the price is outdated - NoPrice, - /// The treasury balance is too low for an operation - InsufficientTreasuryBalance, - /// The account balance is too low for an operation - InsufficientAccountBalance, - } - - #[pallet::event] - #[pallet::generate_deposit(pub(super) fn deposit_event)] - pub enum Event { - /// Buyout event - Buyout { - who: AccountIdOf, - buyout_amount: BalanceOf, - asset: CurrencyIdOf, - exchange_amount: BalanceOf, - }, - } - - /// Stores limit amount user could by for a period. - /// When `None` - buyouts not limited - #[pallet::storage] - pub type BuyoutLimit = StorageValue<_, BalanceOf, OptionQuery>; - - /// Stores amount of buyouts (amount, timestamp of last buyout) - #[pallet::storage] - pub type Buyouts = - StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u64), ValueQuery>; - - impl Pallet { - - fn ensure_buyout_limit_not_exceeded( - account_id: &AccountIdOf, - buyout_amount: BalanceOf, - ) -> DispatchResult { - if let Some(buyout_limit) = BuyoutLimit::::get() { - let now = T::UnixTime::now().as_secs(); - let current_period = (now / BUYOUT_LIMIT_PERIOD_IN_SEC) * BUYOUT_LIMIT_PERIOD_IN_SEC; - let (mut buyouts, last_buyout) = Buyouts::::get(account_id); - - if !buyouts.is_zero() && last_buyout < current_period { - buyouts = Default::default(); - Buyouts::::insert(account_id, (buyouts, now)); - }; - - ensure!( - buyouts + buyout_amount <= buyout_limit, - Error::::BuyoutLimitExceeded - ); - } - - Ok(()) - } - - fn ensure_not_native_buyout(asset: &CurrencyIdOf) -> DispatchResult { - ensure!( - asset != &::GetNativeCurrencyId::get(), - Error::::WrongAssetToBuyout - ); - - Ok(()) - } - - fn update_buyouts(account_id: &AccountIdOf, buyout_amount: BalanceOf) { - if BuyoutLimit::::get().is_some() { - Buyouts::::mutate(account_id, |(prev_buyouts, last)| { - *prev_buyouts = *prev_buyouts + buyout_amount; - *last = T::UnixTime::now().as_secs(); - }); - } - } - - fn calc_amount_to_exchange( - asset: CurrencyIdOf, - buyout_amount:BalanceOf, - ) -> Result, DispatchError> { - let basic_asset = ::GetNativeCurrencyId::get(); - //TODO - // eq_ensure!( - // asset != basic_asset, - // Error::::WrongAssetToBuyout, - // "{}:{}. Exchange same assets forbidden", - // file!(), - // line!(), - // ); - - let basic_asset_price_with_fee = { - let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); - basic_asset_price * (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + T::MyUnsignedFixedPoint::one()) - }; - let exchange_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); - - let exchange_amount = Self::multiply_by_rational( - buyout_amount.into(), - basic_asset_price_with_fee.into_inner(), - exchange_asset_price.into_inner(), - ) - .map(|n| n.try_into().ok()) - .flatten() - .ok_or(ArithmeticError::Overflow.into()); - - exchange_amount - } - - fn calc_buyout_amount( - asset: CurrencyIdOf, - exchange_amount: BalanceOf, - ) -> Result, DispatchError> { - let basic_asset = ::GetNativeCurrencyId::get(); - //TODO - // eq_ensure!( - // asset != basic_asset, - // Error::::WrongAssetToBuyout, - // "{}:{}. Exchange same assets forbidden", - // file!(), - // line!(), - // ); - - let basic_asset_price_with_fee = { - let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); - (basic_asset_price * (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + T::MyUnsignedFixedPoint::one())) - .into_inner() - }; - let exchange_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); - - let buyout_amount = Self::multiply_by_rational( - exchange_amount.into(), - exchange_asset_price, - basic_asset_price_with_fee, - ) - .map(|b| b.try_into().ok()) - .flatten() - .ok_or(ArithmeticError::Overflow.into()); - - buyout_amount - } - - fn split_to_buyout_and_exchange( - asset: CurrencyIdOf, - amount: Amount>, - ) -> Result<(BalanceOf, BalanceOf), DispatchError> { - match amount { - Amount::Buyout(buyout_amount) => { - let exchange_amount = Self::calc_amount_to_exchange(asset, buyout_amount)?; - Ok((buyout_amount, exchange_amount)) - } - Amount::Exchange(exchange_amount) => { - let buyout_amount = Self::calc_buyout_amount(asset, exchange_amount)?; - Ok((buyout_amount, exchange_amount)) - } - } - } - - fn do_buyout(who: AccountIdOf, asset: CurrencyIdOf, amount: Amount>) -> DispatchResult { - Self::ensure_not_native_buyout(&asset)?; - let basic_asset = ::GetNativeCurrencyId::get(); - let (buyout_amount, exchange_amount) = Self::split_to_buyout_and_exchange(asset, amount)?; - Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; - let treasury_account_id = T::TreasuryAccount::get(); - - Self::exchange( - (&who, &treasury_account_id), - (&asset, &basic_asset), - (exchange_amount, buyout_amount), - ) - .map_err(|(error, maybe_acc)| match maybe_acc { - Some(acc) => { - if acc == treasury_account_id { - Error::::InsufficientTreasuryBalance.into() - } else if acc == who { - Error::::InsufficientAccountBalance.into() - } else { - error - } - } - _ => error, - })?; - - Self::update_buyouts(&who, buyout_amount); - Self::deposit_event(Event::::Buyout { - who, - buyout_amount, - asset, - exchange_amount, - }); - - Ok(()) - } - - fn multiply_by_rational( - a: impl Into, - b: impl Into, - c: impl Into, - ) -> Option { - // return a * b / c - sp_runtime::helpers_128bit::multiply_by_rational_with_rounding( - a.into(), - b.into(), - c.into(), - Rounding::NearestPrefDown, - ) - } - - //Not sure if this is going to be like this - fn exchange( - accounts: (&AccountIdOf, &AccountIdOf), - assets: (&CurrencyIdOf, &CurrencyIdOf), - values: (BalanceOf, BalanceOf), - ) -> Result<(), (DispatchError, Option)> { - if assets.0 == assets.1 { - frame_support::log::error!( - "{}:{}. Exchange same assets. Who: {:?}, amounts: {:?}, asset {:?}.", - file!(), - line!(), - accounts, - values, - format!("{:?}", assets.0) - ); - return Err((Error::::WrongAssetToBuyout.into(), None)); - } - - if values.0.is_zero() && values.1.is_zero() || accounts.0 == accounts.1 { - return Ok(()); - } - - //TODO use this to return in case of error and event - let mut err_acc: Option = None; - - - // Return early if both values are zero or accounts are the same - if (values.0.is_zero() && values.1.is_zero()) || accounts.0 == accounts.1 { - return Ok(()); - } - - // Transfer from user to treasury for the first asset - if values.0 > Zero::zero() { - let user_balance = T::Currency::free_balance(*assets.0, accounts.0); - ensure!(user_balance >= values.0, Error::::InsufficientAccountBalance); - T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0)?; - } - - // Update the treasury balance after the first transfer - let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); - - // Transfer from treasury to user for the second asset - if values.1 > Zero::zero() { - ensure!(treasury_balance >= values.1, Error::::InsufficientTreasuryBalance); - T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1)?; - } - - // TODO Deposit an event for the exchange - // Self::deposit_event(Event::Exchange( - // accounts.0.clone(), - // assets.0, - // values.0, - // accounts.1.clone(), - // assets.1, - // values.1, - // )); - - Ok(()) - } -} - + #[pallet::call] + impl Pallet { + #[pallet::call_index(0)] + //TODO add weight + //#[pallet::weight((T::WeightInfo::buyout(), Pays::No))] + #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] + pub fn buyout( + origin: OriginFor, + asset: CurrencyIdOf, + amount: Amount>, + ) -> DispatchResultWithPostInfo { + let who = ensure_signed(origin)?; + Self::do_buyout(who, asset, amount)?; + Ok(().into()) + } + + #[pallet::call_index(1)] + //TODO add weight + // #[pallet::weight(T::WeightInfo::update_buyout_limit())] + #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] + pub fn update_buyout_limit( + origin: OriginFor, + limit: Option>, + ) -> DispatchResultWithPostInfo { + ensure_root(origin)?; + match limit { + Some(limit) => BuyoutLimit::::put(limit), + None => BuyoutLimit::::kill(), + } + + Ok(().into()) + } + } + + #[pallet::error] + pub enum Error { + /// Attempt to exchange native token to native token + WrongAssetToBuyout, + /// Daily buyout limit exceeded + BuyoutLimitExceeded, + /// One of transacted currencies is missing price information + /// or the price is outdated + NoPrice, + /// The treasury balance is too low for an operation + InsufficientTreasuryBalance, + /// The account balance is too low for an operation + InsufficientAccountBalance, + } + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + /// Buyout event + Buyout { + who: AccountIdOf, + buyout_amount: BalanceOf, + asset: CurrencyIdOf, + exchange_amount: BalanceOf, + }, + } + + /// Stores limit amount user could by for a period. + /// When `None` - buyouts not limited + #[pallet::storage] + pub type BuyoutLimit = StorageValue<_, BalanceOf, OptionQuery>; + + /// Stores amount of buyouts (amount, timestamp of last buyout) + #[pallet::storage] + pub type Buyouts = + StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u64), ValueQuery>; + + impl Pallet { + fn ensure_buyout_limit_not_exceeded( + account_id: &AccountIdOf, + buyout_amount: BalanceOf, + ) -> DispatchResult { + if let Some(buyout_limit) = BuyoutLimit::::get() { + let now = T::UnixTime::now().as_secs(); + let current_period = + (now / BUYOUT_LIMIT_PERIOD_IN_SEC) * BUYOUT_LIMIT_PERIOD_IN_SEC; + let (mut buyouts, last_buyout) = Buyouts::::get(account_id); + + if !buyouts.is_zero() && last_buyout < current_period { + buyouts = Default::default(); + Buyouts::::insert(account_id, (buyouts, now)); + }; + + ensure!(buyouts + buyout_amount <= buyout_limit, Error::::BuyoutLimitExceeded); + } + + Ok(()) + } + + fn ensure_not_native_buyout(asset: &CurrencyIdOf) -> DispatchResult { + ensure!( + asset != &::GetNativeCurrencyId::get(), + Error::::WrongAssetToBuyout + ); + + Ok(()) + } + + fn update_buyouts(account_id: &AccountIdOf, buyout_amount: BalanceOf) { + if BuyoutLimit::::get().is_some() { + Buyouts::::mutate(account_id, |(prev_buyouts, last)| { + *prev_buyouts = *prev_buyouts + buyout_amount; + *last = T::UnixTime::now().as_secs(); + }); + } + } + + fn calc_amount_to_exchange( + asset: CurrencyIdOf, + buyout_amount: BalanceOf, + ) -> Result, DispatchError> { + let basic_asset = ::GetNativeCurrencyId::get(); + //TODO + // eq_ensure!( + // asset != basic_asset, + // Error::::WrongAssetToBuyout, + // "{}:{}. Exchange same assets forbidden", + // file!(), + // line!(), + // ); + + let basic_asset_price_with_fee = { + let basic_asset_price = + oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); + basic_asset_price * + (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + + T::MyUnsignedFixedPoint::one()) + }; + let exchange_asset_price = + oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); + + let exchange_amount = Self::multiply_by_rational( + buyout_amount.into(), + basic_asset_price_with_fee.into_inner(), + exchange_asset_price.into_inner(), + ) + .map(|n| n.try_into().ok()) + .flatten() + .ok_or(ArithmeticError::Overflow.into()); + + exchange_amount + } + + fn calc_buyout_amount( + asset: CurrencyIdOf, + exchange_amount: BalanceOf, + ) -> Result, DispatchError> { + let basic_asset = ::GetNativeCurrencyId::get(); + //TODO + // eq_ensure!( + // asset != basic_asset, + // Error::::WrongAssetToBuyout, + // "{}:{}. Exchange same assets forbidden", + // file!(), + // line!(), + // ); + + let basic_asset_price_with_fee = { + let basic_asset_price = + oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); + (basic_asset_price * + (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + + T::MyUnsignedFixedPoint::one())) + .into_inner() + }; + let exchange_asset_price = + oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); + + let buyout_amount = Self::multiply_by_rational( + exchange_amount.into(), + exchange_asset_price, + basic_asset_price_with_fee, + ) + .map(|b| b.try_into().ok()) + .flatten() + .ok_or(ArithmeticError::Overflow.into()); + + buyout_amount + } + + fn split_to_buyout_and_exchange( + asset: CurrencyIdOf, + amount: Amount>, + ) -> Result<(BalanceOf, BalanceOf), DispatchError> { + match amount { + Amount::Buyout(buyout_amount) => { + let exchange_amount = Self::calc_amount_to_exchange(asset, buyout_amount)?; + Ok((buyout_amount, exchange_amount)) + }, + Amount::Exchange(exchange_amount) => { + let buyout_amount = Self::calc_buyout_amount(asset, exchange_amount)?; + Ok((buyout_amount, exchange_amount)) + }, + } + } + + fn do_buyout( + who: AccountIdOf, + asset: CurrencyIdOf, + amount: Amount>, + ) -> DispatchResult { + Self::ensure_not_native_buyout(&asset)?; + let basic_asset = ::GetNativeCurrencyId::get(); + let (buyout_amount, exchange_amount) = + Self::split_to_buyout_and_exchange(asset, amount)?; + Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; + let treasury_account_id = T::TreasuryAccount::get(); + + Self::exchange( + (&who, &treasury_account_id), + (&asset, &basic_asset), + (exchange_amount, buyout_amount), + ) + .map_err(|(error, maybe_acc)| match maybe_acc { + Some(acc) => + if acc == treasury_account_id { + Error::::InsufficientTreasuryBalance.into() + } else if acc == who { + Error::::InsufficientAccountBalance.into() + } else { + error + }, + _ => error, + })?; + + Self::update_buyouts(&who, buyout_amount); + Self::deposit_event(Event::::Buyout { who, buyout_amount, asset, exchange_amount }); + + Ok(()) + } + + fn multiply_by_rational( + a: impl Into, + b: impl Into, + c: impl Into, + ) -> Option { + // return a * b / c + sp_runtime::helpers_128bit::multiply_by_rational_with_rounding( + a.into(), + b.into(), + c.into(), + Rounding::NearestPrefDown, + ) + } + + //Not sure if this is going to be like this + fn exchange( + accounts: (&AccountIdOf, &AccountIdOf), + assets: (&CurrencyIdOf, &CurrencyIdOf), + values: (BalanceOf, BalanceOf), + ) -> Result<(), (DispatchError, Option)> { + if assets.0 == assets.1 { + frame_support::log::error!( + "{}:{}. Exchange same assets. Who: {:?}, amounts: {:?}, asset {:?}.", + file!(), + line!(), + accounts, + values, + format!("{:?}", assets.0) + ); + return Err((Error::::WrongAssetToBuyout.into(), None)) + } + + if values.0.is_zero() && values.1.is_zero() || accounts.0 == accounts.1 { + return Ok(()) + } + + //TODO use this to return in case of error and event + let mut err_acc: Option = None; + + // Return early if both values are zero or accounts are the same + if (values.0.is_zero() && values.1.is_zero()) || accounts.0 == accounts.1 { + return Ok(()) + } + + // Transfer from user to treasury for the first asset + if values.0 > Zero::zero() { + let user_balance = T::Currency::free_balance(*assets.0, accounts.0); + ensure!(user_balance >= values.0, Error::::InsufficientAccountBalance); + T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0)?; + } + + // Update the treasury balance after the first transfer + let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); + + // Transfer from treasury to user for the second asset + if values.1 > Zero::zero() { + ensure!(treasury_balance >= values.1, Error::::InsufficientTreasuryBalance); + T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1)?; + } + + // TODO Deposit an event for the exchange + // Self::deposit_event(Event::Exchange( + // accounts.0.clone(), + // assets.0, + // values.0, + // accounts.1.clone(), + // assets.1, + // values.1, + // )); + + Ok(()) + } + } } - diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index e69de29bb..8b1378917 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -0,0 +1 @@ + diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index e69de29bb..8b1378917 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -0,0 +1 @@ + diff --git a/pallets/treasury-buyout-extension/src/types.rs b/pallets/treasury-buyout-extension/src/types.rs index 0cecca03d..53200c894 100644 --- a/pallets/treasury-buyout-extension/src/types.rs +++ b/pallets/treasury-buyout-extension/src/types.rs @@ -1,16 +1,14 @@ -use codec::{Encode, Decode, MaxEncodedLen}; +use codec::{Decode, Encode, MaxEncodedLen}; // use orml_traits::MultiCurrency; use scale_info::TypeInfo; /// Type of amount -#[derive( - Copy, Clone, Debug, Encode, Decode, PartialEq, Eq, TypeInfo, MaxEncodedLen, -)] +#[derive(Copy, Clone, Debug, Encode, Decode, PartialEq, Eq, TypeInfo, MaxEncodedLen)] pub(crate) enum Amount { - /// Amount of native asset user get for buyout - Buyout(Balance), - /// Amount of exchange asset user give for buyout - Exchange(Balance), + /// Amount of native asset user get for buyout + Buyout(Balance), + /// Amount of exchange asset user give for buyout + Exchange(Balance), } -pub(crate) const BUYOUT_LIMIT_PERIOD_IN_SEC: u64 = 86400; // 1 day \ No newline at end of file +pub(crate) const BUYOUT_LIMIT_PERIOD_IN_SEC: u64 = 86400; // 1 day From 3ff7277e25d91fdfc9929e28efa71583da547b41 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 00:52:13 +0200 Subject: [PATCH 25/89] Add comment --- pallets/treasury-buyout-extension/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 564bed80e..f62a80f28 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -341,7 +341,7 @@ pub mod pallet { if values.0.is_zero() && values.1.is_zero() || accounts.0 == accounts.1 { return Ok(()) } - + //TODO: SHOULD CHECK BOTH BALANCES BEFORE TRANSFER //TODO use this to return in case of error and event let mut err_acc: Option = None; From dcc6a4b665245ffd9d070b5bda472d60263ac1be Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 11:12:32 +0200 Subject: [PATCH 26/89] Still wip --- pallets/treasury-buyout-extension/src/lib.rs | 115 +++++++++---------- 1 file changed, 53 insertions(+), 62 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index f62a80f28..6844cfc78 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -118,6 +118,8 @@ pub mod pallet { InsufficientTreasuryBalance, /// The account balance is too low for an operation InsufficientAccountBalance, + /// Exchange failed + ExchangeFailure, } #[pallet::event] @@ -130,6 +132,15 @@ pub mod pallet { asset: CurrencyIdOf, exchange_amount: BalanceOf, }, + // Exchange event + Exchange { + from: AccountIdOf, + from_asset: CurrencyIdOf, + from_amount: BalanceOf, + to: AccountIdOf, + to_asset: CurrencyIdOf, + to_amount: BalanceOf, + }, } /// Stores limit amount user could by for a period. @@ -187,15 +198,11 @@ pub mod pallet { buyout_amount: BalanceOf, ) -> Result, DispatchError> { let basic_asset = ::GetNativeCurrencyId::get(); - //TODO - // eq_ensure!( - // asset != basic_asset, - // Error::::WrongAssetToBuyout, - // "{}:{}. Exchange same assets forbidden", - // file!(), - // line!(), - // ); - + ensure!( + asset != basic_asset, + Error::::WrongAssetToBuyout, + ); + //TODO fix this let basic_asset_price_with_fee = { let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); @@ -223,15 +230,13 @@ pub mod pallet { exchange_amount: BalanceOf, ) -> Result, DispatchError> { let basic_asset = ::GetNativeCurrencyId::get(); - //TODO - // eq_ensure!( - // asset != basic_asset, - // Error::::WrongAssetToBuyout, - // "{}:{}. Exchange same assets forbidden", - // file!(), - // line!(), - // ); + + ensure!( + asset != basic_asset, + Error::::WrongAssetToBuyout, + ); + //TODO fix this let basic_asset_price_with_fee = { let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); @@ -326,57 +331,43 @@ pub mod pallet { assets: (&CurrencyIdOf, &CurrencyIdOf), values: (BalanceOf, BalanceOf), ) -> Result<(), (DispatchError, Option)> { - if assets.0 == assets.1 { - frame_support::log::error!( - "{}:{}. Exchange same assets. Who: {:?}, amounts: {:?}, asset {:?}.", - file!(), - line!(), - accounts, - values, - format!("{:?}", assets.0) - ); - return Err((Error::::WrongAssetToBuyout.into(), None)) - } + // Ensure that the asset provided to be exchanged is not the same as native asset + ensure!(assets.0 != assets.1, (Error::::WrongAssetToBuyout.into(), None)); + // Check for exchanging zero values and same accounts if values.0.is_zero() && values.1.is_zero() || accounts.0 == accounts.1 { return Ok(()) } - //TODO: SHOULD CHECK BOTH BALANCES BEFORE TRANSFER - //TODO use this to return in case of error and event - let mut err_acc: Option = None; - // Return early if both values are zero or accounts are the same - if (values.0.is_zero() && values.1.is_zero()) || accounts.0 == accounts.1 { - return Ok(()) - } - - // Transfer from user to treasury for the first asset - if values.0 > Zero::zero() { - let user_balance = T::Currency::free_balance(*assets.0, accounts.0); - ensure!(user_balance >= values.0, Error::::InsufficientAccountBalance); - T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0)?; - } - - // Update the treasury balance after the first transfer - let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); - - // Transfer from treasury to user for the second asset - if values.1 > Zero::zero() { - ensure!(treasury_balance >= values.1, Error::::InsufficientTreasuryBalance); - T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1)?; - } - - // TODO Deposit an event for the exchange - // Self::deposit_event(Event::Exchange( - // accounts.0.clone(), - // assets.0, - // values.0, - // accounts.1.clone(), - // assets.1, - // values.1, - // )); + // Check both balances before transfer + let user_balance = T::Currency::free_balance(*assets.0, accounts.0); + let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); + + if user_balance < values.0 { + return Err((Error::::ExchangeFailure.into(), Some(accounts.0.clone()))); + } + if treasury_balance < values.1 { + return Err((Error::::ExchangeFailure.into(), Some(accounts.1.clone()))); + } + + // Transfer from user account to treasury then viceversa + T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0) + .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.0.clone())))?; + T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1) + .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.1.clone())))?; + + + // Deposit an event for the exchange + Self::deposit_event(Event::::Exchange{ + from: accounts.0.clone(), + from_asset: *assets.0, + from_amount: values.0, + to: accounts.1.clone(), + to_asset: *assets.1, + to_amount: values.1, + }); Ok(()) } - } + } } From d998215bf513f277308e9288963e462f1315bcde Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 11:13:49 +0200 Subject: [PATCH 27/89] Fmt --- pallets/treasury-buyout-extension/src/lib.rs | 93 +++++++++----------- 1 file changed, 43 insertions(+), 50 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 6844cfc78..276e6a1ff 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -118,8 +118,8 @@ pub mod pallet { InsufficientTreasuryBalance, /// The account balance is too low for an operation InsufficientAccountBalance, - /// Exchange failed - ExchangeFailure, + /// Exchange failed + ExchangeFailure, } #[pallet::event] @@ -132,15 +132,15 @@ pub mod pallet { asset: CurrencyIdOf, exchange_amount: BalanceOf, }, - // Exchange event - Exchange { - from: AccountIdOf, - from_asset: CurrencyIdOf, - from_amount: BalanceOf, - to: AccountIdOf, - to_asset: CurrencyIdOf, - to_amount: BalanceOf, - }, + // Exchange event + Exchange { + from: AccountIdOf, + from_asset: CurrencyIdOf, + from_amount: BalanceOf, + to: AccountIdOf, + to_asset: CurrencyIdOf, + to_amount: BalanceOf, + }, } /// Stores limit amount user could by for a period. @@ -198,11 +198,8 @@ pub mod pallet { buyout_amount: BalanceOf, ) -> Result, DispatchError> { let basic_asset = ::GetNativeCurrencyId::get(); - ensure!( - asset != basic_asset, - Error::::WrongAssetToBuyout, - ); - //TODO fix this + ensure!(asset != basic_asset, Error::::WrongAssetToBuyout,); + //TODO fix this let basic_asset_price_with_fee = { let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); @@ -230,13 +227,10 @@ pub mod pallet { exchange_amount: BalanceOf, ) -> Result, DispatchError> { let basic_asset = ::GetNativeCurrencyId::get(); - - ensure!( - asset != basic_asset, - Error::::WrongAssetToBuyout, - ); - //TODO fix this + ensure!(asset != basic_asset, Error::::WrongAssetToBuyout,); + + //TODO fix this let basic_asset_price_with_fee = { let basic_asset_price = oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); @@ -325,49 +319,48 @@ pub mod pallet { ) } - //Not sure if this is going to be like this + // Not sure if this is going to be like this fn exchange( accounts: (&AccountIdOf, &AccountIdOf), assets: (&CurrencyIdOf, &CurrencyIdOf), values: (BalanceOf, BalanceOf), ) -> Result<(), (DispatchError, Option)> { - // Ensure that the asset provided to be exchanged is not the same as native asset - ensure!(assets.0 != assets.1, (Error::::WrongAssetToBuyout.into(), None)); + // Ensure that the asset provided to be exchanged is not the same as native asset + ensure!(assets.0 != assets.1, (Error::::WrongAssetToBuyout.into(), None)); - // Check for exchanging zero values and same accounts + // Check for exchanging zero values and same accounts if values.0.is_zero() && values.1.is_zero() || accounts.0 == accounts.1 { return Ok(()) } - // Check both balances before transfer - let user_balance = T::Currency::free_balance(*assets.0, accounts.0); - let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); - - if user_balance < values.0 { - return Err((Error::::ExchangeFailure.into(), Some(accounts.0.clone()))); - } - if treasury_balance < values.1 { - return Err((Error::::ExchangeFailure.into(), Some(accounts.1.clone()))); - } + // Check both balances before transfer + let user_balance = T::Currency::free_balance(*assets.0, accounts.0); + let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); - // Transfer from user account to treasury then viceversa - T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0) - .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.0.clone())))?; - T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1) - .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.1.clone())))?; + if user_balance < values.0 { + return Err((Error::::ExchangeFailure.into(), Some(accounts.0.clone()))) + } + if treasury_balance < values.1 { + return Err((Error::::ExchangeFailure.into(), Some(accounts.1.clone()))) + } + // Transfer from user account to treasury then viceversa + T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0) + .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.0.clone())))?; + T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1) + .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.1.clone())))?; // Deposit an event for the exchange - Self::deposit_event(Event::::Exchange{ - from: accounts.0.clone(), - from_asset: *assets.0, - from_amount: values.0, - to: accounts.1.clone(), - to_asset: *assets.1, - to_amount: values.1, - }); + Self::deposit_event(Event::::Exchange { + from: accounts.0.clone(), + from_asset: *assets.0, + from_amount: values.0, + to: accounts.1.clone(), + to_asset: *assets.1, + to_amount: values.1, + }); Ok(()) } - } + } } From 0afee4a6910e65822d02172cbb6f4b6070b09670 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 12:31:52 +0200 Subject: [PATCH 28/89] Add doc comments --- pallets/treasury-buyout-extension/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 276e6a1ff..e97d144d9 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -44,24 +44,31 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config + orml_currencies::Config + oracle::Config { + /// The overarching event type. type RuntimeEvent: From> + IsType<::RuntimeEvent>; + /// Used for currency-related operations type Currency: MultiCurrency, CurrencyId = CurrencyIdOf>; + /// Used for getting the treasury account #[pallet::constant] type TreasuryAccount: Get; + /// Timestamp provider type UnixTime: UnixTime; + /// Fee from the native asset buyouts #[pallet::constant] type SellFee: Get; // might be needed? //type AssetRegistry: Inspect; + /// Min amount of native token to buyout #[pallet::constant] type MinAmountToBuyout: Get>; + /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; //Going to get rid of this From a4a5cf507d6e950986518508a98ea39639c94a3c Mon Sep 17 00:00:00 2001 From: Marcel Ebert Date: Fri, 12 Jan 2024 17:17:47 +0100 Subject: [PATCH 29/89] Fix warning --- runtime/pendulum/src/xcm_config.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index a1edbf9a4..f63550284 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -477,7 +477,10 @@ impl AutomationPalletConfig for AutomationPalletConfigPendulum { fn callback(_length: u8, _data: [u8; 32], _amount: u128) -> Result<(), XcmError> { // TODO change to call the actual automation pallet, with data and length - System::remark_with_event(RuntimeOrigin::signed(AccountId::from([0; 32])), [0; 1].to_vec()); + let _ = System::remark_with_event( + RuntimeOrigin::signed(AccountId::from([0; 32])), + [0; 1].to_vec(), + ); Ok(()) } } From 3e7b9bb62e7ace7a9629c15a75bdf444e2161c3f Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 19:28:08 +0200 Subject: [PATCH 30/89] Address change requests --- pallets/treasury-buyout-extension/src/lib.rs | 155 +++++++----------- .../treasury-buyout-extension/src/types.rs | 2 +- 2 files changed, 64 insertions(+), 93 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index e97d144d9..348dac374 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -17,6 +17,13 @@ mod types; use crate::types::{Amount, BUYOUT_LIMIT_PERIOD_IN_SEC}; use orml_traits::MultiCurrency; pub use pallet::*; +use sp_std::fmt::Debug; +use sp_runtime::{ + traits::{One, Zero}, + FixedPointNumber, +}; +use frame_support::sp_runtime::SaturatedConversion; +use frame_support::dispatch::DispatchError; #[allow(type_alias_bounds)] pub type AccountIdOf = ::AccountId; @@ -35,11 +42,10 @@ pub mod pallet { use super::*; use frame_support::{ pallet_prelude::*, - sp_runtime::{traits::Zero, ArithmeticError, FixedU128, PerThing, Permill}, + sp_runtime::{traits::Zero, ArithmeticError, FixedU128, Permill}, traits::UnixTime, }; use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, WeightInfo}; - use oracle::OracleKey; use sp_arithmetic::per_things::Rounding; #[pallet::config] @@ -64,15 +70,15 @@ pub mod pallet { // might be needed? //type AssetRegistry: Inspect; + /// Used for fetching prices of currencies from oracle + type PriceGetter: PriceGetter>; + /// Min amount of native token to buyout #[pallet::constant] type MinAmountToBuyout: Get>; /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; - - //Going to get rid of this - type MyUnsignedFixedPoint: PerThing + From + Into; } #[pallet::pallet] @@ -168,7 +174,9 @@ pub mod pallet { if let Some(buyout_limit) = BuyoutLimit::::get() { let now = T::UnixTime::now().as_secs(); let current_period = - (now / BUYOUT_LIMIT_PERIOD_IN_SEC) * BUYOUT_LIMIT_PERIOD_IN_SEC; + now.checked_div(BUYOUT_LIMIT_PERIOD_IN_SEC) + .and_then(|n| Some(n.saturating_mul(BUYOUT_LIMIT_PERIOD_IN_SEC))) + .unwrap_or_default(); let (mut buyouts, last_buyout) = Buyouts::::get(account_id); if !buyouts.is_zero() && last_buyout < current_period { @@ -176,7 +184,8 @@ pub mod pallet { Buyouts::::insert(account_id, (buyouts, now)); }; - ensure!(buyouts + buyout_amount <= buyout_limit, Error::::BuyoutLimitExceeded); + // maybe I can do it easier than this + ensure!(buyouts.saturated_into::().saturating_add(buyout_amount.saturated_into::()) <= buyout_limit.saturated_into::(), Error::::BuyoutLimitExceeded); } Ok(()) @@ -205,20 +214,12 @@ pub mod pallet { buyout_amount: BalanceOf, ) -> Result, DispatchError> { let basic_asset = ::GetNativeCurrencyId::get(); - ensure!(asset != basic_asset, Error::::WrongAssetToBuyout,); - //TODO fix this - let basic_asset_price_with_fee = { - let basic_asset_price = - oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); - basic_asset_price * - (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + - T::MyUnsignedFixedPoint::one()) - }; - let exchange_asset_price = - oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); + ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); + + let (basic_asset_price_with_fee, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; let exchange_amount = Self::multiply_by_rational( - buyout_amount.into(), + buyout_amount.saturated_into::(), basic_asset_price_with_fee.into_inner(), exchange_asset_price.into_inner(), ) @@ -237,22 +238,12 @@ pub mod pallet { ensure!(asset != basic_asset, Error::::WrongAssetToBuyout,); - //TODO fix this - let basic_asset_price_with_fee = { - let basic_asset_price = - oracle::Pallet::::get_price(OracleKey::ExchangeRate(basic_asset))?.into(); - (basic_asset_price * - (T::MyUnsignedFixedPoint::from(T::SellFee::get()) + - T::MyUnsignedFixedPoint::one())) - .into_inner() - }; - let exchange_asset_price = - oracle::Pallet::::get_price(OracleKey::ExchangeRate(asset))?.into(); + let (basic_asset_price_with_fee, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; let buyout_amount = Self::multiply_by_rational( - exchange_amount.into(), - exchange_asset_price, - basic_asset_price_with_fee, + exchange_amount.saturated_into::(), + exchange_asset_price.into_inner(), + basic_asset_price_with_fee.into_inner(), ) .map(|b| b.try_into().ok()) .flatten() @@ -289,22 +280,28 @@ pub mod pallet { Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; let treasury_account_id = T::TreasuryAccount::get(); - Self::exchange( - (&who, &treasury_account_id), - (&asset, &basic_asset), - (exchange_amount, buyout_amount), - ) - .map_err(|(error, maybe_acc)| match maybe_acc { - Some(acc) => - if acc == treasury_account_id { - Error::::InsufficientTreasuryBalance.into() - } else if acc == who { - Error::::InsufficientAccountBalance.into() - } else { - error - }, - _ => error, - })?; + // Start exchanging + // Check for exchanging zero values and same accounts + if exchange_amount.is_zero() && buyout_amount.is_zero() || who == treasury_account_id { + return Ok(()) + } + + // Check both balances before transfer + let user_balance = T::Currency::free_balance(asset, &who); + let treasury_balance = T::Currency::free_balance(basic_asset, &treasury_account_id); + + if user_balance < exchange_amount { + return Err(Error::::InsufficientAccountBalance.into()) + } + if treasury_balance < buyout_amount { + return Err(Error::::InsufficientTreasuryBalance.into()) + } + + // Transfer from user account to treasury then viceversa + T::Currency::transfer(asset, &who, &treasury_account_id, exchange_amount) + .map_err(|_| Error::::ExchangeFailure)?; + T::Currency::transfer(basic_asset, &treasury_account_id, &who, buyout_amount) + .map_err(|_| Error::::ExchangeFailure)?; Self::update_buyouts(&who, buyout_amount); Self::deposit_event(Event::::Buyout { who, buyout_amount, asset, exchange_amount }); @@ -326,48 +323,22 @@ pub mod pallet { ) } - // Not sure if this is going to be like this - fn exchange( - accounts: (&AccountIdOf, &AccountIdOf), - assets: (&CurrencyIdOf, &CurrencyIdOf), - values: (BalanceOf, BalanceOf), - ) -> Result<(), (DispatchError, Option)> { - // Ensure that the asset provided to be exchanged is not the same as native asset - ensure!(assets.0 != assets.1, (Error::::WrongAssetToBuyout.into(), None)); - - // Check for exchanging zero values and same accounts - if values.0.is_zero() && values.1.is_zero() || accounts.0 == accounts.1 { - return Ok(()) - } - - // Check both balances before transfer - let user_balance = T::Currency::free_balance(*assets.0, accounts.0); - let treasury_balance = T::Currency::free_balance(*assets.1, accounts.1); - - if user_balance < values.0 { - return Err((Error::::ExchangeFailure.into(), Some(accounts.0.clone()))) - } - if treasury_balance < values.1 { - return Err((Error::::ExchangeFailure.into(), Some(accounts.1.clone()))) - } - - // Transfer from user account to treasury then viceversa - T::Currency::transfer(*assets.0, accounts.0, accounts.1, values.0) - .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.0.clone())))?; - T::Currency::transfer(*assets.1, accounts.1, accounts.0, values.1) - .map_err(|_| (Error::::ExchangeFailure.into(), Some(accounts.1.clone())))?; - - // Deposit an event for the exchange - Self::deposit_event(Event::::Exchange { - from: accounts.0.clone(), - from_asset: *assets.0, - from_amount: values.0, - to: accounts.1.clone(), - to_asset: *assets.1, - to_amount: values.1, - }); - - Ok(()) - } + fn fetch_prices( + assets: (&CurrencyIdOf, &CurrencyIdOf), + ) -> Result<(FixedU128, FixedU128), DispatchError> { + let basic_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.0)?.into(); + let exchange_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.1)?.into(); + Ok((basic_asset_price, exchange_asset_price)) + } } } + +pub trait PriceGetter +where + CurrencyId: Clone + PartialEq + Eq + Debug, +{ + /// Gets a current price for a given currency + fn get_price( + currency_id: CurrencyId, + ) -> Result; +} diff --git a/pallets/treasury-buyout-extension/src/types.rs b/pallets/treasury-buyout-extension/src/types.rs index 53200c894..44430ea4d 100644 --- a/pallets/treasury-buyout-extension/src/types.rs +++ b/pallets/treasury-buyout-extension/src/types.rs @@ -4,7 +4,7 @@ use scale_info::TypeInfo; /// Type of amount #[derive(Copy, Clone, Debug, Encode, Decode, PartialEq, Eq, TypeInfo, MaxEncodedLen)] -pub(crate) enum Amount { +pub enum Amount { /// Amount of native asset user get for buyout Buyout(Balance), /// Amount of exchange asset user give for buyout From edc4d94757588e3be98bf76b81c208375c321803 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 19:29:42 +0200 Subject: [PATCH 31/89] Fmt --- pallets/treasury-buyout-extension/src/lib.rs | 73 +++++++++++--------- 1 file changed, 41 insertions(+), 32 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 348dac374..5f820eaf8 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -15,15 +15,14 @@ mod tests; mod types; use crate::types::{Amount, BUYOUT_LIMIT_PERIOD_IN_SEC}; +use frame_support::{dispatch::DispatchError, sp_runtime::SaturatedConversion}; use orml_traits::MultiCurrency; pub use pallet::*; -use sp_std::fmt::Debug; use sp_runtime::{ - traits::{One, Zero}, - FixedPointNumber, + traits::{One, Zero}, + FixedPointNumber, }; -use frame_support::sp_runtime::SaturatedConversion; -use frame_support::dispatch::DispatchError; +use sp_std::fmt::Debug; #[allow(type_alias_bounds)] pub type AccountIdOf = ::AccountId; @@ -70,8 +69,8 @@ pub mod pallet { // might be needed? //type AssetRegistry: Inspect; - /// Used for fetching prices of currencies from oracle - type PriceGetter: PriceGetter>; + /// Used for fetching prices of currencies from oracle + type PriceGetter: PriceGetter>; /// Min amount of native token to buyout #[pallet::constant] @@ -173,10 +172,10 @@ pub mod pallet { ) -> DispatchResult { if let Some(buyout_limit) = BuyoutLimit::::get() { let now = T::UnixTime::now().as_secs(); - let current_period = - now.checked_div(BUYOUT_LIMIT_PERIOD_IN_SEC) - .and_then(|n| Some(n.saturating_mul(BUYOUT_LIMIT_PERIOD_IN_SEC))) - .unwrap_or_default(); + let current_period = now + .checked_div(BUYOUT_LIMIT_PERIOD_IN_SEC) + .and_then(|n| Some(n.saturating_mul(BUYOUT_LIMIT_PERIOD_IN_SEC))) + .unwrap_or_default(); let (mut buyouts, last_buyout) = Buyouts::::get(account_id); if !buyouts.is_zero() && last_buyout < current_period { @@ -184,8 +183,14 @@ pub mod pallet { Buyouts::::insert(account_id, (buyouts, now)); }; - // maybe I can do it easier than this - ensure!(buyouts.saturated_into::().saturating_add(buyout_amount.saturated_into::()) <= buyout_limit.saturated_into::(), Error::::BuyoutLimitExceeded); + // maybe I can do it easier than this + ensure!( + buyouts + .saturated_into::() + .saturating_add(buyout_amount.saturated_into::()) <= + buyout_limit.saturated_into::(), + Error::::BuyoutLimitExceeded + ); } Ok(()) @@ -216,7 +221,8 @@ pub mod pallet { let basic_asset = ::GetNativeCurrencyId::get(); ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - let (basic_asset_price_with_fee, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; + let (basic_asset_price_with_fee, exchange_asset_price) = + Self::fetch_prices((&basic_asset, &asset))?; let exchange_amount = Self::multiply_by_rational( buyout_amount.saturated_into::(), @@ -236,9 +242,10 @@ pub mod pallet { ) -> Result, DispatchError> { let basic_asset = ::GetNativeCurrencyId::get(); - ensure!(asset != basic_asset, Error::::WrongAssetToBuyout,); + ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - let (basic_asset_price_with_fee, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; + let (basic_asset_price_with_fee, exchange_asset_price) = + Self::fetch_prices((&basic_asset, &asset))?; let buyout_amount = Self::multiply_by_rational( exchange_amount.saturated_into::(), @@ -280,8 +287,8 @@ pub mod pallet { Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; let treasury_account_id = T::TreasuryAccount::get(); - // Start exchanging - // Check for exchanging zero values and same accounts + // Start exchanging + // Check for exchanging zero values and same accounts if exchange_amount.is_zero() && buyout_amount.is_zero() || who == treasury_account_id { return Ok(()) } @@ -323,22 +330,24 @@ pub mod pallet { ) } - fn fetch_prices( - assets: (&CurrencyIdOf, &CurrencyIdOf), - ) -> Result<(FixedU128, FixedU128), DispatchError> { - let basic_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.0)?.into(); - let exchange_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.1)?.into(); - Ok((basic_asset_price, exchange_asset_price)) - } + fn fetch_prices( + assets: (&CurrencyIdOf, &CurrencyIdOf), + ) -> Result<(FixedU128, FixedU128), DispatchError> { + let basic_asset_price: FixedU128 = + T::PriceGetter::get_price::(*assets.0)?.into(); + let exchange_asset_price: FixedU128 = + T::PriceGetter::get_price::(*assets.1)?.into(); + Ok((basic_asset_price, exchange_asset_price)) + } } } -pub trait PriceGetter -where - CurrencyId: Clone + PartialEq + Eq + Debug, +pub trait PriceGetter +where + CurrencyId: Clone + PartialEq + Eq + Debug, { - /// Gets a current price for a given currency - fn get_price( - currency_id: CurrencyId, - ) -> Result; + /// Gets a current price for a given currency + fn get_price( + currency_id: CurrencyId, + ) -> Result; } From 1359c94688de962890de869cf51bad83b83edea5 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 12 Jan 2024 19:36:41 +0200 Subject: [PATCH 32/89] Add comment --- pallets/treasury-buyout-extension/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 5f820eaf8..e6ec14f60 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -330,6 +330,7 @@ pub mod pallet { ) } + // Use NoPrice error here maybe fn fetch_prices( assets: (&CurrencyIdOf, &CurrencyIdOf), ) -> Result<(FixedU128, FixedU128), DispatchError> { From dc687513bd1866f020aa88539328df4323a46193 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 15 Jan 2024 10:28:20 +0200 Subject: [PATCH 33/89] Add fee for basic asset --- pallets/treasury-buyout-extension/src/lib.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index e6ec14f60..3b31f0aea 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -221,9 +221,13 @@ pub mod pallet { let basic_asset = ::GetNativeCurrencyId::get(); ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - let (basic_asset_price_with_fee, exchange_asset_price) = + let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; + // Add fee to the basic asset price + let basic_asset_price_with_fee = basic_asset_price + * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + let exchange_amount = Self::multiply_by_rational( buyout_amount.saturated_into::(), basic_asset_price_with_fee.into_inner(), @@ -244,9 +248,13 @@ pub mod pallet { ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - let (basic_asset_price_with_fee, exchange_asset_price) = + let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; + // Add fee to the basic asset price + let basic_asset_price_with_fee = basic_asset_price + * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + let buyout_amount = Self::multiply_by_rational( exchange_amount.saturated_into::(), exchange_asset_price.into_inner(), From 069d17ea9afff49d77528d81cf36defca903a66b Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 15 Jan 2024 10:32:32 +0200 Subject: [PATCH 34/89] Fmt --- pallets/treasury-buyout-extension/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 3b31f0aea..4d94c64b8 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -225,8 +225,8 @@ pub mod pallet { Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let basic_asset_price_with_fee = basic_asset_price - * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); let exchange_amount = Self::multiply_by_rational( buyout_amount.saturated_into::(), @@ -252,8 +252,8 @@ pub mod pallet { Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let basic_asset_price_with_fee = basic_asset_price - * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); let buyout_amount = Self::multiply_by_rational( exchange_amount.saturated_into::(), @@ -338,7 +338,7 @@ pub mod pallet { ) } - // Use NoPrice error here maybe + // Use NoPrice error here maybe fn fetch_prices( assets: (&CurrencyIdOf, &CurrencyIdOf), ) -> Result<(FixedU128, FixedU128), DispatchError> { From 67f35139b8b8cd0d5557cedf5cdfbe686f766ffd Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 15 Jan 2024 13:39:36 +0200 Subject: [PATCH 35/89] Return NoPrice error when price fetching fails --- pallets/treasury-buyout-extension/src/lib.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 4d94c64b8..dd134d4b3 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -338,14 +338,15 @@ pub mod pallet { ) } - // Use NoPrice error here maybe fn fetch_prices( assets: (&CurrencyIdOf, &CurrencyIdOf), ) -> Result<(FixedU128, FixedU128), DispatchError> { - let basic_asset_price: FixedU128 = - T::PriceGetter::get_price::(*assets.0)?.into(); - let exchange_asset_price: FixedU128 = - T::PriceGetter::get_price::(*assets.1)?.into(); + let basic_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.0) + .map_err(|_| Error::::NoPrice)? + .into(); + let exchange_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.1) + .map_err(|_| Error::::NoPrice)? + .into(); Ok((basic_asset_price, exchange_asset_price)) } } From beb234b5bdb366b5afff31ffda248242bd1d25bd Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 15 Jan 2024 22:49:31 +0200 Subject: [PATCH 36/89] Add signed extension --- pallets/treasury-buyout-extension/src/lib.rs | 473 ++++++++++++------- 1 file changed, 306 insertions(+), 167 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index dd134d4b3..a4a35dcd8 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -15,14 +15,23 @@ mod tests; mod types; use crate::types::{Amount, BUYOUT_LIMIT_PERIOD_IN_SEC}; -use frame_support::{dispatch::DispatchError, sp_runtime::SaturatedConversion}; +use codec::{Decode, Encode}; +use sp_runtime::traits::{DispatchInfoOf, SignedExtension}; +use frame_support::{dispatch::{DispatchError, DispatchResult}, sp_runtime::SaturatedConversion, traits::{IsSubType, Get}, ensure}; use orml_traits::MultiCurrency; pub use pallet::*; use sp_runtime::{ traits::{One, Zero}, FixedPointNumber, + transaction_validity::{ + InvalidTransaction, TransactionValidity, TransactionValidityError, ValidTransaction, + }, }; -use sp_std::fmt::Debug; +use sp_std::{fmt::Debug, marker::PhantomData}; +use sp_runtime::{ArithmeticError, FixedU128}; +use sp_arithmetic::per_things::Rounding; +use frame_support::traits::UnixTime; + #[allow(type_alias_bounds)] pub type AccountIdOf = ::AccountId; @@ -41,14 +50,13 @@ pub mod pallet { use super::*; use frame_support::{ pallet_prelude::*, - sp_runtime::{traits::Zero, ArithmeticError, FixedU128, Permill}, + sp_runtime::Permill, traits::UnixTime, }; use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, WeightInfo}; - use sp_arithmetic::per_things::Rounding; #[pallet::config] - pub trait Config: frame_system::Config + orml_currencies::Config + oracle::Config { + pub trait Config: frame_system::Config + orml_currencies::Config { /// The overarching event type. type RuntimeEvent: From> + IsType<::RuntimeEvent>; @@ -81,7 +89,7 @@ pub mod pallet { } #[pallet::pallet] - pub struct Pallet(_); + pub struct Pallet(PhantomData); #[pallet::call] impl Pallet { @@ -165,190 +173,192 @@ pub mod pallet { pub type Buyouts = StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u64), ValueQuery>; - impl Pallet { - fn ensure_buyout_limit_not_exceeded( - account_id: &AccountIdOf, - buyout_amount: BalanceOf, - ) -> DispatchResult { - if let Some(buyout_limit) = BuyoutLimit::::get() { - let now = T::UnixTime::now().as_secs(); - let current_period = now - .checked_div(BUYOUT_LIMIT_PERIOD_IN_SEC) - .and_then(|n| Some(n.saturating_mul(BUYOUT_LIMIT_PERIOD_IN_SEC))) - .unwrap_or_default(); - let (mut buyouts, last_buyout) = Buyouts::::get(account_id); - - if !buyouts.is_zero() && last_buyout < current_period { - buyouts = Default::default(); - Buyouts::::insert(account_id, (buyouts, now)); - }; - - // maybe I can do it easier than this - ensure!( - buyouts - .saturated_into::() - .saturating_add(buyout_amount.saturated_into::()) <= - buyout_limit.saturated_into::(), - Error::::BuyoutLimitExceeded - ); - } - - Ok(()) - } + +} - fn ensure_not_native_buyout(asset: &CurrencyIdOf) -> DispatchResult { +impl Pallet { + fn ensure_buyout_limit_not_exceeded( + account_id: &AccountIdOf, + buyout_amount: BalanceOf, + ) -> DispatchResult { + if let Some(buyout_limit) = BuyoutLimit::::get() { + let now = T::UnixTime::now().as_secs(); + let current_period = now + .checked_div(BUYOUT_LIMIT_PERIOD_IN_SEC) + .and_then(|n| Some(n.saturating_mul(BUYOUT_LIMIT_PERIOD_IN_SEC))) + .unwrap_or_default(); + let (mut buyouts, last_buyout) = Buyouts::::get(account_id); + + if !buyouts.is_zero() && last_buyout < current_period { + buyouts = Default::default(); + Buyouts::::insert(account_id, (buyouts, now)); + }; + + // maybe I can do it easier than this ensure!( - asset != &::GetNativeCurrencyId::get(), - Error::::WrongAssetToBuyout + buyouts + .saturated_into::() + .saturating_add(buyout_amount.saturated_into::()) <= + buyout_limit.saturated_into::(), + Error::::BuyoutLimitExceeded ); - - Ok(()) } - fn update_buyouts(account_id: &AccountIdOf, buyout_amount: BalanceOf) { - if BuyoutLimit::::get().is_some() { - Buyouts::::mutate(account_id, |(prev_buyouts, last)| { - *prev_buyouts = *prev_buyouts + buyout_amount; - *last = T::UnixTime::now().as_secs(); - }); - } - } + Ok(()) + } - fn calc_amount_to_exchange( - asset: CurrencyIdOf, - buyout_amount: BalanceOf, - ) -> Result, DispatchError> { - let basic_asset = ::GetNativeCurrencyId::get(); - ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - - let (basic_asset_price, exchange_asset_price) = - Self::fetch_prices((&basic_asset, &asset))?; - - // Add fee to the basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); - - let exchange_amount = Self::multiply_by_rational( - buyout_amount.saturated_into::(), - basic_asset_price_with_fee.into_inner(), - exchange_asset_price.into_inner(), - ) - .map(|n| n.try_into().ok()) - .flatten() - .ok_or(ArithmeticError::Overflow.into()); - - exchange_amount + fn ensure_not_native_buyout(asset: &CurrencyIdOf) -> DispatchResult { + ensure!( + asset != &::GetNativeCurrencyId::get(), + Error::::WrongAssetToBuyout + ); + + Ok(()) + } + + fn update_buyouts(account_id: &AccountIdOf, buyout_amount: BalanceOf) { + if BuyoutLimit::::get().is_some() { + Buyouts::::mutate(account_id, |(prev_buyouts, last)| { + *prev_buyouts = *prev_buyouts + buyout_amount; + *last = T::UnixTime::now().as_secs(); + }); } + } - fn calc_buyout_amount( - asset: CurrencyIdOf, - exchange_amount: BalanceOf, - ) -> Result, DispatchError> { - let basic_asset = ::GetNativeCurrencyId::get(); + fn calc_amount_to_exchange( + asset: CurrencyIdOf, + buyout_amount: BalanceOf, + ) -> Result, DispatchError> { + let basic_asset = ::GetNativeCurrencyId::get(); + ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); + + let (basic_asset_price, exchange_asset_price) = + Self::fetch_prices((&basic_asset, &asset))?; + + // Add fee to the basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + + let exchange_amount = Self::multiply_by_rational( + buyout_amount.saturated_into::(), + basic_asset_price_with_fee.into_inner(), + exchange_asset_price.into_inner(), + ) + .map(|n| n.try_into().ok()) + .flatten() + .ok_or(ArithmeticError::Overflow.into()); + + exchange_amount + } - ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); + fn calc_buyout_amount( + asset: CurrencyIdOf, + exchange_amount: BalanceOf, + ) -> Result, DispatchError> { + let basic_asset = ::GetNativeCurrencyId::get(); - let (basic_asset_price, exchange_asset_price) = - Self::fetch_prices((&basic_asset, &asset))?; + ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - // Add fee to the basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + let (basic_asset_price, exchange_asset_price) = + Self::fetch_prices((&basic_asset, &asset))?; - let buyout_amount = Self::multiply_by_rational( - exchange_amount.saturated_into::(), - exchange_asset_price.into_inner(), - basic_asset_price_with_fee.into_inner(), - ) - .map(|b| b.try_into().ok()) - .flatten() - .ok_or(ArithmeticError::Overflow.into()); + // Add fee to the basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); - buyout_amount - } + let buyout_amount = Self::multiply_by_rational( + exchange_amount.saturated_into::(), + exchange_asset_price.into_inner(), + basic_asset_price_with_fee.into_inner(), + ) + .map(|b| b.try_into().ok()) + .flatten() + .ok_or(ArithmeticError::Overflow.into()); - fn split_to_buyout_and_exchange( - asset: CurrencyIdOf, - amount: Amount>, - ) -> Result<(BalanceOf, BalanceOf), DispatchError> { - match amount { - Amount::Buyout(buyout_amount) => { - let exchange_amount = Self::calc_amount_to_exchange(asset, buyout_amount)?; - Ok((buyout_amount, exchange_amount)) - }, - Amount::Exchange(exchange_amount) => { - let buyout_amount = Self::calc_buyout_amount(asset, exchange_amount)?; - Ok((buyout_amount, exchange_amount)) - }, - } + buyout_amount + } + + fn split_to_buyout_and_exchange( + asset: CurrencyIdOf, + amount: Amount>, + ) -> Result<(BalanceOf, BalanceOf), DispatchError> { + match amount { + Amount::Buyout(buyout_amount) => { + let exchange_amount = Self::calc_amount_to_exchange(asset, buyout_amount)?; + Ok((buyout_amount, exchange_amount)) + }, + Amount::Exchange(exchange_amount) => { + let buyout_amount = Self::calc_buyout_amount(asset, exchange_amount)?; + Ok((buyout_amount, exchange_amount)) + }, } + } - fn do_buyout( - who: AccountIdOf, - asset: CurrencyIdOf, - amount: Amount>, - ) -> DispatchResult { - Self::ensure_not_native_buyout(&asset)?; - let basic_asset = ::GetNativeCurrencyId::get(); - let (buyout_amount, exchange_amount) = - Self::split_to_buyout_and_exchange(asset, amount)?; - Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; - let treasury_account_id = T::TreasuryAccount::get(); - - // Start exchanging - // Check for exchanging zero values and same accounts - if exchange_amount.is_zero() && buyout_amount.is_zero() || who == treasury_account_id { - return Ok(()) - } + fn do_buyout( + who: AccountIdOf, + asset: CurrencyIdOf, + amount: Amount>, + ) -> DispatchResult { + Self::ensure_not_native_buyout(&asset)?; + let basic_asset = ::GetNativeCurrencyId::get(); + let (buyout_amount, exchange_amount) = + Self::split_to_buyout_and_exchange(asset, amount)?; + Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; + let treasury_account_id = T::TreasuryAccount::get(); + + // Start exchanging + // Check for exchanging zero values and same accounts + if exchange_amount.is_zero() && buyout_amount.is_zero() || who == treasury_account_id { + return Ok(()) + } - // Check both balances before transfer - let user_balance = T::Currency::free_balance(asset, &who); - let treasury_balance = T::Currency::free_balance(basic_asset, &treasury_account_id); + // Check both balances before transfer + let user_balance = T::Currency::free_balance(asset, &who); + let treasury_balance = T::Currency::free_balance(basic_asset, &treasury_account_id); - if user_balance < exchange_amount { - return Err(Error::::InsufficientAccountBalance.into()) - } - if treasury_balance < buyout_amount { - return Err(Error::::InsufficientTreasuryBalance.into()) - } + if user_balance < exchange_amount { + return Err(Error::::InsufficientAccountBalance.into()) + } + if treasury_balance < buyout_amount { + return Err(Error::::InsufficientTreasuryBalance.into()) + } - // Transfer from user account to treasury then viceversa - T::Currency::transfer(asset, &who, &treasury_account_id, exchange_amount) - .map_err(|_| Error::::ExchangeFailure)?; - T::Currency::transfer(basic_asset, &treasury_account_id, &who, buyout_amount) - .map_err(|_| Error::::ExchangeFailure)?; + // Transfer from user account to treasury then viceversa + T::Currency::transfer(asset, &who, &treasury_account_id, exchange_amount) + .map_err(|_| Error::::ExchangeFailure)?; + T::Currency::transfer(basic_asset, &treasury_account_id, &who, buyout_amount) + .map_err(|_| Error::::ExchangeFailure)?; - Self::update_buyouts(&who, buyout_amount); - Self::deposit_event(Event::::Buyout { who, buyout_amount, asset, exchange_amount }); + Self::update_buyouts(&who, buyout_amount); + Self::deposit_event(Event::::Buyout { who, buyout_amount, asset, exchange_amount }); - Ok(()) - } + Ok(()) + } - fn multiply_by_rational( - a: impl Into, - b: impl Into, - c: impl Into, - ) -> Option { - // return a * b / c - sp_runtime::helpers_128bit::multiply_by_rational_with_rounding( - a.into(), - b.into(), - c.into(), - Rounding::NearestPrefDown, - ) - } + fn multiply_by_rational( + a: impl Into, + b: impl Into, + c: impl Into, + ) -> Option { + // return a * b / c + sp_runtime::helpers_128bit::multiply_by_rational_with_rounding( + a.into(), + b.into(), + c.into(), + Rounding::NearestPrefDown, + ) + } - fn fetch_prices( - assets: (&CurrencyIdOf, &CurrencyIdOf), - ) -> Result<(FixedU128, FixedU128), DispatchError> { - let basic_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.0) - .map_err(|_| Error::::NoPrice)? - .into(); - let exchange_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.1) - .map_err(|_| Error::::NoPrice)? - .into(); - Ok((basic_asset_price, exchange_asset_price)) - } + fn fetch_prices( + assets: (&CurrencyIdOf, &CurrencyIdOf), + ) -> Result<(FixedU128, FixedU128), DispatchError> { + let basic_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.0) + .map_err(|_| Error::::NoPrice)? + .into(); + let exchange_asset_price: FixedU128 = T::PriceGetter::get_price::(*assets.1) + .map_err(|_| Error::::NoPrice)? + .into(); + Ok((basic_asset_price, exchange_asset_price)) } } @@ -361,3 +371,132 @@ where currency_id: CurrencyId, ) -> Result; } + +/// Buyout validity errors +#[repr(u8)] +pub enum ValidityError { + /// Account balance is too low to make buyout + NotEnoughToBuyout = 0, + /// Math error + Math = 1, + /// Buyout limit exceeded + BuyoutLimitExceeded = 2, + /// Amount to buyout less than min amount + LessThanMinBuyoutAmount = 3, + /// Wrong asset + WrongAssetToBuyout = 4, +} + +impl From for u8 { + fn from(err: ValidityError) -> Self { + err as u8 + } +} + +#[derive(Encode, Decode, Clone, Eq, PartialEq, scale_info::TypeInfo)] +pub struct CheckBuyout(PhantomData) +where + ::RuntimeCall: IsSubType>; + +impl Debug for CheckBuyout +where + ::RuntimeCall: IsSubType>, +{ + #[cfg(feature = "std")] + fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result { + write!(f, "CheckBuyout") + } + + #[cfg(not(feature = "std"))] + fn fmt(&self, _: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result { + Ok(()) + } +} + +impl Default for CheckBuyout +where + ::RuntimeCall: IsSubType>, +{ + fn default() -> Self { + Self(PhantomData) + } +} + +impl CheckBuyout +where + ::RuntimeCall: IsSubType>, +{ + pub fn new() -> Self { + Self(PhantomData) + } +} + +impl SignedExtension for CheckBuyout +where + ::RuntimeCall: IsSubType>, +{ + const IDENTIFIER: &'static str = "CheckBuyout"; + type AccountId = AccountIdOf; + type Call = T::RuntimeCall; + type AdditionalSigned = (); + type Pre = (); + + fn additional_signed(&self) -> Result { + Ok(()) + } + + fn pre_dispatch( + self, + who: &Self::AccountId, + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result { + self.validate(who, call, info, len) + .map(|_| Self::Pre::default()) + .map_err(Into::into) + } + + /// Checks: + /// - buyout_amount is greater or equal `MinAmountToBuyout` + /// - `who` has enough to make buyout + /// - buyout limit not exceeded for `who` + fn validate( + &self, + who: &Self::AccountId, + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if let Some(local_call) = call.is_sub_type() { + if let Call::buyout { asset, amount } = local_call { + Pallet::::ensure_not_native_buyout(asset).map_err(|_| { + InvalidTransaction::Custom(ValidityError::WrongAssetToBuyout.into()) + })?; + + let (buyout_amount, exchange_amount) = + Pallet::::split_to_buyout_and_exchange(*asset, *amount) + .map_err(|_| InvalidTransaction::Custom(ValidityError::Math.into()))?; + + ensure!( + buyout_amount >= T::MinAmountToBuyout::get(), + InvalidTransaction::Custom(ValidityError::LessThanMinBuyoutAmount.into()) + ); + + let free_balance = T::Currency::free_balance(*asset, who); + + ensure!( + free_balance >= exchange_amount, + InvalidTransaction::Custom(ValidityError::NotEnoughToBuyout.into()) + ); + + + Pallet::::ensure_buyout_limit_not_exceeded(who, buyout_amount).map_err( + |_| InvalidTransaction::Custom(ValidityError::BuyoutLimitExceeded.into()), + )?; + } + } + + Ok(ValidTransaction::default()) + } +} \ No newline at end of file From 2479198a0ecfe2b0b11b14fc671ddefd4398ad79 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 26 Jan 2024 17:00:53 +0200 Subject: [PATCH 37/89] Add first iteration of mock --- pallets/treasury-buyout-extension/src/lib.rs | 6 +- pallets/treasury-buyout-extension/src/mock.rs | 233 ++++++++++++++++++ 2 files changed, 236 insertions(+), 3 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index a4a35dcd8..9a08f758f 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -39,7 +39,7 @@ pub type AccountIdOf = ::AccountId; #[allow(type_alias_bounds)] pub(crate) type CurrencyIdOf = <::MultiCurrency as MultiCurrency< - ::AccountId, + ::AccountId >>::CurrencyId; #[allow(type_alias_bounds)] @@ -65,7 +65,7 @@ pub mod pallet { /// Used for getting the treasury account #[pallet::constant] - type TreasuryAccount: Get; + type TreasuryAccount: Get>; /// Timestamp provider type UnixTime: UnixTime; @@ -367,7 +367,7 @@ where CurrencyId: Clone + PartialEq + Eq + Debug, { /// Gets a current price for a given currency - fn get_price( + fn get_price>( currency_id: CurrencyId, ) -> Result; } diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 8b1378917..14e51485a 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -1 +1,234 @@ +use crate::{ + self as treasury_buyout_extension, Config, PriceGetter, +}; +use frame_support::{ + pallet_prelude::GenesisBuild, + parameter_types, + traits::{ConstU32, Everything, UnixTime}, +}; +use orml_currencies::BasicCurrencyAdapter; +use orml_traits::parameter_type_with_key; +use sp_std::fmt::Debug; +use sp_arithmetic::{FixedU128, FixedPointNumber, Permill}; +use sp_core::H256; +use sp_runtime::{ + testing::Header, + traits::{BlakeTwo256, IdentityLookup, One, Zero}, DispatchError, +}; +type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; +type Block = frame_system::mocking::MockBlock; + +pub const UNIT: Balance = 1_000_000_000_000; + +// Configure a mock runtime to test the pallet. +frame_support::construct_runtime!( + pub enum Test where + Block = Block, + NodeBlock = Block, + UncheckedExtrinsic = UncheckedExtrinsic, + { + System: frame_system::{Pallet, Call, Storage, Config, Event}, + Tokens: orml_tokens::{Pallet, Storage, Config, Event}, + Balances: pallet_balances::{Pallet, Call, Storage, Event}, + Currencies: orml_currencies::{Pallet, Call}, + } +); + +pub type AccountId = u64; +pub type Balance = u128; +pub type BlockNumber = u64; +pub type Index = u64; +pub type Amount = i64; +pub type CurrencyId = u64; + +parameter_types! { + pub const BlockHashCount: u64 = 250; + pub const SS58Prefix: u8 = 42; +} +impl frame_system::Config for Test { + type BaseCallFilter = Everything; + type BlockWeights = (); + type BlockLength = (); + type DbWeight = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Index = Index; + type BlockNumber = BlockNumber; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type Header = Header; + type RuntimeEvent = TestEvent; + type BlockHashCount = BlockHashCount; + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = SS58Prefix; + type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; +} + +pub type TestEvent = RuntimeEvent; + +parameter_types! { + pub const MaxLocks: u32 = 50; + pub const GetNativeCurrencyId: CurrencyId = 0; +} + +parameter_type_with_key! { + pub ExistentialDeposits: |_currency_id: CurrencyId| -> Balance { + 0 + }; +} + +pub struct CurrencyHooks(sp_std::marker::PhantomData); +impl + orml_traits::currency::MutationHooks for CurrencyHooks +{ + type OnDust = orml_tokens::BurnDust; + type OnSlash = (); + type PreDeposit = (); + type PostDeposit = (); + type PreTransfer = (); + type PostTransfer = (); + type OnNewTokenAccount = (); + type OnKilledTokenAccount = (); +} + +impl orml_tokens::Config for Test { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type Amount = Amount; + type CurrencyId = CurrencyId; + type WeightInfo = (); + type ExistentialDeposits = ExistentialDeposits; + type CurrencyHooks = CurrencyHooks; + type MaxLocks = MaxLocks; + type MaxReserves = ConstU32<0>; + type ReserveIdentifier = (); + type DustRemovalWhitelist = Everything; +} + +parameter_types! { + pub const ExistentialDeposit: Balance = 1000; + pub const MaxReserves: u32 = 50; + pub const TreasuryAccount: AccountId = u64::MAX; + pub const SellFee: Permill = Permill::from_percent(10); + pub const MinAmountToBuyout: Balance = 100 * UNIT; + +} + +impl pallet_balances::Config for Test { + type MaxLocks = MaxLocks; + /// The type for recording an account's balance. + type Balance = Balance; + /// The ubiquitous event type. + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = pallet_balances::weights::SubstrateWeight; + type MaxReserves = MaxReserves; + type ReserveIdentifier = (); +} + +impl orml_currencies::Config for Test { + type MultiCurrency = Tokens; + type NativeCurrency = BasicCurrencyAdapter; + type GetNativeCurrencyId = GetNativeCurrencyId; + type WeightInfo = (); +} + +pub struct TimeMock {} + +impl UnixTime for TimeMock { + fn now() -> core::time::Duration { + //core::time::Duration::from_millis(CURRENT_TIME.with(|v| *v.borrow())) + core::time::Duration::from_millis(1598006981634) + } +} + +pub struct OracleMock; + +// Maybe put it in text ext? +impl PriceGetter for OracleMock { + fn get_price(currency_id: CurrencyId) -> Result + where + FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, + { + //TODO: get price from oracle + let price: FixedNumber = FixedNumber::one().try_into().map_err(|_| DispatchError::Other("FixedU128 convert"))?; + + Ok(price) + } +} + +impl Config for Test { + /// The overarching event type. + type RuntimeEvent = RuntimeEvent; + /// Used for currency-related operations + type Currency = Currencies; + /// Used for getting the treasury account + type TreasuryAccount = TreasuryAccount; + /// Timestamp provider + type UnixTime = TimeMock; + /// Fee from the native asset buyouts + type SellFee = SellFee; + /// Used for fetching prices of currencies from oracle + type PriceGetter = OracleMock; + /// Min amount of native token to buyout + type MinAmountToBuyout = MinAmountToBuyout; + /// Weight information for extrinsics in this pallet. + type WeightInfo = (); + +} + +// ------- Constants and Genesis Config ------ // + +pub const USER: u64 = 0; + +pub const USERS_INITIAL_BALANCE: u128 = 1000000; +pub const DEPOSIT: u128 = 5000; +pub struct ExtBuilder; + +impl ExtBuilder { + pub fn build() -> sp_io::TestExternalities { + let mut storage = frame_system::GenesisConfig::default().build_storage::().unwrap(); + + let native_currency_id = GetNativeCurrencyId::get(); + //let dot_currency_id = + + orml_tokens::GenesisConfig:: { + balances: vec![ + (USER, native_currency_id, USERS_INITIAL_BALANCE), + ], + } + .assimilate_storage(&mut storage) + .unwrap(); + + pallet_balances::GenesisConfig:: { + balances: vec![ + (USER, USERS_INITIAL_BALANCE), + ], + } + .assimilate_storage(&mut storage) + .unwrap(); + + sp_io::TestExternalities::from(storage) + } +} + +pub fn run_test(test: T) +where + T: FnOnce(), +{ + ExtBuilder::build().execute_with(|| { + System::set_block_number(1); + test(); + }); +} From 449296a3d2a3982435336910708af2d4ce9cc168 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 26 Jan 2024 17:52:05 +0200 Subject: [PATCH 38/89] Allow only XCM assets for buyout --- pallets/treasury-buyout-extension/src/lib.rs | 20 ++++++++++++------- pallets/treasury-buyout-extension/src/mock.rs | 19 ++++++++++++++---- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 9a08f758f..bd1ad01d4 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -32,7 +32,6 @@ use sp_runtime::{ArithmeticError, FixedU128}; use sp_arithmetic::per_things::Rounding; use frame_support::traits::UnixTime; - #[allow(type_alias_bounds)] pub type AccountIdOf = ::AccountId; @@ -74,8 +73,8 @@ pub mod pallet { #[pallet::constant] type SellFee: Get; - // might be needed? - //type AssetRegistry: Inspect; + /// Type that allows for checking if currency type is ownable by users + type CurrencyIdChecker: CurrencyIdChecker>; /// Used for fetching prices of currencies from oracle type PriceGetter: PriceGetter>; @@ -207,9 +206,9 @@ impl Pallet { Ok(()) } - fn ensure_not_native_buyout(asset: &CurrencyIdOf) -> DispatchResult { + fn ensure_allowed_asset_for_buyout(asset: &CurrencyIdOf) -> DispatchResult { ensure!( - asset != &::GetNativeCurrencyId::get(), + T::CurrencyIdChecker::is_allowed_currency_id(asset), Error::::WrongAssetToBuyout ); @@ -299,7 +298,7 @@ impl Pallet { asset: CurrencyIdOf, amount: Amount>, ) -> DispatchResult { - Self::ensure_not_native_buyout(&asset)?; + Self::ensure_allowed_asset_for_buyout(&asset)?; let basic_asset = ::GetNativeCurrencyId::get(); let (buyout_amount, exchange_amount) = Self::split_to_buyout_and_exchange(asset, amount)?; @@ -362,6 +361,13 @@ impl Pallet { } } +pub trait CurrencyIdChecker +where + CurrencyId: Clone + PartialEq + Eq + Debug, +{ + fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool; +} + pub trait PriceGetter where CurrencyId: Clone + PartialEq + Eq + Debug, @@ -470,7 +476,7 @@ where ) -> TransactionValidity { if let Some(local_call) = call.is_sub_type() { if let Call::buyout { asset, amount } = local_call { - Pallet::::ensure_not_native_buyout(asset).map_err(|_| { + Pallet::::ensure_allowed_asset_for_buyout(asset).map_err(|_| { InvalidTransaction::Custom(ValidityError::WrongAssetToBuyout.into()) })?; diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 14e51485a..137c774db 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -1,5 +1,5 @@ use crate::{ - self as treasury_buyout_extension, Config, PriceGetter, + self as treasury_buyout_extension, Config, PriceGetter, CurrencyIdChecker, }; use frame_support::{ pallet_prelude::GenesisBuild, @@ -40,7 +40,7 @@ pub type Balance = u128; pub type BlockNumber = u64; pub type Index = u64; pub type Amount = i64; -pub type CurrencyId = u64; +pub type CurrencyId = spacewalk_primitives::CurrencyId; parameter_types! { pub const BlockHashCount: u64 = 250; @@ -77,7 +77,7 @@ pub type TestEvent = RuntimeEvent; parameter_types! { pub const MaxLocks: u32 = 50; - pub const GetNativeCurrencyId: CurrencyId = 0; + pub const GetNativeCurrencyId: CurrencyId = spacewalk_primitives::CurrencyId::Native; } parameter_type_with_key! { @@ -144,7 +144,7 @@ impl orml_currencies::Config for Test { type WeightInfo = (); } -pub struct TimeMock {} +pub struct TimeMock; impl UnixTime for TimeMock { fn now() -> core::time::Duration { @@ -153,6 +153,15 @@ impl UnixTime for TimeMock { } } +pub struct CurrencyIdCheckerImpl; + +impl CurrencyIdChecker for CurrencyIdCheckerImpl { + // We allow only XCM assets + fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { + matches!(currency_id, spacewalk_primitives::CurrencyId::XCM(_)) + } +} + pub struct OracleMock; // Maybe put it in text ext? @@ -179,6 +188,8 @@ impl Config for Test { type UnixTime = TimeMock; /// Fee from the native asset buyouts type SellFee = SellFee; + /// Type that allows for checking if currency type is ownable by users + type CurrencyIdChecker = CurrencyIdCheckerImpl; /// Used for fetching prices of currencies from oracle type PriceGetter = OracleMock; /// Min amount of native token to buyout From 69a81c7bb8fd50459ceff995a80a53807c9ab763 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 26 Jan 2024 17:57:04 +0200 Subject: [PATCH 39/89] Update mock to only allow specific XCM assets --- pallets/treasury-buyout-extension/src/mock.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 137c774db..b5aff52d3 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -156,9 +156,14 @@ impl UnixTime for TimeMock { pub struct CurrencyIdCheckerImpl; impl CurrencyIdChecker for CurrencyIdCheckerImpl { - // We allow only XCM assets + // We allow only some XCM assets + // Specifically, we allow USDC, USDT, DOT, GLMR fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { - matches!(currency_id, spacewalk_primitives::CurrencyId::XCM(_)) + matches!(currency_id, spacewalk_primitives::CurrencyId::XCM(0) | + spacewalk_primitives::CurrencyId::XCM(1) | + spacewalk_primitives::CurrencyId::XCM(2) | + spacewalk_primitives::CurrencyId::XCM(6) + ) } } From b8cda8327ddae0088791050b967bcf21ddd2756e Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Tue, 30 Jan 2024 22:08:16 +0200 Subject: [PATCH 40/89] Add tests and benchmarks - still wip --- Cargo.lock | 4 - pallets/treasury-buyout-extension/Cargo.toml | 7 +- .../src/benchmarking.rs | 63 +++ pallets/treasury-buyout-extension/src/lib.rs | 18 +- pallets/treasury-buyout-extension/src/mock.rs | 38 +- .../treasury-buyout-extension/src/tests.rs | 465 ++++++++++++++++++ .../treasury-buyout-extension/src/types.rs | 15 +- 7 files changed, 571 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 59a0f913c..f565c615e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13661,14 +13661,10 @@ dependencies = [ name = "treasury-buyout-extension" version = "1.0.0" dependencies = [ - "dia-oracle", - "dia-oracle-runtime-api", "frame-benchmarking", "frame-support", "frame-system", "mocktopus", - "oracle", - "orml-asset-registry", "orml-currencies", "orml-tokens", "orml-traits", diff --git a/pallets/treasury-buyout-extension/Cargo.toml b/pallets/treasury-buyout-extension/Cargo.toml index 0e3280a45..a264d9621 100644 --- a/pallets/treasury-buyout-extension/Cargo.toml +++ b/pallets/treasury-buyout-extension/Cargo.toml @@ -21,15 +21,11 @@ pallet-treasury = {git = "https://github.com/paritytech/substrate", default-feat frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } -orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } -dia-oracle = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40"} -dia-oracle-runtime-api = {git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40"} -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } - +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "d05b0015d15ca39cc780889bcc095335e9862a36"} [dev-dependencies] mocktopus = "0.8.0" @@ -58,6 +54,7 @@ std = [ "orml-tokens/std", "orml-traits/std", "frame-benchmarking/std", + "pallet-treasury/std", "spacewalk-primitives/std" ] diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index 8b1378917..2ffbc5932 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -1 +1,64 @@ +#![allow(warnings)] +#[cfg(feature = "runtime-benchmarks")] +use super::{Pallet as TreasuryBuyoutExtension, *}; +use frame_system::RawOrigin; +use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite}; +use frame_support::assert_ok; +use sp_std::prelude::*; +use crate::types::{AccountIdOf, BalanceOf, CurrencyIdOf}; +use spacewalk_primitives::CurrencyId; + + +fn get_test_currency() -> CurrencyIdOf { + // DOT + // Still have issues with this + //<::MultiCurrency as orml_tokens::Config>::CurrencyId::XCM(0) +} + +// Mint some tokens to the caller and treasury accounts +fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: &AccountIdOf) { + let token_currency_id = get_test_currency::(); + //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); + let native_currency_id = ::GetNativeCurrencyId::get(); + + let amount: BalanceOf = 1_000_000_000_000_000u128.try_into().unwrap_or_default(); + + assert_ok!(<::Currency as MultiCurrency::>>::deposit( + token_currency_id, + &caller_account, + amount + )); + + assert_ok!(<::Currency as MultiCurrency::>>::deposit( + native_currency_id, + &treasury_account, + amount + )); +} + +benchmarks! { + buyout { + let token_currency_id = get_test_currency::(); + //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); + let native_currency_id = ::GetNativeCurrencyId::get(); + let caller_account = account("Caller", 0, 0); + let treasury_account = ::TreasuryAccount::get(); + set_up_accounts::(&caller_account, &treasury_account); + let origin = RawOrigin::Signed(caller_account.clone()); + let limit: BalanceOf = 100_000_000_000_000u128.try_into().unwrap_or_default(); + BuyoutLimit::::put(limit); + // Set previous buyout limit to 0 + Buyouts::::insert(caller_account.clone(), (BalanceOf::::default(), 0)); + + }: _(origin, token_currency_id, Amount::Buyout(100_000_000_000_000u128.try_into().unwrap_or_default())) + verify{ + assert_eq!( + as MultiCurrency::>>::free_balance(native_currency_id, &caller_account), + 100_000_000_000_000u128.try_into().unwrap_or_default() + ); + } + + update_buyout_limit { + }: _(RawOrigin::Root, Some(100_000_000_000_000u128.try_into().unwrap_or_default())) +} \ No newline at end of file diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index bd1ad01d4..bf8cdbec2 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -14,7 +14,7 @@ mod tests; mod types; -use crate::types::{Amount, BUYOUT_LIMIT_PERIOD_IN_SEC}; +use crate::types::{Amount, AccountIdOf, CurrencyIdOf, BalanceOf, BUYOUT_LIMIT_PERIOD_IN_SEC}; use codec::{Decode, Encode}; use sp_runtime::traits::{DispatchInfoOf, SignedExtension}; use frame_support::{dispatch::{DispatchError, DispatchResult}, sp_runtime::SaturatedConversion, traits::{IsSubType, Get}, ensure}; @@ -32,17 +32,7 @@ use sp_runtime::{ArithmeticError, FixedU128}; use sp_arithmetic::per_things::Rounding; use frame_support::traits::UnixTime; -#[allow(type_alias_bounds)] -pub type AccountIdOf = ::AccountId; - -#[allow(type_alias_bounds)] -pub(crate) type CurrencyIdOf = - <::MultiCurrency as MultiCurrency< - ::AccountId - >>::CurrencyId; - -#[allow(type_alias_bounds)] -type BalanceOf = <::Currency as MultiCurrency>>::Balance; +pub use pallet::*; #[frame_support::pallet] pub mod pallet { @@ -151,6 +141,7 @@ pub mod pallet { asset: CurrencyIdOf, exchange_amount: BalanceOf, }, + //TODO should we delete this? // Exchange event Exchange { from: AccountIdOf, @@ -193,7 +184,6 @@ impl Pallet { Buyouts::::insert(account_id, (buyouts, now)); }; - // maybe I can do it easier than this ensure!( buyouts .saturated_into::() @@ -277,6 +267,7 @@ impl Pallet { buyout_amount } + //TODO add comment here fn split_to_buyout_and_exchange( asset: CurrencyIdOf, amount: Amount>, @@ -328,6 +319,7 @@ impl Pallet { T::Currency::transfer(basic_asset, &treasury_account_id, &who, buyout_amount) .map_err(|_| Error::::ExchangeFailure)?; + //TODO emit Exchange event or Buyout event based on amount passed in this function? Self::update_buyouts(&who, buyout_amount); Self::deposit_event(Event::::Buyout { who, buyout_amount, asset, exchange_amount }); diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index b5aff52d3..2934e760b 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -32,6 +32,7 @@ frame_support::construct_runtime!( Tokens: orml_tokens::{Pallet, Storage, Config, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Event}, Currencies: orml_currencies::{Pallet, Call}, + TreasuryBuyoutExtension: treasury_buyout_extension::{Pallet, Storage, Call, Event}, } ); @@ -40,7 +41,7 @@ pub type Balance = u128; pub type BlockNumber = u64; pub type Index = u64; pub type Amount = i64; -pub type CurrencyId = spacewalk_primitives::CurrencyId; +pub type CurrencyId = u64; parameter_types! { pub const BlockHashCount: u64 = 250; @@ -77,7 +78,7 @@ pub type TestEvent = RuntimeEvent; parameter_types! { pub const MaxLocks: u32 = 50; - pub const GetNativeCurrencyId: CurrencyId = spacewalk_primitives::CurrencyId::Native; + pub const GetNativeCurrencyId: CurrencyId = u64::MAX; } parameter_type_with_key! { @@ -118,9 +119,8 @@ parameter_types! { pub const ExistentialDeposit: Balance = 1000; pub const MaxReserves: u32 = 50; pub const TreasuryAccount: AccountId = u64::MAX; - pub const SellFee: Permill = Permill::from_percent(10); + pub const SellFee: Permill = Permill::from_percent(1); pub const MinAmountToBuyout: Balance = 100 * UNIT; - } impl pallet_balances::Config for Test { @@ -149,7 +149,7 @@ pub struct TimeMock; impl UnixTime for TimeMock { fn now() -> core::time::Duration { //core::time::Duration::from_millis(CURRENT_TIME.with(|v| *v.borrow())) - core::time::Duration::from_millis(1598006981634) + core::time::Duration::from_millis(1706624641) } } @@ -159,10 +159,10 @@ impl CurrencyIdChecker for CurrencyIdCheckerImpl { // We allow only some XCM assets // Specifically, we allow USDC, USDT, DOT, GLMR fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { - matches!(currency_id, spacewalk_primitives::CurrencyId::XCM(0) | - spacewalk_primitives::CurrencyId::XCM(1) | - spacewalk_primitives::CurrencyId::XCM(2) | - spacewalk_primitives::CurrencyId::XCM(6) + matches!(currency_id, 0u64 | + 1u64 | + 2u64 | + 3u64 ) } } @@ -175,9 +175,13 @@ impl PriceGetter for OracleMock { where FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, { - //TODO: get price from oracle + //TODO: Get price from oracle? + // This simulates price fetching error for testing pre_dispatch validation but only for one specific supported asset + if currency_id == 2u64 { + return Err(DispatchError::Other("No price")) + } + let price: FixedNumber = FixedNumber::one().try_into().map_err(|_| DispatchError::Other("FixedU128 convert"))?; - Ok(price) } } @@ -207,21 +211,22 @@ impl Config for Test { // ------- Constants and Genesis Config ------ // pub const USER: u64 = 0; +pub const TREASURY_ACCOUNT: u64 = TreasuryAccount::get(); + +pub const USERS_INITIAL_BALANCE: u128 = 200 * UNIT; +pub const TREASURY_INITIAL_BALANCE: u128 = 1000 * UNIT; -pub const USERS_INITIAL_BALANCE: u128 = 1000000; -pub const DEPOSIT: u128 = 5000; pub struct ExtBuilder; impl ExtBuilder { pub fn build() -> sp_io::TestExternalities { let mut storage = frame_system::GenesisConfig::default().build_storage::().unwrap(); - let native_currency_id = GetNativeCurrencyId::get(); - //let dot_currency_id = + let dot_currency_id = 0u64; orml_tokens::GenesisConfig:: { balances: vec![ - (USER, native_currency_id, USERS_INITIAL_BALANCE), + (USER, dot_currency_id, USERS_INITIAL_BALANCE), ], } .assimilate_storage(&mut storage) @@ -230,6 +235,7 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { balances: vec![ (USER, USERS_INITIAL_BALANCE), + (TREASURY_ACCOUNT, TREASURY_INITIAL_BALANCE), ], } .assimilate_storage(&mut storage) diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index 8b1378917..3e91cfb83 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -1 +1,466 @@ +#![cfg(test)] +use crate::{ + mock::*, + types::{Amount, CurrencyIdOf}, + Config, Error, PriceGetter, BuyoutLimit, Buyouts, ValidityError, +}; +use frame_support::{assert_err, assert_ok, traits::UnixTime, assert_noop}; +use orml_traits::MultiCurrency; +use sp_arithmetic::{FixedU128, traits::One}; +use sp_runtime::{traits::BadOrigin, transaction_validity::{InvalidTransaction, TransactionValidityError}}; +fn get_free_balance(currency_id: CurrencyIdOf, account: &AccountId) -> Balance { + as MultiCurrency>::free_balance(currency_id, account) +} + +#[test] +fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { + run_test(|| { + let user = USER; + let initial_user_dot_balance = get_free_balance(0u64, &user); + let initial_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + let exchange_amount = 100 * UNIT; + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + 0u64, + Amount::Exchange(exchange_amount), + )); + + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::(GetNativeCurrencyId::get()).expect("This is mocked so it should not fail"); + let exchange_asset_price = >>::get_price::(0u64).expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate Native buyout amount + let buyout_amount = crate::Pallet::::multiply_by_rational(exchange_amount, exchange_asset_price.into_inner(), basic_asset_price_with_fee.into_inner()).expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(0u64, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let final_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); + assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); + + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); + + // Verify Buyout event was emitted + assert!(System::events().iter().any(|record| matches!( + record.event, + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + if who == user && amount == buyout_amount + ))); + }); +} + +#[test] +fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { + run_test(|| { + let user = USER; + let initial_user_dot_balance = get_free_balance(0u64, &user); + let initial_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + let buyout_amount = 100 * UNIT; + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + 0u64, + Amount::Buyout(buyout_amount), + )); + + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::(GetNativeCurrencyId::get()).expect("This is mocked so it should not fail"); + let exchange_asset_price = >>::get_price::(0u64).expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate DOT exchange amount + let exchange_amount = crate::Pallet::::multiply_by_rational(buyout_amount, basic_asset_price_with_fee.into_inner(), exchange_asset_price.into_inner()).expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(0u64, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let final_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); + assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); + + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); + + // Verify Buyout event was emitted + assert!(System::events().iter().any(|record| matches!( + record.event, + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + if who == user && amount == buyout_amount + ))); + }); +} + +#[test] +fn root_update_buyout_amount_limit_succeeds() { + run_test(|| { + let buyout_amount_limit = 200 * UNIT; + assert_ok!(crate::Pallet::::update_buyout_limit( + RuntimeOrigin::root(), + Some(buyout_amount_limit.into()), + )); + + assert_eq!(BuyoutLimit::::get(), buyout_amount_limit.into()); + + let buyout_amount_limit = None; + assert_ok!(crate::Pallet::::update_buyout_limit( + RuntimeOrigin::root(), + buyout_amount_limit, + )); + + assert_eq!(BuyoutLimit::::get(), buyout_amount_limit); + + }); +} + +#[test] +fn user_update_buyout_amount_limit_fails() { + run_test(|| { + let user = USER; + + let buyout_amount_limit = 200 * UNIT; + assert_noop!(crate::Pallet::::update_buyout_limit( + RuntimeOrigin::signed(user), + Some(buyout_amount_limit.into()), + ), BadOrigin); + + }); +} + +#[test] +fn attempt_buyout_with_wrong_currency_fails() { + run_test(|| { + let user = USER; + let native_currency_id = GetNativeCurrencyId::get(); + let initial_user_native_balance = get_free_balance(native_currency_id, &user); + let initial_treasury_native_balance = get_free_balance(native_currency_id, &TreasuryAccount::get()); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + let buyout_amount = 100 * UNIT; + assert_noop!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + native_currency_id, + Amount::Buyout(buyout_amount), + ), Error::::WrongAssetToBuyout); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + + let exchange_amount = 100 * UNIT; + assert_noop!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + native_currency_id, + Amount::Exchange(exchange_amount), + ), Error::::WrongAssetToBuyout); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + }); +} + +#[test] +fn buyout_with_previous_existing_buyouts_succeeds() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let exchange_amount = 100 * UNIT; + + // With buyout limit and buyouts of previous periods + BuyoutLimit::::put(200 * UNIT); + Buyouts::::insert(user, (100 * UNIT, 0)); + + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Exchange(exchange_amount), + )); + }); +} + +#[test] +fn attempt_buyout_after_buyout_limit_exceeded_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let exchange_amount = 100 * UNIT; + + let now = ::now().as_secs(); + + // With buyout limit and buyouts of previous periods + BuyoutLimit::::put(150 * UNIT); + Buyouts::::insert(user, (100 * UNIT, now)); + + assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); + + // This buyout attempt should fail because the limit is exceeded + assert_noop!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Exchange(exchange_amount), + ), Error::::BuyoutLimitExceeded); + + }); +} + +#[test] +fn buyout_after_buyout_limit_reset_succeeds() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let buyout_amount = 100 * UNIT; + + let now = ::now().as_secs(); + + // With buyout limit and buyouts of previous periods + BuyoutLimit::::put(200 * UNIT); + // Previous buyout at some time in the past, more than 24 hours ago + Buyouts::::insert(user, (150 * UNIT, 0)); + + assert_eq!(Buyouts::::get(user), (150 * UNIT, 0)); + + // This buyout attempt should fail because the limit is exceeded + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Buyout(buyout_amount), + )); + + // Buyouts should be reset and the total buyout amount should be equal to the last buyout amount + assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); + + }); +} + +#[test] +fn attempt_buyout_with_insufficient_user_balance_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let buyout_amount = 10000 * UNIT; + + // This buyout attempt should fail because the user balance is insufficient + assert_noop!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Buyout(buyout_amount), + ), Error::::InsufficientAccountBalance); + }); +} + +#[test] +fn attempt_buyout_with_insufficient_treasury_balance_fails() { + run_test(|| { + let user = USER; + let native_currency_id = GetNativeCurrencyId::get(); + let dot_currency_id = 0u64; + let buyout_amount = 100 * UNIT; + + // Transfer all treasury balance to user just for testing purposes + // Makes treasury balance insufficient + assert_ok!(<::Currency>::transfer(RuntimeOrigin::signed(TREASURY_ACCOUNT), user, native_currency_id, TREASURY_INITIAL_BALANCE)); + + // This buyout attempt should fail because the treasury balance is insufficient + assert_noop!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Buyout(buyout_amount), + ), Error::::InsufficientTreasuryBalance); + + }); +} + +mod signed_extension { + use frame_support::{weights::Weight, dispatch::DispatchInfo}; + use sp_runtime::traits::SignedExtension; + + use crate::CheckBuyout; + + use super::*; + + pub fn info_from_weight(w: Weight) -> DispatchInfo { + DispatchInfo { + weight: w, + ..Default::default() + } + } + + #[test] + fn validate_skip_other_calls_succeeds() { + run_test(|| { + let buyout_call = + RuntimeCall::TreasuryBuyoutExtension(crate::Call::update_buyout_limit { limit: None }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + assert_ok!(check.validate(&1, &buyout_call, &info, 0)); + }); + } + + #[test] + fn validate_when_wrong_asset_fails() { + run_test(|| { + let user = USER; + + // Some unsupported assets for buyout + let native_currency_id = GetNativeCurrencyId::get(); + let brz_currency_id = 4u64; + + // call with unsupported asset + for asset in [native_currency_id, brz_currency_id] { + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset, + amount: Amount::Buyout(100 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::WrongAssetToBuyout.into() + )) + ); + } + }); + } + + #[test] + fn validate_when_no_price_found_fails() { + run_test(|| { + let user = USER; + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: 2u64, + amount: Amount::Buyout(100 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::Math.into() + )) + ); + }); + } + + #[test] + fn validate_when_not_enough_to_buyout_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(1000 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::NotEnoughToBuyout.into() + )) + ); + }); + } + + #[test] + fn validate_when_buyout_limit_exceeded_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(100 * UNIT), + }); + + let now = TimeMock::now().as_secs(); + BuyoutLimit::::put(100 * UNIT); + Buyouts::::insert(&user, (80 * UNIT, now)); + + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::BuyoutLimitExceeded.into() + )) + ); + }); + } + + #[test] + fn validate_when_less_than_min_amount_to_buyout_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(10 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::LessThanMinBuyoutAmount.into() + )) + ); + }); + } + + #[test] + fn validate_succeeds() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(100 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_ok!(check.validate(&user, &buyout_call, &info, 1)); + }); + } +} diff --git a/pallets/treasury-buyout-extension/src/types.rs b/pallets/treasury-buyout-extension/src/types.rs index 44430ea4d..7c89ea6a0 100644 --- a/pallets/treasury-buyout-extension/src/types.rs +++ b/pallets/treasury-buyout-extension/src/types.rs @@ -1,6 +1,19 @@ use codec::{Decode, Encode, MaxEncodedLen}; -// use orml_traits::MultiCurrency; +use orml_traits::MultiCurrency; use scale_info::TypeInfo; +use crate::Config; + +#[allow(type_alias_bounds)] +pub(crate) type AccountIdOf = ::AccountId; + +#[allow(type_alias_bounds)] +pub(crate) type CurrencyIdOf = + <::MultiCurrency as MultiCurrency< + ::AccountId + >>::CurrencyId; + +#[allow(type_alias_bounds)] +pub(crate) type BalanceOf = <::Currency as MultiCurrency>>::Balance; /// Type of amount #[derive(Copy, Clone, Debug, Encode, Decode, PartialEq, Eq, TypeInfo, MaxEncodedLen)] From 95035a4687f7847fc49edac6b6b7f11e1ac827ad Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Wed, 31 Jan 2024 09:16:14 +0200 Subject: [PATCH 41/89] Fmt --- .../src/benchmarking.rs | 72 +- pallets/treasury-buyout-extension/src/lib.rs | 228 +++--- pallets/treasury-buyout-extension/src/mock.rs | 78 +- .../treasury-buyout-extension/src/tests.rs | 683 ++++++++++-------- .../treasury-buyout-extension/src/types.rs | 7 +- 5 files changed, 549 insertions(+), 519 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index 2ffbc5932..2f72445c6 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -1,28 +1,26 @@ #![allow(warnings)] #[cfg(feature = "runtime-benchmarks")] use super::{Pallet as TreasuryBuyoutExtension, *}; -use frame_system::RawOrigin; +use crate::types::{AccountIdOf, BalanceOf, CurrencyIdOf}; use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite}; use frame_support::assert_ok; +use frame_system::RawOrigin; +use mock::CurrencyId; use sp_std::prelude::*; -use crate::types::{AccountIdOf, BalanceOf, CurrencyIdOf}; -use spacewalk_primitives::CurrencyId; - - fn get_test_currency() -> CurrencyIdOf { - // DOT - // Still have issues with this - //<::MultiCurrency as orml_tokens::Config>::CurrencyId::XCM(0) + // DOT + // Still have issues with this + <::MultiCurrency as orml_tokens::Config>::CurrencyId::XCM(0) } // Mint some tokens to the caller and treasury accounts -fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: &AccountIdOf) { +fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: &AccountIdOf) { let token_currency_id = get_test_currency::(); - //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); - let native_currency_id = ::GetNativeCurrencyId::get(); + //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); + let native_currency_id = ::GetNativeCurrencyId::get(); - let amount: BalanceOf = 1_000_000_000_000_000u128.try_into().unwrap_or_default(); + let amount: BalanceOf = 1_000_000_000_000_000u128.try_into().unwrap_or_default(); assert_ok!(<::Currency as MultiCurrency::>>::deposit( token_currency_id, @@ -30,7 +28,7 @@ fn set_up_accounts(caller_account: &AccountIdOf amount )); - assert_ok!(<::Currency as MultiCurrency::>>::deposit( + assert_ok!(<::Currency as MultiCurrency::>>::deposit( native_currency_id, &treasury_account, amount @@ -38,27 +36,27 @@ fn set_up_accounts(caller_account: &AccountIdOf } benchmarks! { - buyout { - let token_currency_id = get_test_currency::(); - //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); - let native_currency_id = ::GetNativeCurrencyId::get(); - let caller_account = account("Caller", 0, 0); - let treasury_account = ::TreasuryAccount::get(); - set_up_accounts::(&caller_account, &treasury_account); - let origin = RawOrigin::Signed(caller_account.clone()); - let limit: BalanceOf = 100_000_000_000_000u128.try_into().unwrap_or_default(); - BuyoutLimit::::put(limit); - // Set previous buyout limit to 0 - Buyouts::::insert(caller_account.clone(), (BalanceOf::::default(), 0)); - - }: _(origin, token_currency_id, Amount::Buyout(100_000_000_000_000u128.try_into().unwrap_or_default())) - verify{ - assert_eq!( - as MultiCurrency::>>::free_balance(native_currency_id, &caller_account), - 100_000_000_000_000u128.try_into().unwrap_or_default() - ); - } - - update_buyout_limit { - }: _(RawOrigin::Root, Some(100_000_000_000_000u128.try_into().unwrap_or_default())) -} \ No newline at end of file + buyout { + let token_currency_id = get_test_currency::(); + //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); + let native_currency_id = ::GetNativeCurrencyId::get(); + let caller_account = account("Caller", 0, 0); + let treasury_account = ::TreasuryAccount::get(); + set_up_accounts::(&caller_account, &treasury_account); + let origin = RawOrigin::Signed(caller_account.clone()); + let limit: BalanceOf = 100_000_000_000_000u128.try_into().unwrap_or_default(); + BuyoutLimit::::put(limit); + // Set previous buyout limit to 0 + Buyouts::::insert(caller_account.clone(), (BalanceOf::::default(), 0)); + + }: _(origin, token_currency_id, Amount::Buyout(100_000_000_000_000u128.try_into().unwrap_or_default())) + verify{ + assert_eq!( + as MultiCurrency::>>::free_balance(native_currency_id, &caller_account), + 100_000_000_000_000u128.try_into().unwrap_or_default() + ); + } + + update_buyout_limit { + }: _(RawOrigin::Root, Some(100_000_000_000_000u128.try_into().unwrap_or_default())) +} diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index bf8cdbec2..7d3fd5ae6 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -14,34 +14,32 @@ mod tests; mod types; -use crate::types::{Amount, AccountIdOf, CurrencyIdOf, BalanceOf, BUYOUT_LIMIT_PERIOD_IN_SEC}; +use crate::types::{AccountIdOf, Amount, BalanceOf, CurrencyIdOf, BUYOUT_LIMIT_PERIOD_IN_SEC}; use codec::{Decode, Encode}; -use sp_runtime::traits::{DispatchInfoOf, SignedExtension}; -use frame_support::{dispatch::{DispatchError, DispatchResult}, sp_runtime::SaturatedConversion, traits::{IsSubType, Get}, ensure}; +use frame_support::{ + dispatch::{DispatchError, DispatchResult}, + ensure, + sp_runtime::SaturatedConversion, + traits::{Get, IsSubType, UnixTime}, +}; use orml_traits::MultiCurrency; pub use pallet::*; +use sp_arithmetic::per_things::Rounding; use sp_runtime::{ - traits::{One, Zero}, - FixedPointNumber, + traits::{DispatchInfoOf, One, SignedExtension, Zero}, transaction_validity::{ - InvalidTransaction, TransactionValidity, TransactionValidityError, ValidTransaction, - }, + InvalidTransaction, TransactionValidity, TransactionValidityError, ValidTransaction, + }, + ArithmeticError, FixedPointNumber, FixedU128, }; use sp_std::{fmt::Debug, marker::PhantomData}; -use sp_runtime::{ArithmeticError, FixedU128}; -use sp_arithmetic::per_things::Rounding; -use frame_support::traits::UnixTime; pub use pallet::*; #[frame_support::pallet] pub mod pallet { use super::*; - use frame_support::{ - pallet_prelude::*, - sp_runtime::Permill, - traits::UnixTime, - }; + use frame_support::{pallet_prelude::*, sp_runtime::Permill, traits::UnixTime}; use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, WeightInfo}; #[pallet::config] @@ -162,8 +160,6 @@ pub mod pallet { #[pallet::storage] pub type Buyouts = StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u64), ValueQuery>; - - } impl Pallet { @@ -221,8 +217,7 @@ impl Pallet { let basic_asset = ::GetNativeCurrencyId::get(); ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - let (basic_asset_price, exchange_asset_price) = - Self::fetch_prices((&basic_asset, &asset))?; + let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price let basic_asset_price_with_fee = @@ -248,8 +243,7 @@ impl Pallet { ensure!(asset != basic_asset, Error::::WrongAssetToBuyout); - let (basic_asset_price, exchange_asset_price) = - Self::fetch_prices((&basic_asset, &asset))?; + let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price let basic_asset_price_with_fee = @@ -291,8 +285,7 @@ impl Pallet { ) -> DispatchResult { Self::ensure_allowed_asset_for_buyout(&asset)?; let basic_asset = ::GetNativeCurrencyId::get(); - let (buyout_amount, exchange_amount) = - Self::split_to_buyout_and_exchange(asset, amount)?; + let (buyout_amount, exchange_amount) = Self::split_to_buyout_and_exchange(asset, amount)?; Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; let treasury_account_id = T::TreasuryAccount::get(); @@ -353,7 +346,7 @@ impl Pallet { } } -pub trait CurrencyIdChecker +pub trait CurrencyIdChecker where CurrencyId: Clone + PartialEq + Eq + Debug, { @@ -373,128 +366,127 @@ where /// Buyout validity errors #[repr(u8)] pub enum ValidityError { - /// Account balance is too low to make buyout - NotEnoughToBuyout = 0, - /// Math error - Math = 1, - /// Buyout limit exceeded - BuyoutLimitExceeded = 2, - /// Amount to buyout less than min amount - LessThanMinBuyoutAmount = 3, - /// Wrong asset - WrongAssetToBuyout = 4, + /// Account balance is too low to make buyout + NotEnoughToBuyout = 0, + /// Math error + Math = 1, + /// Buyout limit exceeded + BuyoutLimitExceeded = 2, + /// Amount to buyout less than min amount + LessThanMinBuyoutAmount = 3, + /// Wrong asset + WrongAssetToBuyout = 4, } impl From for u8 { - fn from(err: ValidityError) -> Self { - err as u8 - } + fn from(err: ValidityError) -> Self { + err as u8 + } } #[derive(Encode, Decode, Clone, Eq, PartialEq, scale_info::TypeInfo)] pub struct CheckBuyout(PhantomData) where - ::RuntimeCall: IsSubType>; + ::RuntimeCall: IsSubType>; impl Debug for CheckBuyout where - ::RuntimeCall: IsSubType>, + ::RuntimeCall: IsSubType>, { - #[cfg(feature = "std")] - fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result { - write!(f, "CheckBuyout") - } - - #[cfg(not(feature = "std"))] - fn fmt(&self, _: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result { - Ok(()) - } + #[cfg(feature = "std")] + fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result { + write!(f, "CheckBuyout") + } + + #[cfg(not(feature = "std"))] + fn fmt(&self, _: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result { + Ok(()) + } } impl Default for CheckBuyout where - ::RuntimeCall: IsSubType>, + ::RuntimeCall: IsSubType>, { - fn default() -> Self { - Self(PhantomData) - } + fn default() -> Self { + Self(PhantomData) + } } impl CheckBuyout where - ::RuntimeCall: IsSubType>, + ::RuntimeCall: IsSubType>, { - pub fn new() -> Self { - Self(PhantomData) - } + pub fn new() -> Self { + Self(PhantomData) + } } impl SignedExtension for CheckBuyout where - ::RuntimeCall: IsSubType>, + ::RuntimeCall: IsSubType>, { - const IDENTIFIER: &'static str = "CheckBuyout"; - type AccountId = AccountIdOf; - type Call = T::RuntimeCall; - type AdditionalSigned = (); - type Pre = (); - - fn additional_signed(&self) -> Result { - Ok(()) - } - - fn pre_dispatch( - self, - who: &Self::AccountId, - call: &Self::Call, - info: &DispatchInfoOf, - len: usize, - ) -> Result { - self.validate(who, call, info, len) - .map(|_| Self::Pre::default()) - .map_err(Into::into) - } - - /// Checks: - /// - buyout_amount is greater or equal `MinAmountToBuyout` - /// - `who` has enough to make buyout - /// - buyout limit not exceeded for `who` - fn validate( - &self, - who: &Self::AccountId, - call: &Self::Call, - _info: &DispatchInfoOf, - _len: usize, - ) -> TransactionValidity { - if let Some(local_call) = call.is_sub_type() { - if let Call::buyout { asset, amount } = local_call { - Pallet::::ensure_allowed_asset_for_buyout(asset).map_err(|_| { - InvalidTransaction::Custom(ValidityError::WrongAssetToBuyout.into()) - })?; - - let (buyout_amount, exchange_amount) = - Pallet::::split_to_buyout_and_exchange(*asset, *amount) - .map_err(|_| InvalidTransaction::Custom(ValidityError::Math.into()))?; - - ensure!( - buyout_amount >= T::MinAmountToBuyout::get(), - InvalidTransaction::Custom(ValidityError::LessThanMinBuyoutAmount.into()) - ); - - let free_balance = T::Currency::free_balance(*asset, who); - + const IDENTIFIER: &'static str = "CheckBuyout"; + type AccountId = AccountIdOf; + type Call = T::RuntimeCall; + type AdditionalSigned = (); + type Pre = (); + + fn additional_signed(&self) -> Result { + Ok(()) + } + + fn pre_dispatch( + self, + who: &Self::AccountId, + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result { + self.validate(who, call, info, len) + .map(|_| Self::Pre::default()) + .map_err(Into::into) + } + + /// Checks: + /// - buyout_amount is greater or equal `MinAmountToBuyout` + /// - `who` has enough to make buyout + /// - buyout limit not exceeded for `who` + fn validate( + &self, + who: &Self::AccountId, + call: &Self::Call, + _info: &DispatchInfoOf, + _len: usize, + ) -> TransactionValidity { + if let Some(local_call) = call.is_sub_type() { + if let Call::buyout { asset, amount } = local_call { + Pallet::::ensure_allowed_asset_for_buyout(asset).map_err(|_| { + InvalidTransaction::Custom(ValidityError::WrongAssetToBuyout.into()) + })?; + + let (buyout_amount, exchange_amount) = + Pallet::::split_to_buyout_and_exchange(*asset, *amount) + .map_err(|_| InvalidTransaction::Custom(ValidityError::Math.into()))?; + + ensure!( + buyout_amount >= T::MinAmountToBuyout::get(), + InvalidTransaction::Custom(ValidityError::LessThanMinBuyoutAmount.into()) + ); + + let free_balance = T::Currency::free_balance(*asset, who); + ensure!( free_balance >= exchange_amount, InvalidTransaction::Custom(ValidityError::NotEnoughToBuyout.into()) ); - - - Pallet::::ensure_buyout_limit_not_exceeded(who, buyout_amount).map_err( - |_| InvalidTransaction::Custom(ValidityError::BuyoutLimitExceeded.into()), - )?; - } - } - - Ok(ValidTransaction::default()) - } -} \ No newline at end of file + + Pallet::::ensure_buyout_limit_not_exceeded(who, buyout_amount).map_err( + |_| InvalidTransaction::Custom(ValidityError::BuyoutLimitExceeded.into()), + )?; + } + } + + Ok(ValidTransaction::default()) + } +} diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 2934e760b..49587704d 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -1,6 +1,4 @@ -use crate::{ - self as treasury_buyout_extension, Config, PriceGetter, CurrencyIdChecker, -}; +use crate::{self as treasury_buyout_extension, Config, CurrencyIdChecker, PriceGetter}; use frame_support::{ pallet_prelude::GenesisBuild, parameter_types, @@ -8,18 +6,19 @@ use frame_support::{ }; use orml_currencies::BasicCurrencyAdapter; use orml_traits::parameter_type_with_key; -use sp_std::fmt::Debug; -use sp_arithmetic::{FixedU128, FixedPointNumber, Permill}; +use sp_arithmetic::{FixedPointNumber, FixedU128, Permill}; use sp_core::H256; use sp_runtime::{ testing::Header, - traits::{BlakeTwo256, IdentityLookup, One, Zero}, DispatchError, + traits::{BlakeTwo256, IdentityLookup, One, Zero}, + DispatchError, }; +use sp_std::fmt::Debug; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; -pub const UNIT: Balance = 1_000_000_000_000; +pub const UNIT: Balance = 1_000_000_000_000; // Configure a mock runtime to test the pallet. frame_support::construct_runtime!( @@ -118,9 +117,9 @@ impl orml_tokens::Config for Test { parameter_types! { pub const ExistentialDeposit: Balance = 1000; pub const MaxReserves: u32 = 50; - pub const TreasuryAccount: AccountId = u64::MAX; - pub const SellFee: Permill = Permill::from_percent(1); - pub const MinAmountToBuyout: Balance = 100 * UNIT; + pub const TreasuryAccount: AccountId = u64::MAX; + pub const SellFee: Permill = Permill::from_percent(1); + pub const MinAmountToBuyout: Balance = 100 * UNIT; } impl pallet_balances::Config for Test { @@ -147,10 +146,10 @@ impl orml_currencies::Config for Test { pub struct TimeMock; impl UnixTime for TimeMock { - fn now() -> core::time::Duration { - //core::time::Duration::from_millis(CURRENT_TIME.with(|v| *v.borrow())) - core::time::Duration::from_millis(1706624641) - } + fn now() -> core::time::Duration { + //core::time::Duration::from_millis(CURRENT_TIME.with(|v| *v.borrow())) + core::time::Duration::from_millis(1706624641) + } } pub struct CurrencyIdCheckerImpl; @@ -159,11 +158,7 @@ impl CurrencyIdChecker for CurrencyIdCheckerImpl { // We allow only some XCM assets // Specifically, we allow USDC, USDT, DOT, GLMR fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { - matches!(currency_id, 0u64 | - 1u64 | - 2u64 | - 3u64 - ) + matches!(currency_id, 0u64 | 1u64 | 2u64 | 3u64) } } @@ -172,40 +167,41 @@ pub struct OracleMock; // Maybe put it in text ext? impl PriceGetter for OracleMock { fn get_price(currency_id: CurrencyId) -> Result - where - FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, - { + where + FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, + { //TODO: Get price from oracle? // This simulates price fetching error for testing pre_dispatch validation but only for one specific supported asset if currency_id == 2u64 { return Err(DispatchError::Other("No price")) } - let price: FixedNumber = FixedNumber::one().try_into().map_err(|_| DispatchError::Other("FixedU128 convert"))?; + let price: FixedNumber = FixedNumber::one() + .try_into() + .map_err(|_| DispatchError::Other("FixedU128 convert"))?; Ok(price) - } + } } impl Config for Test { - /// The overarching event type. - type RuntimeEvent = RuntimeEvent; - /// Used for currency-related operations - type Currency = Currencies; - /// Used for getting the treasury account - type TreasuryAccount = TreasuryAccount; - /// Timestamp provider - type UnixTime = TimeMock; - /// Fee from the native asset buyouts - type SellFee = SellFee; + /// The overarching event type. + type RuntimeEvent = RuntimeEvent; + /// Used for currency-related operations + type Currency = Currencies; + /// Used for getting the treasury account + type TreasuryAccount = TreasuryAccount; + /// Timestamp provider + type UnixTime = TimeMock; + /// Fee from the native asset buyouts + type SellFee = SellFee; /// Type that allows for checking if currency type is ownable by users type CurrencyIdChecker = CurrencyIdCheckerImpl; - /// Used for fetching prices of currencies from oracle - type PriceGetter = OracleMock; - /// Min amount of native token to buyout - type MinAmountToBuyout = MinAmountToBuyout; + /// Used for fetching prices of currencies from oracle + type PriceGetter = OracleMock; + /// Min amount of native token to buyout + type MinAmountToBuyout = MinAmountToBuyout; /// Weight information for extrinsics in this pallet. type WeightInfo = (); - } // ------- Constants and Genesis Config ------ // @@ -225,9 +221,7 @@ impl ExtBuilder { let dot_currency_id = 0u64; orml_tokens::GenesisConfig:: { - balances: vec![ - (USER, dot_currency_id, USERS_INITIAL_BALANCE), - ], + balances: vec![(USER, dot_currency_id, USERS_INITIAL_BALANCE)], } .assimilate_storage(&mut storage) .unwrap(); diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index 3e91cfb83..89f5568b1 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -1,13 +1,16 @@ #![cfg(test)] use crate::{ mock::*, - types::{Amount, CurrencyIdOf}, - Config, Error, PriceGetter, BuyoutLimit, Buyouts, ValidityError, + types::{Amount, CurrencyIdOf}, + BuyoutLimit, Buyouts, Config, Error, PriceGetter, ValidityError, }; -use frame_support::{assert_err, assert_ok, traits::UnixTime, assert_noop}; +use frame_support::{assert_err, assert_noop, assert_ok, traits::UnixTime}; use orml_traits::MultiCurrency; -use sp_arithmetic::{FixedU128, traits::One}; -use sp_runtime::{traits::BadOrigin, transaction_validity::{InvalidTransaction, TransactionValidityError}}; +use sp_arithmetic::{traits::One, FixedU128}; +use sp_runtime::{ + traits::BadOrigin, + transaction_validity::{InvalidTransaction, TransactionValidityError}, +}; fn get_free_balance(currency_id: CurrencyIdOf, account: &AccountId) -> Balance { as MultiCurrency>::free_balance(currency_id, account) @@ -20,11 +23,12 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { let initial_user_dot_balance = get_free_balance(0u64, &user); let initial_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); - let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let initial_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); let exchange_amount = 100 * UNIT; assert_ok!(crate::Pallet::::buyout( @@ -33,32 +37,44 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { Amount::Exchange(exchange_amount), )); - // Fetch prices from Oracle mock - let basic_asset_price = >>::get_price::(GetNativeCurrencyId::get()).expect("This is mocked so it should not fail"); - let exchange_asset_price = >>::get_price::(0u64).expect("This is mocked so it should not fail"); - - // Add fee to basic asset price - let basic_asset_price_with_fee = basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); - - // Calculate Native buyout amount - let buyout_amount = crate::Pallet::::multiply_by_rational(exchange_amount, exchange_asset_price.into_inner(), basic_asset_price_with_fee.into_inner()).expect("This is mocked so it should not fail"); - - let final_user_dot_balance = get_free_balance(0u64, &user); - let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - - let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); - let final_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::< + FixedU128, + >(GetNativeCurrencyId::get()) + .expect("This is mocked so it should not fail"); + let exchange_asset_price = + >>::get_price::(0u64) + .expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate Native buyout amount + let buyout_amount = crate::Pallet::::multiply_by_rational( + exchange_amount, + exchange_asset_price.into_inner(), + basic_asset_price_with_fee.into_inner(), + ) + .expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(0u64, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let final_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); - assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); // Verify Buyout event was emitted assert!(System::events().iter().any(|record| matches!( record.event, - TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) if who == user && amount == buyout_amount ))); }); @@ -71,11 +87,12 @@ fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { let initial_user_dot_balance = get_free_balance(0u64, &user); let initial_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); - let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let initial_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); let buyout_amount = 100 * UNIT; assert_ok!(crate::Pallet::::buyout( @@ -84,32 +101,44 @@ fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { Amount::Buyout(buyout_amount), )); - // Fetch prices from Oracle mock - let basic_asset_price = >>::get_price::(GetNativeCurrencyId::get()).expect("This is mocked so it should not fail"); - let exchange_asset_price = >>::get_price::(0u64).expect("This is mocked so it should not fail"); - - // Add fee to basic asset price - let basic_asset_price_with_fee = basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); - - // Calculate DOT exchange amount - let exchange_amount = crate::Pallet::::multiply_by_rational(buyout_amount, basic_asset_price_with_fee.into_inner(), exchange_asset_price.into_inner()).expect("This is mocked so it should not fail"); - - let final_user_dot_balance = get_free_balance(0u64, &user); - let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - - let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); - let final_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::< + FixedU128, + >(GetNativeCurrencyId::get()) + .expect("This is mocked so it should not fail"); + let exchange_asset_price = + >>::get_price::(0u64) + .expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate DOT exchange amount + let exchange_amount = crate::Pallet::::multiply_by_rational( + buyout_amount, + basic_asset_price_with_fee.into_inner(), + exchange_asset_price.into_inner(), + ) + .expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(0u64, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let final_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); - assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); // Verify Buyout event was emitted assert!(System::events().iter().any(|record| matches!( record.event, - TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) if who == user && amount == buyout_amount ))); }); @@ -124,343 +153,359 @@ fn root_update_buyout_amount_limit_succeeds() { Some(buyout_amount_limit.into()), )); - assert_eq!(BuyoutLimit::::get(), buyout_amount_limit.into()); + assert_eq!(BuyoutLimit::::get(), buyout_amount_limit.into()); - let buyout_amount_limit = None; + let buyout_amount_limit = None; assert_ok!(crate::Pallet::::update_buyout_limit( RuntimeOrigin::root(), buyout_amount_limit, )); - assert_eq!(BuyoutLimit::::get(), buyout_amount_limit); - + assert_eq!(BuyoutLimit::::get(), buyout_amount_limit); }); } #[test] fn user_update_buyout_amount_limit_fails() { run_test(|| { - let user = USER; + let user = USER; let buyout_amount_limit = 200 * UNIT; - assert_noop!(crate::Pallet::::update_buyout_limit( - RuntimeOrigin::signed(user), - Some(buyout_amount_limit.into()), - ), BadOrigin); - + assert_noop!( + crate::Pallet::::update_buyout_limit( + RuntimeOrigin::signed(user), + Some(buyout_amount_limit.into()), + ), + BadOrigin + ); }); } #[test] fn attempt_buyout_with_wrong_currency_fails() { - run_test(|| { + run_test(|| { let user = USER; - let native_currency_id = GetNativeCurrencyId::get(); - let initial_user_native_balance = get_free_balance(native_currency_id, &user); - let initial_treasury_native_balance = get_free_balance(native_currency_id, &TreasuryAccount::get()); + let native_currency_id = GetNativeCurrencyId::get(); + let initial_user_native_balance = get_free_balance(native_currency_id, &user); + let initial_treasury_native_balance = + get_free_balance(native_currency_id, &TreasuryAccount::get()); - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); let buyout_amount = 100 * UNIT; - assert_noop!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - native_currency_id, - Amount::Buyout(buyout_amount), - ), Error::::WrongAssetToBuyout); - - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); - + assert_noop!( + crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + native_currency_id, + Amount::Buyout(buyout_amount), + ), + Error::::WrongAssetToBuyout + ); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); let exchange_amount = 100 * UNIT; - assert_noop!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - native_currency_id, - Amount::Exchange(exchange_amount), - ), Error::::WrongAssetToBuyout); - - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + assert_noop!( + crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + native_currency_id, + Amount::Exchange(exchange_amount), + ), + Error::::WrongAssetToBuyout + ); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); }); } #[test] fn buyout_with_previous_existing_buyouts_succeeds() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - let exchange_amount = 100 * UNIT; + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let exchange_amount = 100 * UNIT; - // With buyout limit and buyouts of previous periods - BuyoutLimit::::put(200 * UNIT); - Buyouts::::insert(user, (100 * UNIT, 0)); + // With buyout limit and buyouts of previous periods + BuyoutLimit::::put(200 * UNIT); + Buyouts::::insert(user, (100 * UNIT, 0)); - assert_ok!(crate::Pallet::::buyout( + assert_ok!(crate::Pallet::::buyout( RuntimeOrigin::signed(user), dot_currency_id, Amount::Exchange(exchange_amount), - )); - }); + )); + }); } #[test] fn attempt_buyout_after_buyout_limit_exceeded_fails() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - let exchange_amount = 100 * UNIT; + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let exchange_amount = 100 * UNIT; - let now = ::now().as_secs(); + let now = ::now().as_secs(); - // With buyout limit and buyouts of previous periods - BuyoutLimit::::put(150 * UNIT); - Buyouts::::insert(user, (100 * UNIT, now)); + // With buyout limit and buyouts of previous periods + BuyoutLimit::::put(150 * UNIT); + Buyouts::::insert(user, (100 * UNIT, now)); - assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); + assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); - // This buyout attempt should fail because the limit is exceeded - assert_noop!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Exchange(exchange_amount), - ), Error::::BuyoutLimitExceeded); - - }); + // This buyout attempt should fail because the limit is exceeded + assert_noop!( + crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Exchange(exchange_amount), + ), + Error::::BuyoutLimitExceeded + ); + }); } #[test] fn buyout_after_buyout_limit_reset_succeeds() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - let buyout_amount = 100 * UNIT; + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let buyout_amount = 100 * UNIT; - let now = ::now().as_secs(); + let now = ::now().as_secs(); - // With buyout limit and buyouts of previous periods - BuyoutLimit::::put(200 * UNIT); - // Previous buyout at some time in the past, more than 24 hours ago - Buyouts::::insert(user, (150 * UNIT, 0)); + // With buyout limit and buyouts of previous periods + BuyoutLimit::::put(200 * UNIT); + // Previous buyout at some time in the past, more than 24 hours ago + Buyouts::::insert(user, (150 * UNIT, 0)); - assert_eq!(Buyouts::::get(user), (150 * UNIT, 0)); + assert_eq!(Buyouts::::get(user), (150 * UNIT, 0)); - // This buyout attempt should fail because the limit is exceeded - assert_ok!(crate::Pallet::::buyout( + // This buyout attempt should fail because the limit is exceeded + assert_ok!(crate::Pallet::::buyout( RuntimeOrigin::signed(user), dot_currency_id, Amount::Buyout(buyout_amount), )); - // Buyouts should be reset and the total buyout amount should be equal to the last buyout amount - assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); - - }); + // Buyouts should be reset and the total buyout amount should be equal to the last buyout amount + assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); + }); } #[test] fn attempt_buyout_with_insufficient_user_balance_fails() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - let buyout_amount = 10000 * UNIT; - - // This buyout attempt should fail because the user balance is insufficient - assert_noop!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Buyout(buyout_amount), - ), Error::::InsufficientAccountBalance); - }); + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let buyout_amount = 10000 * UNIT; + + // This buyout attempt should fail because the user balance is insufficient + assert_noop!( + crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Buyout(buyout_amount), + ), + Error::::InsufficientAccountBalance + ); + }); } #[test] fn attempt_buyout_with_insufficient_treasury_balance_fails() { - run_test(|| { - let user = USER; - let native_currency_id = GetNativeCurrencyId::get(); - let dot_currency_id = 0u64; - let buyout_amount = 100 * UNIT; - - // Transfer all treasury balance to user just for testing purposes - // Makes treasury balance insufficient - assert_ok!(<::Currency>::transfer(RuntimeOrigin::signed(TREASURY_ACCOUNT), user, native_currency_id, TREASURY_INITIAL_BALANCE)); - - // This buyout attempt should fail because the treasury balance is insufficient - assert_noop!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Buyout(buyout_amount), - ), Error::::InsufficientTreasuryBalance); - - }); + run_test(|| { + let user = USER; + let native_currency_id = GetNativeCurrencyId::get(); + let dot_currency_id = 0u64; + let buyout_amount = 100 * UNIT; + + // Transfer all treasury balance to user just for testing purposes + // Makes treasury balance insufficient + assert_ok!(<::Currency>::transfer( + RuntimeOrigin::signed(TREASURY_ACCOUNT), + user, + native_currency_id, + TREASURY_INITIAL_BALANCE + )); + + // This buyout attempt should fail because the treasury balance is insufficient + assert_noop!( + crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Buyout(buyout_amount), + ), + Error::::InsufficientTreasuryBalance + ); + }); } mod signed_extension { - use frame_support::{weights::Weight, dispatch::DispatchInfo}; - use sp_runtime::traits::SignedExtension; - - use crate::CheckBuyout; - - use super::*; - - pub fn info_from_weight(w: Weight) -> DispatchInfo { - DispatchInfo { - weight: w, - ..Default::default() - } - } - - #[test] - fn validate_skip_other_calls_succeeds() { - run_test(|| { - let buyout_call = - RuntimeCall::TreasuryBuyoutExtension(crate::Call::update_buyout_limit { limit: None }); - - let check = CheckBuyout::::new(); - let info = info_from_weight(Weight::zero()); - assert_ok!(check.validate(&1, &buyout_call, &info, 0)); - }); - } - - #[test] - fn validate_when_wrong_asset_fails() { - run_test(|| { - let user = USER; - - // Some unsupported assets for buyout - let native_currency_id = GetNativeCurrencyId::get(); - let brz_currency_id = 4u64; - - // call with unsupported asset - for asset in [native_currency_id, brz_currency_id] { - let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { - asset, - amount: Amount::Buyout(100 * UNIT), - }); - - let check = CheckBuyout::::new(); - let info = info_from_weight(Weight::zero()); - - assert_err!( - check.validate(&user, &buyout_call, &info, 1), - TransactionValidityError::Invalid(InvalidTransaction::Custom( - ValidityError::WrongAssetToBuyout.into() - )) - ); - } - }); - } - - #[test] - fn validate_when_no_price_found_fails() { - run_test(|| { - let user = USER; - let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { - asset: 2u64, - amount: Amount::Buyout(100 * UNIT), - }); - - let check = CheckBuyout::::new(); - let info = info_from_weight(Weight::zero()); - - assert_err!( - check.validate(&user, &buyout_call, &info, 1), - TransactionValidityError::Invalid(InvalidTransaction::Custom( - ValidityError::Math.into() - )) - ); - }); - } - - #[test] - fn validate_when_not_enough_to_buyout_fails() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { - asset: dot_currency_id, - amount: Amount::Buyout(1000 * UNIT), - }); - - let check = CheckBuyout::::new(); - let info = info_from_weight(Weight::zero()); - - assert_err!( - check.validate(&user, &buyout_call, &info, 1), - TransactionValidityError::Invalid(InvalidTransaction::Custom( - ValidityError::NotEnoughToBuyout.into() - )) - ); - }); - } - - #[test] - fn validate_when_buyout_limit_exceeded_fails() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - - let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { - asset: dot_currency_id, - amount: Amount::Buyout(100 * UNIT), - }); - - let now = TimeMock::now().as_secs(); - BuyoutLimit::::put(100 * UNIT); - Buyouts::::insert(&user, (80 * UNIT, now)); - - - let check = CheckBuyout::::new(); - let info = info_from_weight(Weight::zero()); - - assert_err!( - check.validate(&user, &buyout_call, &info, 1), - TransactionValidityError::Invalid(InvalidTransaction::Custom( - ValidityError::BuyoutLimitExceeded.into() - )) - ); - }); - } - - #[test] - fn validate_when_less_than_min_amount_to_buyout_fails() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - - let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { - asset: dot_currency_id, - amount: Amount::Buyout(10 * UNIT), - }); - - let check = CheckBuyout::::new(); - let info = info_from_weight(Weight::zero()); - - assert_err!( - check.validate(&user, &buyout_call, &info, 1), - TransactionValidityError::Invalid(InvalidTransaction::Custom( - ValidityError::LessThanMinBuyoutAmount.into() - )) - ); - }); - } - - #[test] - fn validate_succeeds() { - run_test(|| { - let user = USER; - let dot_currency_id = 0u64; - - let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { - asset: dot_currency_id, - amount: Amount::Buyout(100 * UNIT), - }); - - let check = CheckBuyout::::new(); - let info = info_from_weight(Weight::zero()); - - assert_ok!(check.validate(&user, &buyout_call, &info, 1)); - }); - } + use frame_support::{dispatch::DispatchInfo, weights::Weight}; + use sp_runtime::traits::SignedExtension; + + use crate::CheckBuyout; + + use super::*; + + pub fn info_from_weight(w: Weight) -> DispatchInfo { + DispatchInfo { weight: w, ..Default::default() } + } + + #[test] + fn validate_skip_other_calls_succeeds() { + run_test(|| { + let buyout_call = + RuntimeCall::TreasuryBuyoutExtension(crate::Call::update_buyout_limit { + limit: None, + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + assert_ok!(check.validate(&1, &buyout_call, &info, 0)); + }); + } + + #[test] + fn validate_when_wrong_asset_fails() { + run_test(|| { + let user = USER; + + // Some unsupported assets for buyout + let native_currency_id = GetNativeCurrencyId::get(); + let brz_currency_id = 4u64; + + // call with unsupported asset + for asset in [native_currency_id, brz_currency_id] { + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset, + amount: Amount::Buyout(100 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::WrongAssetToBuyout.into() + )) + ); + } + }); + } + + #[test] + fn validate_when_no_price_found_fails() { + run_test(|| { + let user = USER; + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: 2u64, + amount: Amount::Buyout(100 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::Math.into() + )) + ); + }); + } + + #[test] + fn validate_when_not_enough_to_buyout_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(1000 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::NotEnoughToBuyout.into() + )) + ); + }); + } + + #[test] + fn validate_when_buyout_limit_exceeded_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(100 * UNIT), + }); + + let now = TimeMock::now().as_secs(); + BuyoutLimit::::put(100 * UNIT); + Buyouts::::insert(&user, (80 * UNIT, now)); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::BuyoutLimitExceeded.into() + )) + ); + }); + } + + #[test] + fn validate_when_less_than_min_amount_to_buyout_fails() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(10 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_err!( + check.validate(&user, &buyout_call, &info, 1), + TransactionValidityError::Invalid(InvalidTransaction::Custom( + ValidityError::LessThanMinBuyoutAmount.into() + )) + ); + }); + } + + #[test] + fn validate_succeeds() { + run_test(|| { + let user = USER; + let dot_currency_id = 0u64; + + let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { + asset: dot_currency_id, + amount: Amount::Buyout(100 * UNIT), + }); + + let check = CheckBuyout::::new(); + let info = info_from_weight(Weight::zero()); + + assert_ok!(check.validate(&user, &buyout_call, &info, 1)); + }); + } } diff --git a/pallets/treasury-buyout-extension/src/types.rs b/pallets/treasury-buyout-extension/src/types.rs index 7c89ea6a0..9afcbb51d 100644 --- a/pallets/treasury-buyout-extension/src/types.rs +++ b/pallets/treasury-buyout-extension/src/types.rs @@ -1,7 +1,7 @@ +use crate::Config; use codec::{Decode, Encode, MaxEncodedLen}; use orml_traits::MultiCurrency; use scale_info::TypeInfo; -use crate::Config; #[allow(type_alias_bounds)] pub(crate) type AccountIdOf = ::AccountId; @@ -9,11 +9,12 @@ pub(crate) type AccountIdOf = ::AccountId; #[allow(type_alias_bounds)] pub(crate) type CurrencyIdOf = <::MultiCurrency as MultiCurrency< - ::AccountId + ::AccountId, >>::CurrencyId; #[allow(type_alias_bounds)] -pub(crate) type BalanceOf = <::Currency as MultiCurrency>>::Balance; +pub(crate) type BalanceOf = + <::Currency as MultiCurrency>>::Balance; /// Type of amount #[derive(Copy, Clone, Debug, Encode, Decode, PartialEq, Eq, TypeInfo, MaxEncodedLen)] From eebf51112d9b8919816d0af2e243c924cae23c74 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Wed, 31 Jan 2024 10:58:40 +0200 Subject: [PATCH 42/89] Handle currency id in benchmarks --- pallets/treasury-buyout-extension/Cargo.toml | 4 +++- .../treasury-buyout-extension/src/benchmarking.rs | 14 ++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pallets/treasury-buyout-extension/Cargo.toml b/pallets/treasury-buyout-extension/Cargo.toml index a264d9621..670656b2d 100644 --- a/pallets/treasury-buyout-extension/Cargo.toml +++ b/pallets/treasury-buyout-extension/Cargo.toml @@ -26,6 +26,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "d05b0015d15ca39cc780889bcc095335e9862a36"} +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } [dev-dependencies] mocktopus = "0.8.0" @@ -55,7 +56,8 @@ std = [ "orml-traits/std", "frame-benchmarking/std", "pallet-treasury/std", - "spacewalk-primitives/std" + "spacewalk-primitives/std", + "currency/std" ] runtime-benchmarks = [ diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index 2f72445c6..d5fa4ffea 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -5,19 +5,22 @@ use crate::types::{AccountIdOf, BalanceOf, CurrencyIdOf}; use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite}; use frame_support::assert_ok; use frame_system::RawOrigin; -use mock::CurrencyId; use sp_std::prelude::*; +use spacewalk_primitives::CurrencyId; + +pub trait Config: + orml_currencies::Config + orml_tokens::Config + currency::Config + crate::Config +{ +} fn get_test_currency() -> CurrencyIdOf { - // DOT - // Still have issues with this - <::MultiCurrency as orml_tokens::Config>::CurrencyId::XCM(0) + // This only works for Amplitude and Foucoco + ::GetRelayChainCurrencyId::get() } // Mint some tokens to the caller and treasury accounts fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: &AccountIdOf) { let token_currency_id = get_test_currency::(); - //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); let native_currency_id = ::GetNativeCurrencyId::get(); let amount: BalanceOf = 1_000_000_000_000_000u128.try_into().unwrap_or_default(); @@ -38,7 +41,6 @@ fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: benchmarks! { buyout { let token_currency_id = get_test_currency::(); - //let token_currency_id = spacewalk_primitives::CurrencyId::XCM(0); let native_currency_id = ::GetNativeCurrencyId::get(); let caller_account = account("Caller", 0, 0); let treasury_account = ::TreasuryAccount::get(); From a75ad1a5b13bbe9c792de070478e7c2e0be113e6 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Wed, 31 Jan 2024 15:07:46 +0200 Subject: [PATCH 43/89] Update comments --- pallets/treasury-buyout-extension/src/lib.rs | 56 ++++++++++++++++--- .../treasury-buyout-extension/src/tests.rs | 1 + 2 files changed, 49 insertions(+), 8 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 7d3fd5ae6..1e9eb556f 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -80,6 +80,17 @@ pub mod pallet { #[pallet::call] impl Pallet { + + /// Allows caller to buyout a given amount of native token. + /// Caller can specify either buyout amount of native token that he wants or exchange amount of an allowed asset. + /// + /// Parameters + /// + /// - `origin`: Caller's origin. + /// - `asset`: Exchange asset used for buyout of basic asset. + /// - `amount`: Amount of basic asset to buyout or amount of asset to exchange. + /// + /// Emits `Buyout` event when successful. #[pallet::call_index(0)] //TODO add weight //#[pallet::weight((T::WeightInfo::buyout(), Pays::No))] @@ -94,6 +105,14 @@ pub mod pallet { Ok(().into()) } + /// Allows root to update the buyout limit. + /// + /// Parameters + /// + /// - `origin`: Origin must be root. + /// - `limit`: New buyout limit. If None, then buyouts are not limited. + /// + /// Emits `BuyoutLimitUpdated` event when successful. #[pallet::call_index(1)] //TODO add weight // #[pallet::weight(T::WeightInfo::update_buyout_limit())] @@ -107,7 +126,7 @@ pub mod pallet { Some(limit) => BuyoutLimit::::put(limit), None => BuyoutLimit::::kill(), } - + Self::deposit_event(Event::::BuyoutLimitUpdated { limit }); Ok(().into()) } } @@ -119,7 +138,6 @@ pub mod pallet { /// Daily buyout limit exceeded BuyoutLimitExceeded, /// One of transacted currencies is missing price information - /// or the price is outdated NoPrice, /// The treasury balance is too low for an operation InsufficientTreasuryBalance, @@ -140,7 +158,7 @@ pub mod pallet { exchange_amount: BalanceOf, }, //TODO should we delete this? - // Exchange event + /// Exchange event Exchange { from: AccountIdOf, from_asset: CurrencyIdOf, @@ -149,10 +167,14 @@ pub mod pallet { to_asset: CurrencyIdOf, to_amount: BalanceOf, }, + /// Buyout limit updated event + BuyoutLimitUpdated { + limit: Option>, + }, } /// Stores limit amount user could by for a period. - /// When `None` - buyouts not limited + /// When `None` - buyouts are not limited #[pallet::storage] pub type BuyoutLimit = StorageValue<_, BalanceOf, OptionQuery>; @@ -163,6 +185,7 @@ pub mod pallet { } impl Pallet { + /// Ensures that buyout limit is not exceeded for the current buyout period fn ensure_buyout_limit_not_exceeded( account_id: &AccountIdOf, buyout_amount: BalanceOf, @@ -192,6 +215,8 @@ impl Pallet { Ok(()) } + /// Ensures that asset is allowed for buyout + /// The concrete implementation of CurrencyIdChecker trait must be provided by the runtime fn ensure_allowed_asset_for_buyout(asset: &CurrencyIdOf) -> DispatchResult { ensure!( T::CurrencyIdChecker::is_allowed_currency_id(asset), @@ -201,6 +226,7 @@ impl Pallet { Ok(()) } + /// Updates buyouts storage for the account fn update_buyouts(account_id: &AccountIdOf, buyout_amount: BalanceOf) { if BuyoutLimit::::get().is_some() { Buyouts::::mutate(account_id, |(prev_buyouts, last)| { @@ -210,6 +236,7 @@ impl Pallet { } } + /// Used for calculating amount of exchange asset user will get for buyout_amount of basic asset fn calc_amount_to_exchange( asset: CurrencyIdOf, buyout_amount: BalanceOf, @@ -235,6 +262,7 @@ impl Pallet { exchange_amount } + /// Used for calculating buyout amount of basic asset user will get for exchange_amount of exchange asset fn calc_buyout_amount( asset: CurrencyIdOf, exchange_amount: BalanceOf, @@ -261,7 +289,8 @@ impl Pallet { buyout_amount } - //TODO add comment here + /// Used for splitting calculations of amount based on the input given + /// If user's call contains buyout amount, then exchange amount is calculated and viceversa fn split_to_buyout_and_exchange( asset: CurrencyIdOf, amount: Amount>, @@ -284,8 +313,10 @@ impl Pallet { amount: Amount>, ) -> DispatchResult { Self::ensure_allowed_asset_for_buyout(&asset)?; + let basic_asset = ::GetNativeCurrencyId::get(); let (buyout_amount, exchange_amount) = Self::split_to_buyout_and_exchange(asset, amount)?; + Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; let treasury_account_id = T::TreasuryAccount::get(); @@ -312,13 +343,15 @@ impl Pallet { T::Currency::transfer(basic_asset, &treasury_account_id, &who, buyout_amount) .map_err(|_| Error::::ExchangeFailure)?; - //TODO emit Exchange event or Buyout event based on amount passed in this function? + //TODO emit Exchange event or Buyout event based on Amount variant passed in this function? Self::update_buyouts(&who, buyout_amount); Self::deposit_event(Event::::Buyout { who, buyout_amount, asset, exchange_amount }); Ok(()) } + /// Used for calculating exchange amount based on buyout amount(a), price of basic asset with fee(b) and price of exchange asset(c) + /// or buyout amount based on exchange amount(a), price of exchange asset(b) and price of basic asset with fee(c) fn multiply_by_rational( a: impl Into, b: impl Into, @@ -333,6 +366,8 @@ impl Pallet { ) } + /// Used for fetching asset prices + /// The concrete implementation of PriceGetter trait must be provided by the runtime e.g. oracle pallet fn fetch_prices( assets: (&CurrencyIdOf, &CurrencyIdOf), ) -> Result<(FixedU128, FixedU128), DispatchError> { @@ -346,6 +381,8 @@ impl Pallet { } } +/// Used for checking if asset is allowed for buyout +/// The concrete implementation of CurrencyIdChecker trait must be provided by the runtime pub trait CurrencyIdChecker where CurrencyId: Clone + PartialEq + Eq + Debug, @@ -353,6 +390,8 @@ where fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool; } +/// Used for fetching prices of assets +/// This trait must be implemented by the runtime e.g. oracle pallet pub trait PriceGetter where CurrencyId: Clone + PartialEq + Eq + Debug, @@ -449,9 +488,10 @@ where } /// Checks: + /// - asset is allowed for buyout /// - buyout_amount is greater or equal `MinAmountToBuyout` - /// - `who` has enough to make buyout - /// - buyout limit not exceeded for `who` + /// - `who` has enough balance to make buyout + /// - buyout limit is not exceeded for `who` fn validate( &self, who: &Self::AccountId, diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index 89f5568b1..b5258b79c 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -402,6 +402,7 @@ mod signed_extension { fn validate_when_no_price_found_fails() { run_test(|| { let user = USER; + // For currency id 2u64 there is no price defined in the mock in order to test this case let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { asset: 2u64, amount: Amount::Buyout(100 * UNIT), From 560268b60821edc482aabab70a414921b3e1d27e Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Wed, 31 Jan 2024 15:39:24 +0200 Subject: [PATCH 44/89] Remove benchmark comment --- pallets/treasury-buyout-extension/src/benchmarking.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index d5fa4ffea..e51a42a99 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -14,7 +14,6 @@ pub trait Config: } fn get_test_currency() -> CurrencyIdOf { - // This only works for Amplitude and Foucoco ::GetRelayChainCurrencyId::get() } From be4f99a0b81d93c27d000db4be9e3654d08ab352 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Thu, 1 Feb 2024 19:30:03 +0200 Subject: [PATCH 45/89] Fix benchmarks and tests, add pallet to Foucoco, switch from UnixTime to blocks, generate weights --- Cargo.lock | 2 + pallets/treasury-buyout-extension/Cargo.toml | 11 +- .../src/benchmarking.rs | 24 ++-- .../src/default_weights.rs | 117 ++++++++++++++++++ pallets/treasury-buyout-extension/src/lib.rs | 61 ++++----- pallets/treasury-buyout-extension/src/mock.rs | 40 +++--- .../treasury-buyout-extension/src/tests.rs | 64 ++++++---- .../treasury-buyout-extension/src/types.rs | 4 +- runtime/foucoco/Cargo.toml | 7 +- runtime/foucoco/src/lib.rs | 109 ++++++++++++++-- 10 files changed, 317 insertions(+), 122 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f565c615e..7c941c4df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3008,6 +3008,7 @@ version = "0.1.0" dependencies = [ "bifrost-farming", "bifrost-farming-rpc-runtime-api", + "cfg-if", "clients-info", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -3103,6 +3104,7 @@ dependencies = [ "staking", "stellar-relay", "substrate-wasm-builder", + "treasury-buyout-extension", "vault-registry", "xcm", "xcm-builder", diff --git a/pallets/treasury-buyout-extension/Cargo.toml b/pallets/treasury-buyout-extension/Cargo.toml index 670656b2d..cbd663c3c 100644 --- a/pallets/treasury-buyout-extension/Cargo.toml +++ b/pallets/treasury-buyout-extension/Cargo.toml @@ -25,9 +25,6 @@ orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-modul orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "d05b0015d15ca39cc780889bcc095335e9862a36"} -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "20a3dd191dc352f989f90a1a48eacb8ff6d9ac85" } - [dev-dependencies] mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } @@ -35,10 +32,8 @@ sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0. pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} -# Spacewalk libraries spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "d05b0015d15ca39cc780889bcc095335e9862a36"} - [features] default = ["std"] std = [ @@ -55,13 +50,13 @@ std = [ "orml-tokens/std", "orml-traits/std", "frame-benchmarking/std", - "pallet-treasury/std", - "spacewalk-primitives/std", - "currency/std" + "pallet-balances/std", + "spacewalk-primitives/std" ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks" ] diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index e51a42a99..2db193cc8 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -1,25 +1,16 @@ #![allow(warnings)] -#[cfg(feature = "runtime-benchmarks")] +#![cfg(feature = "runtime-benchmarks")] + use super::{Pallet as TreasuryBuyoutExtension, *}; use crate::types::{AccountIdOf, BalanceOf, CurrencyIdOf}; use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite}; use frame_support::assert_ok; use frame_system::RawOrigin; use sp_std::prelude::*; -use spacewalk_primitives::CurrencyId; - -pub trait Config: - orml_currencies::Config + orml_tokens::Config + currency::Config + crate::Config -{ -} - -fn get_test_currency() -> CurrencyIdOf { - ::GetRelayChainCurrencyId::get() -} // Mint some tokens to the caller and treasury accounts fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: &AccountIdOf) { - let token_currency_id = get_test_currency::(); + let token_currency_id = T::RelayChainCurrencyId::get(); let native_currency_id = ::GetNativeCurrencyId::get(); let amount: BalanceOf = 1_000_000_000_000_000u128.try_into().unwrap_or_default(); @@ -39,7 +30,7 @@ fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: benchmarks! { buyout { - let token_currency_id = get_test_currency::(); + let token_currency_id = T::RelayChainCurrencyId::get(); let native_currency_id = ::GetNativeCurrencyId::get(); let caller_account = account("Caller", 0, 0); let treasury_account = ::TreasuryAccount::get(); @@ -50,7 +41,7 @@ benchmarks! { // Set previous buyout limit to 0 Buyouts::::insert(caller_account.clone(), (BalanceOf::::default(), 0)); - }: _(origin, token_currency_id, Amount::Buyout(100_000_000_000_000u128.try_into().unwrap_or_default())) + }: buyout(origin, token_currency_id, Amount::Buyout(100_000_000_000_000u128.try_into().unwrap_or_default())) verify{ assert_eq!( as MultiCurrency::>>::free_balance(native_currency_id, &caller_account), @@ -59,5 +50,8 @@ benchmarks! { } update_buyout_limit { - }: _(RawOrigin::Root, Some(100_000_000_000_000u128.try_into().unwrap_or_default())) + }: update_buyout_limit(RawOrigin::Root, Some(100_000_000_000_000u128.try_into().unwrap_or_default())) } + +impl_benchmark_test_suite!(TreasuryBuyoutExtension, crate::mock::ExtBuilder::build(), crate::mock::Test); + diff --git a/pallets/treasury-buyout-extension/src/default_weights.rs b/pallets/treasury-buyout-extension/src/default_weights.rs index 8b1378917..cad83be2b 100644 --- a/pallets/treasury-buyout-extension/src/default_weights.rs +++ b/pallets/treasury-buyout-extension/src/default_weights.rs @@ -1 +1,118 @@ +//! Autogenerated weights for treasury_buyout_extension +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-02-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bogdans-M2-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("foucoco"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/pendulum-node +// benchmark +// pallet +// --chain +// foucoco +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// treasury-buyout-extension +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output +// pallets/treasury-buyout-extension/src/default_weights.rs +// --template +// .maintain/frame-weight-template.hbs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; + +/// Weight functions needed for treasury_buyout_extension. +pub trait WeightInfo { + fn buyout() -> Weight; + fn update_buyout_limit() -> Weight; +} + +/// Weights for treasury_buyout_extension using the Substrate node and recommended hardware. +pub struct SubstrateWeight(PhantomData); +impl WeightInfo for SubstrateWeight { + /// Storage: Oracle OracleKeys (r:1 w:1) + /// Proof Skipped: Oracle OracleKeys (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:1 w:0) + /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: TreasuryBuyoutExtension Buyouts (r:1 w:1) + /// Proof: TreasuryBuyoutExtension Buyouts (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Security ParachainStatus (r:0 w:1) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + fn buyout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1161` + // Estimated: `22770` + // Minimum execution time: 96_000_000 picoseconds. + Weight::from_parts(98_000_000, 22770) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } + /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:0 w:1) + /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn update_buyout_limit() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} + +// For backwards compatibility and tests +impl WeightInfo for () { + /// Storage: Oracle OracleKeys (r:1 w:1) + /// Proof Skipped: Oracle OracleKeys (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:1 w:0) + /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: TreasuryBuyoutExtension Buyouts (r:1 w:1) + /// Proof: TreasuryBuyoutExtension Buyouts (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Security ParachainStatus (r:0 w:1) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + fn buyout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1161` + // Estimated: `22770` + // Minimum execution time: 96_000_000 picoseconds. + Weight::from_parts(98_000_000, 22770) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) + } + /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:0 w:1) + /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn update_buyout_limit() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } +} \ No newline at end of file diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 1e9eb556f..f563855ac 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -1,4 +1,5 @@ #![deny(warnings)] +#![cfg_attr(test, feature(proc_macro_hygiene))] #![cfg_attr(not(feature = "std"), no_std)] #[cfg(feature = "runtime-benchmarks")] @@ -14,13 +15,13 @@ mod tests; mod types; -use crate::types::{AccountIdOf, Amount, BalanceOf, CurrencyIdOf, BUYOUT_LIMIT_PERIOD_IN_SEC}; +use crate::{types::{AccountIdOf, Amount, BalanceOf, CurrencyIdOf}, default_weights::WeightInfo}; use codec::{Decode, Encode}; use frame_support::{ dispatch::{DispatchError, DispatchResult}, ensure, sp_runtime::SaturatedConversion, - traits::{Get, IsSubType, UnixTime}, + traits::{Get, IsSubType}, }; use orml_traits::MultiCurrency; pub use pallet::*; @@ -39,8 +40,8 @@ pub use pallet::*; #[frame_support::pallet] pub mod pallet { use super::*; - use frame_support::{pallet_prelude::*, sp_runtime::Permill, traits::UnixTime}; - use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, WeightInfo}; + use frame_support::{pallet_prelude::*, sp_runtime::Permill}; + use frame_system::{ensure_root, ensure_signed, pallet_prelude::*}; #[pallet::config] pub trait Config: frame_system::Config + orml_currencies::Config { @@ -54,15 +55,16 @@ pub mod pallet { #[pallet::constant] type TreasuryAccount: Get>; - /// Timestamp provider - type UnixTime: UnixTime; + /// Buyout period in blocks + #[pallet::constant] + type BuyoutPeriod: Get; /// Fee from the native asset buyouts #[pallet::constant] type SellFee: Get; /// Type that allows for checking if currency type is ownable by users - type CurrencyIdChecker: CurrencyIdChecker>; + type AllowedCurrencyIdVerifier: AllowedCurrencyIdVerifier>; /// Used for fetching prices of currencies from oracle type PriceGetter: PriceGetter>; @@ -73,6 +75,10 @@ pub mod pallet { /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; + + /// Currency id of the relay chain + #[cfg(feature = "runtime-benchmarks")] + type RelayChainCurrencyId: Get>; } #[pallet::pallet] @@ -92,9 +98,7 @@ pub mod pallet { /// /// Emits `Buyout` event when successful. #[pallet::call_index(0)] - //TODO add weight - //#[pallet::weight((T::WeightInfo::buyout(), Pays::No))] - #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] + #[pallet::weight((::WeightInfo::buyout(), Pays::No))] pub fn buyout( origin: OriginFor, asset: CurrencyIdOf, @@ -114,9 +118,7 @@ pub mod pallet { /// /// Emits `BuyoutLimitUpdated` event when successful. #[pallet::call_index(1)] - //TODO add weight - // #[pallet::weight(T::WeightInfo::update_buyout_limit())] - #[pallet::weight(10_000 + T::DbWeight::get().writes(1).ref_time())] + #[pallet::weight(::WeightInfo::update_buyout_limit())] pub fn update_buyout_limit( origin: OriginFor, limit: Option>, @@ -135,7 +137,7 @@ pub mod pallet { pub enum Error { /// Attempt to exchange native token to native token WrongAssetToBuyout, - /// Daily buyout limit exceeded + /// Buyout limit exceeded for the current period BuyoutLimitExceeded, /// One of transacted currencies is missing price information NoPrice, @@ -157,16 +159,6 @@ pub mod pallet { asset: CurrencyIdOf, exchange_amount: BalanceOf, }, - //TODO should we delete this? - /// Exchange event - Exchange { - from: AccountIdOf, - from_asset: CurrencyIdOf, - from_amount: BalanceOf, - to: AccountIdOf, - to_asset: CurrencyIdOf, - to_amount: BalanceOf, - }, /// Buyout limit updated event BuyoutLimitUpdated { limit: Option>, @@ -181,7 +173,7 @@ pub mod pallet { /// Stores amount of buyouts (amount, timestamp of last buyout) #[pallet::storage] pub type Buyouts = - StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u64), ValueQuery>; + StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u32), ValueQuery>; } impl Pallet { @@ -191,10 +183,12 @@ impl Pallet { buyout_amount: BalanceOf, ) -> DispatchResult { if let Some(buyout_limit) = BuyoutLimit::::get() { - let now = T::UnixTime::now().as_secs(); + let buyout_period = T::BuyoutPeriod::get(); + // Get current block number + let now = >::block_number().saturated_into::(); let current_period = now - .checked_div(BUYOUT_LIMIT_PERIOD_IN_SEC) - .and_then(|n| Some(n.saturating_mul(BUYOUT_LIMIT_PERIOD_IN_SEC))) + .checked_div(buyout_period) + .and_then(|n| Some(n.saturating_mul(buyout_period))) .unwrap_or_default(); let (mut buyouts, last_buyout) = Buyouts::::get(account_id); @@ -216,10 +210,10 @@ impl Pallet { } /// Ensures that asset is allowed for buyout - /// The concrete implementation of CurrencyIdChecker trait must be provided by the runtime + /// The concrete implementation of AllowedCurrencyIdVerifier trait must be provided by the runtime fn ensure_allowed_asset_for_buyout(asset: &CurrencyIdOf) -> DispatchResult { ensure!( - T::CurrencyIdChecker::is_allowed_currency_id(asset), + T::AllowedCurrencyIdVerifier::is_allowed_currency_id(asset), Error::::WrongAssetToBuyout ); @@ -231,7 +225,7 @@ impl Pallet { if BuyoutLimit::::get().is_some() { Buyouts::::mutate(account_id, |(prev_buyouts, last)| { *prev_buyouts = *prev_buyouts + buyout_amount; - *last = T::UnixTime::now().as_secs(); + *last = >::block_number().saturated_into::(); }); } } @@ -343,7 +337,6 @@ impl Pallet { T::Currency::transfer(basic_asset, &treasury_account_id, &who, buyout_amount) .map_err(|_| Error::::ExchangeFailure)?; - //TODO emit Exchange event or Buyout event based on Amount variant passed in this function? Self::update_buyouts(&who, buyout_amount); Self::deposit_event(Event::::Buyout { who, buyout_amount, asset, exchange_amount }); @@ -382,8 +375,8 @@ impl Pallet { } /// Used for checking if asset is allowed for buyout -/// The concrete implementation of CurrencyIdChecker trait must be provided by the runtime -pub trait CurrencyIdChecker +/// The concrete implementation of this trait must be provided by the runtime +pub trait AllowedCurrencyIdVerifier where CurrencyId: Clone + PartialEq + Eq + Debug, { diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 49587704d..40d6ad51a 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -1,8 +1,8 @@ -use crate::{self as treasury_buyout_extension, Config, CurrencyIdChecker, PriceGetter}; +use crate::{self as treasury_buyout_extension, Config, AllowedCurrencyIdVerifier, PriceGetter, default_weights::SubstrateWeight}; use frame_support::{ pallet_prelude::GenesisBuild, parameter_types, - traits::{ConstU32, Everything, UnixTime}, + traits::{ConstU32, Everything}, }; use orml_currencies::BasicCurrencyAdapter; use orml_traits::parameter_type_with_key; @@ -78,6 +78,7 @@ pub type TestEvent = RuntimeEvent; parameter_types! { pub const MaxLocks: u32 = 50; pub const GetNativeCurrencyId: CurrencyId = u64::MAX; + pub const RelayChainCurrencyId: CurrencyId = 0u64; } parameter_type_with_key! { @@ -120,13 +121,12 @@ parameter_types! { pub const TreasuryAccount: AccountId = u64::MAX; pub const SellFee: Permill = Permill::from_percent(1); pub const MinAmountToBuyout: Balance = 100 * UNIT; + pub const BuyoutPeriod: u32 = 7200; } impl pallet_balances::Config for Test { type MaxLocks = MaxLocks; - /// The type for recording an account's balance. type Balance = Balance; - /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; type DustRemoval = (); type ExistentialDeposit = ExistentialDeposit; @@ -143,34 +143,21 @@ impl orml_currencies::Config for Test { type WeightInfo = (); } -pub struct TimeMock; -impl UnixTime for TimeMock { - fn now() -> core::time::Duration { - //core::time::Duration::from_millis(CURRENT_TIME.with(|v| *v.borrow())) - core::time::Duration::from_millis(1706624641) - } -} - -pub struct CurrencyIdCheckerImpl; - -impl CurrencyIdChecker for CurrencyIdCheckerImpl { - // We allow only some XCM assets - // Specifically, we allow USDC, USDT, DOT, GLMR +pub struct AllowedCurrencyIdVerifierImpl; +impl AllowedCurrencyIdVerifier for AllowedCurrencyIdVerifierImpl { + // We allow only some assets fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { matches!(currency_id, 0u64 | 1u64 | 2u64 | 3u64) } } pub struct OracleMock; - -// Maybe put it in text ext? impl PriceGetter for OracleMock { fn get_price(currency_id: CurrencyId) -> Result where FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, { - //TODO: Get price from oracle? // This simulates price fetching error for testing pre_dispatch validation but only for one specific supported asset if currency_id == 2u64 { return Err(DispatchError::Other("No price")) @@ -190,18 +177,21 @@ impl Config for Test { type Currency = Currencies; /// Used for getting the treasury account type TreasuryAccount = TreasuryAccount; - /// Timestamp provider - type UnixTime = TimeMock; + /// Buyout period in blocks + type BuyoutPeriod = BuyoutPeriod; /// Fee from the native asset buyouts type SellFee = SellFee; /// Type that allows for checking if currency type is ownable by users - type CurrencyIdChecker = CurrencyIdCheckerImpl; + type AllowedCurrencyIdVerifier = AllowedCurrencyIdVerifierImpl; /// Used for fetching prices of currencies from oracle type PriceGetter = OracleMock; /// Min amount of native token to buyout type MinAmountToBuyout = MinAmountToBuyout; + /// Currency id of relay chain + #[cfg(feature = "runtime-benchmarks")] + type RelayChainCurrencyId = RelayChainCurrencyId; /// Weight information for extrinsics in this pallet. - type WeightInfo = (); + type WeightInfo = SubstrateWeight; } // ------- Constants and Genesis Config ------ // @@ -218,7 +208,7 @@ impl ExtBuilder { pub fn build() -> sp_io::TestExternalities { let mut storage = frame_system::GenesisConfig::default().build_storage::().unwrap(); - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); orml_tokens::GenesisConfig:: { balances: vec![(USER, dot_currency_id, USERS_INITIAL_BALANCE)], diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index b5258b79c..2b97060be 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -4,18 +4,22 @@ use crate::{ types::{Amount, CurrencyIdOf}, BuyoutLimit, Buyouts, Config, Error, PriceGetter, ValidityError, }; -use frame_support::{assert_err, assert_noop, assert_ok, traits::UnixTime}; +use frame_support::{assert_err, assert_noop, assert_ok}; use orml_traits::MultiCurrency; use sp_arithmetic::{traits::One, FixedU128}; use sp_runtime::{ traits::BadOrigin, - transaction_validity::{InvalidTransaction, TransactionValidityError}, + transaction_validity::{InvalidTransaction, TransactionValidityError}, SaturatedConversion, }; fn get_free_balance(currency_id: CurrencyIdOf, account: &AccountId) -> Balance { as MultiCurrency>::free_balance(currency_id, account) } +fn run_to_block(new_block: ::BlockNumber) { + frame_system::Pallet::::set_block_number(new_block); +} + #[test] fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { run_test(|| { @@ -225,7 +229,7 @@ fn attempt_buyout_with_wrong_currency_fails() { fn buyout_with_previous_existing_buyouts_succeeds() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let exchange_amount = 100 * UNIT; // With buyout limit and buyouts of previous periods @@ -244,18 +248,19 @@ fn buyout_with_previous_existing_buyouts_succeeds() { fn attempt_buyout_after_buyout_limit_exceeded_fails() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let exchange_amount = 100 * UNIT; - let now = ::now().as_secs(); + let current_block = frame_system::Pallet::::block_number().saturated_into::(); - // With buyout limit and buyouts of previous periods + // With buyout limit BuyoutLimit::::put(150 * UNIT); - Buyouts::::insert(user, (100 * UNIT, now)); + // Previous buyout at current_block + Buyouts::::insert(user, (100 * UNIT, current_block)); - assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); + assert_eq!(Buyouts::::get(user), (100 * UNIT, current_block)); - // This buyout attempt should fail because the limit is exceeded + // This buyout attempt should fail because the limit is exceeded for the current period assert_noop!( crate::Pallet::::buyout( RuntimeOrigin::signed(user), @@ -271,27 +276,31 @@ fn attempt_buyout_after_buyout_limit_exceeded_fails() { fn buyout_after_buyout_limit_reset_succeeds() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let buyout_amount = 100 * UNIT; - let now = ::now().as_secs(); + let current_block = frame_system::Pallet::::block_number().saturated_into::(); - // With buyout limit and buyouts of previous periods + // With buyout limit BuyoutLimit::::put(200 * UNIT); - // Previous buyout at some time in the past, more than 24 hours ago - Buyouts::::insert(user, (150 * UNIT, 0)); + // Previous buyout at current_block + Buyouts::::insert(user, (150 * UNIT, current_block)); + + assert_eq!(Buyouts::::get(user), (150 * UNIT, current_block)); - assert_eq!(Buyouts::::get(user), (150 * UNIT, 0)); + let buyout_period: u32 = BuyoutPeriod::get(); + // Skip buyout_period + 1 blocks, when the initial buyout period has already passed + run_to_block((current_block + buyout_period + 1).into()); - // This buyout attempt should fail because the limit is exceeded assert_ok!(crate::Pallet::::buyout( RuntimeOrigin::signed(user), dot_currency_id, Amount::Buyout(buyout_amount), )); + let new_current_block = frame_system::Pallet::::block_number().saturated_into::(); // Buyouts should be reset and the total buyout amount should be equal to the last buyout amount - assert_eq!(Buyouts::::get(user), (100 * UNIT, now)); + assert_eq!(Buyouts::::get(user), (100 * UNIT, new_current_block)); }); } @@ -299,7 +308,7 @@ fn buyout_after_buyout_limit_reset_succeeds() { fn attempt_buyout_with_insufficient_user_balance_fails() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let buyout_amount = 10000 * UNIT; // This buyout attempt should fail because the user balance is insufficient @@ -319,7 +328,7 @@ fn attempt_buyout_with_insufficient_treasury_balance_fails() { run_test(|| { let user = USER; let native_currency_id = GetNativeCurrencyId::get(); - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let buyout_amount = 100 * UNIT; // Transfer all treasury balance to user just for testing purposes @@ -378,7 +387,7 @@ mod signed_extension { let native_currency_id = GetNativeCurrencyId::get(); let brz_currency_id = 4u64; - // call with unsupported asset + // Call with unsupported asset for asset in [native_currency_id, brz_currency_id] { let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { asset, @@ -424,7 +433,7 @@ mod signed_extension { fn validate_when_not_enough_to_buyout_fails() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { asset: dot_currency_id, amount: Amount::Buyout(1000 * UNIT), @@ -446,16 +455,19 @@ mod signed_extension { fn validate_when_buyout_limit_exceeded_fails() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { asset: dot_currency_id, amount: Amount::Buyout(100 * UNIT), }); - let now = TimeMock::now().as_secs(); + let current_block = frame_system::Pallet::::block_number().saturated_into::(); + + // With buyout limit BuyoutLimit::::put(100 * UNIT); - Buyouts::::insert(&user, (80 * UNIT, now)); + // Previous buyout at current_block + Buyouts::::insert(&user, (80 * UNIT, current_block)); let check = CheckBuyout::::new(); let info = info_from_weight(Weight::zero()); @@ -473,7 +485,7 @@ mod signed_extension { fn validate_when_less_than_min_amount_to_buyout_fails() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { asset: dot_currency_id, @@ -496,7 +508,7 @@ mod signed_extension { fn validate_succeeds() { run_test(|| { let user = USER; - let dot_currency_id = 0u64; + let dot_currency_id = RelayChainCurrencyId::get(); let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { asset: dot_currency_id, diff --git a/pallets/treasury-buyout-extension/src/types.rs b/pallets/treasury-buyout-extension/src/types.rs index 9afcbb51d..26fb2bbfc 100644 --- a/pallets/treasury-buyout-extension/src/types.rs +++ b/pallets/treasury-buyout-extension/src/types.rs @@ -23,6 +23,4 @@ pub enum Amount { Buyout(Balance), /// Amount of exchange asset user give for buyout Exchange(Balance), -} - -pub(crate) const BUYOUT_LIMIT_PERIOD_IN_SEC: u64 = 86400; // 1 day +} \ No newline at end of file diff --git a/runtime/foucoco/Cargo.toml b/runtime/foucoco/Cargo.toml index 9e288e986..03e69bc17 100644 --- a/runtime/foucoco/Cargo.toml +++ b/runtime/foucoco/Cargo.toml @@ -22,6 +22,7 @@ paste = "1.0.14" scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } serde = { version = "1.0.144", optional = true, features = ["derive"] } smallvec = "1.9.0" +cfg-if = "1.0.0" # Local runtime-common = { path = "../common", default-features = false } @@ -106,6 +107,7 @@ parachain-staking = { path = "../../pallets/parachain-staking", default-features orml-currencies-allowance-extension = {path = "../../pallets/orml-currencies-allowance-extension", default-features = false} orml-tokens-management-extension = {path = "../../pallets/orml-tokens-management-extension", default-features = false} +treasury-buyout-extension = {path = "../../pallets/treasury-buyout-extension", default-features = false} # DIA dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.40" } @@ -238,7 +240,7 @@ std = [ "module-pallet-staking-rpc-runtime-api/std", "spacewalk-primitives/std", "orml-currencies-allowance-extension/std", - + "treasury-buyout-extension/std", "bifrost-farming/std", "bifrost-farming-rpc-runtime-api/std", ] @@ -269,7 +271,8 @@ runtime-benchmarks = [ "oracle/testing-utils", "runtime-common/runtime-benchmarks", "orml-currencies-allowance-extension/runtime-benchmarks", - "orml-tokens-management-extension/runtime-benchmarks" + "orml-tokens-management-extension/runtime-benchmarks", + "treasury-buyout-extension/runtime-benchmarks" ] try-runtime = [ diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 0c9d2b440..4d1ea82b7 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -28,11 +28,13 @@ use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, + AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, One, Zero, }, + FixedU128, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, DispatchError, FixedPointNumber, SaturatedConversion, }; +use sp_std::fmt::Debug; use sp_std::{marker::PhantomData, prelude::*}; #[cfg(feature = "std")] @@ -67,6 +69,8 @@ use runtime_common::{ #[cfg(any(feature = "runtime-benchmarks", feature = "testing-utils"))] use oracle::testing_utils::MockDataFeeder; +use oracle::OracleKey; + use cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; use dia_oracle::DiaOracle; @@ -196,14 +200,30 @@ impl XCMCurrencyConversion for SpacewalkNativeCurrency { } } -type DataProviderImpl = DiaOracleAdapter< - DiaOracleModule, - UnsignedFixedPoint, - Moment, - oracle::dia::DiaOracleKeyConvertor, - ConvertPrice, - ConvertMoment, ->; +cfg_if::cfg_if! { + if #[cfg(feature = "runtime-benchmarks")] { + use oracle::testing_utils::{ + MockConvertMoment, MockConvertPrice, MockDiaOracle, MockOracleKeyConvertor, + }; + type DataProviderImpl = DiaOracleAdapter< + MockDiaOracle, + UnsignedFixedPoint, + Moment, + MockOracleKeyConvertor, + MockConvertPrice, + MockConvertMoment, + >; + } else { + type DataProviderImpl = DiaOracleAdapter< + DiaOracleModule, + UnsignedFixedPoint, + Moment, + oracle::dia::DiaOracleKeyConvertor, + ConvertPrice, + ConvertMoment, + >; + } +} pub struct ConvertPrice; impl Convert> for ConvertPrice { @@ -379,6 +399,7 @@ impl Contains for BaseFilter { RuntimeCall::AssetRegistry(_) | RuntimeCall::Proxy(_) | RuntimeCall::OrmlExtension(_) | + RuntimeCall::TreasuryBuyoutExtension(_) | RuntimeCall::RewardDistribution(_) => true, // All pallets are allowed, but exhaustive match is defensive // in the case of adding new pallets. } @@ -971,6 +992,73 @@ impl orml_tokens_management_extension::Config for Runtime { type AssetDeposit = AssetDeposit; } +pub struct AllowedCurrencyIdVerifierImpl; +impl treasury_buyout_extension::AllowedCurrencyIdVerifier for AllowedCurrencyIdVerifierImpl { + fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { + matches!(currency_id, CurrencyId::XCM(0) | CurrencyId::XCM(1) | CurrencyId::XCM(2) | CurrencyId::XCM(6)) + } +} +pub struct OracleWrapper(Oracle); +impl treasury_buyout_extension::PriceGetter for OracleWrapper { + #[cfg(not(feature = "runtime-benchmarks"))] + fn get_price(currency_id: CurrencyId) -> Result + where + FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, + { + let key = OracleKey::ExchangeRate(currency_id); + let asset_price = Oracle::get_price(key.clone())?; + + let converted_asset_price = FixedNumber::try_from(asset_price); + + match converted_asset_price { + Ok(price) => Ok(price), + Err(_) => Err(DispatchError::Other("Failed to convert price")), + } + } + #[cfg(feature = "runtime-benchmarks")] + fn get_price(currency_id: CurrencyId) -> Result + where + FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, + { + Security::set_status(StatusCode::Running); + let key = OracleKey::ExchangeRate(currency_id); + let rate = FixedU128::checked_from_rational(100, 1).unwrap(); + let account = AccountId::from([0u8; 32]); + Oracle::feed_values(account, vec![(key.clone(), rate)]); + + let asset_price = Oracle::get_price(key.clone()).unwrap(); + + let converted_asset_price = FixedNumber::try_from(asset_price); + + match converted_asset_price { + Ok(price) => Ok(price), + Err(_) => Err(DispatchError::Other("Failed to convert price")), + } + } + +} + +parameter_types! { + pub const SellFee: Permill = Permill::from_percent(1); + pub const MinAmountToBuyout: Balance = 100 * UNIT; + // 24 hours in blocks (where average block time is 12 seconds) + pub const BuyoutPeriod: u32 = 7200; +} + +impl treasury_buyout_extension::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Currency = Currencies; + type TreasuryAccount = FoucocoTreasuryAccount; + type BuyoutPeriod = BuyoutPeriod; + type SellFee = SellFee; + type AllowedCurrencyIdVerifier = AllowedCurrencyIdVerifierImpl; + type PriceGetter = OracleWrapper; + type MinAmountToBuyout = MinAmountToBuyout; + #[cfg(feature = "runtime-benchmarks")] + type RelayChainCurrencyId = RelayChainCurrencyId; + type WeightInfo = treasury_buyout_extension::default_weights::SubstrateWeight; +} + const fn deposit(items: u32, bytes: u32) -> Balance { (items as Balance * UNIT + (bytes as Balance) * (5 * MILLIUNIT / 100)) / 10 } @@ -1814,6 +1902,8 @@ construct_runtime!( TokenAllowance: orml_currencies_allowance_extension::{Pallet, Storage, Call, Event} = 80, OrmlExtension: orml_tokens_management_extension::{Pallet, Storage, Call, Event} = 81, + TreasuryBuyoutExtension: treasury_buyout_extension::{Pallet, Storage, Call, Event} = 82, + Farming: farming::{Pallet, Call, Storage, Event} = 90, // Asset Metadata @@ -1850,6 +1940,7 @@ mod benches { [orml_currencies_allowance_extension, TokenAllowance] [orml_tokens_management_extension, OrmlExtension] + [treasury_buyout_extension, TreasuryBuyoutExtension] ); } From 4aaee334485581afd398c552801525b1b890d4b3 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Thu, 1 Feb 2024 20:48:47 +0200 Subject: [PATCH 46/89] Fmt --- .../src/benchmarking.rs | 7 +++-- pallets/treasury-buyout-extension/src/lib.rs | 18 ++++++------- pallets/treasury-buyout-extension/src/mock.rs | 6 +++-- .../treasury-buyout-extension/src/tests.rs | 27 ++++++++++--------- .../treasury-buyout-extension/src/types.rs | 2 +- runtime/foucoco/src/lib.rs | 24 ++++++++++------- 6 files changed, 48 insertions(+), 36 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index 2db193cc8..5d503765d 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -53,5 +53,8 @@ benchmarks! { }: update_buyout_limit(RawOrigin::Root, Some(100_000_000_000_000u128.try_into().unwrap_or_default())) } -impl_benchmark_test_suite!(TreasuryBuyoutExtension, crate::mock::ExtBuilder::build(), crate::mock::Test); - +impl_benchmark_test_suite!( + TreasuryBuyoutExtension, + crate::mock::ExtBuilder::build(), + crate::mock::Test +); diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index f563855ac..70f953cc2 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -15,7 +15,10 @@ mod tests; mod types; -use crate::{types::{AccountIdOf, Amount, BalanceOf, CurrencyIdOf}, default_weights::WeightInfo}; +use crate::{ + default_weights::WeightInfo, + types::{AccountIdOf, Amount, BalanceOf, CurrencyIdOf}, +}; use codec::{Decode, Encode}; use frame_support::{ dispatch::{DispatchError, DispatchResult}, @@ -86,7 +89,6 @@ pub mod pallet { #[pallet::call] impl Pallet { - /// Allows caller to buyout a given amount of native token. /// Caller can specify either buyout amount of native token that he wants or exchange amount of an allowed asset. /// @@ -95,7 +97,7 @@ pub mod pallet { /// - `origin`: Caller's origin. /// - `asset`: Exchange asset used for buyout of basic asset. /// - `amount`: Amount of basic asset to buyout or amount of asset to exchange. - /// + /// /// Emits `Buyout` event when successful. #[pallet::call_index(0)] #[pallet::weight((::WeightInfo::buyout(), Pays::No))] @@ -160,9 +162,7 @@ pub mod pallet { exchange_amount: BalanceOf, }, /// Buyout limit updated event - BuyoutLimitUpdated { - limit: Option>, - }, + BuyoutLimitUpdated { limit: Option> }, } /// Stores limit amount user could by for a period. @@ -284,7 +284,7 @@ impl Pallet { } /// Used for splitting calculations of amount based on the input given - /// If user's call contains buyout amount, then exchange amount is calculated and viceversa + /// If user's call contains buyout amount, then exchange amount is calculated and viceversa fn split_to_buyout_and_exchange( asset: CurrencyIdOf, amount: Amount>, @@ -310,7 +310,7 @@ impl Pallet { let basic_asset = ::GetNativeCurrencyId::get(); let (buyout_amount, exchange_amount) = Self::split_to_buyout_and_exchange(asset, amount)?; - + Self::ensure_buyout_limit_not_exceeded(&who, buyout_amount)?; let treasury_account_id = T::TreasuryAccount::get(); @@ -344,7 +344,7 @@ impl Pallet { } /// Used for calculating exchange amount based on buyout amount(a), price of basic asset with fee(b) and price of exchange asset(c) - /// or buyout amount based on exchange amount(a), price of exchange asset(b) and price of basic asset with fee(c) + /// or buyout amount based on exchange amount(a), price of exchange asset(b) and price of basic asset with fee(c) fn multiply_by_rational( a: impl Into, b: impl Into, diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 40d6ad51a..940f3a644 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -1,4 +1,7 @@ -use crate::{self as treasury_buyout_extension, Config, AllowedCurrencyIdVerifier, PriceGetter, default_weights::SubstrateWeight}; +use crate::{ + self as treasury_buyout_extension, default_weights::SubstrateWeight, AllowedCurrencyIdVerifier, + Config, PriceGetter, +}; use frame_support::{ pallet_prelude::GenesisBuild, parameter_types, @@ -143,7 +146,6 @@ impl orml_currencies::Config for Test { type WeightInfo = (); } - pub struct AllowedCurrencyIdVerifierImpl; impl AllowedCurrencyIdVerifier for AllowedCurrencyIdVerifierImpl { // We allow only some assets diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index 2b97060be..dd82c0a3b 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -9,7 +9,8 @@ use orml_traits::MultiCurrency; use sp_arithmetic::{traits::One, FixedU128}; use sp_runtime::{ traits::BadOrigin, - transaction_validity::{InvalidTransaction, TransactionValidityError}, SaturatedConversion, + transaction_validity::{InvalidTransaction, TransactionValidityError}, + SaturatedConversion, }; fn get_free_balance(currency_id: CurrencyIdOf, account: &AccountId) -> Balance { @@ -17,7 +18,7 @@ fn get_free_balance(currency_id: CurrencyIdOf, account: &AccountId) -> Bal } fn run_to_block(new_block: ::BlockNumber) { - frame_system::Pallet::::set_block_number(new_block); + frame_system::Pallet::::set_block_number(new_block); } #[test] @@ -255,7 +256,7 @@ fn attempt_buyout_after_buyout_limit_exceeded_fails() { // With buyout limit BuyoutLimit::::put(150 * UNIT); - // Previous buyout at current_block + // Previous buyout at current_block Buyouts::::insert(user, (100 * UNIT, current_block)); assert_eq!(Buyouts::::get(user), (100 * UNIT, current_block)); @@ -288,9 +289,9 @@ fn buyout_after_buyout_limit_reset_succeeds() { assert_eq!(Buyouts::::get(user), (150 * UNIT, current_block)); - let buyout_period: u32 = BuyoutPeriod::get(); - // Skip buyout_period + 1 blocks, when the initial buyout period has already passed - run_to_block((current_block + buyout_period + 1).into()); + let buyout_period: u32 = BuyoutPeriod::get(); + // Skip buyout_period + 1 blocks, when the initial buyout period has already passed + run_to_block((current_block + buyout_period + 1).into()); assert_ok!(crate::Pallet::::buyout( RuntimeOrigin::signed(user), @@ -298,7 +299,8 @@ fn buyout_after_buyout_limit_reset_succeeds() { Amount::Buyout(buyout_amount), )); - let new_current_block = frame_system::Pallet::::block_number().saturated_into::(); + let new_current_block = + frame_system::Pallet::::block_number().saturated_into::(); // Buyouts should be reset and the total buyout amount should be equal to the last buyout amount assert_eq!(Buyouts::::get(user), (100 * UNIT, new_current_block)); }); @@ -411,7 +413,7 @@ mod signed_extension { fn validate_when_no_price_found_fails() { run_test(|| { let user = USER; - // For currency id 2u64 there is no price defined in the mock in order to test this case + // For currency id 2u64 there is no price defined in the mock in order to test this case let buyout_call = RuntimeCall::TreasuryBuyoutExtension(crate::Call::buyout { asset: 2u64, amount: Amount::Buyout(100 * UNIT), @@ -462,11 +464,12 @@ mod signed_extension { amount: Amount::Buyout(100 * UNIT), }); - let current_block = frame_system::Pallet::::block_number().saturated_into::(); - - // With buyout limit + let current_block = + frame_system::Pallet::::block_number().saturated_into::(); + + // With buyout limit BuyoutLimit::::put(100 * UNIT); - // Previous buyout at current_block + // Previous buyout at current_block Buyouts::::insert(&user, (80 * UNIT, current_block)); let check = CheckBuyout::::new(); diff --git a/pallets/treasury-buyout-extension/src/types.rs b/pallets/treasury-buyout-extension/src/types.rs index 26fb2bbfc..cbd15ade5 100644 --- a/pallets/treasury-buyout-extension/src/types.rs +++ b/pallets/treasury-buyout-extension/src/types.rs @@ -23,4 +23,4 @@ pub enum Amount { Buyout(Balance), /// Amount of exchange asset user give for buyout Exchange(Balance), -} \ No newline at end of file +} diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index e6b7ae0c7..5d448a09e 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -28,11 +28,11 @@ use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, One, Zero, + AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, + One, Zero, }, - FixedU128, transaction_validity::{TransactionSource, TransactionValidity}, - ApplyExtrinsicResult, DispatchError, FixedPointNumber, SaturatedConversion, + ApplyExtrinsicResult, DispatchError, FixedPointNumber, FixedU128, SaturatedConversion, }; use sp_std::fmt::Debug; @@ -995,9 +995,14 @@ impl orml_tokens_management_extension::Config for Runtime { } pub struct AllowedCurrencyIdVerifierImpl; -impl treasury_buyout_extension::AllowedCurrencyIdVerifier for AllowedCurrencyIdVerifierImpl { +impl treasury_buyout_extension::AllowedCurrencyIdVerifier + for AllowedCurrencyIdVerifierImpl +{ fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { - matches!(currency_id, CurrencyId::XCM(0) | CurrencyId::XCM(1) | CurrencyId::XCM(2) | CurrencyId::XCM(6)) + matches!( + currency_id, + CurrencyId::XCM(0) | CurrencyId::XCM(1) | CurrencyId::XCM(2) | CurrencyId::XCM(6) + ) } } pub struct OracleWrapper(Oracle); @@ -1006,7 +1011,7 @@ impl treasury_buyout_extension::PriceGetter for OracleWrapper { fn get_price(currency_id: CurrencyId) -> Result where FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, - { + { let key = OracleKey::ExchangeRate(currency_id); let asset_price = Oracle::get_price(key.clone())?; @@ -1021,15 +1026,15 @@ impl treasury_buyout_extension::PriceGetter for OracleWrapper { fn get_price(currency_id: CurrencyId) -> Result where FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, - { + { Security::set_status(StatusCode::Running); let key = OracleKey::ExchangeRate(currency_id); let rate = FixedU128::checked_from_rational(100, 1).unwrap(); let account = AccountId::from([0u8; 32]); Oracle::feed_values(account, vec![(key.clone(), rate)]); - + let asset_price = Oracle::get_price(key.clone()).unwrap(); - + let converted_asset_price = FixedNumber::try_from(asset_price); match converted_asset_price { @@ -1037,7 +1042,6 @@ impl treasury_buyout_extension::PriceGetter for OracleWrapper { Err(_) => Err(DispatchError::Other("Failed to convert price")), } } - } parameter_types! { From f2d1edae746e6ce4e8d040e918c6a5c515ea786c Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 09:37:38 +0200 Subject: [PATCH 47/89] Refactor dot currency id in tests --- Cargo.lock | 64 ++++++++++++------- .../treasury-buyout-extension/src/tests.rs | 26 ++++---- 2 files changed, 55 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e678bf55d..c485ba09b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,7 +280,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "staking", "stellar-relay", "substrate-wasm-builder", @@ -2080,7 +2080,7 @@ dependencies = [ "serde", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -2873,7 +2873,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "staking", ] @@ -3100,7 +3100,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "staking", "stellar-relay", "substrate-wasm-builder", @@ -4188,7 +4188,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", ] @@ -5472,7 +5472,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-runtime", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -5485,7 +5485,7 @@ dependencies = [ "serde", "sp-api", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -5878,7 +5878,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "staking", "vault-registry", ] @@ -6045,7 +6045,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "spin 0.9.8", "staking", ] @@ -6203,7 +6203,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -7749,7 +7749,7 @@ dependencies = [ "sp-session", "sp-timestamp", "sp-transaction-pool", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -7855,7 +7855,7 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "staking", "stellar-relay", "substrate-wasm-builder", @@ -9205,7 +9205,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -9659,7 +9659,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", ] @@ -9823,7 +9823,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "stellar-relay", "vault-registry", ] @@ -9854,7 +9854,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -9882,7 +9882,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "staking", ] @@ -10101,7 +10101,7 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "xcm", "xcm-executor", "zenlink-protocol", @@ -10146,7 +10146,7 @@ dependencies = [ "sp-runtime", "sp-std", "sp-tracing", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "statemine-runtime", "statemint-runtime", "xcm", @@ -12669,6 +12669,24 @@ dependencies = [ "sp-std", ] +[[package]] +name = "spacewalk-primitives" +version = "1.0.0" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36#d05b0015d15ca39cc780889bcc095335e9862a36" +dependencies = [ + "base58", + "bstringify", + "frame-support", + "hex", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", + "substrate-stellar-sdk", +] + [[package]] name = "spacewalk-primitives" version = "1.0.3" @@ -12751,7 +12769,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -12955,7 +12973,7 @@ dependencies = [ "sha2 0.10.7", "sp-core", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", ] [[package]] @@ -13665,7 +13683,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives 1.0.0 (git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36)", + "spacewalk-primitives 1.0.0", ] [[package]] @@ -13973,7 +13991,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "spacewalk-primitives", + "spacewalk-primitives 1.0.3", "staking", ] diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index dd82c0a3b..2934b3b8d 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -25,8 +25,9 @@ fn run_to_block(new_block: ::BlockNumber) { fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { run_test(|| { let user = USER; - let initial_user_dot_balance = get_free_balance(0u64, &user); - let initial_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let dot_currency_id = RelayChainCurrencyId::get(); + let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); + let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); let initial_treasury_native_balance = @@ -38,7 +39,7 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { let exchange_amount = 100 * UNIT; assert_ok!(crate::Pallet::::buyout( RuntimeOrigin::signed(user), - 0u64, + dot_currency_id, Amount::Exchange(exchange_amount), )); @@ -48,7 +49,7 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { >(GetNativeCurrencyId::get()) .expect("This is mocked so it should not fail"); let exchange_asset_price = - >>::get_price::(0u64) + >>::get_price::(dot_currency_id) .expect("This is mocked so it should not fail"); // Add fee to basic asset price @@ -63,10 +64,10 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { ) .expect("This is mocked so it should not fail"); - let final_user_dot_balance = get_free_balance(0u64, &user); + let final_user_dot_balance = get_free_balance(dot_currency_id, &user); let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); let final_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); @@ -89,8 +90,9 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { run_test(|| { let user = USER; - let initial_user_dot_balance = get_free_balance(0u64, &user); - let initial_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let dot_currency_id = RelayChainCurrencyId::get(); + let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); + let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); let initial_treasury_native_balance = @@ -102,7 +104,7 @@ fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { let buyout_amount = 100 * UNIT; assert_ok!(crate::Pallet::::buyout( RuntimeOrigin::signed(user), - 0u64, + dot_currency_id, Amount::Buyout(buyout_amount), )); @@ -112,7 +114,7 @@ fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { >(GetNativeCurrencyId::get()) .expect("This is mocked so it should not fail"); let exchange_asset_price = - >>::get_price::(0u64) + >>::get_price::(dot_currency_id) .expect("This is mocked so it should not fail"); // Add fee to basic asset price @@ -127,10 +129,10 @@ fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { ) .expect("This is mocked so it should not fail"); - let final_user_dot_balance = get_free_balance(0u64, &user); + let final_user_dot_balance = get_free_balance(dot_currency_id, &user); let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let final_treasury_dot_balance = get_free_balance(0u64, &TreasuryAccount::get()); + let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); let final_treasury_native_balance = get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); From 8bae6e8a346b297acb2de60e75f434370962337e Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 10:04:57 +0200 Subject: [PATCH 48/89] Small refactor for test attempt_buyout_after_buyout_limit_exceeded_fails --- pallets/treasury-buyout-extension/src/tests.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index 2934b3b8d..a5d7a636e 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -258,12 +258,18 @@ fn attempt_buyout_after_buyout_limit_exceeded_fails() { // With buyout limit BuyoutLimit::::put(150 * UNIT); - // Previous buyout at current_block + // Buyout at current_block Buyouts::::insert(user, (100 * UNIT, current_block)); assert_eq!(Buyouts::::get(user), (100 * UNIT, current_block)); - // This buyout attempt should fail because the limit is exceeded for the current period + // Skip to exactly the last block before the buyout period ends + let buyout_period: u32 = BuyoutPeriod::get(); + let new_current_block = buyout_period - 1; + run_to_block((new_current_block).into()); + + // This buyout attempt for 100 * UNIT should fail because the limit is exceeded for the current period + // Buyout limit is 150 * UNIT and the previous buyout was 100 * UNIT assert_noop!( crate::Pallet::::buyout( RuntimeOrigin::signed(user), From 11d9609efd98eb57baff7c43b9e0c94c40033627 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 10:24:01 +0200 Subject: [PATCH 49/89] Update comments --- pallets/treasury-buyout-extension/src/benchmarking.rs | 2 +- pallets/treasury-buyout-extension/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/benchmarking.rs b/pallets/treasury-buyout-extension/src/benchmarking.rs index 5d503765d..1dadaf34e 100644 --- a/pallets/treasury-buyout-extension/src/benchmarking.rs +++ b/pallets/treasury-buyout-extension/src/benchmarking.rs @@ -8,7 +8,7 @@ use frame_support::assert_ok; use frame_system::RawOrigin; use sp_std::prelude::*; -// Mint some tokens to the caller and treasury accounts +// Mint some tokens to caller and treasury accounts fn set_up_accounts(caller_account: &AccountIdOf, treasury_account: &AccountIdOf) { let token_currency_id = T::RelayChainCurrencyId::get(); let native_currency_id = ::GetNativeCurrencyId::get(); diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 70f953cc2..1ab6fbdf6 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -118,7 +118,7 @@ pub mod pallet { /// - `origin`: Origin must be root. /// - `limit`: New buyout limit. If None, then buyouts are not limited. /// - /// Emits `BuyoutLimitUpdated` event when successful. + /// Emits `BuyoutLimitUpdated` event when successful. #[pallet::call_index(1)] #[pallet::weight(::WeightInfo::update_buyout_limit())] pub fn update_buyout_limit( From d224292bf09e955f9a36c04dc0423f9745d46e8c Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 10:32:38 +0200 Subject: [PATCH 50/89] Small refactor --- runtime/foucoco/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 5d448a09e..a771d68c6 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -1029,11 +1029,11 @@ impl treasury_buyout_extension::PriceGetter for OracleWrapper { { Security::set_status(StatusCode::Running); let key = OracleKey::ExchangeRate(currency_id); - let rate = FixedU128::checked_from_rational(100, 1).unwrap(); + let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); let account = AccountId::from([0u8; 32]); Oracle::feed_values(account, vec![(key.clone(), rate)]); - let asset_price = Oracle::get_price(key.clone()).unwrap(); + let asset_price = Oracle::get_price(key.clone()).unwrap_or(FixedU128::one()); let converted_asset_price = FixedNumber::try_from(asset_price); From e07318c1d6ace15a918342da30890013aaae860d Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 10:44:35 +0200 Subject: [PATCH 51/89] Add comment in Foucoco runtime --- runtime/foucoco/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index a771d68c6..8fe422b3f 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -1027,7 +1027,9 @@ impl treasury_buyout_extension::PriceGetter for OracleWrapper { where FixedNumber: FixedPointNumber + One + Zero + Debug + TryFrom, { + // Forcefully set chain status to running when benchmarking so that the oracle doesn't fail Security::set_status(StatusCode::Running); + let key = OracleKey::ExchangeRate(currency_id); let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); let account = AccountId::from([0u8; 32]); From fa68d4dce4cbf2c41acd13c4f693d2c8205a7e1f Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 10:46:27 +0200 Subject: [PATCH 52/89] Add comment in Foucoco runtime --- runtime/foucoco/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 8fe422b3f..a75d4b158 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -1032,6 +1032,7 @@ impl treasury_buyout_extension::PriceGetter for OracleWrapper { let key = OracleKey::ExchangeRate(currency_id); let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); + // Needed for feeding values to the oracle but is never used in the oracle let account = AccountId::from([0u8; 32]); Oracle::feed_values(account, vec![(key.clone(), rate)]); From de93547feb82a5431d44d138a8573de5c6e720b7 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 10:54:34 +0200 Subject: [PATCH 53/89] Update comment --- pallets/treasury-buyout-extension/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 1ab6fbdf6..2a3704f83 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -482,7 +482,7 @@ where /// Checks: /// - asset is allowed for buyout - /// - buyout_amount is greater or equal `MinAmountToBuyout` + /// - buyout amount is greater or equal `MinAmountToBuyout` /// - `who` has enough balance to make buyout /// - buyout limit is not exceeded for `who` fn validate( From 9a19333543072e4a4ba0dd0c08d030c2633aa570 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 10:56:19 +0200 Subject: [PATCH 54/89] Update comment --- pallets/treasury-buyout-extension/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 2a3704f83..e066dac43 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -170,7 +170,7 @@ pub mod pallet { #[pallet::storage] pub type BuyoutLimit = StorageValue<_, BalanceOf, OptionQuery>; - /// Stores amount of buyouts (amount, timestamp of last buyout) + /// Stores amount of buyouts (amount, block number of last buyout) #[pallet::storage] pub type Buyouts = StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u32), ValueQuery>; From b2e2f17a0cbd812d45c62ff05565a6b8592905ba Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 11:06:29 +0200 Subject: [PATCH 55/89] Add signed extension to runtime --- runtime/foucoco/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index a75d4b158..11d52c4e9 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -153,6 +153,7 @@ pub type SignedExtra = ( frame_system::CheckNonce, frame_system::CheckWeight, pallet_transaction_payment::ChargeTransactionPayment, + treasury_buyout_extension::CheckBuyout, ); /// Unchecked extrinsic type as expected by this runtime. @@ -1587,6 +1588,7 @@ where frame_system::CheckNonce::::from(index), frame_system::CheckWeight::::new(), pallet_transaction_payment::ChargeTransactionPayment::::from(tip), + treasury_buyout_extension::CheckBuyout::::new(), ); let raw_payload = SignedPayload::new(call, extra).ok()?; From f02fbc8329603e6171f62be7042e1664a164c77a Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 11:13:15 +0200 Subject: [PATCH 56/89] Add comment --- pallets/treasury-buyout-extension/src/mock.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 940f3a644..6f10964ce 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -124,6 +124,7 @@ parameter_types! { pub const TreasuryAccount: AccountId = u64::MAX; pub const SellFee: Permill = Permill::from_percent(1); pub const MinAmountToBuyout: Balance = 100 * UNIT; + // 24 hours in blocks (where average block time is 12 seconds) pub const BuyoutPeriod: u32 = 7200; } From 4fa8b91e9f46eafae1b6c8df8b4e9a88bfdc6acd Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 11:21:22 +0200 Subject: [PATCH 57/89] Fix indentation in tests --- pallets/treasury-buyout-extension/src/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index a5d7a636e..b73e4a08d 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -24,7 +24,7 @@ fn run_to_block(new_block: ::BlockNumber) { #[test] fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { run_test(|| { - let user = USER; + let user = USER; let dot_currency_id = RelayChainCurrencyId::get(); let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); @@ -89,7 +89,7 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { #[test] fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { run_test(|| { - let user = USER; + let user = USER; let dot_currency_id = RelayChainCurrencyId::get(); let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); @@ -266,7 +266,7 @@ fn attempt_buyout_after_buyout_limit_exceeded_fails() { // Skip to exactly the last block before the buyout period ends let buyout_period: u32 = BuyoutPeriod::get(); let new_current_block = buyout_period - 1; - run_to_block((new_current_block).into()); + run_to_block((new_current_block).into()); // This buyout attempt for 100 * UNIT should fail because the limit is exceeded for the current period // Buyout limit is 150 * UNIT and the previous buyout was 100 * UNIT From fe04294d18eef60921ec7be39d27e2027a85be80 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 11:30:28 +0200 Subject: [PATCH 58/89] Fix indentation in tests --- .../treasury-buyout-extension/src/tests.rs | 280 +++++++++--------- 1 file changed, 140 insertions(+), 140 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index b73e4a08d..062a26b11 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -26,64 +26,64 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { run_test(|| { let user = USER; let dot_currency_id = RelayChainCurrencyId::get(); - let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); - let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - - let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let initial_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); - - let exchange_amount = 100 * UNIT; - assert_ok!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Exchange(exchange_amount), - )); - - // Fetch prices from Oracle mock - let basic_asset_price = >>::get_price::< - FixedU128, - >(GetNativeCurrencyId::get()) - .expect("This is mocked so it should not fail"); - let exchange_asset_price = - >>::get_price::(dot_currency_id) - .expect("This is mocked so it should not fail"); - - // Add fee to basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); - - // Calculate Native buyout amount - let buyout_amount = crate::Pallet::::multiply_by_rational( - exchange_amount, - exchange_asset_price.into_inner(), - basic_asset_price_with_fee.into_inner(), - ) - .expect("This is mocked so it should not fail"); - - let final_user_dot_balance = get_free_balance(dot_currency_id, &user); - let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - - let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - let final_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); - assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); - - assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); - assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); - - // Verify Buyout event was emitted - assert!(System::events().iter().any(|record| matches!( - record.event, - TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) - if who == user && amount == buyout_amount - ))); - }); + let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); + let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); + + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + let exchange_amount = 100 * UNIT; + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Exchange(exchange_amount), + )); + + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::< + FixedU128, + >(GetNativeCurrencyId::get()) + .expect("This is mocked so it should not fail"); + let exchange_asset_price = + >>::get_price::(dot_currency_id) + .expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate Native buyout amount + let buyout_amount = crate::Pallet::::multiply_by_rational( + exchange_amount, + exchange_asset_price.into_inner(), + basic_asset_price_with_fee.into_inner(), + ) + .expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(dot_currency_id, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); + let final_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); + assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); + + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); + + // Verify Buyout event was emitted + assert!(System::events().iter().any(|record| matches!( + record.event, + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + if who == user && amount == buyout_amount + ))); + }); } #[test] @@ -91,64 +91,64 @@ fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { run_test(|| { let user = USER; let dot_currency_id = RelayChainCurrencyId::get(); - let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); - let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - - let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let initial_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); - - let buyout_amount = 100 * UNIT; - assert_ok!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Buyout(buyout_amount), - )); - - // Fetch prices from Oracle mock - let basic_asset_price = >>::get_price::< - FixedU128, - >(GetNativeCurrencyId::get()) - .expect("This is mocked so it should not fail"); - let exchange_asset_price = - >>::get_price::(dot_currency_id) - .expect("This is mocked so it should not fail"); - - // Add fee to basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); - - // Calculate DOT exchange amount - let exchange_amount = crate::Pallet::::multiply_by_rational( - buyout_amount, - basic_asset_price_with_fee.into_inner(), - exchange_asset_price.into_inner(), - ) - .expect("This is mocked so it should not fail"); - - let final_user_dot_balance = get_free_balance(dot_currency_id, &user); - let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - - let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - let final_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); - assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); - - assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); - assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); - - // Verify Buyout event was emitted - assert!(System::events().iter().any(|record| matches!( - record.event, - TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) - if who == user && amount == buyout_amount - ))); - }); + let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); + let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); + + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + let buyout_amount = 100 * UNIT; + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Buyout(buyout_amount), + )); + + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::< + FixedU128, + >(GetNativeCurrencyId::get()) + .expect("This is mocked so it should not fail"); + let exchange_asset_price = + >>::get_price::(dot_currency_id) + .expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate DOT exchange amount + let exchange_amount = crate::Pallet::::multiply_by_rational( + buyout_amount, + basic_asset_price_with_fee.into_inner(), + exchange_asset_price.into_inner(), + ) + .expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(dot_currency_id, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); + let final_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); + assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); + + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); + + // Verify Buyout event was emitted + assert!(System::events().iter().any(|record| matches!( + record.event, + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + if who == user && amount == buyout_amount + ))); + }); } #[test] @@ -250,35 +250,35 @@ fn buyout_with_previous_existing_buyouts_succeeds() { #[test] fn attempt_buyout_after_buyout_limit_exceeded_fails() { run_test(|| { - let user = USER; - let dot_currency_id = RelayChainCurrencyId::get(); - let exchange_amount = 100 * UNIT; - - let current_block = frame_system::Pallet::::block_number().saturated_into::(); - - // With buyout limit - BuyoutLimit::::put(150 * UNIT); - // Buyout at current_block - Buyouts::::insert(user, (100 * UNIT, current_block)); - - assert_eq!(Buyouts::::get(user), (100 * UNIT, current_block)); - + let user = USER; + let dot_currency_id = RelayChainCurrencyId::get(); + let exchange_amount = 100 * UNIT; + + let current_block = frame_system::Pallet::::block_number().saturated_into::(); + + // With buyout limit + BuyoutLimit::::put(150 * UNIT); + // Buyout at current_block + Buyouts::::insert(user, (100 * UNIT, current_block)); + + assert_eq!(Buyouts::::get(user), (100 * UNIT, current_block)); + // Skip to exactly the last block before the buyout period ends let buyout_period: u32 = BuyoutPeriod::get(); let new_current_block = buyout_period - 1; run_to_block((new_current_block).into()); - - // This buyout attempt for 100 * UNIT should fail because the limit is exceeded for the current period + + // This buyout attempt for 100 * UNIT should fail because the limit is exceeded for the current period // Buyout limit is 150 * UNIT and the previous buyout was 100 * UNIT - assert_noop!( - crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Exchange(exchange_amount), - ), - Error::::BuyoutLimitExceeded - ); - }); + assert_noop!( + crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Exchange(exchange_amount), + ), + Error::::BuyoutLimitExceeded + ); + }); } #[test] From 7c46f0b47a24b7da0910e43f22614b7dbfb2094b Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 11:31:54 +0200 Subject: [PATCH 59/89] Fix indentation in tests --- pallets/treasury-buyout-extension/src/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index 062a26b11..3778d8f01 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -23,7 +23,7 @@ fn run_to_block(new_block: ::BlockNumber) { #[test] fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { - run_test(|| { + run_test(|| { let user = USER; let dot_currency_id = RelayChainCurrencyId::get(); let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); @@ -88,7 +88,7 @@ fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { #[test] fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { - run_test(|| { + run_test(|| { let user = USER; let dot_currency_id = RelayChainCurrencyId::get(); let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); @@ -249,7 +249,7 @@ fn buyout_with_previous_existing_buyouts_succeeds() { #[test] fn attempt_buyout_after_buyout_limit_exceeded_fails() { - run_test(|| { + run_test(|| { let user = USER; let dot_currency_id = RelayChainCurrencyId::get(); let exchange_amount = 100 * UNIT; From 382b0d3975a2abfbd3407513036faa7839018213 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 11:33:18 +0200 Subject: [PATCH 60/89] Fix indentation in tests --- .../treasury-buyout-extension/src/tests.rs | 308 +++++++++--------- 1 file changed, 156 insertions(+), 152 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/tests.rs b/pallets/treasury-buyout-extension/src/tests.rs index 3778d8f01..fe714fef8 100644 --- a/pallets/treasury-buyout-extension/src/tests.rs +++ b/pallets/treasury-buyout-extension/src/tests.rs @@ -23,132 +23,136 @@ fn run_to_block(new_block: ::BlockNumber) { #[test] fn buyout_using_dot_given_exchange_amount_in_dot_succeeds() { - run_test(|| { - let user = USER; - let dot_currency_id = RelayChainCurrencyId::get(); - let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); - let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - - let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let initial_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); - - let exchange_amount = 100 * UNIT; - assert_ok!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Exchange(exchange_amount), - )); - - // Fetch prices from Oracle mock - let basic_asset_price = >>::get_price::< - FixedU128, - >(GetNativeCurrencyId::get()) - .expect("This is mocked so it should not fail"); - let exchange_asset_price = - >>::get_price::(dot_currency_id) - .expect("This is mocked so it should not fail"); - - // Add fee to basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); - - // Calculate Native buyout amount - let buyout_amount = crate::Pallet::::multiply_by_rational( - exchange_amount, - exchange_asset_price.into_inner(), - basic_asset_price_with_fee.into_inner(), - ) - .expect("This is mocked so it should not fail"); - - let final_user_dot_balance = get_free_balance(dot_currency_id, &user); - let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - - let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - let final_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); - assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); - - assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); - assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); - - // Verify Buyout event was emitted - assert!(System::events().iter().any(|record| matches!( - record.event, - TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) - if who == user && amount == buyout_amount - ))); - }); + run_test(|| { + let user = USER; + let dot_currency_id = RelayChainCurrencyId::get(); + let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); + let initial_treasury_dot_balance = + get_free_balance(dot_currency_id, &TreasuryAccount::get()); + + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + let exchange_amount = 100 * UNIT; + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Exchange(exchange_amount), + )); + + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::< + FixedU128, + >(GetNativeCurrencyId::get()) + .expect("This is mocked so it should not fail"); + let exchange_asset_price = >>::get_price::< + FixedU128, + >(dot_currency_id) + .expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate Native buyout amount + let buyout_amount = crate::Pallet::::multiply_by_rational( + exchange_amount, + exchange_asset_price.into_inner(), + basic_asset_price_with_fee.into_inner(), + ) + .expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(dot_currency_id, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); + let final_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); + assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); + + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); + + // Verify Buyout event was emitted + assert!(System::events().iter().any(|record| matches!( + record.event, + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + if who == user && amount == buyout_amount + ))); + }); } #[test] fn buyout_using_dot_given_buyout_amount_in_native_succeeds() { - run_test(|| { - let user = USER; - let dot_currency_id = RelayChainCurrencyId::get(); - let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); - let initial_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - - let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - let initial_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); - assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); - - let buyout_amount = 100 * UNIT; - assert_ok!(crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Buyout(buyout_amount), - )); - - // Fetch prices from Oracle mock - let basic_asset_price = >>::get_price::< - FixedU128, - >(GetNativeCurrencyId::get()) - .expect("This is mocked so it should not fail"); - let exchange_asset_price = - >>::get_price::(dot_currency_id) - .expect("This is mocked so it should not fail"); - - // Add fee to basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); - - // Calculate DOT exchange amount - let exchange_amount = crate::Pallet::::multiply_by_rational( - buyout_amount, - basic_asset_price_with_fee.into_inner(), - exchange_asset_price.into_inner(), - ) - .expect("This is mocked so it should not fail"); - - let final_user_dot_balance = get_free_balance(dot_currency_id, &user); - let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); - - let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); - let final_treasury_native_balance = - get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); - - assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); - assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); - - assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); - assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); - - // Verify Buyout event was emitted - assert!(System::events().iter().any(|record| matches!( - record.event, - TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) - if who == user && amount == buyout_amount - ))); - }); + run_test(|| { + let user = USER; + let dot_currency_id = RelayChainCurrencyId::get(); + let initial_user_dot_balance = get_free_balance(dot_currency_id, &user); + let initial_treasury_dot_balance = + get_free_balance(dot_currency_id, &TreasuryAccount::get()); + + let initial_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + let initial_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(initial_user_native_balance, USERS_INITIAL_BALANCE); + assert_eq!(initial_treasury_native_balance, TREASURY_INITIAL_BALANCE); + + let buyout_amount = 100 * UNIT; + assert_ok!(crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Buyout(buyout_amount), + )); + + // Fetch prices from Oracle mock + let basic_asset_price = >>::get_price::< + FixedU128, + >(GetNativeCurrencyId::get()) + .expect("This is mocked so it should not fail"); + let exchange_asset_price = >>::get_price::< + FixedU128, + >(dot_currency_id) + .expect("This is mocked so it should not fail"); + + // Add fee to basic asset price + let basic_asset_price_with_fee = + basic_asset_price * (FixedU128::from(SellFee::get()) + FixedU128::one()); + + // Calculate DOT exchange amount + let exchange_amount = crate::Pallet::::multiply_by_rational( + buyout_amount, + basic_asset_price_with_fee.into_inner(), + exchange_asset_price.into_inner(), + ) + .expect("This is mocked so it should not fail"); + + let final_user_dot_balance = get_free_balance(dot_currency_id, &user); + let final_user_native_balance = get_free_balance(GetNativeCurrencyId::get(), &user); + + let final_treasury_dot_balance = get_free_balance(dot_currency_id, &TreasuryAccount::get()); + let final_treasury_native_balance = + get_free_balance(GetNativeCurrencyId::get(), &TreasuryAccount::get()); + + assert_eq!(final_user_dot_balance, initial_user_dot_balance - exchange_amount); + assert_eq!(final_treasury_dot_balance, initial_treasury_dot_balance + exchange_amount); + + assert_eq!(final_user_native_balance, initial_user_native_balance + buyout_amount); + assert_eq!(final_treasury_native_balance, initial_treasury_native_balance - buyout_amount); + + // Verify Buyout event was emitted + assert!(System::events().iter().any(|record| matches!( + record.event, + TestEvent::TreasuryBuyoutExtension(crate::Event::Buyout { who, buyout_amount: amount, .. }) + if who == user && amount == buyout_amount + ))); + }); } #[test] @@ -249,36 +253,36 @@ fn buyout_with_previous_existing_buyouts_succeeds() { #[test] fn attempt_buyout_after_buyout_limit_exceeded_fails() { - run_test(|| { - let user = USER; - let dot_currency_id = RelayChainCurrencyId::get(); - let exchange_amount = 100 * UNIT; - - let current_block = frame_system::Pallet::::block_number().saturated_into::(); - - // With buyout limit - BuyoutLimit::::put(150 * UNIT); - // Buyout at current_block - Buyouts::::insert(user, (100 * UNIT, current_block)); - - assert_eq!(Buyouts::::get(user), (100 * UNIT, current_block)); - - // Skip to exactly the last block before the buyout period ends - let buyout_period: u32 = BuyoutPeriod::get(); - let new_current_block = buyout_period - 1; - run_to_block((new_current_block).into()); - - // This buyout attempt for 100 * UNIT should fail because the limit is exceeded for the current period - // Buyout limit is 150 * UNIT and the previous buyout was 100 * UNIT - assert_noop!( - crate::Pallet::::buyout( - RuntimeOrigin::signed(user), - dot_currency_id, - Amount::Exchange(exchange_amount), - ), - Error::::BuyoutLimitExceeded - ); - }); + run_test(|| { + let user = USER; + let dot_currency_id = RelayChainCurrencyId::get(); + let exchange_amount = 100 * UNIT; + + let current_block = frame_system::Pallet::::block_number().saturated_into::(); + + // With buyout limit + BuyoutLimit::::put(150 * UNIT); + // Buyout at current_block + Buyouts::::insert(user, (100 * UNIT, current_block)); + + assert_eq!(Buyouts::::get(user), (100 * UNIT, current_block)); + + // Skip to exactly the last block before the buyout period ends + let buyout_period: u32 = BuyoutPeriod::get(); + let new_current_block = buyout_period - 1; + run_to_block((new_current_block).into()); + + // This buyout attempt for 100 * UNIT should fail because the limit is exceeded for the current period + // Buyout limit is 150 * UNIT and the previous buyout was 100 * UNIT + assert_noop!( + crate::Pallet::::buyout( + RuntimeOrigin::signed(user), + dot_currency_id, + Amount::Exchange(exchange_amount), + ), + Error::::BuyoutLimitExceeded + ); + }); } #[test] From 66a86daba1de254f7337ddcccdc428d51ec7e27a Mon Sep 17 00:00:00 2001 From: Bogdan Sandu Date: Fri, 2 Feb 2024 14:36:27 +0200 Subject: [PATCH 61/89] Update comment Co-authored-by: Marcel Ebert --- pallets/treasury-buyout-extension/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index e066dac43..b3e1988fd 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -79,7 +79,7 @@ pub mod pallet { /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; - /// Currency id of the relay chain + /// Currency id of the relay chain, only used in benchmarks #[cfg(feature = "runtime-benchmarks")] type RelayChainCurrencyId: Get>; } From 96af52cfce3c2b22bbce021e36b67878131c6beb Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Fri, 2 Feb 2024 20:10:29 +0200 Subject: [PATCH 62/89] Fix building project with runtime benchmarks flag --- runtime/amplitude/src/lib.rs | 5 +--- runtime/common/src/asset_registry.rs | 24 +++++++++++-------- .../src/benchmarking/orml_asset_registry.rs | 20 +++++++++++++--- runtime/foucoco/src/lib.rs | 4 +--- runtime/pendulum/src/lib.rs | 5 +--- 5 files changed, 34 insertions(+), 24 deletions(-) diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 3a2dfcb43..a40a4b8e5 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -21,7 +21,6 @@ use zenlink_protocol::{AssetBalance, MultiAssetsHandler, PairInfo}; pub use parachain_staking::InflationInfo; use codec::Encode; -use scale_info::TypeInfo; use smallvec::smallvec; use sp_api::impl_runtime_apis; @@ -831,8 +830,6 @@ impl orml_tokens::Config for Runtime { parameter_types! { pub const NativeCurrencyId: CurrencyId = CurrencyId::Native; - #[derive(Clone, Eq, PartialEq, Debug, TypeInfo)] - pub const StringLimit: u32 = 50; } impl orml_currencies::Config for Runtime { @@ -844,7 +841,7 @@ impl orml_currencies::Config for Runtime { impl orml_asset_registry::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type CustomMetadata = asset_registry::CustomMetadata; + type CustomMetadata = asset_registry::CustomMetadata; type AssetId = CurrencyId; type AuthorityOrigin = asset_registry::AssetAuthority; type AssetProcessor = asset_registry::CustomAssetProcessor; diff --git a/runtime/common/src/asset_registry.rs b/runtime/common/src/asset_registry.rs index b6e206a99..4ffd1dd94 100644 --- a/runtime/common/src/asset_registry.rs +++ b/runtime/common/src/asset_registry.rs @@ -10,8 +10,16 @@ use sp_std::fmt::Debug; use spacewalk_primitives::CurrencyId; #[derive(Clone, PartialOrd, Ord, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)] -pub struct CustomMetadata + TypeInfo + Clone + Eq + Debug + Send + Sync> { - pub dia_keys: DiaKeys, +pub struct StringLimit; +impl Get for StringLimit { + fn get() -> u32 { + 50 + } +} + +#[derive(Clone, PartialOrd, Ord, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)] +pub struct CustomMetadata { + pub dia_keys: DiaKeys, pub fee_per_second: u128, } @@ -26,15 +34,11 @@ pub struct DiaKeys + TypeInfo + Clone + Eq + Debug + Send + Sync> { )] pub struct CustomAssetProcessor; -impl AssetProcessor>> - for CustomAssetProcessor -where - T: Get + TypeInfo + Clone + Eq + Debug + Send + Sync + 'static, -{ +impl AssetProcessor> for CustomAssetProcessor { fn pre_register( id: Option, - metadata: AssetMetadata>, - ) -> Result<(CurrencyId, AssetMetadata>), DispatchError> { + metadata: AssetMetadata, + ) -> Result<(CurrencyId, AssetMetadata), DispatchError> { match id { Some(id) => Ok((id, metadata)), None => Err(DispatchError::Other("asset-registry: AssetId is required")), @@ -43,7 +47,7 @@ where fn post_register( _id: CurrencyId, - _asset_metadata: AssetMetadata>, + _asset_metadata: AssetMetadata, ) -> Result<(), DispatchError> { Ok(()) } diff --git a/runtime/common/src/benchmarking/orml_asset_registry.rs b/runtime/common/src/benchmarking/orml_asset_registry.rs index 0fabd64ed..09d9d62ca 100644 --- a/runtime/common/src/benchmarking/orml_asset_registry.rs +++ b/runtime/common/src/benchmarking/orml_asset_registry.rs @@ -3,11 +3,13 @@ use frame_support::assert_ok; use frame_system::RawOrigin; use orml_asset_registry::AssetMetadata; use sp_std::{vec, vec::Vec}; -use spacewalk_primitives::{CurrencyId, CustomMetadata}; +use crate::asset_registry::{CustomMetadata, DiaKeys, StringLimit}; +use spacewalk_primitives::CurrencyId; use xcm::{ latest::MultiLocation, opaque::lts::{Junction::*, Junctions::*}, }; +use sp_runtime::BoundedVec; pub struct Pallet(orml_asset_registry::Pallet); pub trait Config: @@ -37,7 +39,13 @@ pub mod benchmarks { symbol: longest_vec(), existential_deposit: 0, location: Some(longest_multilocation().into()), - additional: CustomMetadata, + additional: CustomMetadata { + dia_keys: DiaKeys { + blockchain: BoundedVec::truncate_from(longest_vec()), + symbol: BoundedVec::truncate_from(longest_vec()), + }, + fee_per_second: 123, + } } } @@ -72,7 +80,13 @@ pub mod benchmarks { Some(vec![b'b', 128]), Some(1234), Some(Some(location.into())), - Some(CustomMetadata), + Some(CustomMetadata { + dia_keys: DiaKeys { + blockchain: BoundedVec::::truncate_from(longest_vec()), + symbol: BoundedVec::::truncate_from(longest_vec()), + }, + fee_per_second: 123, + }), ); } diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 11d52c4e9..89623232b 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -855,8 +855,6 @@ impl orml_tokens::Config for Runtime { parameter_types! { pub const NativeCurrencyId: CurrencyId = CurrencyId::Native; - #[derive(Clone, Eq, PartialEq, Debug, TypeInfo)] - pub const StringLimit: u32 = 50; } impl orml_currencies::Config for Runtime { @@ -868,7 +866,7 @@ impl orml_currencies::Config for Runtime { impl orml_asset_registry::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type CustomMetadata = asset_registry::CustomMetadata; + type CustomMetadata = asset_registry::CustomMetadata; type AssetId = CurrencyId; type AuthorityOrigin = asset_registry::AssetAuthority; type AssetProcessor = asset_registry::CustomAssetProcessor; diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index 40d53ced3..773d0c386 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -19,7 +19,6 @@ use zenlink_protocol::{AssetBalance, MultiAssetsHandler, PairInfo}; pub use parachain_staking::InflationInfo; use codec::Encode; -use scale_info::TypeInfo; use smallvec::smallvec; use sp_api::impl_runtime_apis; @@ -824,8 +823,6 @@ impl orml_tokens::Config for Runtime { parameter_types! { pub const NativeCurrencyId: CurrencyId = CurrencyId::Native; - #[derive(Clone, Eq, PartialEq, Debug, TypeInfo)] - pub const StringLimit: u32 = 50; } impl orml_currencies::Config for Runtime { @@ -837,7 +834,7 @@ impl orml_currencies::Config for Runtime { impl orml_asset_registry::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type CustomMetadata = asset_registry::CustomMetadata; + type CustomMetadata = asset_registry::CustomMetadata; type AssetId = CurrencyId; type AuthorityOrigin = asset_registry::AssetAuthority; type AssetProcessor = asset_registry::CustomAssetProcessor; From d8c6738b9fb5068bd08f1a671944deb681dbc9a5 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 5 Feb 2024 13:32:15 +0200 Subject: [PATCH 63/89] Address change requests --- pallets/treasury-buyout-extension/src/lib.rs | 130 ++++++++++-------- pallets/treasury-buyout-extension/src/mock.rs | 6 +- runtime/foucoco/src/lib.rs | 10 +- 3 files changed, 78 insertions(+), 68 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index e066dac43..b60012b93 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -28,7 +28,7 @@ use frame_support::{ }; use orml_traits::MultiCurrency; pub use pallet::*; -use sp_arithmetic::per_things::Rounding; +use sp_arithmetic::{per_things::Rounding, traits::{CheckedAdd, Saturating}}; use sp_runtime::{ traits::{DispatchInfoOf, One, SignedExtension, Zero}, transaction_validity::{ @@ -58,7 +58,8 @@ pub mod pallet { #[pallet::constant] type TreasuryAccount: Get>; - /// Buyout period in blocks + /// Buyout period in blocks in which a caller can buyout up to the amount limit stored in `BuyoutLimit` + /// When attempting to buyout after this period, the buyout limit is reset for the caller #[pallet::constant] type BuyoutPeriod: Get; @@ -67,7 +68,7 @@ pub mod pallet { type SellFee: Get; /// Type that allows for checking if currency type is ownable by users - type AllowedCurrencyIdVerifier: AllowedCurrencyIdVerifier>; + type AllowedCurrencyVerifier: AllowedCurrencyChecker>; /// Used for fetching prices of currencies from oracle type PriceGetter: PriceGetter>; @@ -86,11 +87,57 @@ pub mod pallet { #[pallet::pallet] pub struct Pallet(PhantomData); + + #[pallet::error] + pub enum Error { + /// Attempt to exchange native token to native token + WrongAssetToBuyout, + /// Buyout limit exceeded for the current period + BuyoutLimitExceeded, + /// One of transacted currencies is missing price information + NoPrice, + /// The treasury balance is too low for an operation + InsufficientTreasuryBalance, + /// The account balance is too low for an operation + InsufficientAccountBalance, + /// Less than minimum amoount allowed for buyout + LessThanMinBuyoutAmount, + /// Attempt to use treasury account for buyout + BuyoutWithTreasuryAccount, + /// Exchange failed + ExchangeFailure, + } + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + /// Buyout event + Buyout { + who: AccountIdOf, + buyout_amount: BalanceOf, + asset: CurrencyIdOf, + exchange_amount: BalanceOf, + }, + /// Buyout limit updated event + BuyoutLimitUpdated { limit: Option> }, + } + + /// Stores buyout limit amount user could buy for a period of `BuyoutPeriod` blocks. + /// Each user can buyout up to this amount in a period. After each period passes, buyout limit is reset + /// When `None` - buyouts are not limited + #[pallet::storage] + pub type BuyoutLimit = StorageValue<_, BalanceOf, OptionQuery>; + + /// Stores amount of buyouts (amount, block number of last buyout) + #[pallet::storage] + pub type Buyouts = + StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u32), ValueQuery>; #[pallet::call] impl Pallet { /// Allows caller to buyout a given amount of native token. - /// Caller can specify either buyout amount of native token that he wants or exchange amount of an allowed asset. + /// Buyout amount given as input is the amount of native token that caller will receive in exchange for an amount of an allowed asset + /// Exchange amount given as input is the amount of an allowed asset that caller will give in exchange for an amount of native token /// /// Parameters /// @@ -134,46 +181,6 @@ pub mod pallet { Ok(().into()) } } - - #[pallet::error] - pub enum Error { - /// Attempt to exchange native token to native token - WrongAssetToBuyout, - /// Buyout limit exceeded for the current period - BuyoutLimitExceeded, - /// One of transacted currencies is missing price information - NoPrice, - /// The treasury balance is too low for an operation - InsufficientTreasuryBalance, - /// The account balance is too low for an operation - InsufficientAccountBalance, - /// Exchange failed - ExchangeFailure, - } - - #[pallet::event] - #[pallet::generate_deposit(pub(super) fn deposit_event)] - pub enum Event { - /// Buyout event - Buyout { - who: AccountIdOf, - buyout_amount: BalanceOf, - asset: CurrencyIdOf, - exchange_amount: BalanceOf, - }, - /// Buyout limit updated event - BuyoutLimitUpdated { limit: Option> }, - } - - /// Stores limit amount user could by for a period. - /// When `None` - buyouts are not limited - #[pallet::storage] - pub type BuyoutLimit = StorageValue<_, BalanceOf, OptionQuery>; - - /// Stores amount of buyouts (amount, block number of last buyout) - #[pallet::storage] - pub type Buyouts = - StorageMap<_, Blake2_128Concat, AccountIdOf, (BalanceOf, u32), ValueQuery>; } impl Pallet { @@ -199,9 +206,8 @@ impl Pallet { ensure!( buyouts - .saturated_into::() - .saturating_add(buyout_amount.saturated_into::()) <= - buyout_limit.saturated_into::(), + .saturating_add(buyout_amount) <= + buyout_limit, Error::::BuyoutLimitExceeded ); } @@ -211,9 +217,9 @@ impl Pallet { /// Ensures that asset is allowed for buyout /// The concrete implementation of AllowedCurrencyIdVerifier trait must be provided by the runtime - fn ensure_allowed_asset_for_buyout(asset: &CurrencyIdOf) -> DispatchResult { + fn ensure_asset_allowed_for_buyout(asset: &CurrencyIdOf) -> DispatchResult { ensure!( - T::AllowedCurrencyIdVerifier::is_allowed_currency_id(asset), + T::AllowedCurrencyVerifier::is_allowed_currency_id(asset), Error::::WrongAssetToBuyout ); @@ -224,7 +230,7 @@ impl Pallet { fn update_buyouts(account_id: &AccountIdOf, buyout_amount: BalanceOf) { if BuyoutLimit::::get().is_some() { Buyouts::::mutate(account_id, |(prev_buyouts, last)| { - *prev_buyouts = *prev_buyouts + buyout_amount; + *prev_buyouts = prev_buyouts.saturating_add(buyout_amount); *last = >::block_number().saturated_into::(); }); } @@ -241,8 +247,8 @@ impl Pallet { let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).expect("This should never fail"); + let basic_asset_price_with_fee = basic_asset_price.saturating_mul(fee_plus_one); let exchange_amount = Self::multiply_by_rational( buyout_amount.saturated_into::(), @@ -268,8 +274,8 @@ impl Pallet { let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let basic_asset_price_with_fee = - basic_asset_price * (FixedU128::from(T::SellFee::get()) + FixedU128::one()); + let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).expect("This should never fail"); + let basic_asset_price_with_fee = basic_asset_price.saturating_mul(fee_plus_one); let buyout_amount = Self::multiply_by_rational( exchange_amount.saturated_into::(), @@ -306,7 +312,7 @@ impl Pallet { asset: CurrencyIdOf, amount: Amount>, ) -> DispatchResult { - Self::ensure_allowed_asset_for_buyout(&asset)?; + Self::ensure_asset_allowed_for_buyout(&asset)?; let basic_asset = ::GetNativeCurrencyId::get(); let (buyout_amount, exchange_amount) = Self::split_to_buyout_and_exchange(asset, amount)?; @@ -315,9 +321,13 @@ impl Pallet { let treasury_account_id = T::TreasuryAccount::get(); // Start exchanging - // Check for exchanging zero values and same accounts - if exchange_amount.is_zero() && buyout_amount.is_zero() || who == treasury_account_id { - return Ok(()) + // Check for same accounts + if who == treasury_account_id { + return Err(Error::::BuyoutWithTreasuryAccount.into()) + } + // Check for exchanging zero values + if exchange_amount.is_zero() && buyout_amount.is_zero() { + return Err(Error::::LessThanMinBuyoutAmount.into()) } // Check both balances before transfer @@ -376,7 +386,7 @@ impl Pallet { /// Used for checking if asset is allowed for buyout /// The concrete implementation of this trait must be provided by the runtime -pub trait AllowedCurrencyIdVerifier +pub trait AllowedCurrencyChecker where CurrencyId: Clone + PartialEq + Eq + Debug, { @@ -494,7 +504,7 @@ where ) -> TransactionValidity { if let Some(local_call) = call.is_sub_type() { if let Call::buyout { asset, amount } = local_call { - Pallet::::ensure_allowed_asset_for_buyout(asset).map_err(|_| { + Pallet::::ensure_asset_allowed_for_buyout(asset).map_err(|_| { InvalidTransaction::Custom(ValidityError::WrongAssetToBuyout.into()) })?; diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index 6f10964ce..cbb133e76 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -1,5 +1,5 @@ use crate::{ - self as treasury_buyout_extension, default_weights::SubstrateWeight, AllowedCurrencyIdVerifier, + self as treasury_buyout_extension, default_weights::SubstrateWeight, AllowedCurrencyChecker, Config, PriceGetter, }; use frame_support::{ @@ -148,7 +148,7 @@ impl orml_currencies::Config for Test { } pub struct AllowedCurrencyIdVerifierImpl; -impl AllowedCurrencyIdVerifier for AllowedCurrencyIdVerifierImpl { +impl AllowedCurrencyChecker for AllowedCurrencyIdVerifierImpl { // We allow only some assets fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { matches!(currency_id, 0u64 | 1u64 | 2u64 | 3u64) @@ -185,7 +185,7 @@ impl Config for Test { /// Fee from the native asset buyouts type SellFee = SellFee; /// Type that allows for checking if currency type is ownable by users - type AllowedCurrencyIdVerifier = AllowedCurrencyIdVerifierImpl; + type AllowedCurrencyVerifier = AllowedCurrencyIdVerifierImpl; /// Used for fetching prices of currencies from oracle type PriceGetter = OracleMock; /// Min amount of native token to buyout diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 89623232b..aeca6b0b9 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -994,7 +994,7 @@ impl orml_tokens_management_extension::Config for Runtime { } pub struct AllowedCurrencyIdVerifierImpl; -impl treasury_buyout_extension::AllowedCurrencyIdVerifier +impl treasury_buyout_extension::AllowedCurrencyChecker for AllowedCurrencyIdVerifierImpl { fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { @@ -1004,8 +1004,8 @@ impl treasury_buyout_extension::AllowedCurrencyIdVerifier ) } } -pub struct OracleWrapper(Oracle); -impl treasury_buyout_extension::PriceGetter for OracleWrapper { +pub struct OraclePriceGetter(Oracle); +impl treasury_buyout_extension::PriceGetter for OraclePriceGetter { #[cfg(not(feature = "runtime-benchmarks"))] fn get_price(currency_id: CurrencyId) -> Result where @@ -1059,8 +1059,8 @@ impl treasury_buyout_extension::Config for Runtime { type TreasuryAccount = FoucocoTreasuryAccount; type BuyoutPeriod = BuyoutPeriod; type SellFee = SellFee; - type AllowedCurrencyIdVerifier = AllowedCurrencyIdVerifierImpl; - type PriceGetter = OracleWrapper; + type AllowedCurrencyVerifier = AllowedCurrencyIdVerifierImpl; + type PriceGetter = OraclePriceGetter; type MinAmountToBuyout = MinAmountToBuyout; #[cfg(feature = "runtime-benchmarks")] type RelayChainCurrencyId = RelayChainCurrencyId; From d4fcb93e9f7fe379d7a9e616afc19e3d75a467ac Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 5 Feb 2024 13:47:02 +0200 Subject: [PATCH 64/89] Small refactor for asset registry benchmarks --- runtime/common/src/benchmarking/orml_asset_registry.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/common/src/benchmarking/orml_asset_registry.rs b/runtime/common/src/benchmarking/orml_asset_registry.rs index 09d9d62ca..2f18594a4 100644 --- a/runtime/common/src/benchmarking/orml_asset_registry.rs +++ b/runtime/common/src/benchmarking/orml_asset_registry.rs @@ -3,7 +3,7 @@ use frame_support::assert_ok; use frame_system::RawOrigin; use orml_asset_registry::AssetMetadata; use sp_std::{vec, vec::Vec}; -use crate::asset_registry::{CustomMetadata, DiaKeys, StringLimit}; +use crate::asset_registry::{CustomMetadata, DiaKeys}; use spacewalk_primitives::CurrencyId; use xcm::{ latest::MultiLocation, @@ -82,8 +82,8 @@ pub mod benchmarks { Some(Some(location.into())), Some(CustomMetadata { dia_keys: DiaKeys { - blockchain: BoundedVec::::truncate_from(longest_vec()), - symbol: BoundedVec::::truncate_from(longest_vec()), + blockchain: BoundedVec::truncate_from(longest_vec()), + symbol: BoundedVec::truncate_from(longest_vec()), }, fee_per_second: 123, }), From 510b4ffabc112bc4d2ae5854f02c3025f8c71f88 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 5 Feb 2024 13:47:36 +0200 Subject: [PATCH 65/89] Fix compiler warning --- runtime/foucoco/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index aeca6b0b9..7bc92f3aa 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -1033,7 +1033,7 @@ impl treasury_buyout_extension::PriceGetter for OraclePriceGetter { let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); // Needed for feeding values to the oracle but is never used in the oracle let account = AccountId::from([0u8; 32]); - Oracle::feed_values(account, vec![(key.clone(), rate)]); + Oracle::feed_values(account, vec![(key.clone(), rate)])?; let asset_price = Oracle::get_price(key.clone()).unwrap_or(FixedU128::one()); From 9e8f129506a390b59a409266859e0400e68d7d2c Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 5 Feb 2024 19:41:29 +0200 Subject: [PATCH 66/89] Address change requests --- pallets/treasury-buyout-extension/src/lib.rs | 20 +++++++------- pallets/treasury-buyout-extension/src/mock.rs | 6 ++--- runtime/foucoco/src/lib.rs | 27 +++++++++++-------- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 7ee510e3e..76b4a8ed4 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -68,7 +68,7 @@ pub mod pallet { type SellFee: Get; /// Type that allows for checking if currency type is ownable by users - type AllowedCurrencyVerifier: AllowedCurrencyChecker>; + type AllowedCurrencyChecker: AllowedCurrencyChecker>; /// Used for fetching prices of currencies from oracle type PriceGetter: PriceGetter>; @@ -106,6 +106,8 @@ pub mod pallet { BuyoutWithTreasuryAccount, /// Exchange failed ExchangeFailure, + /// Math error + MathError, } #[pallet::event] @@ -192,16 +194,16 @@ impl Pallet { if let Some(buyout_limit) = BuyoutLimit::::get() { let buyout_period = T::BuyoutPeriod::get(); // Get current block number - let now = >::block_number().saturated_into::(); - let current_period = now + let current_block_number = >::block_number().saturated_into::(); + let current_period_start_number = current_block_number .checked_div(buyout_period) .and_then(|n| Some(n.saturating_mul(buyout_period))) .unwrap_or_default(); let (mut buyouts, last_buyout) = Buyouts::::get(account_id); - if !buyouts.is_zero() && last_buyout < current_period { + if !buyouts.is_zero() && last_buyout < current_period_start_number { buyouts = Default::default(); - Buyouts::::insert(account_id, (buyouts, now)); + Buyouts::::insert(account_id, (buyouts, current_block_number)); }; ensure!( @@ -216,10 +218,10 @@ impl Pallet { } /// Ensures that asset is allowed for buyout - /// The concrete implementation of AllowedCurrencyIdVerifier trait must be provided by the runtime + /// The concrete implementation of AllowedCurrencyChecker trait must be provided by the runtime fn ensure_asset_allowed_for_buyout(asset: &CurrencyIdOf) -> DispatchResult { ensure!( - T::AllowedCurrencyVerifier::is_allowed_currency_id(asset), + T::AllowedCurrencyChecker::is_allowed_currency_id(asset), Error::::WrongAssetToBuyout ); @@ -247,7 +249,7 @@ impl Pallet { let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).expect("This should never fail"); + let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).ok_or(Error::::MathError)?; let basic_asset_price_with_fee = basic_asset_price.saturating_mul(fee_plus_one); let exchange_amount = Self::multiply_by_rational( @@ -274,7 +276,7 @@ impl Pallet { let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).expect("This should never fail"); + let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).ok_or(Error::::MathError)?; let basic_asset_price_with_fee = basic_asset_price.saturating_mul(fee_plus_one); let buyout_amount = Self::multiply_by_rational( diff --git a/pallets/treasury-buyout-extension/src/mock.rs b/pallets/treasury-buyout-extension/src/mock.rs index cbb133e76..02f1edc8a 100644 --- a/pallets/treasury-buyout-extension/src/mock.rs +++ b/pallets/treasury-buyout-extension/src/mock.rs @@ -147,8 +147,8 @@ impl orml_currencies::Config for Test { type WeightInfo = (); } -pub struct AllowedCurrencyIdVerifierImpl; -impl AllowedCurrencyChecker for AllowedCurrencyIdVerifierImpl { +pub struct AllowedCurrencyCheckerImpl; +impl AllowedCurrencyChecker for AllowedCurrencyCheckerImpl { // We allow only some assets fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { matches!(currency_id, 0u64 | 1u64 | 2u64 | 3u64) @@ -185,7 +185,7 @@ impl Config for Test { /// Fee from the native asset buyouts type SellFee = SellFee; /// Type that allows for checking if currency type is ownable by users - type AllowedCurrencyVerifier = AllowedCurrencyIdVerifierImpl; + type AllowedCurrencyChecker = AllowedCurrencyCheckerImpl; /// Used for fetching prices of currencies from oracle type PriceGetter = OracleMock; /// Min amount of native token to buyout diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 7bc92f3aa..bcda15bf5 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -993,9 +993,9 @@ impl orml_tokens_management_extension::Config for Runtime { type AssetDeposit = AssetDeposit; } -pub struct AllowedCurrencyIdVerifierImpl; +pub struct AllowedCurrencyCheckerImpl; impl treasury_buyout_extension::AllowedCurrencyChecker - for AllowedCurrencyIdVerifierImpl + for AllowedCurrencyCheckerImpl { fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { matches!( @@ -1030,15 +1030,20 @@ impl treasury_buyout_extension::PriceGetter for OraclePriceGetter { Security::set_status(StatusCode::Running); let key = OracleKey::ExchangeRate(currency_id); - let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); - // Needed for feeding values to the oracle but is never used in the oracle - let account = AccountId::from([0u8; 32]); - Oracle::feed_values(account, vec![(key.clone(), rate)])?; - - let asset_price = Oracle::get_price(key.clone()).unwrap_or(FixedU128::one()); - + + // Attempt to get the price first before deciding to feed a new value + if Oracle::get_price(key.clone()).is_err() { + // Price not found, feed the default value + let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); + let account = AccountId::from([0u8; 32]); // Account used for feeding values + Oracle::feed_values(account, vec![(key.clone(), rate)])?; + } + + // Get asset's price + // In case there's still no price available, just return the default value + let asset_price = Oracle::get_price(key).unwrap_or(FixedU128::one()); let converted_asset_price = FixedNumber::try_from(asset_price); - + match converted_asset_price { Ok(price) => Ok(price), Err(_) => Err(DispatchError::Other("Failed to convert price")), @@ -1059,7 +1064,7 @@ impl treasury_buyout_extension::Config for Runtime { type TreasuryAccount = FoucocoTreasuryAccount; type BuyoutPeriod = BuyoutPeriod; type SellFee = SellFee; - type AllowedCurrencyVerifier = AllowedCurrencyIdVerifierImpl; + type AllowedCurrencyChecker = AllowedCurrencyCheckerImpl; type PriceGetter = OraclePriceGetter; type MinAmountToBuyout = MinAmountToBuyout; #[cfg(feature = "runtime-benchmarks")] From f3ebd72e455c983f163b37c0aa6242b1866237de Mon Sep 17 00:00:00 2001 From: Bogdan Sandu Date: Mon, 5 Feb 2024 19:42:08 +0200 Subject: [PATCH 67/89] Update comment Co-authored-by: Marcel Ebert --- pallets/treasury-buyout-extension/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 76b4a8ed4..219e60c4f 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -138,8 +138,8 @@ pub mod pallet { #[pallet::call] impl Pallet { /// Allows caller to buyout a given amount of native token. - /// Buyout amount given as input is the amount of native token that caller will receive in exchange for an amount of an allowed asset - /// Exchange amount given as input is the amount of an allowed asset that caller will give in exchange for an amount of native token + /// When denoting the `amount` as `Buyout` the caller will receive this exact amount of the native token in exchange for a corresponding amount of an allowed asset. + /// When denoting the `amount` as `Exchange`, the caller will spend this exact amount of an allowed asset in exchange for a corresponding amount of the native token. /// /// Parameters /// From d0204848630dce0ade53d178e2dd3ca540667231 Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 5 Feb 2024 20:05:31 +0200 Subject: [PATCH 68/89] Optimise fetching oracle price for benchmarks and regenerate weights --- .../src/default_weights.rs | 46 +++++++++---------- runtime/foucoco/src/lib.rs | 38 ++++++++------- 2 files changed, 45 insertions(+), 39 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/default_weights.rs b/pallets/treasury-buyout-extension/src/default_weights.rs index cad83be2b..1726ca25c 100644 --- a/pallets/treasury-buyout-extension/src/default_weights.rs +++ b/pallets/treasury-buyout-extension/src/default_weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for treasury_buyout_extension //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `Bogdans-M2-MacBook-Pro.local`, CPU: `` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("foucoco"), DB CACHE: 1024 @@ -45,10 +45,6 @@ pub trait WeightInfo { /// Weights for treasury_buyout_extension using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: Oracle OracleKeys (r:1 w:1) - /// Proof Skipped: Oracle OracleKeys (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:1 w:0) /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: TreasuryBuyoutExtension Buyouts (r:1 w:1) @@ -59,14 +55,18 @@ impl WeightInfo for SubstrateWeight { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:0 w:1) /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Oracle OracleKeys (r:1 w:1) + /// Proof Skipped: Oracle OracleKeys (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn buyout() -> Weight { // Proof Size summary in bytes: - // Measured: `1161` - // Estimated: `22770` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(98_000_000, 22770) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Measured: `824` + // Estimated: `22433` + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(81_000_000, 22433) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:0 w:1) /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) @@ -75,17 +75,13 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + Weight::from_parts(8_000_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Oracle OracleKeys (r:1 w:1) - /// Proof Skipped: Oracle OracleKeys (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:1 w:0) /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: TreasuryBuyoutExtension Buyouts (r:1 w:1) @@ -96,14 +92,18 @@ impl WeightInfo for () { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:0 w:1) /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Oracle OracleKeys (r:1 w:1) + /// Proof Skipped: Oracle OracleKeys (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn buyout() -> Weight { // Proof Size summary in bytes: - // Measured: `1161` - // Estimated: `22770` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(98_000_000, 22770) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) + // Measured: `824` + // Estimated: `22433` + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(81_000_000, 22433) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: TreasuryBuyoutExtension BuyoutLimit (r:0 w:1) /// Proof: TreasuryBuyoutExtension BuyoutLimit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) @@ -112,7 +112,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + Weight::from_parts(8_000_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index bcda15bf5..290448143 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -1031,23 +1031,29 @@ impl treasury_buyout_extension::PriceGetter for OraclePriceGetter { let key = OracleKey::ExchangeRate(currency_id); - // Attempt to get the price first before deciding to feed a new value - if Oracle::get_price(key.clone()).is_err() { - // Price not found, feed the default value - let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); - let account = AccountId::from([0u8; 32]); // Account used for feeding values - Oracle::feed_values(account, vec![(key.clone(), rate)])?; - } - - // Get asset's price - // In case there's still no price available, just return the default value - let asset_price = Oracle::get_price(key).unwrap_or(FixedU128::one()); - let converted_asset_price = FixedNumber::try_from(asset_price); - - match converted_asset_price { - Ok(price) => Ok(price), - Err(_) => Err(DispatchError::Other("Failed to convert price")), + // Attempt to get the price once and use the result to decide if feeding a value is necessary + match Oracle::get_price(key.clone()) { + Ok(asset_price) => { + // If the price is successfully retrieved, use it directly + let converted_asset_price = FixedNumber::try_from(asset_price) + .map_err(|_| DispatchError::Other("Failed to convert price"))?; + Ok(converted_asset_price) + }, + Err(_) => { + // Price not found, feed the default value + let rate = FixedU128::checked_from_rational(100, 1) + .expect("This is a valid ratio"); + // Account used for feeding values + let account = AccountId::from([0u8; 32]); + Oracle::feed_values(account, vec![(key.clone(), rate)])?; + + // If feeding was successful, just use the feeded price to spare a read + let converted_asset_price = FixedNumber::try_from(rate) + .map_err(|_| DispatchError::Other("Failed to convert price"))?; + Ok(converted_asset_price) + } } + } } From 470b0e709bcdf4fbbc691a3c19258ba7547f3dda Mon Sep 17 00:00:00 2001 From: bogdanS98 Date: Mon, 5 Feb 2024 20:07:37 +0200 Subject: [PATCH 69/89] Fmt --- pallets/treasury-buyout-extension/src/lib.rs | 24 ++++++++++++-------- runtime/foucoco/src/lib.rs | 12 ++++------ 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pallets/treasury-buyout-extension/src/lib.rs b/pallets/treasury-buyout-extension/src/lib.rs index 219e60c4f..aad1e347c 100644 --- a/pallets/treasury-buyout-extension/src/lib.rs +++ b/pallets/treasury-buyout-extension/src/lib.rs @@ -28,7 +28,10 @@ use frame_support::{ }; use orml_traits::MultiCurrency; pub use pallet::*; -use sp_arithmetic::{per_things::Rounding, traits::{CheckedAdd, Saturating}}; +use sp_arithmetic::{ + per_things::Rounding, + traits::{CheckedAdd, Saturating}, +}; use sp_runtime::{ traits::{DispatchInfoOf, One, SignedExtension, Zero}, transaction_validity::{ @@ -87,7 +90,7 @@ pub mod pallet { #[pallet::pallet] pub struct Pallet(PhantomData); - + #[pallet::error] pub enum Error { /// Attempt to exchange native token to native token @@ -194,7 +197,8 @@ impl Pallet { if let Some(buyout_limit) = BuyoutLimit::::get() { let buyout_period = T::BuyoutPeriod::get(); // Get current block number - let current_block_number = >::block_number().saturated_into::(); + let current_block_number = + >::block_number().saturated_into::(); let current_period_start_number = current_block_number .checked_div(buyout_period) .and_then(|n| Some(n.saturating_mul(buyout_period))) @@ -207,9 +211,7 @@ impl Pallet { }; ensure!( - buyouts - .saturating_add(buyout_amount) <= - buyout_limit, + buyouts.saturating_add(buyout_amount) <= buyout_limit, Error::::BuyoutLimitExceeded ); } @@ -249,7 +251,9 @@ impl Pallet { let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).ok_or(Error::::MathError)?; + let fee_plus_one = FixedU128::from(T::SellFee::get()) + .checked_add(&FixedU128::one()) + .ok_or(Error::::MathError)?; let basic_asset_price_with_fee = basic_asset_price.saturating_mul(fee_plus_one); let exchange_amount = Self::multiply_by_rational( @@ -276,7 +280,9 @@ impl Pallet { let (basic_asset_price, exchange_asset_price) = Self::fetch_prices((&basic_asset, &asset))?; // Add fee to the basic asset price - let fee_plus_one = FixedU128::from(T::SellFee::get()).checked_add(&FixedU128::one()).ok_or(Error::::MathError)?; + let fee_plus_one = FixedU128::from(T::SellFee::get()) + .checked_add(&FixedU128::one()) + .ok_or(Error::::MathError)?; let basic_asset_price_with_fee = basic_asset_price.saturating_mul(fee_plus_one); let buyout_amount = Self::multiply_by_rational( @@ -328,7 +334,7 @@ impl Pallet { return Err(Error::::BuyoutWithTreasuryAccount.into()) } // Check for exchanging zero values - if exchange_amount.is_zero() && buyout_amount.is_zero() { + if exchange_amount.is_zero() && buyout_amount.is_zero() { return Err(Error::::LessThanMinBuyoutAmount.into()) } diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 290448143..69fbed8cd 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -994,9 +994,7 @@ impl orml_tokens_management_extension::Config for Runtime { } pub struct AllowedCurrencyCheckerImpl; -impl treasury_buyout_extension::AllowedCurrencyChecker - for AllowedCurrencyCheckerImpl -{ +impl treasury_buyout_extension::AllowedCurrencyChecker for AllowedCurrencyCheckerImpl { fn is_allowed_currency_id(currency_id: &CurrencyId) -> bool { matches!( currency_id, @@ -1030,7 +1028,7 @@ impl treasury_buyout_extension::PriceGetter for OraclePriceGetter { Security::set_status(StatusCode::Running); let key = OracleKey::ExchangeRate(currency_id); - + // Attempt to get the price once and use the result to decide if feeding a value is necessary match Oracle::get_price(key.clone()) { Ok(asset_price) => { @@ -1041,8 +1039,7 @@ impl treasury_buyout_extension::PriceGetter for OraclePriceGetter { }, Err(_) => { // Price not found, feed the default value - let rate = FixedU128::checked_from_rational(100, 1) - .expect("This is a valid ratio"); + let rate = FixedU128::checked_from_rational(100, 1).expect("This is a valid ratio"); // Account used for feeding values let account = AccountId::from([0u8; 32]); Oracle::feed_values(account, vec![(key.clone(), rate)])?; @@ -1051,9 +1048,8 @@ impl treasury_buyout_extension::PriceGetter for OraclePriceGetter { let converted_asset_price = FixedNumber::try_from(rate) .map_err(|_| DispatchError::Other("Failed to convert price"))?; Ok(converted_asset_price) - } + }, } - } } From 5cc4ccae81fd64dc7938129be231eab3ec6fc176 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Mon, 5 Feb 2024 17:05:40 -0300 Subject: [PATCH 70/89] using fee per second value for relative fee adjusting --- runtime/amplitude/src/xcm_config.rs | 41 ++++++++++------------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 98fcad2ce..ff94f4ba8 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -8,6 +8,7 @@ use frame_support::{ use orml_traits::{ location::{RelativeReserveProvider, Reserve}, parameter_type_with_key, + asset_registry::Inspect, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -26,7 +27,7 @@ use xcm_executor::{ XcmExecutor, }; -use runtime_common::{parachains::kusama::asset_hub, RelativeValue}; +use runtime_common::{parachains::kusama::asset_hub}; use cumulus_primitives_utility::{ ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, @@ -43,7 +44,7 @@ use crate::{ use super::{ AccountId, AmplitudeTreasuryAccount, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, Tokens, - WeightToFee, XcmpQueue, + WeightToFee, XcmpQueue, AssetRegistry, }; parameter_types! { @@ -113,22 +114,6 @@ impl Convert> for CurrencyIdConvert { } } -type RelativeValueOf = RelativeValue; - -pub struct RelayRelativeValue; -impl RelayRelativeValue { - fn get_relative_value(id: CurrencyId) -> Option { - match id { - CurrencyId::XCM(index) => match index { - xcm_assets::RELAY_KSM => Some(RelativeValueOf { num: 100, denominator: 1 }), - xcm_assets::ASSETHUB_USDT => Some(RelativeValueOf { num: 20, denominator: 4 }), - _ => None, - }, - CurrencyId::Native => Some(RelativeValueOf { num: 1, denominator: 1 }), - _ => Some(RelativeValueOf { num: 1, denominator: 1 }), - } - } -} /// Convert an incoming `MultiLocation` into a `CurrencyId` if possible. /// Here we need to know the canonical representation of all the tokens we handle in order to @@ -295,16 +280,18 @@ impl ChargeWeightInFungibles for ChargeWeightInFungiblesImple weight: Weight, ) -> Result { let amount = ::weight_to_fee(&weight); + + let location = CurrencyIdConvert::convert(asset_id).ok_or(XcmError::AssetNotFound)?; + let asset_id_metadata = AssetRegistry::metadata_by_location(&location).ok_or(XcmError::AssetNotFound)?; + let fee_per_second = asset_id_metadata.additional.fee_per_second; + + // if we assume the fee per second for Native is 1 and the baseline, + // then multipling the amount by the fee per second of the asset will give us the adjusted amount + let adjusted_amount = amount.checked_mul(fee_per_second).ok_or(XcmError::Overflow)?; + + log::info!("amount to be charged: {:?} in asset: {:?}", adjusted_amount, asset_id); + return Ok(adjusted_amount) - if let Some(relative_value) = RelayRelativeValue::get_relative_value(asset_id) { - let adjusted_amount = - RelativeValue::::divide_by_relative_value(amount, relative_value); - log::info!("amount to be charged: {:?} in asset: {:?}", adjusted_amount, asset_id); - return Ok(adjusted_amount) - } else { - log::info!("amount to be charged: {:?} in asset: {:?}", amount, asset_id); - return Ok(amount) - } } } From 433206ec15e848abaf39ed6444bf6473409ad8e6 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 6 Feb 2024 12:28:04 -0300 Subject: [PATCH 71/89] WIP --- Cargo.lock | 1 + runtime/amplitude/src/xcm_config.rs | 49 ++++-------------- runtime/common/src/lib.rs | 35 ++++++++++++- runtime/integration-tests/Cargo.toml | 1 + runtime/integration-tests/src/mock.rs | 72 +++++++++++++++++++++++++-- 5 files changed, 114 insertions(+), 44 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c829b2038..27277274f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10118,6 +10118,7 @@ dependencies = [ "frame-support", "frame-system", "kusama-runtime", + "orml-asset-registry", "orml-tokens", "orml-traits", "orml-xcm", diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index ff94f4ba8..f358f7a2c 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -3,12 +3,13 @@ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, traits::{ContainsPair, Everything, Nothing}, - weights::{Weight, WeightToFee as WeightToFeeTrait}, + weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight, WeightToFee as WeightToFeeTrait}, }; +use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ + asset_registry::Inspect, location::{RelativeReserveProvider, Reserve}, parameter_type_with_key, - asset_registry::Inspect, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -27,7 +28,7 @@ use xcm_executor::{ XcmExecutor, }; -use runtime_common::{parachains::kusama::asset_hub}; +use runtime_common::{parachains::kusama::asset_hub, FixedConversionRateProvider}; use cumulus_primitives_utility::{ ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, @@ -42,9 +43,9 @@ use crate::{ }; use super::{ - AccountId, AmplitudeTreasuryAccount, Balance, Balances, Currencies, CurrencyId, ParachainInfo, - ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, Tokens, - WeightToFee, XcmpQueue, AssetRegistry, + AccountId, AmplitudeTreasuryAccount, AssetRegistry, Balance, Balances, Currencies, CurrencyId, + ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, + Tokens, WeightToFee, XcmpQueue, StringLimit, }; parameter_types! { @@ -114,7 +115,6 @@ impl Convert> for CurrencyIdConvert { } } - /// Convert an incoming `MultiLocation` into a `CurrencyId` if possible. /// Here we need to know the canonical representation of all the tokens we handle in order to /// correctly convert their `MultiLocation` representation into our internal `CurrencyId` type. @@ -273,37 +273,10 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); -pub struct ChargeWeightInFungiblesImplementation; -impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { - fn charge_weight_in_fungibles( - asset_id: CurrencyId, - weight: Weight, - ) -> Result { - let amount = ::weight_to_fee(&weight); - - let location = CurrencyIdConvert::convert(asset_id).ok_or(XcmError::AssetNotFound)?; - let asset_id_metadata = AssetRegistry::metadata_by_location(&location).ok_or(XcmError::AssetNotFound)?; - let fee_per_second = asset_id_metadata.additional.fee_per_second; - - // if we assume the fee per second for Native is 1 and the baseline, - // then multipling the amount by the fee per second of the asset will give us the adjusted amount - let adjusted_amount = amount.checked_mul(fee_per_second).ok_or(XcmError::Overflow)?; - - log::info!("amount to be charged: {:?} in asset: {:?}", adjusted_amount, asset_id); - return Ok(adjusted_amount) - - } -} - -pub type Traders = ( - TakeFirstAssetTrader< - AccountId, - ChargeWeightInFungiblesImplementation, - ConvertedConcreteId, - Tokens, - XcmFeesTo32ByteAccount, - >, -); +pub type Traders = (AssetRegistryTrader< + FixedRateAssetRegistryTrader>, + XcmFeesTo32ByteAccount, +>); pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index e42946c29..11941a25f 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -2,10 +2,17 @@ #![allow(non_snake_case)] use sp_runtime::{ - traits::{CheckedDiv, IdentifyAccount, Saturating, Verify}, + traits::{CheckedDiv, IdentifyAccount, PhantomData, Saturating, Verify}, DispatchError, MultiSignature, }; +use frame_support::weights::constants::{ExtrinsicBaseWeight, WEIGHT_REF_TIME_PER_SECOND}; +use spacewalk_primitives::CurrencyId; +use xcm::opaque::v3::MultiLocation; +use sp_std::fmt::Debug; +use scale_info::TypeInfo; +use sp_runtime::traits::Get; + pub mod asset_registry; pub mod chain_ext; pub mod custom_transactor; @@ -75,6 +82,29 @@ pub struct RelativeValue { pub denominator: Amount, } +pub struct FixedConversionRateProvider(PhantomData<(OrmlAssetRegistry, T)>); + +impl< + T: Get + TypeInfo + Clone + Eq + Debug + Send + Sync + 'static, + OrmlAssetRegistry: orml_traits::asset_registry::Inspect< + AssetId = CurrencyId, + Balance = Balance, + CustomMetadata = asset_registry::CustomMetadata, + >, + > orml_traits::FixedConversionRateProvider for FixedConversionRateProvider +{ + fn get_fee_per_second(location: &MultiLocation) -> Option { + let metadata = OrmlAssetRegistry::metadata_by_location(location)?; + Some(metadata.additional.fee_per_second) + } +} + +// pub fn default_per_second(decimals: u32) -> Balance { +// let base_weight = Balance::from(ExtrinsicBaseWeight::get().ref_time()); +// let default_per_second = WEIGHT_REF_TIME_PER_SECOND as u128 / base_weight; +// default_per_second +// } + impl + Saturating + Clone> RelativeValue { pub fn divide_by_relative_value( amount: Amount, @@ -189,7 +219,8 @@ pub mod parachains { // The address of the BRZ token on Moonbeam `0x3225edCe8aD30Ae282e62fa32e7418E4b9cf197b` as byte array pub const BRZ_ASSET_ACCOUNT_IN_BYTES: [u8; 20] = [ - 50, 37, 237, 206, 138, 211, 10, 226, 130, 230, 47, 163, 46, 116, 24, 228, 185, 207, 25, 123 + 50, 37, 237, 206, 138, 211, 10, 226, 130, 230, 47, 163, 46, 116, 24, 228, 185, 207, + 25, 123, ]; parachain_asset_location!( diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index d9874accb..6a7c8c855 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -48,6 +48,7 @@ parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polk statemint-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } statemine-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +orml-asset-registry = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.40" } orml-xcm = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.40" } orml-xcm-support = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.40" } orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.40" } diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index eb6a36b6b..7ede1e7e5 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -1,6 +1,6 @@ use crate::{sibling, AMPLITUDE_ID, ASSETHUB_ID, PENDULUM_ID, SIBLING_ID}; -use frame_support::traits::GenesisBuild; -use pendulum_runtime::CurrencyId as PendulumCurrencyId; +use frame_support::traits::{GenesisBuild}; +use pendulum_runtime::{StringLimit, CurrencyId as PendulumCurrencyId}; use polkadot_core_primitives::{AccountId, Balance, BlockNumber}; use polkadot_parachain::primitives::Id as ParaId; use polkadot_primitives::v2::{MAX_CODE_SIZE, MAX_POV_SIZE}; @@ -10,6 +10,15 @@ use sp_io::TestExternalities; use sp_runtime::traits::AccountIdConversion; use xcm_emulator::Weight; + +use codec::Encode; +use runtime_common::asset_registry::{DiaKeys, CustomMetadata}; +use frame_support::BoundedVec; +use xcm::latest::{ + Junction, Junction::{ GeneralKey, PalletInstance}, Junctions::X1, MultiLocation, WeightLimit, +}; +use xcm::VersionedMultiLocation; + use runtime_common::parachains::polkadot::moonbeam::PARA_ID as MOONBEAM_PARA_ID; use statemine_runtime as kusama_asset_hub_runtime; use statemint_runtime as polkadot_asset_hub_runtime; @@ -84,6 +93,61 @@ macro_rules! build_parachain_with_orml { }}; } +macro_rules! build_parachain_with_orml_and_asset_registry { + ($self:ident, $runtime:ty, $system:tt, $balance:tt, $orml_balance:tt, $currency_id_type:ty) => {{ + let mut t = frame_system::GenesisConfig::default().build_storage::<$runtime>().unwrap(); + pallet_balances::GenesisConfig::<$runtime> { + balances: vec![(AccountId::from(ALICE), $balance), (AccountId::from(BOB), $balance)], + } + .assimilate_storage(&mut t) + .unwrap(); + + type CurrencyId = $currency_id_type; + orml_tokens::GenesisConfig::<$runtime> { + balances: vec![ + (AccountId::from(BOB), CurrencyId::XCM(0), units($orml_balance)), + (AccountId::from(ALICE), CurrencyId::XCM(0), units($orml_balance)), + ], + } + .assimilate_storage(&mut t) + .unwrap(); + + orml_asset_registry::GenesisConfig::<$runtime> { + assets: vec![ + ( + CurrencyId::Native, + orml_asset_registry::AssetMetadata { + decimals: 12, + name: "Pendulum".as_bytes().to_vec(), + symbol: "PEN".as_bytes().to_vec(), + existential_deposit: 1_000, + location: Some(VersionedMultiLocation::V3( + MultiLocation::new( + 0, + X1( + PalletInstance(10), + ) + )) + ), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: 100, + } , + }.encode(), + ), + ], + last_asset_id: CurrencyId::Native, + } + .assimilate_storage(&mut t) + .unwrap(); + + build_parachain!($self, $runtime, $system, t) + }}; +} + macro_rules! build_parachain { ($self:ident, $runtime:ty, $system:tt) => {{ let mut t = frame_system::GenesisConfig::default().build_storage::<$runtime>().unwrap(); @@ -229,7 +293,7 @@ impl Builder for ExtBuilderParachain { match self.chain { ParachainType::Pendulum => { use pendulum_runtime::{Runtime, System}; - build_parachain_with_orml!( + build_parachain_with_orml_and_asset_registry!( self, Runtime, System, @@ -240,7 +304,7 @@ impl Builder for ExtBuilderParachain { }, ParachainType::Amplitude => { use amplitude_runtime::{Runtime, System}; - build_parachain_with_orml!( + build_parachain_with_orml_and_asset_registry!( self, Runtime, System, From eb0de402f69be49249c4713eaee62ab275fbde14 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 6 Feb 2024 15:14:45 -0300 Subject: [PATCH 72/89] fixing xcm integration tests --- runtime/amplitude/src/xcm_config.rs | 25 ++- runtime/common/src/lib.rs | 6 +- .../integration-tests/src/amplitude_tests.rs | 6 +- runtime/integration-tests/src/mock.rs | 120 ++++++++---- .../integration-tests/src/pendulum_tests.rs | 184 +++++++++--------- runtime/integration-tests/src/test_macros.rs | 5 +- 6 files changed, 205 insertions(+), 141 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index f358f7a2c..c5558d7b2 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -9,7 +9,7 @@ use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ asset_registry::Inspect, location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, + parameter_type_with_key, MultiCurrency, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -21,10 +21,10 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, + SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; use xcm_executor::{ - traits::{JustTry, ShouldExecute}, + traits::{JustTry, ShouldExecute, TransactAsset}, XcmExecutor, }; @@ -45,7 +45,7 @@ use crate::{ use super::{ AccountId, AmplitudeTreasuryAccount, AssetRegistry, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - Tokens, WeightToFee, XcmpQueue, StringLimit, + StringLimit, Tokens, WeightToFee, XcmpQueue, }; parameter_types! { @@ -273,9 +273,24 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); +pub struct ToTreasury; +impl TakeRevenue for ToTreasury { + fn take_revenue(revenue: MultiAsset) { + use xcm_executor::traits::Convert; + + if let MultiAsset { id: Concrete(location), fun: Fungible(amount) } = revenue { + if let Ok(currency_id) = + >::convert(location) + { + Currencies::deposit(currency_id, &AmplitudeTreasuryAccount::get(), amount); + } + } + } +} + pub type Traders = (AssetRegistryTrader< FixedRateAssetRegistryTrader>, - XcmFeesTo32ByteAccount, + ToTreasury, >); pub struct XcmConfig; diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 11941a25f..045606a89 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -7,11 +7,11 @@ use sp_runtime::{ }; use frame_support::weights::constants::{ExtrinsicBaseWeight, WEIGHT_REF_TIME_PER_SECOND}; -use spacewalk_primitives::CurrencyId; -use xcm::opaque::v3::MultiLocation; -use sp_std::fmt::Debug; use scale_info::TypeInfo; use sp_runtime::traits::Get; +use sp_std::fmt::Debug; +use spacewalk_primitives::CurrencyId; +use xcm::opaque::v3::MultiLocation; pub mod asset_registry; pub mod chain_ext; diff --git a/runtime/integration-tests/src/amplitude_tests.rs b/runtime/integration-tests/src/amplitude_tests.rs index 972eeb290..93b871050 100644 --- a/runtime/integration-tests/src/amplitude_tests.rs +++ b/runtime/integration-tests/src/amplitude_tests.rs @@ -16,9 +16,9 @@ use statemine_runtime as kusama_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; -const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 32000000; -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 640000000; -const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 3200000000; +const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; decl_test_relay_chain! { pub struct KusamaRelay { diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 7ede1e7e5..2a1a4f368 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -1,6 +1,6 @@ use crate::{sibling, AMPLITUDE_ID, ASSETHUB_ID, PENDULUM_ID, SIBLING_ID}; -use frame_support::traits::{GenesisBuild}; -use pendulum_runtime::{StringLimit, CurrencyId as PendulumCurrencyId}; +use frame_support::traits::GenesisBuild; +use pendulum_runtime::{CurrencyId as PendulumCurrencyId, StringLimit}; use polkadot_core_primitives::{AccountId, Balance, BlockNumber}; use polkadot_parachain::primitives::Id as ParaId; use polkadot_primitives::v2::{MAX_CODE_SIZE, MAX_POV_SIZE}; @@ -10,14 +10,18 @@ use sp_io::TestExternalities; use sp_runtime::traits::AccountIdConversion; use xcm_emulator::Weight; - use codec::Encode; -use runtime_common::asset_registry::{DiaKeys, CustomMetadata}; use frame_support::BoundedVec; -use xcm::latest::{ - Junction, Junction::{ GeneralKey, PalletInstance}, Junctions::X1, MultiLocation, WeightLimit, +use runtime_common::asset_registry::{CustomMetadata, DiaKeys}; +use xcm::{ + v2::{ + Junction, + Junction::{GeneralKey, PalletInstance, GeneralIndex, Parachain}, + Junctions::{X1, X3, Here}, + MultiLocation, WeightLimit, + }, + VersionedMultiLocation, }; -use xcm::VersionedMultiLocation; use runtime_common::parachains::polkadot::moonbeam::PARA_ID as MOONBEAM_PARA_ID; use statemine_runtime as kusama_asset_hub_runtime; @@ -94,7 +98,7 @@ macro_rules! build_parachain_with_orml { } macro_rules! build_parachain_with_orml_and_asset_registry { - ($self:ident, $runtime:ty, $system:tt, $balance:tt, $orml_balance:tt, $currency_id_type:ty) => {{ + ($self:ident, $runtime:ty, $system:tt, $balance:tt, $orml_balance:tt, $currency_id_type:ty, $registry_assets:tt) => {{ let mut t = frame_system::GenesisConfig::default().build_storage::<$runtime>().unwrap(); pallet_balances::GenesisConfig::<$runtime> { balances: vec![(AccountId::from(ALICE), $balance), (AccountId::from(BOB), $balance)], @@ -113,32 +117,7 @@ macro_rules! build_parachain_with_orml_and_asset_registry { .unwrap(); orml_asset_registry::GenesisConfig::<$runtime> { - assets: vec![ - ( - CurrencyId::Native, - orml_asset_registry::AssetMetadata { - decimals: 12, - name: "Pendulum".as_bytes().to_vec(), - symbol: "PEN".as_bytes().to_vec(), - existential_deposit: 1_000, - location: Some(VersionedMultiLocation::V3( - MultiLocation::new( - 0, - X1( - PalletInstance(10), - ) - )) - ), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: 100, - } , - }.encode(), - ), - ], + assets: $registry_assets, last_asset_id: CurrencyId::Native, } .assimilate_storage(&mut t) @@ -290,6 +269,73 @@ impl Builder for ExtBuilderParachain { } fn build(self) -> TestExternalities { + let initial_asset_registry: Vec<(PendulumCurrencyId, Vec)> = vec![ + ( + PendulumCurrencyId::Native, + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Pendulum".as_bytes().to_vec(), + symbol: "PEN".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V2( + MultiLocation::new(0, X1(PalletInstance(10))).into(), + )), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(1), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "USDT Assethub".as_bytes().to_vec(), + symbol: "USDT".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V2( + MultiLocation::new(1, X3( + Parachain(ASSETHUB_ID), + PalletInstance(50), + GeneralIndex(1984), + )).into(), + )), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(0), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Kusama".as_bytes().to_vec(), + symbol: "KSM".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V2( + MultiLocation::new(1, Here).into(), + )), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + + ]; match self.chain { ParachainType::Pendulum => { use pendulum_runtime::{Runtime, System}; @@ -299,7 +345,8 @@ impl Builder for ExtBuilderParachain { System, NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, - PendulumCurrencyId + PendulumCurrencyId, + initial_asset_registry ) }, ParachainType::Amplitude => { @@ -310,7 +357,8 @@ impl Builder for ExtBuilderParachain { System, NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, - PendulumCurrencyId + PendulumCurrencyId, + initial_asset_registry ) }, _ => panic!("cannot use this chain to build"), diff --git a/runtime/integration-tests/src/pendulum_tests.rs b/runtime/integration-tests/src/pendulum_tests.rs index 9e317eb35..a94e94b3d 100644 --- a/runtime/integration-tests/src/pendulum_tests.rs +++ b/runtime/integration-tests/src/pendulum_tests.rs @@ -83,95 +83,95 @@ decl_test_network! { } } -#[test] -fn transfer_dot_from_polkadot_to_pendulum() { - transfer_20_relay_token_from_relay_chain_to_parachain!( - PolkadotMockNet, - polkadot_runtime, - PolkadotRelay, - pendulum_runtime, - PendulumParachain, - PENDULUM_ID, - DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN - ) -} - -#[test] -fn transfer_dot_from_pendulum_to_polkadot() { - transfer_10_relay_token_from_parachain_to_relay_chain!( - PolkadotMockNet, - polkadot_runtime, - PolkadotRelay, - pendulum_runtime, - PendulumParachain - ); -} - -#[test] -fn assethub_transfer_incorrect_asset_to_pendulum_should_fail() { - parachain1_transfer_incorrect_asset_to_parachain2_should_fail!( - polkadot_asset_hub_runtime, - AssetHubParachain, - pendulum_runtime, - PendulumParachain, - PENDULUM_ID - ); -} - -#[test] -fn assethub_transfer_asset_to_pendulum() { - parachain1_transfer_asset_to_parachain2!( - polkadot_asset_hub_runtime, - AssetHubParachain, - USDT_ASSET_ID, - pendulum_runtime, - PendulumParachain, - PENDULUM_ID, - USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN - ); -} - -#[test] -fn assethub_transfer_asset_to_pendulum_and_back() { - let network_id = NetworkId::Polkadot; - - parachain1_transfer_asset_to_parachain2_and_back!( - polkadot_asset_hub_runtime, - AssetHubParachain, - ASSETHUB_ID, - USDT_ASSET_ID, - pendulum_runtime, - PendulumParachain, - PENDULUM_ID, - network_id, - USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN - ); -} - -#[test] -fn transfer_native_token_from_pendulum_to_sibling_parachain_and_back() { - transfer_native_token_from_parachain1_to_parachain2_and_back!( - PolkadotMockNet, - pendulum_runtime, - PendulumParachain, - sibling, - SiblingParachain, - PENDULUM_ID, - SIBLING_ID, - NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN - ); -} - -#[test] -fn moonbeam_transfers_token_and_handle_automation() { - moonbeam_transfers_token_and_handle_automation!( - PolkadotMockNet, - pendulum_runtime, - PendulumParachain, - sibling, - MoonbeamParachain, - PENDULUM_ID, - MOONBEAM_PARA_ID, - MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN - ); -} +// #[test] +// fn transfer_dot_from_polkadot_to_pendulum() { +// transfer_20_relay_token_from_relay_chain_to_parachain!( +// PolkadotMockNet, +// polkadot_runtime, +// PolkadotRelay, +// pendulum_runtime, +// PendulumParachain, +// PENDULUM_ID, +// DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN +// ) +// } + +// #[test] +// fn transfer_dot_from_pendulum_to_polkadot() { +// transfer_10_relay_token_from_parachain_to_relay_chain!( +// PolkadotMockNet, +// polkadot_runtime, +// PolkadotRelay, +// pendulum_runtime, +// PendulumParachain +// ); +// } + +// #[test] +// fn assethub_transfer_incorrect_asset_to_pendulum_should_fail() { +// parachain1_transfer_incorrect_asset_to_parachain2_should_fail!( +// polkadot_asset_hub_runtime, +// AssetHubParachain, +// pendulum_runtime, +// PendulumParachain, +// PENDULUM_ID +// ); +// } + +// #[test] +// fn assethub_transfer_asset_to_pendulum() { +// parachain1_transfer_asset_to_parachain2!( +// polkadot_asset_hub_runtime, +// AssetHubParachain, +// USDT_ASSET_ID, +// pendulum_runtime, +// PendulumParachain, +// PENDULUM_ID, +// USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN +// ); +// } + +// #[test] +// fn assethub_transfer_asset_to_pendulum_and_back() { +// let network_id = NetworkId::Polkadot; + +// parachain1_transfer_asset_to_parachain2_and_back!( +// polkadot_asset_hub_runtime, +// AssetHubParachain, +// ASSETHUB_ID, +// USDT_ASSET_ID, +// pendulum_runtime, +// PendulumParachain, +// PENDULUM_ID, +// network_id, +// USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN +// ); +// } + +// #[test] +// fn transfer_native_token_from_pendulum_to_sibling_parachain_and_back() { +// transfer_native_token_from_parachain1_to_parachain2_and_back!( +// PolkadotMockNet, +// pendulum_runtime, +// PendulumParachain, +// sibling, +// SiblingParachain, +// PENDULUM_ID, +// SIBLING_ID, +// NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN +// ); +// } + +// #[test] +// fn moonbeam_transfers_token_and_handle_automation() { +// moonbeam_transfers_token_and_handle_automation!( +// PolkadotMockNet, +// pendulum_runtime, +// PendulumParachain, +// sibling, +// MoonbeamParachain, +// PENDULUM_ID, +// MOONBEAM_PARA_ID, +// MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN +// ); +// } diff --git a/runtime/integration-tests/src/test_macros.rs b/runtime/integration-tests/src/test_macros.rs index 1eed61c4c..36e8e3b10 100644 --- a/runtime/integration-tests/src/test_macros.rs +++ b/runtime/integration-tests/src/test_macros.rs @@ -236,12 +236,13 @@ macro_rules! parachain1_transfer_incorrect_asset_to_parachain2_should_fail { $parachain2::execute_with(|| { use $para2_runtime::{RuntimeEvent, System}; - //most likely this is not emitid because buy execution fails + //since the asset registry trader cannot find the fee per second for the asset, + //it will return TooExpensive error. assert!(System::events().iter().any(|r| matches!( r.event, RuntimeEvent::XcmpQueue(cumulus_pallet_xcmp_queue::Event::Fail { message_hash: _, - error: xcm::v3::Error::AssetNotFound, + error: xcm::v3::Error::TooExpensive, weight: _ }) ))); From 420815f2e7dde397ed036099f436bf01a1a02e7d Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 6 Feb 2024 15:53:50 -0300 Subject: [PATCH 73/89] fix pendulum integration tests, reuse v3 location --- runtime/integration-tests/src/mock.rs | 110 ++++++++-- .../integration-tests/src/pendulum_tests.rs | 192 +++++++++--------- runtime/pendulum/src/xcm_config.rs | 79 +++---- 3 files changed, 214 insertions(+), 167 deletions(-) diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 2a1a4f368..1285bb386 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -13,8 +13,9 @@ use xcm_emulator::Weight; use codec::Encode; use frame_support::BoundedVec; use runtime_common::asset_registry::{CustomMetadata, DiaKeys}; + use xcm::{ - v2::{ + v3::{ Junction, Junction::{GeneralKey, PalletInstance, GeneralIndex, Parachain}, Junctions::{X1, X3, Here}, @@ -23,7 +24,7 @@ use xcm::{ VersionedMultiLocation, }; -use runtime_common::parachains::polkadot::moonbeam::PARA_ID as MOONBEAM_PARA_ID; +use runtime_common::parachains::polkadot::{moonbeam::PARA_ID as MOONBEAM_PARA_ID, moonbeam, asset_hub}; use statemine_runtime as kusama_asset_hub_runtime; use statemint_runtime as polkadot_asset_hub_runtime; @@ -269,7 +270,90 @@ impl Builder for ExtBuilderParachain { } fn build(self) -> TestExternalities { - let initial_asset_registry: Vec<(PendulumCurrencyId, Vec)> = vec![ + let initial_asset_registry_pendulum: Vec<(PendulumCurrencyId, Vec)> = vec![ + ( + PendulumCurrencyId::Native, + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Pendulum".as_bytes().to_vec(), + symbol: "PEN".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3( + MultiLocation::new(0, X1(PalletInstance(10))), + )), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(1), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "USDT Assethub".as_bytes().to_vec(), + symbol: "USDT".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3( + asset_hub::USDT_location() + )), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(0), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Polkadot".as_bytes().to_vec(), + symbol: "DOT".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3( + MultiLocation::parent() + )), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(6), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Moonbeam".as_bytes().to_vec(), + symbol: "GLMR".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some( + xcm::VersionedMultiLocation::V3(moonbeam::GLMR_location()) + ), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + + ]; + let initial_asset_registry_amplitude: Vec<(PendulumCurrencyId, Vec)> = vec![ ( PendulumCurrencyId::Native, orml_asset_registry::AssetMetadata { @@ -277,8 +361,8 @@ impl Builder for ExtBuilderParachain { name: "Pendulum".as_bytes().to_vec(), symbol: "PEN".as_bytes().to_vec(), existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V2( - MultiLocation::new(0, X1(PalletInstance(10))).into(), + location: Some(VersionedMultiLocation::V3( + MultiLocation::new(0, X1(PalletInstance(10))), )), additional: CustomMetadata:: { dia_keys: DiaKeys:: { @@ -297,12 +381,8 @@ impl Builder for ExtBuilderParachain { name: "USDT Assethub".as_bytes().to_vec(), symbol: "USDT".as_bytes().to_vec(), existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V2( - MultiLocation::new(1, X3( - Parachain(ASSETHUB_ID), - PalletInstance(50), - GeneralIndex(1984), - )).into(), + location: Some(VersionedMultiLocation::V3( + asset_hub::USDT_location() )), additional: CustomMetadata:: { dia_keys: DiaKeys:: { @@ -321,8 +401,8 @@ impl Builder for ExtBuilderParachain { name: "Kusama".as_bytes().to_vec(), symbol: "KSM".as_bytes().to_vec(), existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V2( - MultiLocation::new(1, Here).into(), + location: Some(VersionedMultiLocation::V3( + MultiLocation::parent() )), additional: CustomMetadata:: { dia_keys: DiaKeys:: { @@ -346,7 +426,7 @@ impl Builder for ExtBuilderParachain { NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, PendulumCurrencyId, - initial_asset_registry + initial_asset_registry_pendulum ) }, ParachainType::Amplitude => { @@ -358,7 +438,7 @@ impl Builder for ExtBuilderParachain { NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, PendulumCurrencyId, - initial_asset_registry + initial_asset_registry_amplitude ) }, _ => panic!("cannot use this chain to build"), diff --git a/runtime/integration-tests/src/pendulum_tests.rs b/runtime/integration-tests/src/pendulum_tests.rs index a94e94b3d..ce5484517 100644 --- a/runtime/integration-tests/src/pendulum_tests.rs +++ b/runtime/integration-tests/src/pendulum_tests.rs @@ -18,10 +18,10 @@ use statemint_runtime as polkadot_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; -const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 32653061; //The fees that relay chain will charge when transfer DOT to parachain. sovereign account of some parachain will receive transfer_amount - DOT_FEE -const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 1391304347; //Fees that we will charge in incoming Moonbeam's BRZ. Depends on the RelativeValue struct implementation. -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 266666666; -const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 3200000000; +const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; //The fees that relay chain will charge when transfer DOT to parachain. sovereign account of some parachain will receive transfer_amount - DOT_FEE +const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; //Fees that we will charge in incoming Moonbeam's BRZ. Depends on the RelativeValue struct implementation. +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; decl_test_relay_chain! { pub struct PolkadotRelay { @@ -83,95 +83,95 @@ decl_test_network! { } } -// #[test] -// fn transfer_dot_from_polkadot_to_pendulum() { -// transfer_20_relay_token_from_relay_chain_to_parachain!( -// PolkadotMockNet, -// polkadot_runtime, -// PolkadotRelay, -// pendulum_runtime, -// PendulumParachain, -// PENDULUM_ID, -// DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN -// ) -// } - -// #[test] -// fn transfer_dot_from_pendulum_to_polkadot() { -// transfer_10_relay_token_from_parachain_to_relay_chain!( -// PolkadotMockNet, -// polkadot_runtime, -// PolkadotRelay, -// pendulum_runtime, -// PendulumParachain -// ); -// } - -// #[test] -// fn assethub_transfer_incorrect_asset_to_pendulum_should_fail() { -// parachain1_transfer_incorrect_asset_to_parachain2_should_fail!( -// polkadot_asset_hub_runtime, -// AssetHubParachain, -// pendulum_runtime, -// PendulumParachain, -// PENDULUM_ID -// ); -// } - -// #[test] -// fn assethub_transfer_asset_to_pendulum() { -// parachain1_transfer_asset_to_parachain2!( -// polkadot_asset_hub_runtime, -// AssetHubParachain, -// USDT_ASSET_ID, -// pendulum_runtime, -// PendulumParachain, -// PENDULUM_ID, -// USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN -// ); -// } - -// #[test] -// fn assethub_transfer_asset_to_pendulum_and_back() { -// let network_id = NetworkId::Polkadot; - -// parachain1_transfer_asset_to_parachain2_and_back!( -// polkadot_asset_hub_runtime, -// AssetHubParachain, -// ASSETHUB_ID, -// USDT_ASSET_ID, -// pendulum_runtime, -// PendulumParachain, -// PENDULUM_ID, -// network_id, -// USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN -// ); -// } - -// #[test] -// fn transfer_native_token_from_pendulum_to_sibling_parachain_and_back() { -// transfer_native_token_from_parachain1_to_parachain2_and_back!( -// PolkadotMockNet, -// pendulum_runtime, -// PendulumParachain, -// sibling, -// SiblingParachain, -// PENDULUM_ID, -// SIBLING_ID, -// NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN -// ); -// } - -// #[test] -// fn moonbeam_transfers_token_and_handle_automation() { -// moonbeam_transfers_token_and_handle_automation!( -// PolkadotMockNet, -// pendulum_runtime, -// PendulumParachain, -// sibling, -// MoonbeamParachain, -// PENDULUM_ID, -// MOONBEAM_PARA_ID, -// MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN -// ); -// } +#[test] +fn transfer_dot_from_polkadot_to_pendulum() { + transfer_20_relay_token_from_relay_chain_to_parachain!( + PolkadotMockNet, + polkadot_runtime, + PolkadotRelay, + pendulum_runtime, + PendulumParachain, + PENDULUM_ID, + DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN + ) +} + +#[test] +fn transfer_dot_from_pendulum_to_polkadot() { + transfer_10_relay_token_from_parachain_to_relay_chain!( + PolkadotMockNet, + polkadot_runtime, + PolkadotRelay, + pendulum_runtime, + PendulumParachain + ); +} + +#[test] +fn assethub_transfer_incorrect_asset_to_pendulum_should_fail() { + parachain1_transfer_incorrect_asset_to_parachain2_should_fail!( + polkadot_asset_hub_runtime, + AssetHubParachain, + pendulum_runtime, + PendulumParachain, + PENDULUM_ID + ); +} + +#[test] +fn assethub_transfer_asset_to_pendulum() { + parachain1_transfer_asset_to_parachain2!( + polkadot_asset_hub_runtime, + AssetHubParachain, + USDT_ASSET_ID, + pendulum_runtime, + PendulumParachain, + PENDULUM_ID, + USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN + ); +} + +#[test] +fn assethub_transfer_asset_to_pendulum_and_back() { + let network_id = NetworkId::Polkadot; + + parachain1_transfer_asset_to_parachain2_and_back!( + polkadot_asset_hub_runtime, + AssetHubParachain, + ASSETHUB_ID, + USDT_ASSET_ID, + pendulum_runtime, + PendulumParachain, + PENDULUM_ID, + network_id, + USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN + ); +} + +#[test] +fn transfer_native_token_from_pendulum_to_sibling_parachain_and_back() { + transfer_native_token_from_parachain1_to_parachain2_and_back!( + PolkadotMockNet, + pendulum_runtime, + PendulumParachain, + sibling, + SiblingParachain, + PENDULUM_ID, + SIBLING_ID, + NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN + ); +} + +#[test] +fn moonbeam_transfers_token_and_handle_automation() { + moonbeam_transfers_token_and_handle_automation!( + PolkadotMockNet, + pendulum_runtime, + PendulumParachain, + sibling, + MoonbeamParachain, + PENDULUM_ID, + MOONBEAM_PARA_ID, + MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN + ); +} diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index 47faf7202..fa8b2232a 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -8,9 +8,11 @@ use frame_support::{ traits::{ContainsPair, Everything, Nothing}, weights::{Weight, WeightToFee as WeightToFeeTrait}, }; +use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, parameter_type_with_key, + MultiCurrency, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -22,7 +24,7 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, + SovereignSignedViaLocation, TakeWeightCredit, TakeRevenue }; use xcm_executor::{ traits::{JustTry, ShouldExecute}, @@ -32,7 +34,7 @@ use xcm_executor::{ use runtime_common::{ custom_transactor::{AssetData, AutomationPalletConfig, CustomTransactorInterceptor}, parachains::polkadot::{asset_hub, equilibrium, moonbeam, polkadex}, - RelativeValue, + FixedConversionRateProvider }; use crate::{ @@ -50,7 +52,7 @@ use crate::{ use super::{ AccountId, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, PendulumTreasuryAccount, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - System, Tokens, WeightToFee, XcmpQueue, + System, Tokens, WeightToFee, XcmpQueue, AssetRegistry, StringLimit }; parameter_types! { @@ -101,30 +103,6 @@ impl Convert> for CurrencyIdConvert { } } -type RelativeValueOf = RelativeValue; - -pub struct RelayRelativeValue; -impl RelayRelativeValue { - fn get_relative_value(id: CurrencyId) -> Option { - match id { - CurrencyId::XCM(f) => match f { - xcm_assets::RELAY_DOT => Some(RelativeValueOf { num: 98, denominator: 1 }), - xcm_assets::ASSETHUB_USDT => Some(RelativeValueOf { num: 12, denominator: 1 }), - xcm_assets::ASSETHUB_USDC => Some(RelativeValueOf { num: 12, denominator: 1 }), - xcm_assets::EQUILIBRIUM_EQD => Some(RelativeValueOf { num: 12, denominator: 1 }), - xcm_assets::MOONBEAM_BRZ => Some(RelativeValueOf { num: 23, denominator: 10 }), - xcm_assets::POLKADEX_PDEX => Some(RelativeValueOf { num: 14, denominator: 1 }), - xcm_assets::MOONBEAM_GLMR => Some(RelativeValueOf { num: 55, denominator: 10 }), - _ => None, - }, - - CurrencyId::Native => Some(RelativeValueOf { num: 1, denominator: 1 }), - assets::tokens::EURC_ID => Some(RelativeValueOf { num: 13, denominator: 1 }), - _ => Some(RelativeValueOf { num: 10, denominator: 1 }), - } - } -} - impl Convert> for CurrencyIdConvert { fn convert(location: MultiLocation) -> Option { match location { @@ -304,29 +282,28 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); -pub struct ChargeWeightInFungiblesImplementation; -impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { - fn charge_weight_in_fungibles( - asset_id: CurrencyId, - weight: Weight, - ) -> Result { - let amount = ::weight_to_fee(&weight); - - // since this is calibrated (in theory) for the native of the relay - // we should just have a multiplier for relative "value" of that token - // and adjust the amount inversily proportional to the value - if let Some(relative_value) = RelayRelativeValue::get_relative_value(asset_id) { - let adjusted_amount = - RelativeValue::::divide_by_relative_value(amount, relative_value); - log::info!("amount to be charged: {:?} in asset: {:?}", adjusted_amount, asset_id); - return Ok(adjusted_amount) - } else { - log::info!("amount to be charged: {:?} in asset: {:?}", amount, asset_id); - return Ok(amount) + +pub struct ToTreasury; +impl TakeRevenue for ToTreasury { + fn take_revenue(revenue: MultiAsset) { + use xcm_executor::traits::Convert; + + if let MultiAsset { id: Concrete(location), fun: Fungible(amount) } = revenue { + if let Ok(currency_id) = + >::convert(location) + { + Currencies::deposit(currency_id, &PendulumTreasuryAccount::get(), amount); + } } } } +pub type Traders = (AssetRegistryTrader< + FixedRateAssetRegistryTrader>, + ToTreasury, +>); + + /// Means for transacting the currencies of this parachain type Transactor = MultiCurrencyAdapter< Currencies, @@ -339,16 +316,6 @@ type Transactor = MultiCurrencyAdapter< DepositToAlternative, >; -pub type Traders = ( - TakeFirstAssetTrader< - AccountId, - ChargeWeightInFungiblesImplementation, - ConvertedConcreteId, - Tokens, - XcmFeesTo32ByteAccount, - >, -); - // We will allow for BRZ location from moonbeam pub struct AutomationPalletConfigPendulum; From 53bfb97eb8f782e50168dbce523891cbf57bfbcf Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 6 Feb 2024 16:34:59 -0300 Subject: [PATCH 74/89] cleanup imports, reuse type for fee distribution --- runtime/amplitude/src/xcm_config.rs | 21 +- runtime/integration-tests/src/mock.rs | 302 +++++++++---------- runtime/integration-tests/src/test_macros.rs | 4 +- runtime/pendulum/src/xcm_config.rs | 36 +-- 4 files changed, 163 insertions(+), 200 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index c5558d7b2..ba9459caf 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -30,9 +30,7 @@ use xcm_executor::{ use runtime_common::{parachains::kusama::asset_hub, FixedConversionRateProvider}; -use cumulus_primitives_utility::{ - ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, -}; +use cumulus_primitives_utility::XcmFeesTo32ByteAccount; use crate::{ assets::{ @@ -273,24 +271,9 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); -pub struct ToTreasury; -impl TakeRevenue for ToTreasury { - fn take_revenue(revenue: MultiAsset) { - use xcm_executor::traits::Convert; - - if let MultiAsset { id: Concrete(location), fun: Fungible(amount) } = revenue { - if let Ok(currency_id) = - >::convert(location) - { - Currencies::deposit(currency_id, &AmplitudeTreasuryAccount::get(), amount); - } - } - } -} - pub type Traders = (AssetRegistryTrader< FixedRateAssetRegistryTrader>, - ToTreasury, + XcmFeesTo32ByteAccount, >); pub struct XcmConfig; diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 1285bb386..7bf4d90e8 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -1,6 +1,7 @@ use crate::{sibling, AMPLITUDE_ID, ASSETHUB_ID, PENDULUM_ID, SIBLING_ID}; use frame_support::traits::GenesisBuild; use pendulum_runtime::{CurrencyId as PendulumCurrencyId, StringLimit}; +use amplitude_runtime::{CurrencyId as AmplitudeCurrencyId}; use polkadot_core_primitives::{AccountId, Balance, BlockNumber}; use polkadot_parachain::primitives::Id as ParaId; use polkadot_primitives::v2::{MAX_CODE_SIZE, MAX_POV_SIZE}; @@ -17,14 +18,16 @@ use runtime_common::asset_registry::{CustomMetadata, DiaKeys}; use xcm::{ v3::{ Junction, - Junction::{GeneralKey, PalletInstance, GeneralIndex, Parachain}, - Junctions::{X1, X3, Here}, + Junction::{GeneralIndex, GeneralKey, PalletInstance, Parachain}, + Junctions::{Here, X1, X3}, MultiLocation, WeightLimit, }, VersionedMultiLocation, }; -use runtime_common::parachains::polkadot::{moonbeam::PARA_ID as MOONBEAM_PARA_ID, moonbeam, asset_hub}; +use runtime_common::parachains::polkadot::{ + asset_hub, moonbeam, moonbeam::PARA_ID as MOONBEAM_PARA_ID, +}; use statemine_runtime as kusama_asset_hub_runtime; use statemint_runtime as polkadot_asset_hub_runtime; @@ -224,7 +227,147 @@ fn default_parachains_host_configuration() -> HostConfiguration { ..Default::default() } } +fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> { + vec![ + ( + PendulumCurrencyId::Native, + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Pendulum".as_bytes().to_vec(), + symbol: "PEN".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3(MultiLocation::new( + 0, + X1(PalletInstance(10)), + ))), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(1), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "USDT Assethub".as_bytes().to_vec(), + symbol: "USDT".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3(asset_hub::USDT_location())), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(0), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Polkadot".as_bytes().to_vec(), + symbol: "DOT".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3(MultiLocation::parent())), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + PendulumCurrencyId::XCM(6), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Moonbeam BRZ".as_bytes().to_vec(), + symbol: "BRZ".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(xcm::VersionedMultiLocation::V3(moonbeam::BRZ_location())), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ] +} +fn assets_metadata_for_registry_amplitude() -> Vec<(AmplitudeCurrencyId, Vec)> { + vec![ + ( + AmplitudeCurrencyId::Native, + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Amplitude".as_bytes().to_vec(), + symbol: "AMPE".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3(MultiLocation::new( + 0, + X1(PalletInstance(10)), + ))), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + AmplitudeCurrencyId::XCM(1), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "USDT Assethub".as_bytes().to_vec(), + symbol: "USDT".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3(asset_hub::USDT_location())), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ( + AmplitudeCurrencyId::XCM(0), + orml_asset_registry::AssetMetadata { + decimals: 12u32, + name: "Kusama".as_bytes().to_vec(), + symbol: "KSM".as_bytes().to_vec(), + existential_deposit: 1_000u128, + location: Some(VersionedMultiLocation::V3(MultiLocation::parent())), + additional: CustomMetadata:: { + dia_keys: DiaKeys:: { + blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), + symbol: BoundedVec::truncate_from(vec![1, 2, 3]), + }, + fee_per_second: UNIT, + }, + } + .encode(), + ), + ] +} pub fn para_ext(chain: ParachainType) -> sp_io::TestExternalities { match chain { ParachainType::PolkadotAssetHub => @@ -270,152 +413,8 @@ impl Builder for ExtBuilderParachain { } fn build(self) -> TestExternalities { - let initial_asset_registry_pendulum: Vec<(PendulumCurrencyId, Vec)> = vec![ - ( - PendulumCurrencyId::Native, - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Pendulum".as_bytes().to_vec(), - symbol: "PEN".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3( - MultiLocation::new(0, X1(PalletInstance(10))), - )), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(1), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "USDT Assethub".as_bytes().to_vec(), - symbol: "USDT".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3( - asset_hub::USDT_location() - )), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(0), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Polkadot".as_bytes().to_vec(), - symbol: "DOT".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3( - MultiLocation::parent() - )), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(6), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Moonbeam".as_bytes().to_vec(), - symbol: "GLMR".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some( - xcm::VersionedMultiLocation::V3(moonbeam::GLMR_location()) - ), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - - ]; - let initial_asset_registry_amplitude: Vec<(PendulumCurrencyId, Vec)> = vec![ - ( - PendulumCurrencyId::Native, - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Pendulum".as_bytes().to_vec(), - symbol: "PEN".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3( - MultiLocation::new(0, X1(PalletInstance(10))), - )), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(1), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "USDT Assethub".as_bytes().to_vec(), - symbol: "USDT".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3( - asset_hub::USDT_location() - )), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(0), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Kusama".as_bytes().to_vec(), - symbol: "KSM".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3( - MultiLocation::parent() - )), - additional: CustomMetadata:: { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - - ]; + let assets_metadata_pendulum = assets_metadata_for_registry_pendulum(); + let assets_metadata_amplitude = assets_metadata_for_registry_amplitude(); match self.chain { ParachainType::Pendulum => { use pendulum_runtime::{Runtime, System}; @@ -426,7 +425,8 @@ impl Builder for ExtBuilderParachain { NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, PendulumCurrencyId, - initial_asset_registry_pendulum + assets_metadata_pendulum + ) }, ParachainType::Amplitude => { @@ -438,7 +438,7 @@ impl Builder for ExtBuilderParachain { NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, PendulumCurrencyId, - initial_asset_registry_amplitude + assets_metadata_amplitude ) }, _ => panic!("cannot use this chain to build"), diff --git a/runtime/integration-tests/src/test_macros.rs b/runtime/integration-tests/src/test_macros.rs index 36e8e3b10..8f769d6c8 100644 --- a/runtime/integration-tests/src/test_macros.rs +++ b/runtime/integration-tests/src/test_macros.rs @@ -236,7 +236,7 @@ macro_rules! parachain1_transfer_incorrect_asset_to_parachain2_should_fail { $parachain2::execute_with(|| { use $para2_runtime::{RuntimeEvent, System}; - //since the asset registry trader cannot find the fee per second for the asset, + //since the asset registry trader cannot find the fee per second for the asset, //it will return TooExpensive error. assert!(System::events().iter().any(|r| matches!( r.event, @@ -683,7 +683,7 @@ macro_rules! moonbeam_transfers_token_and_handle_automation { WeightLimit::Unlimited )); }); - + $parachain1::execute_with(|| { use $parachain1_runtime::{RuntimeEvent, System, Treasury}; // given the configuration in pendulum's xcm_config, we expect the callback (in this case a Remark) diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index fa8b2232a..da572d0c7 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -1,8 +1,6 @@ use core::marker::PhantomData; -use cumulus_primitives_utility::{ - ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, -}; +use cumulus_primitives_utility::XcmFeesTo32ByteAccount; use frame_support::{ log, match_types, parameter_types, traits::{ContainsPair, Everything, Nothing}, @@ -11,8 +9,7 @@ use frame_support::{ use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, - MultiCurrency, + parameter_type_with_key, MultiCurrency, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -24,7 +21,7 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, TakeRevenue + SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; use xcm_executor::{ traits::{JustTry, ShouldExecute}, @@ -34,7 +31,7 @@ use xcm_executor::{ use runtime_common::{ custom_transactor::{AssetData, AutomationPalletConfig, CustomTransactorInterceptor}, parachains::polkadot::{asset_hub, equilibrium, moonbeam, polkadex}, - FixedConversionRateProvider + FixedConversionRateProvider, }; use crate::{ @@ -50,9 +47,9 @@ use crate::{ }; use super::{ - AccountId, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, - PendulumTreasuryAccount, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - System, Tokens, WeightToFee, XcmpQueue, AssetRegistry, StringLimit + AccountId, AssetRegistry, Balance, Balances, Currencies, CurrencyId, ParachainInfo, + ParachainSystem, PendulumTreasuryAccount, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, + RuntimeOrigin, StringLimit, System, Tokens, WeightToFee, XcmpQueue, }; parameter_types! { @@ -282,28 +279,11 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); - -pub struct ToTreasury; -impl TakeRevenue for ToTreasury { - fn take_revenue(revenue: MultiAsset) { - use xcm_executor::traits::Convert; - - if let MultiAsset { id: Concrete(location), fun: Fungible(amount) } = revenue { - if let Ok(currency_id) = - >::convert(location) - { - Currencies::deposit(currency_id, &PendulumTreasuryAccount::get(), amount); - } - } - } -} - pub type Traders = (AssetRegistryTrader< FixedRateAssetRegistryTrader>, - ToTreasury, + XcmFeesTo32ByteAccount, >); - /// Means for transacting the currencies of this parachain type Transactor = MultiCurrencyAdapter< Currencies, From 118b3d5f8e1ed5217fff3274d284202cfaba99f0 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 6 Feb 2024 17:06:57 -0300 Subject: [PATCH 75/89] cleanup and format --- runtime/amplitude/src/xcm_config.rs | 4 +-- runtime/common/src/lib.rs | 29 ------------------- .../integration-tests/src/amplitude_tests.rs | 2 ++ runtime/integration-tests/src/mock.rs | 3 +- .../integration-tests/src/pendulum_tests.rs | 6 ++-- runtime/integration-tests/src/test_macros.rs | 2 +- 6 files changed, 10 insertions(+), 36 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index ba9459caf..b48a18657 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -3,7 +3,7 @@ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, traits::{ContainsPair, Everything, Nothing}, - weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight, WeightToFee as WeightToFeeTrait}, + weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, }; use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ @@ -43,7 +43,7 @@ use crate::{ use super::{ AccountId, AmplitudeTreasuryAccount, AssetRegistry, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - StringLimit, Tokens, WeightToFee, XcmpQueue, + StringLimit, Tokens, XcmpQueue, }; parameter_types! { diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 045606a89..3db09f797 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -77,11 +77,6 @@ pub mod opaque { pub type BlockId = generic::BlockId; } -pub struct RelativeValue { - pub num: Amount, - pub denominator: Amount, -} - pub struct FixedConversionRateProvider(PhantomData<(OrmlAssetRegistry, T)>); impl< @@ -99,30 +94,6 @@ impl< } } -// pub fn default_per_second(decimals: u32) -> Balance { -// let base_weight = Balance::from(ExtrinsicBaseWeight::get().ref_time()); -// let default_per_second = WEIGHT_REF_TIME_PER_SECOND as u128 / base_weight; -// default_per_second -// } - -impl + Saturating + Clone> RelativeValue { - pub fn divide_by_relative_value( - amount: Amount, - relative_value: RelativeValue, - ) -> Amount { - // Calculate the adjusted amount - if let Some(adjusted_amount) = amount - .clone() - .saturating_mul(relative_value.denominator) - .checked_div(&relative_value.num) - { - return adjusted_amount - } - // We should never specify a numerator of 0, but just to be safe - return amount - } -} - #[macro_use] pub mod parachains { diff --git a/runtime/integration-tests/src/amplitude_tests.rs b/runtime/integration-tests/src/amplitude_tests.rs index 93b871050..fbaede614 100644 --- a/runtime/integration-tests/src/amplitude_tests.rs +++ b/runtime/integration-tests/src/amplitude_tests.rs @@ -16,6 +16,8 @@ use statemine_runtime as kusama_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; +// Since in the mock definition all the assets are defined with the same fee_per_second value +// the total fees for every asset will be the same. const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 7bf4d90e8..36389392f 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -1,7 +1,7 @@ use crate::{sibling, AMPLITUDE_ID, ASSETHUB_ID, PENDULUM_ID, SIBLING_ID}; +use amplitude_runtime::CurrencyId as AmplitudeCurrencyId; use frame_support::traits::GenesisBuild; use pendulum_runtime::{CurrencyId as PendulumCurrencyId, StringLimit}; -use amplitude_runtime::{CurrencyId as AmplitudeCurrencyId}; use polkadot_core_primitives::{AccountId, Balance, BlockNumber}; use polkadot_parachain::primitives::Id as ParaId; use polkadot_primitives::v2::{MAX_CODE_SIZE, MAX_POV_SIZE}; @@ -426,7 +426,6 @@ impl Builder for ExtBuilderParachain { ORML_INITIAL_BALANCE, PendulumCurrencyId, assets_metadata_pendulum - ) }, ParachainType::Amplitude => { diff --git a/runtime/integration-tests/src/pendulum_tests.rs b/runtime/integration-tests/src/pendulum_tests.rs index ce5484517..773a1edbb 100644 --- a/runtime/integration-tests/src/pendulum_tests.rs +++ b/runtime/integration-tests/src/pendulum_tests.rs @@ -18,8 +18,10 @@ use statemint_runtime as polkadot_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; -const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; //The fees that relay chain will charge when transfer DOT to parachain. sovereign account of some parachain will receive transfer_amount - DOT_FEE -const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; //Fees that we will charge in incoming Moonbeam's BRZ. Depends on the RelativeValue struct implementation. +// Since in the mock definition all the assets are defined with the same fee_per_second value +// the total fees for every asset will be the same. +const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; diff --git a/runtime/integration-tests/src/test_macros.rs b/runtime/integration-tests/src/test_macros.rs index 8f769d6c8..0ee5f11cc 100644 --- a/runtime/integration-tests/src/test_macros.rs +++ b/runtime/integration-tests/src/test_macros.rs @@ -683,7 +683,7 @@ macro_rules! moonbeam_transfers_token_and_handle_automation { WeightLimit::Unlimited )); }); - + $parachain1::execute_with(|| { use $parachain1_runtime::{RuntimeEvent, System, Treasury}; // given the configuration in pendulum's xcm_config, we expect the callback (in this case a Remark) From e9f76e7d11f097dd74c861ece1554246a1ce9423 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 6 Feb 2024 17:12:58 -0300 Subject: [PATCH 76/89] more cleanup --- runtime/amplitude/src/xcm_config.rs | 4 ++-- runtime/pendulum/src/xcm_config.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index b48a18657..f6d1398e5 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -9,7 +9,7 @@ use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ asset_registry::Inspect, location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, MultiCurrency, + parameter_type_with_key, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -21,7 +21,7 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, + SovereignSignedViaLocation, TakeWeightCredit, }; use xcm_executor::{ traits::{JustTry, ShouldExecute, TransactAsset}, diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index da572d0c7..760601084 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -9,7 +9,7 @@ use frame_support::{ use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, MultiCurrency, + parameter_type_with_key, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -21,7 +21,7 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, + SovereignSignedViaLocation, TakeWeightCredit, }; use xcm_executor::{ traits::{JustTry, ShouldExecute}, From d8674cf862c2ea533a76e6257b0806b51ce6e705 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Tue, 6 Feb 2024 17:32:56 -0300 Subject: [PATCH 77/89] more import cleaning and fixes after merging with future CustomMetadata implementation branch --- runtime/amplitude/src/xcm_config.rs | 24 +++++++----------- runtime/common/src/asset_registry.rs | 2 +- .../src/benchmarking/orml_asset_registry.rs | 6 ++--- runtime/common/src/lib.rs | 13 +++------- runtime/integration-tests/src/mock.rs | 25 ++++++++----------- runtime/pendulum/src/xcm_config.rs | 23 +++++++---------- 6 files changed, 36 insertions(+), 57 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index f6d1398e5..2e3387b47 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -3,13 +3,11 @@ use core::marker::PhantomData; use frame_support::{ log, match_types, parameter_types, traits::{ContainsPair, Everything, Nothing}, - weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, }; use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ - asset_registry::Inspect, location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, + parameter_type_with_key, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -18,15 +16,11 @@ use sp_runtime::traits::Convert; use xcm::latest::{prelude::*, Weight as XCMWeight}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, - FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, - SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, -}; -use xcm_executor::{ - traits::{JustTry, ShouldExecute, TransactAsset}, - XcmExecutor, + AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, + ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, }; +use xcm_executor::{traits::ShouldExecute, XcmExecutor}; use runtime_common::{parachains::kusama::asset_hub, FixedConversionRateProvider}; @@ -43,7 +37,7 @@ use crate::{ use super::{ AccountId, AmplitudeTreasuryAccount, AssetRegistry, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - StringLimit, Tokens, XcmpQueue, + XcmpQueue, }; parameter_types! { @@ -271,10 +265,10 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); -pub type Traders = (AssetRegistryTrader< - FixedRateAssetRegistryTrader>, +pub type Traders = AssetRegistryTrader< + FixedRateAssetRegistryTrader>, XcmFeesTo32ByteAccount, ->); +>; pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { diff --git a/runtime/common/src/asset_registry.rs b/runtime/common/src/asset_registry.rs index 4ffd1dd94..7f61f7efd 100644 --- a/runtime/common/src/asset_registry.rs +++ b/runtime/common/src/asset_registry.rs @@ -10,7 +10,7 @@ use sp_std::fmt::Debug; use spacewalk_primitives::CurrencyId; #[derive(Clone, PartialOrd, Ord, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)] -pub struct StringLimit; +pub struct StringLimit; impl Get for StringLimit { fn get() -> u32 { 50 diff --git a/runtime/common/src/benchmarking/orml_asset_registry.rs b/runtime/common/src/benchmarking/orml_asset_registry.rs index 2f18594a4..a1d956132 100644 --- a/runtime/common/src/benchmarking/orml_asset_registry.rs +++ b/runtime/common/src/benchmarking/orml_asset_registry.rs @@ -1,15 +1,15 @@ +use crate::asset_registry::{CustomMetadata, DiaKeys}; use frame_benchmarking::v2::benchmarks; use frame_support::assert_ok; use frame_system::RawOrigin; use orml_asset_registry::AssetMetadata; +use sp_runtime::BoundedVec; use sp_std::{vec, vec::Vec}; -use crate::asset_registry::{CustomMetadata, DiaKeys}; use spacewalk_primitives::CurrencyId; use xcm::{ latest::MultiLocation, opaque::lts::{Junction::*, Junctions::*}, }; -use sp_runtime::BoundedVec; pub struct Pallet(orml_asset_registry::Pallet); pub trait Config: @@ -45,7 +45,7 @@ pub mod benchmarks { symbol: BoundedVec::truncate_from(longest_vec()), }, fee_per_second: 123, - } + }, } } diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 3db09f797..cd4d7cfa5 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -2,14 +2,10 @@ #![allow(non_snake_case)] use sp_runtime::{ - traits::{CheckedDiv, IdentifyAccount, PhantomData, Saturating, Verify}, + traits::{IdentifyAccount, PhantomData, Verify}, DispatchError, MultiSignature, }; -use frame_support::weights::constants::{ExtrinsicBaseWeight, WEIGHT_REF_TIME_PER_SECOND}; -use scale_info::TypeInfo; -use sp_runtime::traits::Get; -use sp_std::fmt::Debug; use spacewalk_primitives::CurrencyId; use xcm::opaque::v3::MultiLocation; @@ -77,16 +73,15 @@ pub mod opaque { pub type BlockId = generic::BlockId; } -pub struct FixedConversionRateProvider(PhantomData<(OrmlAssetRegistry, T)>); +pub struct FixedConversionRateProvider(PhantomData); impl< - T: Get + TypeInfo + Clone + Eq + Debug + Send + Sync + 'static, OrmlAssetRegistry: orml_traits::asset_registry::Inspect< AssetId = CurrencyId, Balance = Balance, - CustomMetadata = asset_registry::CustomMetadata, + CustomMetadata = asset_registry::CustomMetadata, >, - > orml_traits::FixedConversionRateProvider for FixedConversionRateProvider + > orml_traits::FixedConversionRateProvider for FixedConversionRateProvider { fn get_fee_per_second(location: &MultiLocation) -> Option { let metadata = OrmlAssetRegistry::metadata_by_location(location)?; diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 36389392f..75aaf4b0b 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -1,7 +1,7 @@ use crate::{sibling, AMPLITUDE_ID, ASSETHUB_ID, PENDULUM_ID, SIBLING_ID}; use amplitude_runtime::CurrencyId as AmplitudeCurrencyId; use frame_support::traits::GenesisBuild; -use pendulum_runtime::{CurrencyId as PendulumCurrencyId, StringLimit}; +use pendulum_runtime::CurrencyId as PendulumCurrencyId; use polkadot_core_primitives::{AccountId, Balance, BlockNumber}; use polkadot_parachain::primitives::Id as ParaId; use polkadot_primitives::v2::{MAX_CODE_SIZE, MAX_POV_SIZE}; @@ -13,15 +13,10 @@ use xcm_emulator::Weight; use codec::Encode; use frame_support::BoundedVec; -use runtime_common::asset_registry::{CustomMetadata, DiaKeys}; +use runtime_common::asset_registry::{CustomMetadata, DiaKeys, StringLimit}; use xcm::{ - v3::{ - Junction, - Junction::{GeneralIndex, GeneralKey, PalletInstance, Parachain}, - Junctions::{Here, X1, X3}, - MultiLocation, WeightLimit, - }, + v3::{Junction::PalletInstance, Junctions::X1, MultiLocation}, VersionedMultiLocation, }; @@ -240,7 +235,7 @@ fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> 0, X1(PalletInstance(10)), ))), - additional: CustomMetadata:: { + additional: CustomMetadata { dia_keys: DiaKeys:: { blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), @@ -258,7 +253,7 @@ fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> symbol: "USDT".as_bytes().to_vec(), existential_deposit: 1_000u128, location: Some(VersionedMultiLocation::V3(asset_hub::USDT_location())), - additional: CustomMetadata:: { + additional: CustomMetadata { dia_keys: DiaKeys:: { blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), @@ -276,7 +271,7 @@ fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> symbol: "DOT".as_bytes().to_vec(), existential_deposit: 1_000u128, location: Some(VersionedMultiLocation::V3(MultiLocation::parent())), - additional: CustomMetadata:: { + additional: CustomMetadata { dia_keys: DiaKeys:: { blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), @@ -294,7 +289,7 @@ fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> symbol: "BRZ".as_bytes().to_vec(), existential_deposit: 1_000u128, location: Some(xcm::VersionedMultiLocation::V3(moonbeam::BRZ_location())), - additional: CustomMetadata:: { + additional: CustomMetadata { dia_keys: DiaKeys:: { blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), @@ -320,7 +315,7 @@ fn assets_metadata_for_registry_amplitude() -> Vec<(AmplitudeCurrencyId, Vec 0, X1(PalletInstance(10)), ))), - additional: CustomMetadata:: { + additional: CustomMetadata { dia_keys: DiaKeys:: { blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), @@ -338,7 +333,7 @@ fn assets_metadata_for_registry_amplitude() -> Vec<(AmplitudeCurrencyId, Vec symbol: "USDT".as_bytes().to_vec(), existential_deposit: 1_000u128, location: Some(VersionedMultiLocation::V3(asset_hub::USDT_location())), - additional: CustomMetadata:: { + additional: CustomMetadata { dia_keys: DiaKeys:: { blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), @@ -356,7 +351,7 @@ fn assets_metadata_for_registry_amplitude() -> Vec<(AmplitudeCurrencyId, Vec symbol: "KSM".as_bytes().to_vec(), existential_deposit: 1_000u128, location: Some(VersionedMultiLocation::V3(MultiLocation::parent())), - additional: CustomMetadata:: { + additional: CustomMetadata { dia_keys: DiaKeys:: { blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index 760601084..cd3b069ee 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -4,12 +4,11 @@ use cumulus_primitives_utility::XcmFeesTo32ByteAccount; use frame_support::{ log, match_types, parameter_types, traits::{ContainsPair, Everything, Nothing}, - weights::{Weight, WeightToFee as WeightToFeeTrait}, }; use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, + parameter_type_with_key, }; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter}; use pallet_xcm::XcmPassthrough; @@ -18,15 +17,11 @@ use sp_runtime::traits::Convert; use xcm::latest::{prelude::*, Weight as XCMWeight}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, - FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, - SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, -}; -use xcm_executor::{ - traits::{JustTry, ShouldExecute}, - XcmExecutor, + AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, + ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, }; +use xcm_executor::{traits::ShouldExecute, XcmExecutor}; use runtime_common::{ custom_transactor::{AssetData, AutomationPalletConfig, CustomTransactorInterceptor}, @@ -49,7 +44,7 @@ use crate::{ use super::{ AccountId, AssetRegistry, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, PendulumTreasuryAccount, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, - RuntimeOrigin, StringLimit, System, Tokens, WeightToFee, XcmpQueue, + RuntimeOrigin, System, XcmpQueue, }; parameter_types! { @@ -279,10 +274,10 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); -pub type Traders = (AssetRegistryTrader< - FixedRateAssetRegistryTrader>, +pub type Traders = AssetRegistryTrader< + FixedRateAssetRegistryTrader>, XcmFeesTo32ByteAccount, ->); +>; /// Means for transacting the currencies of this parachain type Transactor = MultiCurrencyAdapter< From 87db579bdbc7ee5f52334f3316521355dbf48bb2 Mon Sep 17 00:00:00 2001 From: Gianfranco Tasteri Date: Fri, 16 Feb 2024 17:35:53 -0300 Subject: [PATCH 78/89] moving implementation --- runtime/amplitude/src/xcm_config.rs | 2 +- runtime/common/src/asset_registry.rs | 23 +++++++++++++++++++++-- runtime/common/src/lib.rs | 19 +------------------ runtime/pendulum/src/xcm_config.rs | 2 +- 4 files changed, 24 insertions(+), 22 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 2e3387b47..51d7dff0c 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -22,7 +22,7 @@ use xcm_builder::{ }; use xcm_executor::{traits::ShouldExecute, XcmExecutor}; -use runtime_common::{parachains::kusama::asset_hub, FixedConversionRateProvider}; +use runtime_common::{parachains::kusama::asset_hub, asset_registry::FixedConversionRateProvider}; use cumulus_primitives_utility::XcmFeesTo32ByteAccount; diff --git a/runtime/common/src/asset_registry.rs b/runtime/common/src/asset_registry.rs index 7f61f7efd..14e35cc05 100644 --- a/runtime/common/src/asset_registry.rs +++ b/runtime/common/src/asset_registry.rs @@ -1,13 +1,15 @@ use crate::*; use frame_support::traits::AsEnsureOriginWithArg; use frame_system::EnsureRoot; -use orml_traits::asset_registry::{AssetMetadata, AssetProcessor}; +use orml_traits::{FixedConversionRateProvider as FixedConversionRateProviderTrait, + asset_registry::{AssetMetadata, AssetProcessor, Inspect}}; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; use sp_core::Get; -use sp_runtime::{BoundedVec, DispatchError}; +use sp_runtime::{BoundedVec, DispatchError, traits::PhantomData}; use sp_std::fmt::Debug; use spacewalk_primitives::CurrencyId; +use xcm::opaque::v3::MultiLocation; #[derive(Clone, PartialOrd, Ord, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)] pub struct StringLimit; @@ -54,3 +56,20 @@ impl AssetProcessor> for Cust } pub type AssetAuthority = AsEnsureOriginWithArg>; + + +pub struct FixedConversionRateProvider(PhantomData); + +impl< + OrmlAssetRegistry: Inspect< + AssetId = CurrencyId, + Balance = Balance, + CustomMetadata = asset_registry::CustomMetadata, + >, + > FixedConversionRateProviderTrait for FixedConversionRateProvider +{ + fn get_fee_per_second(location: &MultiLocation) -> Option { + let metadata = OrmlAssetRegistry::metadata_by_location(location)?; + Some(metadata.additional.fee_per_second) + } +} \ No newline at end of file diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index cd4d7cfa5..e7330aa4e 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -2,12 +2,11 @@ #![allow(non_snake_case)] use sp_runtime::{ - traits::{IdentifyAccount, PhantomData, Verify}, + traits::{IdentifyAccount, Verify}, DispatchError, MultiSignature, }; use spacewalk_primitives::CurrencyId; -use xcm::opaque::v3::MultiLocation; pub mod asset_registry; pub mod chain_ext; @@ -73,22 +72,6 @@ pub mod opaque { pub type BlockId = generic::BlockId; } -pub struct FixedConversionRateProvider(PhantomData); - -impl< - OrmlAssetRegistry: orml_traits::asset_registry::Inspect< - AssetId = CurrencyId, - Balance = Balance, - CustomMetadata = asset_registry::CustomMetadata, - >, - > orml_traits::FixedConversionRateProvider for FixedConversionRateProvider -{ - fn get_fee_per_second(location: &MultiLocation) -> Option { - let metadata = OrmlAssetRegistry::metadata_by_location(location)?; - Some(metadata.additional.fee_per_second) - } -} - #[macro_use] pub mod parachains { diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index cd3b069ee..320520ce2 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -26,7 +26,7 @@ use xcm_executor::{traits::ShouldExecute, XcmExecutor}; use runtime_common::{ custom_transactor::{AssetData, AutomationPalletConfig, CustomTransactorInterceptor}, parachains::polkadot::{asset_hub, equilibrium, moonbeam, polkadex}, - FixedConversionRateProvider, + asset_registry::FixedConversionRateProvider, }; use crate::{ From 40628ce28b38113ebe0c70d3454ce2a4cfb9b706 Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Mon, 19 Feb 2024 16:33:38 -0300 Subject: [PATCH 79/89] modify expected fees in tests --- node/src/chain_spec.rs | 9 ++++++--- node/src/constants/foucoco.rs | 2 ++ package-lock.json | 6 ++++++ runtime/common/src/lib.rs | 2 -- runtime/integration-tests/src/amplitude_tests.rs | 4 ++-- runtime/integration-tests/src/mock.rs | 12 ++++++------ runtime/integration-tests/src/pendulum_tests.rs | 8 ++++---- 7 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 package-lock.json diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index b3d629874..24d39597c 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -192,6 +192,8 @@ pub fn foucoco_config() -> FoucocoChainSpec { let offchain_worker_price_feeder = AccountId::from_ss58check(foucoco::OFF_CHAIN_WORKER_ADDRESS).unwrap(); + let alicia = + AccountId::from_ss58check(foucoco::ALICIA).unwrap(); FoucocoChainSpec::from_genesis( // Name @@ -204,8 +206,8 @@ pub fn foucoco_config() -> FoucocoChainSpec { // initial collators. invulnerables.clone(), signatories.clone(), - vec![sudo_account.clone(), offchain_worker_price_feeder.clone()], - sudo_account.clone(), + vec![sudo_account.clone(), offchain_worker_price_feeder.clone(), alicia.clone()], + alicia.clone(), foucoco::PARACHAIN_ID.into(), false, ) @@ -637,8 +639,9 @@ fn foucoco_genesis( let token_balances = balances .iter() - .flat_map(|k| vec![(k.0.clone(), XCM(0), u128::pow(10, 18))]) + .flat_map(|k| vec![(k.0.clone(), XCM(0), 10*u128::pow(10, 18)), (k.0.clone(), XCM(6), 10*u128::pow(10, 18)), (k.0.clone(), CurrencyId::StellarNative, 10*u128::pow(10, 18))]) .collect(); + let stakers: Vec<_> = invulnerables .iter() diff --git a/node/src/constants/foucoco.rs b/node/src/constants/foucoco.rs index e349b20ac..51c070799 100644 --- a/node/src/constants/foucoco.rs +++ b/node/src/constants/foucoco.rs @@ -9,6 +9,8 @@ pub const INITIAL_COLLATOR_STAKING: Balance = 10_000 * UNIT; pub const COLLATOR_ADDITIONAL: Balance = 10 * UNIT; pub const OFF_CHAIN_WORKER_ADDRESS: &str = "6m69vWMouLarYCbJGJisVaDDpfNGETkD5hsDWf2T7osW4Cn1"; +pub const ALICIA: &str = "6mfqoTMHrMeVMyKwjqomUjVomPMJ4AjdCm1VReFtk7Be8wqr"; + pub const TOKEN_DECIMALS: u32 = 12; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..7cb28afda --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "pendulum", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index e7330aa4e..f6296aa7b 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -6,8 +6,6 @@ use sp_runtime::{ DispatchError, MultiSignature, }; -use spacewalk_primitives::CurrencyId; - pub mod asset_registry; pub mod chain_ext; pub mod custom_transactor; diff --git a/runtime/integration-tests/src/amplitude_tests.rs b/runtime/integration-tests/src/amplitude_tests.rs index fbaede614..f2ef7ea4f 100644 --- a/runtime/integration-tests/src/amplitude_tests.rs +++ b/runtime/integration-tests/src/amplitude_tests.rs @@ -18,8 +18,8 @@ use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain // Since in the mock definition all the assets are defined with the same fee_per_second value // the total fees for every asset will be the same. -const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 200000000; // /20 native token value fee per second +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 400000000;// /10 native token value fee per second const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; decl_test_relay_chain! { diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 75aaf4b0b..445d93f6a 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -258,7 +258,7 @@ fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), }, - fee_per_second: UNIT, + fee_per_second: UNIT/2, }, } .encode(), @@ -276,7 +276,7 @@ fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), }, - fee_per_second: UNIT, + fee_per_second: UNIT/4, }, } .encode(), @@ -294,7 +294,7 @@ fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), }, - fee_per_second: UNIT, + fee_per_second: 2*UNIT, }, } .encode(), @@ -338,7 +338,7 @@ fn assets_metadata_for_registry_amplitude() -> Vec<(AmplitudeCurrencyId, Vec blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), }, - fee_per_second: UNIT, + fee_per_second: UNIT/10, }, } .encode(), @@ -356,7 +356,7 @@ fn assets_metadata_for_registry_amplitude() -> Vec<(AmplitudeCurrencyId, Vec blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), symbol: BoundedVec::truncate_from(vec![1, 2, 3]), }, - fee_per_second: UNIT, + fee_per_second: UNIT/20, }, } .encode(), @@ -431,7 +431,7 @@ impl Builder for ExtBuilderParachain { System, NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, - PendulumCurrencyId, + AmplitudeCurrencyId, assets_metadata_amplitude ) }, diff --git a/runtime/integration-tests/src/pendulum_tests.rs b/runtime/integration-tests/src/pendulum_tests.rs index 773a1edbb..604da9aa6 100644 --- a/runtime/integration-tests/src/pendulum_tests.rs +++ b/runtime/integration-tests/src/pendulum_tests.rs @@ -20,10 +20,10 @@ use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain // Since in the mock definition all the assets are defined with the same fee_per_second value // the total fees for every asset will be the same. -const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; -const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; -const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 1000000000; // /4 native token value fee per second +const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 8000000000; // 2x native token value fee per second +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 2000000000; // /2 native token value fee per second +const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; decl_test_relay_chain! { pub struct PolkadotRelay { From d12ac51248aea4321a315e21ec90a422bf07ded7 Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Mon, 19 Feb 2024 17:24:11 -0300 Subject: [PATCH 80/89] added current xcm config to foucoco --- runtime/amplitude/src/xcm_config.rs | 7 ----- runtime/foucoco/src/xcm_config.rs | 43 +++++++++++++++++++---------- runtime/pendulum/src/xcm_config.rs | 7 ----- 3 files changed, 29 insertions(+), 28 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 51d7dff0c..bc82e8dbc 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -177,13 +177,6 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 2; } -match_types! { - pub type ParentOrParentsExecutivePlurality: impl Contains = { - MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } - }; -} - //TODO: move DenyThenTry to polkadot's xcm module. /// Deny executing the xcm message if it matches any of the Deny filter regardless of anything else. /// If it passes the Deny, and matches one of the Allow cases then it is let through. diff --git a/runtime/foucoco/src/xcm_config.rs b/runtime/foucoco/src/xcm_config.rs index 2bce518ef..39c0dbcbb 100644 --- a/runtime/foucoco/src/xcm_config.rs +++ b/runtime/foucoco/src/xcm_config.rs @@ -4,6 +4,7 @@ use frame_support::{ log, match_types, parameter_types, traits::{ConstU32, ContainsPair, Everything, Nothing}, }; +use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, parameter_type_with_key, @@ -15,13 +16,14 @@ use polkadot_runtime_common::impls::ToAuthor; use sp_runtime::traits::Convert; use xcm::latest::{prelude::*, Weight as XCMWeight}; use xcm_builder::{ - AccountId32Aliases, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, + AccountId32Aliases, AllowUnpaidExecutionFrom, AllowSubscriptionsFrom,AllowTopLevelPaidExecutionFrom, AllowKnownQueryResponses, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, - SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, UsingComponents, + SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, }; use xcm_executor::{traits::ShouldExecute, XcmExecutor}; +use cumulus_primitives_utility::XcmFeesTo32ByteAccount; -use runtime_common::parachains::moonbase_alpha_relay::moonbase_alpha; +use runtime_common::{parachains::moonbase_alpha_relay::moonbase_alpha, asset_registry::FixedConversionRateProvider}; use crate::assets::{ native_locations::{native_location_external_pov, native_location_local_pov}, @@ -29,7 +31,7 @@ use crate::assets::{ }; use super::{ - AccountId, Balance, Balances, Currencies, CurrencyId, FoucocoTreasuryAccount, ParachainInfo, + AccountId, AssetRegistry, Balance, Balances, Currencies, CurrencyId, FoucocoTreasuryAccount, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmpQueue, }; @@ -170,13 +172,6 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 2; } -match_types! { - pub type ParentOrParentsExecutivePlurality: impl Contains = { - MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } - }; -} - //TODO: move DenyThenTry to polkadot's xcm module. /// Deny executing the xcm message if it matches any of the Deny filter regardless of anything else. /// If it passes the Deny, and matches one of the Allow cases then it is let through. @@ -240,7 +235,28 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { } } -pub type Barrier = AllowUnpaidExecutionFrom; +match_types! { + pub type ParentOrParentsPlurality: impl Contains = { + MultiLocation { parents: 1, interior: Here } | + MultiLocation { parents: 1, interior: X1(Plurality { .. }) } + }; +} + +pub type Barrier = ( + TakeWeightCredit, + AllowTopLevelPaidExecutionFrom, + // Parent and its plurality get free execution + AllowUnpaidExecutionFrom, + // Expected responses are OK. + AllowKnownQueryResponses, + // Subscriptions for version tracking are OK. + AllowSubscriptionsFrom, +); + +pub type Traders = AssetRegistryTrader< + FixedRateAssetRegistryTrader>, + XcmFeesTo32ByteAccount, +>; pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { @@ -255,8 +271,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalLocation = UniversalLocation; type Barrier = Barrier; type Weigher = FixedWeightBounds; - type Trader = - UsingComponents>; + type Trader = Traders; type ResponseHandler = PolkadotXcm; type AssetTrap = PolkadotXcm; type AssetLocker = (); diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index 320520ce2..e097f0419 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -186,13 +186,6 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 2; } -match_types! { - pub type ParentOrParentsExecutivePlurality: impl Contains = { - MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } - }; -} - //TODO: move DenyThenTry to polkadot's xcm module. /// Deny executing the xcm message if it matches any of the Deny filter regardless of anything else. /// If it passes the Deny, and matches one of the Allow cases then it is let through. From b3813184bf4b9dc792ee2fb7e5a0c58e822324d4 Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Mon, 26 Feb 2024 13:26:34 -0300 Subject: [PATCH 81/89] removing unused constants --- node/src/constants/foucoco.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/node/src/constants/foucoco.rs b/node/src/constants/foucoco.rs index 51c070799..7ff9041fc 100644 --- a/node/src/constants/foucoco.rs +++ b/node/src/constants/foucoco.rs @@ -9,7 +9,6 @@ pub const INITIAL_COLLATOR_STAKING: Balance = 10_000 * UNIT; pub const COLLATOR_ADDITIONAL: Balance = 10 * UNIT; pub const OFF_CHAIN_WORKER_ADDRESS: &str = "6m69vWMouLarYCbJGJisVaDDpfNGETkD5hsDWf2T7osW4Cn1"; -pub const ALICIA: &str = "6mfqoTMHrMeVMyKwjqomUjVomPMJ4AjdCm1VReFtk7Be8wqr"; pub const TOKEN_DECIMALS: u32 = 12; From 049c215b045d75992fd1ff760f94511f71474e1d Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Tue, 27 Feb 2024 05:42:12 -0300 Subject: [PATCH 82/89] fully remove alice test account --- node/src/chain_spec.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 24d39597c..546c2f991 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -192,8 +192,6 @@ pub fn foucoco_config() -> FoucocoChainSpec { let offchain_worker_price_feeder = AccountId::from_ss58check(foucoco::OFF_CHAIN_WORKER_ADDRESS).unwrap(); - let alicia = - AccountId::from_ss58check(foucoco::ALICIA).unwrap(); FoucocoChainSpec::from_genesis( // Name @@ -206,8 +204,8 @@ pub fn foucoco_config() -> FoucocoChainSpec { // initial collators. invulnerables.clone(), signatories.clone(), - vec![sudo_account.clone(), offchain_worker_price_feeder.clone(), alicia.clone()], - alicia.clone(), + vec![sudo_account.clone(), offchain_worker_price_feeder.clone()], + sudo_account.clone(), foucoco::PARACHAIN_ID.into(), false, ) From b084a87daae16dcb5a18989b52150ad0f3eff882 Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Wed, 28 Feb 2024 12:56:00 -0300 Subject: [PATCH 83/89] use multipliers for fee expected constants in tests --- runtime/integration-tests/src/amplitude_tests.rs | 7 +++---- runtime/integration-tests/src/pendulum_tests.rs | 11 +++++------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/runtime/integration-tests/src/amplitude_tests.rs b/runtime/integration-tests/src/amplitude_tests.rs index f2ef7ea4f..67c2341c8 100644 --- a/runtime/integration-tests/src/amplitude_tests.rs +++ b/runtime/integration-tests/src/amplitude_tests.rs @@ -16,11 +16,10 @@ use statemine_runtime as kusama_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; -// Since in the mock definition all the assets are defined with the same fee_per_second value -// the total fees for every asset will be the same. -const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 200000000; // /20 native token value fee per second -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 400000000;// /10 native token value fee per second +// Native fee expected for each token according to the `fee_per_second` values defined in the mock const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN / 20; +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN / 10; decl_test_relay_chain! { pub struct KusamaRelay { diff --git a/runtime/integration-tests/src/pendulum_tests.rs b/runtime/integration-tests/src/pendulum_tests.rs index 604da9aa6..80df82ece 100644 --- a/runtime/integration-tests/src/pendulum_tests.rs +++ b/runtime/integration-tests/src/pendulum_tests.rs @@ -18,12 +18,11 @@ use statemint_runtime as polkadot_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; -// Since in the mock definition all the assets are defined with the same fee_per_second value -// the total fees for every asset will be the same. -const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 1000000000; // /4 native token value fee per second -const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 8000000000; // 2x native token value fee per second -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 2000000000; // /2 native token value fee per second -const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +// Native fee expected for each token according to the `fee_per_second` values defined in the mock +const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; +const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN /4; +const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 2*NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN; +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN /2; decl_test_relay_chain! { pub struct PolkadotRelay { From 95f6f38ac976b15bde33e87300584d358972d164 Mon Sep 17 00:00:00 2001 From: gianfra-t <96739519+gianfra-t@users.noreply.github.com> Date: Fri, 1 Mar 2024 13:49:29 -0300 Subject: [PATCH 84/89] Update runtime/pendulum/src/lib.rs Co-authored-by: Marcel Ebert --- runtime/pendulum/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index 5b145298f..6ded8b0db 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -1088,7 +1088,7 @@ impl dia_oracle::Config for Runtime { parameter_types! { pub const FarmingKeeperPalletId: PalletId = PalletId(*b"pe/fmkpr"); pub const FarmingRewardIssuerPalletId: PalletId = PalletId(*b"pe/fmrir"); - pub const FarmingBoostPalletId: PalletId = PalletId(*b"am/fmbst"); + pub const FarmingBoostPalletId: PalletId = PalletId(*b"pe/fmbst"); pub PendulumTreasuryAccount: AccountId = TreasuryPalletId::get().into_account_truncating(); pub const WhitelistMaximumLimit: u32 = 10; } From 68782d49692d651365e56f117495a36e3c9f1451 Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Fri, 1 Mar 2024 13:59:03 -0300 Subject: [PATCH 85/89] removal of comments, package-lock.json --- package-lock.json | 6 ------ pallets/parachain-staking/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 7cb28afda..000000000 --- a/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "pendulum", - "lockfileVersion": 3, - "requires": true, - "packages": {} -} diff --git a/pallets/parachain-staking/src/lib.rs b/pallets/parachain-staking/src/lib.rs index dd66b3d3f..08a41e43a 100644 --- a/pallets/parachain-staking/src/lib.rs +++ b/pallets/parachain-staking/src/lib.rs @@ -2311,7 +2311,7 @@ pub mod pallet { } }) .map(u32::saturated_from::) - // FIXME: Does not prevent the collator from being able to author a block in this (or potentially the next) session. See https://github.com/gianfra-t/substrate-sotrage-patch/issues/8004 + // FIXME: Does not prevent the collator from being able to author a block in this (or potentially the next) session. See https://github.com/paritytech/substrate/issues/8004 .map(pallet_session::Pallet::::disable_index); CandidatePool::::remove(collator); From 8aaa4891a20d484695f15d001fefd9b316bb79ee Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Tue, 19 Mar 2024 15:04:17 -0300 Subject: [PATCH 86/89] replace spacewalk dependencies --- Cargo.lock | 3075 +++++++---------- node/Cargo.toml | 12 +- .../Cargo.toml | 2 +- pallets/parachain-staking/rpc/Cargo.toml | 2 +- .../rpc/runtime-api/Cargo.toml | 2 +- pallets/treasury-buyout-extension/Cargo.toml | 2 +- runtime/amplitude/Cargo.toml | 40 +- runtime/common/Cargo.toml | 2 +- runtime/foucoco/Cargo.toml | 40 +- runtime/integration-tests/Cargo.toml | 2 +- runtime/pendulum/Cargo.toml | 40 +- 11 files changed, 1346 insertions(+), 1873 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d13e40cea..5f00bb014 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -208,7 +208,7 @@ dependencies = [ "fee", "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -269,19 +269,19 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-version", + "spacewalk-primitives", "staking", "stellar-relay", "substrate-wasm-builder", @@ -504,14 +504,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "pallet-xcm", "parachains-common", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -689,7 +689,7 @@ source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#3 dependencies = [ "bifrost-ve-minting", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "hex-literal 0.3.4", "log", @@ -698,10 +698,10 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -714,11 +714,11 @@ dependencies = [ "node-primitives", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -728,8 +728,8 @@ source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#3 dependencies = [ "node-primitives", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -738,7 +738,7 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "hex-literal 0.3.4", "log", @@ -747,9 +747,9 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "xcm", ] @@ -1241,18 +1241,18 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clients-info" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -1658,8 +1658,8 @@ dependencies = [ "sc-chain-spec", "sc-cli", "sc-service", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "url", ] @@ -1679,10 +1679,10 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "tracing", ] @@ -1701,16 +1701,16 @@ dependencies = [ "sc-consensus-aura", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -1734,8 +1734,8 @@ dependencies = [ "schnellru", "sp-blockchain", "sp-consensus", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-trie", "tracing", ] @@ -1756,9 +1756,9 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", "tracing", ] @@ -1782,7 +1782,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "tracing", ] @@ -1813,11 +1813,11 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "sp-transaction-pool", ] @@ -1826,15 +1826,15 @@ name = "cumulus-pallet-aura-ext" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-aura", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -1843,14 +1843,14 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -1864,22 +1864,22 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", "xcm", ] @@ -1900,12 +1900,12 @@ version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-session", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -1914,13 +1914,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -1931,16 +1931,16 @@ source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42# dependencies = [ "cumulus-primitives-core", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -1955,10 +1955,10 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", + "sp-trie", "xcm", ] @@ -1974,14 +1974,14 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "tracing", ] @@ -1993,8 +1993,8 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-std", "sp-timestamp", ] @@ -2004,13 +2004,13 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "parity-scale-codec", "polkadot-runtime-common", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -2034,11 +2034,11 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -2053,9 +2053,9 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", "thiserror", ] @@ -2088,11 +2088,11 @@ dependencies = [ "sc-service", "sc-tracing", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "tokio", "tracing", ] @@ -2116,12 +2116,12 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-state-machine", + "sp-storage", "tokio", "tracing", "url", @@ -2135,17 +2135,17 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", + "sp-std", ] [[package]] name = "currency" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-currencies", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", @@ -2155,9 +2155,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-runtime", + "sp-std", + "spacewalk-primitives", ] [[package]] @@ -2432,16 +2432,16 @@ version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -2450,9 +2450,9 @@ version = "0.1.0" source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.42#9fda7904283d3687581392505d01a9bfd61099bc" dependencies = [ "dia-oracle", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "sp-api", + "sp-runtime", ] [[package]] @@ -2934,12 +2934,12 @@ dependencies = [ [[package]] name = "fee" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "oracle", "pallet-balances", @@ -2949,12 +2949,12 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "staking", ] @@ -3116,7 +3116,7 @@ dependencies = [ "fee", "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -3179,19 +3179,19 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-version", + "spacewalk-primitives", "staking", "stellar-relay", "substrate-wasm-builder", @@ -3215,8 +3215,8 @@ name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", + "frame-support-procedural", "frame-system", "linregress", "log", @@ -3224,14 +3224,14 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] @@ -3246,7 +3246,7 @@ dependencies = [ "clap", "comfy-table", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "gethostname", "handlebars", @@ -3266,18 +3266,18 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "thiserror", "thousands", ] @@ -3299,15 +3299,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-election-provider-solution-type", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -3315,16 +3315,16 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -3351,47 +3351,14 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "spinners", "substrate-rpc-client", "tokio", ] -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "bitflags 1.3.2", - "environmental", - "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "tt-call", -] - [[package]] name = "frame-support" version = "4.0.0-dev" @@ -3400,9 +3367,9 @@ dependencies = [ "bitflags 1.3.2", "environmental", "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural", "impl-trait-for-tuples", - "k256 0.13.2", + "k256", "log", "once_cell", "parity-scale-codec", @@ -3410,36 +3377,21 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-weights", "tt-call", ] -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -3448,7 +3400,7 @@ dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural-tools", "itertools", "proc-macro-warning", "proc-macro2", @@ -3456,40 +3408,18 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", "syn 2.0.28", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" @@ -3505,17 +3435,17 @@ name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", + "sp-weights", ] [[package]] @@ -3524,13 +3454,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -3539,7 +3469,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -3547,11 +3477,11 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -4358,14 +4288,14 @@ dependencies = [ [[package]] name = "issue" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "base64 0.13.1", "currency", "fee", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "hex", "log", @@ -4381,12 +4311,12 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -4568,18 +4498,6 @@ dependencies = [ "jsonrpsee-types", ] -[[package]] -name = "k256" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" -dependencies = [ - "cfg-if", - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.7", -] - [[package]] name = "k256" version = "0.13.2" @@ -4611,7 +4529,7 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -4675,24 +4593,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -4705,13 +4623,13 @@ name = "kusama-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -5602,13 +5520,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5620,11 +5538,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -5676,54 +5594,54 @@ dependencies = [ [[package]] name = "module-issue-rpc" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "jsonrpsee", "module-issue-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] name = "module-issue-rpc-runtime-api" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-oracle-rpc" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-runtime", + "spacewalk-primitives", ] [[package]] name = "module-oracle-rpc-runtime-api" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-api", + "sp-std", + "spacewalk-primitives", ] [[package]] @@ -5734,96 +5652,96 @@ dependencies = [ "module-oracle-rpc-runtime-api", "module-pallet-staking-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] name = "module-pallet-staking-rpc-runtime-api" version = "1.0.0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "module-oracle-rpc-runtime-api", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-redeem-rpc" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "jsonrpsee", "module-redeem-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] name = "module-redeem-rpc-runtime-api" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-replace-rpc" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "jsonrpsee", "module-replace-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] name = "module-replace-rpc-runtime-api" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] name = "module-vault-registry-rpc" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "jsonrpsee", "module-oracle-rpc-runtime-api", "module-vault-registry-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] name = "module-vault-registry-rpc-runtime-api" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "module-oracle-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -6062,14 +5980,14 @@ version = "0.8.0" source = "git+https://github.com/pendulum-chain/bifrost?branch=upgrade-v0.9.42#37bd182449576ce641d0b3132eaa82ddba5bb05a" dependencies = [ "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "zenlink-protocol", ] @@ -6091,13 +6009,13 @@ dependencies = [ [[package]] name = "nomination" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "fee", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "oracle", "orml-currencies", @@ -6111,12 +6029,12 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "staking", "vault-registry", ] @@ -6269,13 +6187,13 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "oracle" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "dia-oracle", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "once_cell", "orml-oracle", @@ -6284,12 +6202,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "security", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "spin 0.9.8", "staking", ] @@ -6340,15 +6258,15 @@ name = "orml-asset-registry" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-traits", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -6359,16 +6277,16 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6376,7 +6294,7 @@ name = "orml-currencies-allowance-extension" version = "1.0.0" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "mocktopus", "orml-currencies", @@ -6387,10 +6305,10 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6398,17 +6316,17 @@ name = "orml-oracle" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6416,15 +6334,15 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] @@ -6432,15 +6350,15 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] @@ -6448,7 +6366,7 @@ name = "orml-tokens-management-extension" version = "1.0.0" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "mocktopus", "orml-currencies", @@ -6459,11 +6377,11 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", ] [[package]] @@ -6471,17 +6389,17 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities 0.4.1-dev (git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42)", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xcm", ] @@ -6490,13 +6408,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6504,13 +6422,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6518,12 +6436,12 @@ name = "orml-xcm" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "xcm", ] @@ -6532,11 +6450,11 @@ name = "orml-xcm-support" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "orml-traits", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -6547,7 +6465,7 @@ version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42#4ae0372e2c624e6acc98305564b9d395f70814c0" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-traits", "orml-xcm-support", @@ -6555,9 +6473,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -6600,16 +6518,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6618,13 +6536,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -6632,15 +6550,15 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6648,15 +6566,15 @@ name = "pallet-authority-discovery" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-authority-discovery", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6664,13 +6582,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6679,7 +6597,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-authorship", @@ -6687,14 +6605,14 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -6704,17 +6622,17 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -6723,13 +6641,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6737,7 +6655,7 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-authorship", "pallet-session", @@ -6745,10 +6663,10 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -6758,7 +6676,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-beefy", @@ -6767,12 +6685,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6781,16 +6699,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6799,17 +6717,17 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6818,7 +6736,7 @@ version = "3.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-authorship", @@ -6826,9 +6744,9 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -6837,15 +6755,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6856,7 +6774,7 @@ dependencies = [ "bitflags 1.3.2", "environmental", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "impl-trait-for-tuples", "log", @@ -6867,11 +6785,11 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "wasm-instrument 0.4.0", "wasmi 0.28.0", "wasmparser-nostd", @@ -6885,9 +6803,9 @@ dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] @@ -6907,14 +6825,14 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "assert_matches", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6923,16 +6841,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6942,19 +6860,19 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "strum", ] @@ -6968,7 +6886,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -6977,16 +6895,16 @@ version = "5.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -6996,15 +6914,15 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7013,21 +6931,21 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", ] [[package]] @@ -7037,13 +6955,13 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "enumflags2", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7052,18 +6970,18 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7072,15 +6990,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7088,13 +7006,13 @@ name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7103,15 +7021,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7120,15 +7038,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7137,14 +7055,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7154,15 +7072,15 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "enumflags2", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7170,10 +7088,10 @@ name = "pallet-nfts-runtime-api" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "pallet-nfts", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -7182,14 +7100,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -7197,16 +7115,16 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7216,17 +7134,17 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-runtime-interface", + "sp-staking", + "sp-std", ] [[package]] @@ -7236,8 +7154,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", ] [[package]] @@ -7245,16 +7163,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7264,7 +7182,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-babe", @@ -7276,9 +7194,9 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7287,15 +7205,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7304,13 +7222,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7319,16 +7237,16 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7337,13 +7255,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7353,16 +7271,16 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "assert_matches", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7371,15 +7289,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] @@ -7387,20 +7305,20 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", + "sp-trie", ] [[package]] @@ -7409,14 +7327,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-session", "pallet-staking", "rand 0.8.5", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", ] [[package]] @@ -7424,13 +7342,13 @@ name = "pallet-society" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7440,7 +7358,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-authorship", @@ -7449,11 +7367,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7473,7 +7391,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", ] [[package]] @@ -7482,7 +7400,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", ] [[package]] @@ -7491,15 +7409,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7507,13 +7425,13 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7522,15 +7440,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -7540,17 +7458,17 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7558,15 +7476,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/pendulum-chain/patch-pallet-vesting-transaction-storage?branch=polkadot-v0.9.42#2c1ddd4bf181040b24c28a3ace7336d45622a73d" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7577,12 +7495,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7592,9 +7510,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7603,15 +7521,15 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7620,13 +7538,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7635,14 +7553,14 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7651,13 +7569,13 @@ version = "4.0.0-dev" source = "git+https://github.com/pendulum-chain/patch-pallet-vesting-transaction-storage?branch=polkadot-v0.9.42#2c1ddd4bf181040b24c28a3ace7336d45622a73d" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7666,13 +7584,13 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -7682,16 +7600,16 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "bounded-collections", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -7702,14 +7620,14 @@ version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -7721,7 +7639,7 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", @@ -7732,7 +7650,7 @@ name = "parachain-staking" version = "1.7.2" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "module-pallet-staking-rpc-runtime-api", @@ -7744,13 +7662,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7759,7 +7677,7 @@ version = "1.0.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.42#f603a61ff370fc33740c9373833c3c6ba1486846" dependencies = [ "cumulus-primitives-utility", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "pallet-asset-tx-payment", "pallet-assets", @@ -7770,10 +7688,10 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -7996,19 +7914,19 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-block-builder", "sp-blockchain", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", "sp-timestamp", "sp-transaction-pool", - "spacewalk-primitives 1.0.4", + "spacewalk-primitives", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -8041,7 +7959,7 @@ dependencies = [ "fee", "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -8102,19 +8020,19 @@ dependencies = [ "security", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-version", + "spacewalk-primitives", "staking", "stellar-relay", "substrate-wasm-builder", @@ -8310,8 +8228,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8357,8 +8275,8 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", "sp-keyring", "sp-maybe-compressed-blob", "substrate-build-script-utils", @@ -8388,7 +8306,7 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-service", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -8396,14 +8314,14 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-keyring", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-storage", "sp-timestamp", "sp-transaction-pool", ] @@ -8423,9 +8341,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -8437,9 +8355,9 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -8461,8 +8379,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8476,8 +8394,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-trie", "thiserror", ] @@ -8495,9 +8413,9 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sc-network", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "tracing-gum", ] @@ -8536,7 +8454,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -8563,10 +8481,10 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "schnorrkel", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -8606,7 +8524,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8620,7 +8538,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", "wasm-timer", @@ -8709,7 +8627,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-blockchain", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", "thiserror", "tracing-gum", ] @@ -8750,10 +8668,10 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-maybe-compressed-blob", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing", + "sp-wasm-interface", "substrate-build-script-utils", "tokio", "tracing-gum", @@ -8770,7 +8688,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8792,11 +8710,11 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-io", "sp-maybe-compressed-blob", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-tracing", "substrate-build-script-utils", "tempfile", "tikv-jemalloc-ctl", @@ -8832,7 +8750,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "thiserror", "tokio", ] @@ -8890,12 +8808,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "zstd 0.11.2+zstd.1.5.2", ] @@ -8926,7 +8844,7 @@ dependencies = [ "polkadot-statement-table", "sc-network", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -8959,9 +8877,9 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8983,8 +8901,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -8996,14 +8914,14 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "bounded-collections", "derive_more", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -9036,18 +8954,18 @@ dependencies = [ "polkadot-parachain", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -9071,13 +8989,13 @@ dependencies = [ "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-runtime", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -9091,7 +9009,7 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -9151,24 +9069,24 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -9184,7 +9102,7 @@ dependencies = [ "bitvec", "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "impl-trait-for-tuples", "libsecp256k1", @@ -9209,15 +9127,15 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "static_assertions", "xcm", ] @@ -9227,13 +9145,13 @@ name = "polkadot-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -9244,8 +9162,8 @@ dependencies = [ "bs58", "parity-scale-codec", "polkadot-primitives", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", + "sp-tracing", ] [[package]] @@ -9257,7 +9175,7 @@ dependencies = [ "bitvec", "derive_more", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-authority-discovery", @@ -9277,16 +9195,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "static_assertions", "xcm", "xcm-executor", @@ -9299,7 +9217,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "async-trait", "frame-benchmarking-cli", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -9374,7 +9292,7 @@ dependencies = [ "sc-transaction-pool", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -9382,19 +9300,19 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", + "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -9416,8 +9334,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-staking", "thiserror", "tracing-gum", ] @@ -9429,7 +9347,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", ] [[package]] @@ -9485,23 +9403,23 @@ dependencies = [ [[package]] name = "pooled-rewards" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", ] [[package]] @@ -9946,13 +9864,13 @@ dependencies = [ [[package]] name = "redeem" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "fee", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "hex", "oracle", @@ -9966,12 +9884,12 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -10108,13 +10026,13 @@ dependencies = [ [[package]] name = "replace" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "fee", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "hex", "nomination", @@ -10130,12 +10048,12 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "stellar-relay", "vault-registry", ] @@ -10152,31 +10070,31 @@ dependencies = [ [[package]] name = "reward" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", ] [[package]] name = "reward-distribution" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "oracle", @@ -10189,12 +10107,12 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "staking", ] @@ -10252,7 +10170,7 @@ dependencies = [ "binary-merkle-tree", "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -10307,22 +10225,22 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "static_assertions", "substrate-wasm-builder", "xcm", @@ -10335,13 +10253,13 @@ name = "rococo-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -10411,7 +10329,7 @@ version = "0.1.0" dependencies = [ "dia-oracle", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-asset-registry", "orml-traits", @@ -10420,10 +10338,10 @@ dependencies = [ "paste", "scale-info", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-core", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "xcm", "xcm-executor", "zenlink-protocol", @@ -10439,7 +10357,7 @@ dependencies = [ "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "kusama-runtime", "orml-asset-registry", @@ -10463,13 +10381,13 @@ dependencies = [ "runtime-common", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-core", + "sp-debug-derive", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", + "spacewalk-primitives", "statemine-runtime", "statemint-runtime", "xcm", @@ -10666,8 +10584,8 @@ version = "4.1.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-wasm-interface", "thiserror", ] @@ -10689,12 +10607,12 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10713,12 +10631,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -10729,12 +10647,12 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", ] [[package]] @@ -10751,9 +10669,9 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -10796,12 +10714,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-keyring", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", "thiserror", "tiny-bip39", "tokio", @@ -10820,16 +10738,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", "substrate-prometheus-endpoint", ] @@ -10850,13 +10768,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-database", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -10874,12 +10792,12 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", "substrate-prometheus-endpoint", "thiserror", ] @@ -10898,17 +10816,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10934,17 +10852,17 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10960,14 +10878,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", ] @@ -10991,16 +10909,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -11020,8 +10938,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11035,7 +10953,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -11065,15 +10983,15 @@ dependencies = [ "sc-telemetry", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11093,8 +11011,8 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11111,14 +11029,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -11132,15 +11050,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", "tracing", "wasmi 0.13.2", ] @@ -11152,7 +11070,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-wasm-interface", "thiserror", "wasm-instrument 0.3.0", "wasmi 0.13.2", @@ -11166,8 +11084,8 @@ dependencies = [ "log", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmi 0.13.2", ] @@ -11184,8 +11102,8 @@ dependencies = [ "rustix 0.36.15", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] @@ -11202,7 +11120,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -11214,9 +11132,9 @@ dependencies = [ "async-trait", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -11254,11 +11172,11 @@ dependencies = [ "serde_json", "smallvec", "snow", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -11280,7 +11198,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", "unsigned-varint", ] @@ -11307,7 +11225,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "zeroize", @@ -11327,7 +11245,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-peerset", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -11349,8 +11267,8 @@ dependencies = [ "sc-network-common", "sc-peerset", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11378,12 +11296,12 @@ dependencies = [ "sc-peerset", "sc-utils", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -11404,7 +11322,7 @@ dependencies = [ "sc-peerset", "sc-utils", "sp-consensus", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -11431,10 +11349,10 @@ dependencies = [ "sc-network-common", "sc-peerset", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "threadpool", "tracing", ] @@ -11479,15 +11397,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-keystore", "sp-offchain", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "tokio", ] @@ -11503,10 +11421,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-version", "thiserror", ] @@ -11542,11 +11460,11 @@ dependencies = [ "sc-client-api", "sc-transaction-pool-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-version", "thiserror", "tokio-stream", ] @@ -11594,20 +11512,20 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-state-machine", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-trie", + "sp-version", "static_init 1.0.3", "substrate-prometheus-endpoint", "tempfile", @@ -11625,7 +11543,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", ] [[package]] @@ -11639,7 +11557,7 @@ dependencies = [ "log", "sc-client-db", "sc-utils", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "thiserror", "tokio", ] @@ -11659,7 +11577,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", ] @@ -11677,9 +11595,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -11720,12 +11638,12 @@ dependencies = [ "sc-rpc-server", "sc-tracing-proc-macro", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-tracing", "thiserror", "tracing", "tracing-log", @@ -11760,11 +11678,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -11780,7 +11698,7 @@ dependencies = [ "log", "serde", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "thiserror", ] @@ -11796,7 +11714,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", ] [[package]] @@ -11964,18 +11882,18 @@ dependencies = [ [[package]] name = "security" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", "sha2 0.8.2", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -12230,8 +12148,8 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", ] [[package]] @@ -12318,24 +12236,6 @@ dependencies = [ "sha-1", ] -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", -] - [[package]] name = "sp-api" version = "4.0.0-dev" @@ -12345,31 +12245,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api-proc-macro", + "sp-core", "sp-metadata-ir", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", + "sp-std", + "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-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "Inflector", - "blake2", - "expander 1.0.0", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" @@ -12384,19 +12270,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-application-crypto" version = "7.0.0" @@ -12405,23 +12278,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "static_assertions", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -12434,7 +12293,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "static_assertions", ] @@ -12445,10 +12304,10 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-runtime", + "sp-std", ] [[package]] @@ -12457,10 +12316,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", ] [[package]] @@ -12473,11 +12332,11 @@ dependencies = [ "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus", "sp-database", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12489,10 +12348,10 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12504,13 +12363,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -12523,15 +12382,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -12544,13 +12403,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", "strum", ] @@ -12564,12 +12423,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] @@ -12580,53 +12439,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-timestamp", ] -[[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - [[package]] name = "sp-core" version = "7.0.0" @@ -12658,12 +12474,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -12671,20 +12487,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.7", - "sha3", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "twox-hash", -] - [[package]] name = "sp-core-hashing" version = "5.0.0" @@ -12695,21 +12497,10 @@ dependencies = [ "digest 0.10.7", "sha2 0.10.7", "sha3", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "twox-hash", ] -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "syn 1.0.109", -] - [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" @@ -12717,7 +12508,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing", "syn 2.0.28", ] @@ -12730,16 +12521,6 @@ dependencies = [ "parking_lot 0.12.1", ] -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-debug-derive" version = "5.0.0" @@ -12750,17 +12531,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-externalities" version = "0.13.0" @@ -12768,23 +12538,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", + "sp-std", + "sp-storage", ] [[package]] @@ -12796,37 +12551,12 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "bytes", - "ed25519", - "ed25519-dalek", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "tracing", - "tracing-core", -] - [[package]] name = "sp-io" version = "7.0.0" @@ -12841,14 +12571,14 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-trie", "tracing", "tracing-core", ] @@ -12859,27 +12589,11 @@ version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "lazy_static", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", "strum", ] -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "async-trait", - "futures", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", -] - [[package]] name = "sp-keystore" version = "0.13.0" @@ -12889,8 +12603,8 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", "thiserror", ] @@ -12911,7 +12625,7 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", ] [[package]] @@ -12924,11 +12638,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-core", + "sp-debug-derive", + "sp-runtime", + "sp-std", "thiserror", ] @@ -12940,10 +12654,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -12951,19 +12665,9 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] @@ -12983,29 +12687,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "rustc-hash", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", ] [[package]] @@ -13022,30 +12704,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "static_assertions", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", + "sp-weights", ] [[package]] @@ -13057,27 +12721,15 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" @@ -13097,23 +12749,11 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-api", + "sp-core", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -13124,29 +12764,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", - "tracing", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -13160,38 +12780,20 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", "thiserror", "tracing", ] -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" - [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-storage" version = "7.0.0" @@ -13201,8 +12803,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -13214,31 +12816,19 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-inherents", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "tracing", - "tracing-core", - "tracing-subscriber", -] - [[package]] name = "sp-tracing" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "tracing", "tracing-core", "tracing-subscriber", @@ -13249,8 +12839,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", ] [[package]] @@ -13262,34 +12852,11 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "ahash 0.8.3", - "hash-db", - "hashbrown 0.12.3", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-info", - "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-trie", ] [[package]] @@ -13307,31 +12874,14 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-std", "thiserror", "tracing", "trie-db", "trie-root", ] -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "thiserror", -] - [[package]] name = "sp-version" version = "5.0.0" @@ -13342,24 +12892,13 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core-hashing-proc-macro", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", "thiserror", ] -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" @@ -13371,20 +12910,6 @@ dependencies = [ "syn 2.0.28", ] -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "wasmi 0.13.2", - "wasmtime", -] - [[package]] name = "sp-wasm-interface" version = "7.0.0" @@ -13394,26 +12919,11 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "wasmi 0.13.2", "wasmtime", ] -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "sp-weights" version = "4.0.0" @@ -13423,46 +12933,28 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", -] - -[[package]] -name = "spacewalk-primitives" -version = "1.0.0" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=d05b0015d15ca39cc780889bcc095335e9862a36#d05b0015d15ca39cc780889bcc095335e9862a36" -dependencies = [ - "base58", - "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "hex", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "substrate-stellar-sdk 0.2.4 (git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.40)", + "sp-arithmetic", + "sp-core", + "sp-debug-derive", + "sp-std", ] [[package]] name = "spacewalk-primitives" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "base58", "bstringify", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "hex", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "substrate-stellar-sdk 0.2.4 (git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-std", + "substrate-stellar-sdk", ] [[package]] @@ -13534,23 +13026,23 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staking" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", ] [[package]] @@ -13569,7 +13061,7 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", @@ -13601,18 +13093,18 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13635,7 +13127,7 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-rpc-runtime-api", "log", @@ -13663,18 +13155,18 @@ dependencies = [ "polkadot-runtime-constants", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -13742,21 +13234,21 @@ dependencies = [ [[package]] name = "stellar-relay" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "base64 0.13.1", "currency", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", "sha2 0.10.7", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-core", + "sp-std", + "spacewalk-primitives", ] [[package]] @@ -13839,11 +13331,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", ] [[package]] @@ -13868,7 +13360,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", ] [[package]] @@ -13883,32 +13375,13 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", "trie-db", ] -[[package]] -name = "substrate-stellar-sdk" -version = "0.2.4" -source = "git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.40#0030e2aaedef7b7cb89108a64a7b9569a20d8044" -dependencies = [ - "base64 0.13.1", - "hex", - "lazy_static", - "num-rational", - "scale-info", - "serde", - "serde_json", - "sha2 0.9.9", - "sodalite", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - [[package]] name = "substrate-stellar-sdk" version = "0.2.4" @@ -13923,9 +13396,9 @@ dependencies = [ "serde_json", "sha2 0.9.9", "sodalite", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -14486,7 +13959,7 @@ name = "treasury-buyout-extension" version = "1.0.0" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "mocktopus", "orml-currencies", @@ -14498,12 +13971,12 @@ dependencies = [ "scale-info", "serde", "sha2 0.8.2", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", ] [[package]] @@ -14597,22 +14070,22 @@ dependencies = [ "sc-service", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-debug-derive", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-state-machine", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", + "sp-weights", "substrate-rpc-client", "zstd 0.12.4", ] @@ -14783,14 +14256,14 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "vault-registry" -version = "1.0.4" -source = "git+https://github.com/pendulum-chain/spacewalk?rev=057dc478ca52d66318d4aaa659b0c7dc00b4d062#057dc478ca52d66318d4aaa659b0c7dc00b4d062" +version = "1.0.5" +source = "git+https://github.com/pendulum-chain/spacewalk?rev=3c03e759a6f600ea72d636d4f9cc4b05d633201c#3c03e759a6f600ea72d636d4f9cc4b05d633201c" dependencies = [ "currency", "fee", "fixed-hash 0.7.0", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "oracle", @@ -14806,12 +14279,12 @@ dependencies = [ "scale-info", "security", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "spacewalk-primitives 1.0.4", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "spacewalk-primitives", "staking", ] @@ -14832,16 +14305,16 @@ name = "vesting-manager" version = "0.0.1" dependencies = [ "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "pallet-vesting", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -15561,7 +15034,7 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", @@ -15620,23 +15093,23 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-version", "substrate-wasm-builder", "westend-runtime-constants", "xcm", @@ -15649,13 +15122,13 @@ name = "westend-runtime-constants" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] @@ -16014,7 +15487,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-weights", "xcm-procedural", ] @@ -16023,7 +15496,7 @@ name = "xcm-builder" version = "0.9.42" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "impl-trait-for-tuples", "log", @@ -16031,10 +15504,10 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -16050,7 +15523,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "parachain-info", "parity-scale-codec", @@ -16058,9 +15531,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-parachains", "quote", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-io", + "sp-std", "xcm", "xcm-executor", ] @@ -16072,16 +15545,16 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#6f99 dependencies = [ "environmental", "frame-benchmarking", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", "xcm", ] @@ -16125,7 +15598,7 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "frame-support", "frame-system", "log", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library?rev=4ae0372e2c624e6acc98305564b9d395f70814c0)", @@ -16134,10 +15607,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", "xcm", "xcm-executor", ] @@ -16149,10 +15622,10 @@ source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v dependencies = [ "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", "sp-blockchain", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-runtime", "zenlink-protocol", "zenlink-protocol-runtime-api", ] @@ -16163,8 +15636,8 @@ version = "0.4.4" source = "git+https://github.com/zenlinkpro/Zenlink-DEX-Module?branch=polkadot-v0.9.42#c32bb5f63bcd06dc49ca8a48dd7b7a0f78c358bf" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42)", + "sp-api", + "sp-std", "zenlink-protocol", ] diff --git a/node/Cargo.toml b/node/Cargo.toml index 464ebd291..b3f739e7e 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -15,13 +15,13 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.145", features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server"] } -module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} -module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} -module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} -module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} -module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} +module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} +module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} +module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} +module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} +module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} module-pallet-staking-rpc = { path = "../pallets/parachain-staking/rpc" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} # Local amplitude-runtime = { path = "../runtime/amplitude" } diff --git a/pallets/orml-tokens-management-extension/Cargo.toml b/pallets/orml-tokens-management-extension/Cargo.toml index d01c5a7f2..ef9574896 100644 --- a/pallets/orml-tokens-management-extension/Cargo.toml +++ b/pallets/orml-tokens-management-extension/Cargo.toml @@ -33,7 +33,7 @@ sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0. pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} [features] diff --git a/pallets/parachain-staking/rpc/Cargo.toml b/pallets/parachain-staking/rpc/Cargo.toml index be8405225..81b84b2c6 100644 --- a/pallets/parachain-staking/rpc/Cargo.toml +++ b/pallets/parachain-staking/rpc/Cargo.toml @@ -7,7 +7,7 @@ version = "1.0.0" [dependencies] codec = {package = "parity-scale-codec", version = "3.0.0"} jsonrpsee = {version = "0.16.0", features = ["server", "macros"]} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} module-pallet-staking-rpc-runtime-api = {path = "runtime-api"} sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} diff --git a/pallets/parachain-staking/rpc/runtime-api/Cargo.toml b/pallets/parachain-staking/rpc/runtime-api/Cargo.toml index 46fcde9c6..23a8fbe21 100644 --- a/pallets/parachain-staking/rpc/runtime-api/Cargo.toml +++ b/pallets/parachain-staking/rpc/runtime-api/Cargo.toml @@ -10,7 +10,7 @@ sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0 sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42", default-features = false} parity-scale-codec = {version = "3.1.5", default-features = false, features = ["derive"]} scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062"} +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} serde = {version = "1.0.142", default-features = false, optional = true, features = ["derive"]} [features] diff --git a/pallets/treasury-buyout-extension/Cargo.toml b/pallets/treasury-buyout-extension/Cargo.toml index d28b60544..3a8562b42 100644 --- a/pallets/treasury-buyout-extension/Cargo.toml +++ b/pallets/treasury-buyout-extension/Cargo.toml @@ -32,7 +32,7 @@ sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0. pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42"} -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "d05b0015d15ca39cc780889bcc095335e9862a36"} +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c"} [features] default = ["std"] diff --git a/runtime/amplitude/Cargo.toml b/runtime/amplitude/Cargo.toml index 5923d8c5a..8c5f9ab8b 100644 --- a/runtime/amplitude/Cargo.toml +++ b/runtime/amplitude/Cargo.toml @@ -28,27 +28,27 @@ smallvec = "1.9.0" runtime-common = { path = "../common", default-features = false } # Custom libraries for Spacewalk -clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } -pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } # Substrate diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index a7f2c4b22..db9deed3f 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -33,7 +33,7 @@ orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-modu dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", default-features = false, branch = "polkadot-v0.9.42" } zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", default-features = false, branch = "polkadot-v0.9.42" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } [features] default = [ diff --git a/runtime/foucoco/Cargo.toml b/runtime/foucoco/Cargo.toml index 8d942efa1..93cb0b82c 100644 --- a/runtime/foucoco/Cargo.toml +++ b/runtime/foucoco/Cargo.toml @@ -28,27 +28,27 @@ cfg-if = "1.0.0" runtime-common = { path = "../common", default-features = false } # custom libraries from spacewalk -clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } -module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } # Substrate diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index fa72bde98..3b3c29251 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -11,7 +11,7 @@ scale-info = { version = "2.1.2", features = ["derive"] } serde = { version = "1.0.144", features = ["derive"] } # Spacewalk libraries -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } diff --git a/runtime/pendulum/Cargo.toml b/runtime/pendulum/Cargo.toml index a19a97a48..5753ee8fc 100644 --- a/runtime/pendulum/Cargo.toml +++ b/runtime/pendulum/Cargo.toml @@ -27,27 +27,27 @@ smallvec = "1.9.0" runtime-common = { path = "../common", default-features = false } # Custom libraries for Spacewalk -clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } module-pallet-staking-rpc-runtime-api = { path = "../../pallets/parachain-staking/rpc/runtime-api", default-features = false } -pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } -reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "057dc478ca52d66318d4aaa659b0c7dc00b4d062" } +pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } +reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "3c03e759a6f600ea72d636d4f9cc4b05d633201c" } # Substrate frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.42" } From caf8bd45d88b907e1e2759669bc4520781f0d59b Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Tue, 19 Mar 2024 16:25:47 -0300 Subject: [PATCH 87/89] fix to compile with try runtime --- Cargo.lock | 1 + node/Cargo.toml | 1 + node/src/command.rs | 30 ++++++++++++++++--- .../src/benchmarking/orml_asset_registry.rs | 2 -- 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5f00bb014..ced9b71ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7920,6 +7920,7 @@ dependencies = [ "sp-blockchain", "sp-consensus-aura", "sp-core", + "sp-io", "sp-keystore", "sp-offchain", "sp-runtime", diff --git a/node/Cargo.toml b/node/Cargo.toml index b3f739e7e..cf44d9db0 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -62,6 +62,7 @@ sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkad sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" } diff --git a/node/src/command.rs b/node/src/command.rs index 20d73b1d6..13f94ce26 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -15,6 +15,12 @@ use sc_service::config::{BasePath, PrometheusConfig}; use sp_core::hexdisplay::HexDisplay; use sp_runtime::traits::{AccountIdConversion, Block as BlockT}; +#[cfg(feature = "try-runtime")] +use try_runtime_cli::block_building_info::substrate_info; + +#[cfg(feature = "try-runtime")] +use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; + use crate::{ chain_spec::{self, ParachainExtensions}, cli::{Cli, RelayChainCli, Subcommand}, @@ -23,6 +29,11 @@ use crate::{ }, }; +#[cfg(feature = "try-runtime")] +/// The time internavel for block production on our chain in milliseconds (12 +/// seconds to millis) +const BLOCK_TIME_MILLIS: u64 = 12 * 1_000; + #[derive(PartialEq, Eq)] enum ChainIdentity { Amplitude, @@ -240,6 +251,8 @@ macro_rules! construct_async_run { }} } + + /// Parse command line arguments into service configuration. pub fn run() -> Result<()> { let cli = Cli::from_args(); @@ -361,18 +374,27 @@ pub fn run() -> Result<()> { // grab the task manager. let registry = &runner.config().prometheus_config.as_ref().map(|cfg| &cfg.registry); let task_manager = - TaskManager::new(runner.config().tokio_handle.clone(), *registry) + sc_service::TaskManager::new(runner.config().tokio_handle.clone(), *registry) .map_err(|e| format!("Error: {:?}", e))?; match runner.config().chain_spec.identify() { ChainIdentity::Amplitude => runner.async_run(|config| { - Ok((cmd.run::(config), task_manager)) + Ok((cmd.run::::ExtendHostFunctions, + >, _>(Some(substrate_info(BLOCK_TIME_MILLIS))), task_manager)) }), ChainIdentity::Foucoco => runner.async_run(|config| { - Ok((cmd.run::(config), task_manager)) + Ok((cmd.run::::ExtendHostFunctions, + >, _>(Some(substrate_info(BLOCK_TIME_MILLIS))), task_manager)) }), ChainIdentity::Pendulum => runner.async_run(|config| { - Ok((cmd.run::(config), task_manager)) + Ok((cmd.run::::ExtendHostFunctions, + >, _>(Some(substrate_info(BLOCK_TIME_MILLIS))), task_manager)) }), } } else { diff --git a/runtime/common/src/benchmarking/orml_asset_registry.rs b/runtime/common/src/benchmarking/orml_asset_registry.rs index a6ee85563..d9ee9bc64 100644 --- a/runtime/common/src/benchmarking/orml_asset_registry.rs +++ b/runtime/common/src/benchmarking/orml_asset_registry.rs @@ -5,13 +5,11 @@ use frame_system::RawOrigin; use orml_asset_registry::AssetMetadata; use sp_runtime::BoundedVec; use sp_std::{vec, vec::Vec}; -use crate::asset_registry::{CustomMetadata, DiaKeys}; use spacewalk_primitives::CurrencyId; use xcm::{ latest::MultiLocation, opaque::lts::{Junction::*, Junctions::*}, }; -use sp_runtime::BoundedVec; pub struct Pallet(orml_asset_registry::Pallet); pub trait Config: From d7ac3abfcc6e7e814265dfdb3b3dbead9c2995e6 Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Wed, 20 Mar 2024 09:15:04 -0300 Subject: [PATCH 88/89] Revert "merged with fee per second" This reverts commit ed05812896ae5644555810187731053417fbe0d5, reversing changes made to 04583a8dcdc5cb7625c818ab4c8618b26fb988f9. --- Cargo.lock | 1 - node/src/chain_spec.rs | 3 +- node/src/constants/foucoco.rs | 1 - runtime/amplitude/src/xcm_config.rs | 166 +++++++++++++-- runtime/common/src/asset_registry.rs | 25 +-- .../src/benchmarking/orml_asset_registry.rs | 2 - runtime/common/src/lib.rs | 28 ++- runtime/foucoco/src/xcm_config.rs | 43 ++-- runtime/integration-tests/Cargo.toml | 1 - .../integration-tests/src/amplitude_tests.rs | 7 +- runtime/integration-tests/src/mock.rs | 196 +----------------- .../integration-tests/src/pendulum_tests.rs | 9 +- runtime/integration-tests/src/test_macros.rs | 5 +- runtime/pendulum/src/xcm_config.rs | 177 ++++++++++++++-- 14 files changed, 368 insertions(+), 296 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ced9b71ba..adf6769e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10361,7 +10361,6 @@ dependencies = [ "frame-support", "frame-system", "kusama-runtime", - "orml-asset-registry", "orml-tokens 0.4.1-dev (git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.42)", "orml-traits", "orml-xcm", diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 0f4dcc292..3761542df 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -537,9 +537,8 @@ fn foucoco_genesis( let token_balances = balances .iter() - .flat_map(|k| vec![(k.0.clone(), XCM(0), 10*u128::pow(10, 18)), (k.0.clone(), XCM(6), 10*u128::pow(10, 18)), (k.0.clone(), CurrencyId::StellarNative, 10*u128::pow(10, 18))]) + .flat_map(|k| vec![(k.0.clone(), XCM(0), u128::pow(10, 18))]) .collect(); - let stakers: Vec<_> = invulnerables .iter() diff --git a/node/src/constants/foucoco.rs b/node/src/constants/foucoco.rs index 7ff9041fc..e349b20ac 100644 --- a/node/src/constants/foucoco.rs +++ b/node/src/constants/foucoco.rs @@ -10,7 +10,6 @@ pub const COLLATOR_ADDITIONAL: Balance = 10 * UNIT; pub const OFF_CHAIN_WORKER_ADDRESS: &str = "6m69vWMouLarYCbJGJisVaDDpfNGETkD5hsDWf2T7osW4Cn1"; - pub const TOKEN_DECIMALS: u32 = 12; pub const INITIAL_SUDO_SIGNATORIES: [&str; 5] = [ diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 23437afd1..886836f99 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -1,10 +1,12 @@ use core::marker::PhantomData; use frame_support::{ - log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing, ProcessMessageError}, + log, match_types, + pallet_prelude::DispatchError, + parameter_types, + traits::{tokens::fungibles, ContainsPair, Everything, Nothing, ProcessMessageError}, + weights::{Weight, WeightToFee as WeightToFeeTrait}, }; -use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, parameter_type_with_key, @@ -16,15 +18,21 @@ use sp_runtime::traits::Convert; use xcm::latest::{prelude::*, Weight as XCMWeight}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, - ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, - SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, + AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, + FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, + SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, + SovereignSignedViaLocation, TakeWeightCredit, +}; +use xcm_executor::{ + traits::{JustTry, ShouldExecute}, + XcmExecutor, }; -use xcm_executor::{traits::ShouldExecute, XcmExecutor}; -use runtime_common::{parachains::kusama::asset_hub, asset_registry::FixedConversionRateProvider}; +use runtime_common::{parachains::kusama::asset_hub, RelativeValue}; -use cumulus_primitives_utility::XcmFeesTo32ByteAccount; +use cumulus_primitives_utility::{ + ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, +}; use crate::{ assets::{ @@ -35,9 +43,9 @@ use crate::{ }; use super::{ - AccountId, AmplitudeTreasuryAccount, AssetRegistry, Balance, Balances, Currencies, CurrencyId, - ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - XcmpQueue, + AccountId, AmplitudeTreasuryAccount, Balance, Balances, Currencies, CurrencyId, ParachainInfo, + ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, Tokens, + WeightToFee, XcmpQueue, }; use frame_system::EnsureRoot; @@ -108,6 +116,23 @@ impl Convert> for CurrencyIdConvert { } } +type RelativeValueOf = RelativeValue; + +pub struct RelayRelativeValue; +impl RelayRelativeValue { + fn get_relative_value(id: CurrencyId) -> Option { + match id { + CurrencyId::XCM(index) => match index { + xcm_assets::RELAY_KSM => Some(RelativeValueOf { num: 100, denominator: 1 }), + xcm_assets::ASSETHUB_USDT => Some(RelativeValueOf { num: 20, denominator: 4 }), + _ => None, + }, + CurrencyId::Native => Some(RelativeValueOf { num: 1, denominator: 1 }), + _ => Some(RelativeValueOf { num: 1, denominator: 1 }), + } + } +} + /// Convert an incoming `MultiLocation` into a `CurrencyId` if possible. /// Here we need to know the canonical representation of all the tokens we handle in order to /// correctly convert their `MultiLocation` representation into our internal `CurrencyId` type. @@ -178,6 +203,13 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 2; } +match_types! { + pub type ParentOrParentsExecutivePlurality: impl Contains = { + MultiLocation { parents: 1, interior: Here } | + MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } + }; +} + //TODO: move DenyThenTry to polkadot's xcm module. /// Deny executing the xcm message if it matches any of the Deny filter regardless of anything else. /// If it passes the Deny, and matches one of the Allow cases then it is let through. @@ -259,10 +291,112 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); -pub type Traders = AssetRegistryTrader< - FixedRateAssetRegistryTrader>, - XcmFeesTo32ByteAccount, ->; +pub struct ChargeWeightInFungiblesImplementation; +impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { + fn charge_weight_in_fungibles( + asset_id: CurrencyId, + weight: Weight, + ) -> Result { + let amount = ::weight_to_fee(&weight); + + if let Some(relative_value) = RelayRelativeValue::get_relative_value(asset_id) { + let adjusted_amount = + RelativeValue::::divide_by_relative_value(amount, relative_value); + log::info!("amount to be charged: {:?} in asset: {:?}", adjusted_amount, asset_id); + return Ok(adjusted_amount) + } else { + log::info!("amount to be charged: {:?} in asset: {:?}", amount, asset_id); + return Ok(amount) + } + } +} + +// Workarround for TakeFirstAssetTrader +use frame_support::traits::tokens::{ + DepositConsequence, Fortitude, Preservation, Provenance, WithdrawConsequence, +}; + +pub struct ConcreteAssets; +impl fungibles::Mutate for ConcreteAssets {} +impl fungibles::Balanced for ConcreteAssets { + type OnDropCredit = fungibles::DecreaseIssuance; + type OnDropDebt = fungibles::IncreaseIssuance; +} +impl fungibles::Inspect for ConcreteAssets { + type AssetId = >::AssetId; + type Balance = >::Balance; + + fn minimum_balance(id: Self::AssetId) -> Self::Balance { + Tokens::minimum_balance(id) + } + + fn total_issuance(asset_id: Self::AssetId) -> Self::Balance { + Tokens::total_issuance(asset_id) + } + + fn balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn total_balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn reducible_balance( + _: Self::AssetId, + _: &AccountId, + _: Preservation, + _: Fortitude, + ) -> Self::Balance { + todo!() + } + + fn can_deposit( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + _: Provenance, + ) -> DepositConsequence { + todo!() + } + + fn can_withdraw( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> WithdrawConsequence { + todo!() + } + + fn asset_exists(_: Self::AssetId) -> bool { + todo!() + } +} +impl fungibles::Unbalanced for ConcreteAssets { + fn handle_dust(_: fungibles::Dust) { + todo!() + } + fn write_balance( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> Result, DispatchError> { + todo!() + } + + fn set_total_issuance(_: Self::AssetId, _: Self::Balance) { + todo!() + } +} +pub type Traders = ( + TakeFirstAssetTrader< + AccountId, + ChargeWeightInFungiblesImplementation, + ConvertedConcreteId, + ConcreteAssets, + XcmFeesTo32ByteAccount, + >, +); pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { diff --git a/runtime/common/src/asset_registry.rs b/runtime/common/src/asset_registry.rs index 14e35cc05..4ffd1dd94 100644 --- a/runtime/common/src/asset_registry.rs +++ b/runtime/common/src/asset_registry.rs @@ -1,18 +1,16 @@ use crate::*; use frame_support::traits::AsEnsureOriginWithArg; use frame_system::EnsureRoot; -use orml_traits::{FixedConversionRateProvider as FixedConversionRateProviderTrait, - asset_registry::{AssetMetadata, AssetProcessor, Inspect}}; +use orml_traits::asset_registry::{AssetMetadata, AssetProcessor}; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; use sp_core::Get; -use sp_runtime::{BoundedVec, DispatchError, traits::PhantomData}; +use sp_runtime::{BoundedVec, DispatchError}; use sp_std::fmt::Debug; use spacewalk_primitives::CurrencyId; -use xcm::opaque::v3::MultiLocation; #[derive(Clone, PartialOrd, Ord, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)] -pub struct StringLimit; +pub struct StringLimit; impl Get for StringLimit { fn get() -> u32 { 50 @@ -56,20 +54,3 @@ impl AssetProcessor> for Cust } pub type AssetAuthority = AsEnsureOriginWithArg>; - - -pub struct FixedConversionRateProvider(PhantomData); - -impl< - OrmlAssetRegistry: Inspect< - AssetId = CurrencyId, - Balance = Balance, - CustomMetadata = asset_registry::CustomMetadata, - >, - > FixedConversionRateProviderTrait for FixedConversionRateProvider -{ - fn get_fee_per_second(location: &MultiLocation) -> Option { - let metadata = OrmlAssetRegistry::metadata_by_location(location)?; - Some(metadata.additional.fee_per_second) - } -} \ No newline at end of file diff --git a/runtime/common/src/benchmarking/orml_asset_registry.rs b/runtime/common/src/benchmarking/orml_asset_registry.rs index d9ee9bc64..b6148a3ca 100644 --- a/runtime/common/src/benchmarking/orml_asset_registry.rs +++ b/runtime/common/src/benchmarking/orml_asset_registry.rs @@ -1,9 +1,7 @@ -use crate::asset_registry::{CustomMetadata, DiaKeys}; use frame_benchmarking::v2::benchmarks; use frame_support::assert_ok; use frame_system::RawOrigin; use orml_asset_registry::AssetMetadata; -use sp_runtime::BoundedVec; use sp_std::{vec, vec::Vec}; use spacewalk_primitives::CurrencyId; use xcm::{ diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 627003f96..0de451eab 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -2,7 +2,7 @@ #![allow(non_snake_case)] use sp_runtime::{ - traits::{IdentifyAccount, Verify}, + traits::{CheckedDiv, IdentifyAccount, Saturating, Verify}, DispatchError, MultiSignature, }; @@ -70,6 +70,29 @@ pub mod opaque { pub type BlockId = generic::BlockId; } +pub struct RelativeValue { + pub num: Amount, + pub denominator: Amount, +} + +impl + Saturating + Clone> RelativeValue { + pub fn divide_by_relative_value( + amount: Amount, + relative_value: RelativeValue, + ) -> Amount { + // Calculate the adjusted amount + if let Some(adjusted_amount) = amount + .clone() + .saturating_mul(relative_value.denominator) + .checked_div(&relative_value.num) + { + return adjusted_amount + } + // We should never specify a numerator of 0, but just to be safe + return amount + } +} + #[macro_use] pub mod parachains { @@ -167,8 +190,7 @@ pub mod parachains { // The address of the BRZ token on Moonbeam `0x3225edCe8aD30Ae282e62fa32e7418E4b9cf197b` as byte array pub const BRZ_ASSET_ACCOUNT_IN_BYTES: [u8; 20] = [ - 50, 37, 237, 206, 138, 211, 10, 226, 130, 230, 47, 163, 46, 116, 24, 228, 185, 207, - 25, 123, + 50, 37, 237, 206, 138, 211, 10, 226, 130, 230, 47, 163, 46, 116, 24, 228, 185, 207, 25, 123 ]; parachain_asset_location!( diff --git a/runtime/foucoco/src/xcm_config.rs b/runtime/foucoco/src/xcm_config.rs index d595da8b8..c666b6b68 100644 --- a/runtime/foucoco/src/xcm_config.rs +++ b/runtime/foucoco/src/xcm_config.rs @@ -4,7 +4,6 @@ use frame_support::{ log, match_types, parameter_types, traits::{ConstU32, ContainsPair, Everything, Nothing, ProcessMessageError}, }; -use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, parameter_type_with_key, @@ -16,14 +15,13 @@ use polkadot_runtime_common::impls::ToAuthor; use sp_runtime::traits::Convert; use xcm::latest::{prelude::*, Weight as XCMWeight}; use xcm_builder::{ - AccountId32Aliases, AllowUnpaidExecutionFrom, AllowSubscriptionsFrom,AllowTopLevelPaidExecutionFrom, AllowKnownQueryResponses, EnsureXcmOrigin, FixedWeightBounds, + AccountId32Aliases, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, - SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, + SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, UsingComponents, }; use xcm_executor::{traits::ShouldExecute, XcmExecutor}; -use cumulus_primitives_utility::XcmFeesTo32ByteAccount; -use runtime_common::{parachains::moonbase_alpha_relay::moonbase_alpha, asset_registry::FixedConversionRateProvider}; +use runtime_common::parachains::moonbase_alpha_relay::moonbase_alpha; use crate::assets::{ native_locations::{native_location_external_pov, native_location_local_pov}, @@ -31,7 +29,7 @@ use crate::assets::{ }; use super::{ - AccountId, AssetRegistry, Balance, Balances, Currencies, CurrencyId, FoucocoTreasuryAccount, ParachainInfo, + AccountId, Balance, Balances, Currencies, CurrencyId, FoucocoTreasuryAccount, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmpQueue, }; @@ -172,6 +170,13 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 2; } +match_types! { + pub type ParentOrParentsExecutivePlurality: impl Contains = { + MultiLocation { parents: 1, interior: Here } | + MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } + }; +} + //TODO: move DenyThenTry to polkadot's xcm module. /// Deny executing the xcm message if it matches any of the Deny filter regardless of anything else. /// If it passes the Deny, and matches one of the Allow cases then it is let through. @@ -235,28 +240,7 @@ impl ShouldExecute for DenyReserveTransferToRelayChain { } } -match_types! { - pub type ParentOrParentsPlurality: impl Contains = { - MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(Plurality { .. }) } - }; -} - -pub type Barrier = ( - TakeWeightCredit, - AllowTopLevelPaidExecutionFrom, - // Parent and its plurality get free execution - AllowUnpaidExecutionFrom, - // Expected responses are OK. - AllowKnownQueryResponses, - // Subscriptions for version tracking are OK. - AllowSubscriptionsFrom, -); - -pub type Traders = AssetRegistryTrader< - FixedRateAssetRegistryTrader>, - XcmFeesTo32ByteAccount, ->; +pub type Barrier = AllowUnpaidExecutionFrom; pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { @@ -271,7 +255,8 @@ impl xcm_executor::Config for XcmConfig { type UniversalLocation = UniversalLocation; type Barrier = Barrier; type Weigher = FixedWeightBounds; - type Trader = Traders; + type Trader = + UsingComponents>; type ResponseHandler = PolkadotXcm; type AssetTrap = PolkadotXcm; type AssetLocker = (); diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 3b3c29251..ec73898f0 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -48,7 +48,6 @@ parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polk statemint-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42" } statemine-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.42" } -orml-asset-registry = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false, branch = "polkadot-v0.9.42" } orml-xcm = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.42" } orml-xcm-support = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.42" } orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.42" } diff --git a/runtime/integration-tests/src/amplitude_tests.rs b/runtime/integration-tests/src/amplitude_tests.rs index 67c2341c8..972eeb290 100644 --- a/runtime/integration-tests/src/amplitude_tests.rs +++ b/runtime/integration-tests/src/amplitude_tests.rs @@ -16,10 +16,9 @@ use statemine_runtime as kusama_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; -// Native fee expected for each token according to the `fee_per_second` values defined in the mock -const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; -const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN / 20; -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN / 10; +const KSM_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 32000000; +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 640000000; +const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 3200000000; decl_test_relay_chain! { pub struct KusamaRelay { diff --git a/runtime/integration-tests/src/mock.rs b/runtime/integration-tests/src/mock.rs index 03c8cea5c..0182e3f22 100644 --- a/runtime/integration-tests/src/mock.rs +++ b/runtime/integration-tests/src/mock.rs @@ -1,5 +1,4 @@ use crate::{sibling, AMPLITUDE_ID, ASSETHUB_ID, PENDULUM_ID, SIBLING_ID}; -use amplitude_runtime::CurrencyId as AmplitudeCurrencyId; use frame_support::traits::GenesisBuild; use pendulum_runtime::CurrencyId as PendulumCurrencyId; use polkadot_core_primitives::{AccountId, Balance, BlockNumber}; @@ -11,18 +10,7 @@ use sp_io::TestExternalities; use sp_runtime::traits::AccountIdConversion; use xcm_emulator::Weight; -use codec::Encode; -use frame_support::BoundedVec; -use runtime_common::asset_registry::{CustomMetadata, DiaKeys, StringLimit}; - -use xcm::{ - v3::{Junction::PalletInstance, Junctions::X1, MultiLocation}, - VersionedMultiLocation, -}; - -use runtime_common::parachains::polkadot::{ - asset_hub, moonbeam, moonbeam::PARA_ID as MOONBEAM_PARA_ID, -}; +use runtime_common::parachains::polkadot::moonbeam::PARA_ID as MOONBEAM_PARA_ID; use statemine_runtime as kusama_asset_hub_runtime; use statemint_runtime as polkadot_asset_hub_runtime; @@ -96,36 +84,6 @@ macro_rules! build_parachain_with_orml { }}; } -macro_rules! build_parachain_with_orml_and_asset_registry { - ($self:ident, $runtime:ty, $system:tt, $balance:tt, $orml_balance:tt, $currency_id_type:ty, $registry_assets:tt) => {{ - let mut t = frame_system::GenesisConfig::default().build_storage::<$runtime>().unwrap(); - pallet_balances::GenesisConfig::<$runtime> { - balances: vec![(AccountId::from(ALICE), $balance), (AccountId::from(BOB), $balance)], - } - .assimilate_storage(&mut t) - .unwrap(); - - type CurrencyId = $currency_id_type; - orml_tokens::GenesisConfig::<$runtime> { - balances: vec![ - (AccountId::from(BOB), CurrencyId::XCM(0), units($orml_balance)), - (AccountId::from(ALICE), CurrencyId::XCM(0), units($orml_balance)), - ], - } - .assimilate_storage(&mut t) - .unwrap(); - - orml_asset_registry::GenesisConfig::<$runtime> { - assets: $registry_assets, - last_asset_id: CurrencyId::Native, - } - .assimilate_storage(&mut t) - .unwrap(); - - build_parachain!($self, $runtime, $system, t) - }}; -} - macro_rules! build_parachain { ($self:ident, $runtime:ty, $system:tt) => {{ let mut t = frame_system::GenesisConfig::default().build_storage::<$runtime>().unwrap(); @@ -222,147 +180,7 @@ fn default_parachains_host_configuration() -> HostConfiguration { ..Default::default() } } -fn assets_metadata_for_registry_pendulum() -> Vec<(PendulumCurrencyId, Vec)> { - vec![ - ( - PendulumCurrencyId::Native, - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Pendulum".as_bytes().to_vec(), - symbol: "PEN".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::new( - 0, - X1(PalletInstance(10)), - ))), - additional: CustomMetadata { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(1), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "USDT Assethub".as_bytes().to_vec(), - symbol: "USDT".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3(asset_hub::USDT_location())), - additional: CustomMetadata { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT/2, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(0), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Polkadot".as_bytes().to_vec(), - symbol: "DOT".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::parent())), - additional: CustomMetadata { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT/4, - }, - } - .encode(), - ), - ( - PendulumCurrencyId::XCM(6), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Moonbeam BRZ".as_bytes().to_vec(), - symbol: "BRZ".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(xcm::VersionedMultiLocation::V3(moonbeam::BRZ_location())), - additional: CustomMetadata { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: 2*UNIT, - }, - } - .encode(), - ), - ] -} -fn assets_metadata_for_registry_amplitude() -> Vec<(AmplitudeCurrencyId, Vec)> { - vec![ - ( - AmplitudeCurrencyId::Native, - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Amplitude".as_bytes().to_vec(), - symbol: "AMPE".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::new( - 0, - X1(PalletInstance(10)), - ))), - additional: CustomMetadata { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT, - }, - } - .encode(), - ), - ( - AmplitudeCurrencyId::XCM(1), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "USDT Assethub".as_bytes().to_vec(), - symbol: "USDT".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3(asset_hub::USDT_location())), - additional: CustomMetadata { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT/10, - }, - } - .encode(), - ), - ( - AmplitudeCurrencyId::XCM(0), - orml_asset_registry::AssetMetadata { - decimals: 12u32, - name: "Kusama".as_bytes().to_vec(), - symbol: "KSM".as_bytes().to_vec(), - existential_deposit: 1_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::parent())), - additional: CustomMetadata { - dia_keys: DiaKeys:: { - blockchain: BoundedVec::truncate_from(vec![1, 2, 3]), - symbol: BoundedVec::truncate_from(vec![1, 2, 3]), - }, - fee_per_second: UNIT/20, - }, - } - .encode(), - ), - ] -} pub fn para_ext(chain: ParachainType) -> sp_io::TestExternalities { match chain { ParachainType::PolkadotAssetHub => @@ -408,31 +226,27 @@ impl Builder for ExtBuilderParachain { } fn build(self) -> TestExternalities { - let assets_metadata_pendulum = assets_metadata_for_registry_pendulum(); - let assets_metadata_amplitude = assets_metadata_for_registry_amplitude(); match self.chain { ParachainType::Pendulum => { use pendulum_runtime::{Runtime, System}; - build_parachain_with_orml_and_asset_registry!( + build_parachain_with_orml!( self, Runtime, System, NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, - PendulumCurrencyId, - assets_metadata_pendulum + PendulumCurrencyId ) }, ParachainType::Amplitude => { use amplitude_runtime::{Runtime, System}; - build_parachain_with_orml_and_asset_registry!( + build_parachain_with_orml!( self, Runtime, System, NATIVE_INITIAL_BALANCE, ORML_INITIAL_BALANCE, - AmplitudeCurrencyId, - assets_metadata_amplitude + PendulumCurrencyId ) }, _ => panic!("cannot use this chain to build"), diff --git a/runtime/integration-tests/src/pendulum_tests.rs b/runtime/integration-tests/src/pendulum_tests.rs index 80df82ece..9e317eb35 100644 --- a/runtime/integration-tests/src/pendulum_tests.rs +++ b/runtime/integration-tests/src/pendulum_tests.rs @@ -18,11 +18,10 @@ use statemint_runtime as polkadot_asset_hub_runtime; use xcm::latest::NetworkId; use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain, TestExt}; -// Native fee expected for each token according to the `fee_per_second` values defined in the mock -const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 4000000000; -const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN /4; -const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 2*NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN; -const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN /2; +const DOT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 32653061; //The fees that relay chain will charge when transfer DOT to parachain. sovereign account of some parachain will receive transfer_amount - DOT_FEE +const MOONBEAM_BRZ_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 1391304347; //Fees that we will charge in incoming Moonbeam's BRZ. Depends on the RelativeValue struct implementation. +const USDT_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 266666666; +const NATIVE_FEE_WHEN_TRANSFER_TO_PARACHAIN: polkadot_core_primitives::Balance = 3200000000; decl_test_relay_chain! { pub struct PolkadotRelay { diff --git a/runtime/integration-tests/src/test_macros.rs b/runtime/integration-tests/src/test_macros.rs index 0ee5f11cc..1eed61c4c 100644 --- a/runtime/integration-tests/src/test_macros.rs +++ b/runtime/integration-tests/src/test_macros.rs @@ -236,13 +236,12 @@ macro_rules! parachain1_transfer_incorrect_asset_to_parachain2_should_fail { $parachain2::execute_with(|| { use $para2_runtime::{RuntimeEvent, System}; - //since the asset registry trader cannot find the fee per second for the asset, - //it will return TooExpensive error. + //most likely this is not emitid because buy execution fails assert!(System::events().iter().any(|r| matches!( r.event, RuntimeEvent::XcmpQueue(cumulus_pallet_xcmp_queue::Event::Fail { message_hash: _, - error: xcm::v3::Error::TooExpensive, + error: xcm::v3::Error::AssetNotFound, weight: _ }) ))); diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index d982a5ed8..cec1daef0 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -1,11 +1,15 @@ use core::marker::PhantomData; -use cumulus_primitives_utility::XcmFeesTo32ByteAccount; +use cumulus_primitives_utility::{ + ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, +}; use frame_support::{ - log, match_types, parameter_types, - traits::{ContainsPair, Everything, Nothing, ProcessMessageError}, + log, match_types, + pallet_prelude::DispatchError, + parameter_types, + traits::{tokens::fungibles, ContainsPair, Everything, Nothing, ProcessMessageError}, + weights::{Weight, WeightToFee as WeightToFeeTrait}, }; -use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{ location::{RelativeReserveProvider, Reserve}, parameter_type_with_key, @@ -18,16 +22,20 @@ use sp_runtime::traits::Convert; use xcm::latest::{prelude::*, Weight as XCMWeight}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, - ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, - SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, + AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, + FixedWeightBounds, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, + SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, + SovereignSignedViaLocation, TakeWeightCredit, +}; +use xcm_executor::{ + traits::{JustTry, ShouldExecute}, + XcmExecutor, }; -use xcm_executor::{traits::ShouldExecute, XcmExecutor}; use runtime_common::{ custom_transactor::{AssetData, AutomationPalletConfig, CustomTransactorInterceptor}, parachains::polkadot::{asset_hub, equilibrium, moonbeam, polkadex}, - asset_registry::FixedConversionRateProvider, + RelativeValue, }; use crate::{ @@ -43,9 +51,9 @@ use crate::{ }; use super::{ - AccountId, AssetRegistry, Balance, Balances, Currencies, CurrencyId, ParachainInfo, - ParachainSystem, PendulumTreasuryAccount, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, - RuntimeOrigin, System, XcmpQueue, + AccountId, Balance, Balances, Currencies, CurrencyId, ParachainInfo, ParachainSystem, + PendulumTreasuryAccount, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, + System, Tokens, WeightToFee, XcmpQueue, }; use frame_system::EnsureRoot; @@ -98,6 +106,30 @@ impl Convert> for CurrencyIdConvert { } } +type RelativeValueOf = RelativeValue; + +pub struct RelayRelativeValue; +impl RelayRelativeValue { + fn get_relative_value(id: CurrencyId) -> Option { + match id { + CurrencyId::XCM(f) => match f { + xcm_assets::RELAY_DOT => Some(RelativeValueOf { num: 98, denominator: 1 }), + xcm_assets::ASSETHUB_USDT => Some(RelativeValueOf { num: 12, denominator: 1 }), + xcm_assets::ASSETHUB_USDC => Some(RelativeValueOf { num: 12, denominator: 1 }), + xcm_assets::EQUILIBRIUM_EQD => Some(RelativeValueOf { num: 12, denominator: 1 }), + xcm_assets::MOONBEAM_BRZ => Some(RelativeValueOf { num: 23, denominator: 10 }), + xcm_assets::POLKADEX_PDEX => Some(RelativeValueOf { num: 14, denominator: 1 }), + xcm_assets::MOONBEAM_GLMR => Some(RelativeValueOf { num: 55, denominator: 10 }), + _ => None, + }, + + CurrencyId::Native => Some(RelativeValueOf { num: 1, denominator: 1 }), + assets::tokens::EURC_ID => Some(RelativeValueOf { num: 13, denominator: 1 }), + _ => Some(RelativeValueOf { num: 10, denominator: 1 }), + } + } +} + impl Convert> for CurrencyIdConvert { fn convert(location: MultiLocation) -> Option { match location { @@ -190,6 +222,13 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 2; } +match_types! { + pub type ParentOrParentsExecutivePlurality: impl Contains = { + MultiLocation { parents: 1, interior: Here } | + MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } + }; +} + //TODO: move DenyThenTry to polkadot's xcm module. /// Deny executing the xcm message if it matches any of the Deny filter regardless of anything else. /// If it passes the Deny, and matches one of the Allow cases then it is let through. @@ -271,10 +310,28 @@ pub type Barrier = ( AllowSubscriptionsFrom, ); -pub type Traders = AssetRegistryTrader< - FixedRateAssetRegistryTrader>, - XcmFeesTo32ByteAccount, ->; +pub struct ChargeWeightInFungiblesImplementation; +impl ChargeWeightInFungibles for ChargeWeightInFungiblesImplementation { + fn charge_weight_in_fungibles( + asset_id: CurrencyId, + weight: Weight, + ) -> Result { + let amount = ::weight_to_fee(&weight); + + // since this is calibrated (in theory) for the native of the relay + // we should just have a multiplier for relative "value" of that token + // and adjust the amount inversily proportional to the value + if let Some(relative_value) = RelayRelativeValue::get_relative_value(asset_id) { + let adjusted_amount = + RelativeValue::::divide_by_relative_value(amount, relative_value); + log::info!("amount to be charged: {:?} in asset: {:?}", adjusted_amount, asset_id); + return Ok(adjusted_amount) + } else { + log::info!("amount to be charged: {:?} in asset: {:?}", amount, asset_id); + return Ok(amount) + } + } +} /// Means for transacting the currencies of this parachain type Transactor = MultiCurrencyAdapter< @@ -288,6 +345,94 @@ type Transactor = MultiCurrencyAdapter< DepositToAlternative, >; +// Workarround for TakeFirstAssetTrader +use frame_support::traits::tokens::{ + DepositConsequence, Fortitude, Preservation, Provenance, WithdrawConsequence, +}; + +pub struct ConcreteAssets; +impl fungibles::Mutate for ConcreteAssets {} +impl fungibles::Balanced for ConcreteAssets { + type OnDropCredit = fungibles::DecreaseIssuance; + type OnDropDebt = fungibles::IncreaseIssuance; +} +impl fungibles::Inspect for ConcreteAssets { + type AssetId = >::AssetId; + type Balance = >::Balance; + + fn minimum_balance(id: Self::AssetId) -> Self::Balance { + Tokens::minimum_balance(id) + } + + fn total_issuance(asset_id: Self::AssetId) -> Self::Balance { + Tokens::total_issuance(asset_id) + } + + fn balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn total_balance(asset_id: Self::AssetId, account_id: &AccountId) -> Self::Balance { + Tokens::balance(asset_id, account_id) + } + + fn reducible_balance( + _: Self::AssetId, + _: &AccountId, + _: Preservation, + _: Fortitude, + ) -> Self::Balance { + todo!() + } + + fn can_deposit( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + _: Provenance, + ) -> DepositConsequence { + todo!() + } + + fn can_withdraw( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> WithdrawConsequence { + todo!() + } + + fn asset_exists(_: Self::AssetId) -> bool { + todo!() + } +} +impl fungibles::Unbalanced for ConcreteAssets { + fn handle_dust(_: fungibles::Dust) { + todo!() + } + fn write_balance( + _: Self::AssetId, + _: &AccountId, + _: Self::Balance, + ) -> Result, DispatchError> { + todo!() + } + + fn set_total_issuance(_: Self::AssetId, _: Self::Balance) { + todo!() + } +} + +pub type Traders = ( + TakeFirstAssetTrader< + AccountId, + ChargeWeightInFungiblesImplementation, + ConvertedConcreteId, + ConcreteAssets, + XcmFeesTo32ByteAccount, + >, +); + // We will allow for BRZ location from moonbeam pub struct AutomationPalletConfigPendulum; From 7243901e950a8efb80667164d1e9c1c6beabe930 Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Wed, 20 Mar 2024 09:48:26 -0300 Subject: [PATCH 89/89] remove todos with mock implementations to be safe --- runtime/amplitude/src/xcm_config.rs | 17 ++++++++++------- runtime/pendulum/src/xcm_config.rs | 18 +++++++++++------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/runtime/amplitude/src/xcm_config.rs b/runtime/amplitude/src/xcm_config.rs index 886836f99..b5694e215 100644 --- a/runtime/amplitude/src/xcm_config.rs +++ b/runtime/amplitude/src/xcm_config.rs @@ -33,6 +33,7 @@ use runtime_common::{parachains::kusama::asset_hub, RelativeValue}; use cumulus_primitives_utility::{ ChargeWeightInFungibles, TakeFirstAssetTrader, XcmFeesTo32ByteAccount, }; +use sp_runtime::traits::Zero; use crate::{ assets::{ @@ -322,6 +323,7 @@ impl fungibles::Balanced for ConcreteAssets { type OnDropCredit = fungibles::DecreaseIssuance; type OnDropDebt = fungibles::IncreaseIssuance; } +// We only use minimum_balance of these implementations impl fungibles::Inspect for ConcreteAssets { type AssetId = >::AssetId; type Balance = >::Balance; @@ -348,7 +350,7 @@ impl fungibles::Inspect for ConcreteAssets { _: Preservation, _: Fortitude, ) -> Self::Balance { - todo!() + Self::Balance::zero() } fn can_deposit( @@ -357,7 +359,7 @@ impl fungibles::Inspect for ConcreteAssets { _: Self::Balance, _: Provenance, ) -> DepositConsequence { - todo!() + DepositConsequence::UnknownAsset } fn can_withdraw( @@ -365,29 +367,30 @@ impl fungibles::Inspect for ConcreteAssets { _: &AccountId, _: Self::Balance, ) -> WithdrawConsequence { - todo!() + WithdrawConsequence::UnknownAsset } fn asset_exists(_: Self::AssetId) -> bool { - todo!() + false } } + +// Not used impl fungibles::Unbalanced for ConcreteAssets { fn handle_dust(_: fungibles::Dust) { - todo!() } fn write_balance( _: Self::AssetId, _: &AccountId, _: Self::Balance, ) -> Result, DispatchError> { - todo!() + core::prelude::v1::Err(DispatchError::CannotLookup) } fn set_total_issuance(_: Self::AssetId, _: Self::Balance) { - todo!() } } + pub type Traders = ( TakeFirstAssetTrader< AccountId, diff --git a/runtime/pendulum/src/xcm_config.rs b/runtime/pendulum/src/xcm_config.rs index cec1daef0..518150f90 100644 --- a/runtime/pendulum/src/xcm_config.rs +++ b/runtime/pendulum/src/xcm_config.rs @@ -38,6 +38,8 @@ use runtime_common::{ RelativeValue, }; +use sp_runtime::traits::Zero; + use crate::{ assets::{ self, @@ -356,6 +358,8 @@ impl fungibles::Balanced for ConcreteAssets { type OnDropCredit = fungibles::DecreaseIssuance; type OnDropDebt = fungibles::IncreaseIssuance; } + +// We only use minimum_balance of these implementations impl fungibles::Inspect for ConcreteAssets { type AssetId = >::AssetId; type Balance = >::Balance; @@ -382,7 +386,7 @@ impl fungibles::Inspect for ConcreteAssets { _: Preservation, _: Fortitude, ) -> Self::Balance { - todo!() + Self::Balance::zero() } fn can_deposit( @@ -391,7 +395,7 @@ impl fungibles::Inspect for ConcreteAssets { _: Self::Balance, _: Provenance, ) -> DepositConsequence { - todo!() + DepositConsequence::UnknownAsset } fn can_withdraw( @@ -399,27 +403,27 @@ impl fungibles::Inspect for ConcreteAssets { _: &AccountId, _: Self::Balance, ) -> WithdrawConsequence { - todo!() + WithdrawConsequence::UnknownAsset } fn asset_exists(_: Self::AssetId) -> bool { - todo!() + false } } + +// Not used impl fungibles::Unbalanced for ConcreteAssets { fn handle_dust(_: fungibles::Dust) { - todo!() } fn write_balance( _: Self::AssetId, _: &AccountId, _: Self::Balance, ) -> Result, DispatchError> { - todo!() + core::prelude::v1::Err(DispatchError::CannotLookup) } fn set_total_issuance(_: Self::AssetId, _: Self::Balance) { - todo!() } }