diff --git a/.github/workflows/e2e-tests-main-devnet.yml b/.github/workflows/e2e-tests-main-devnet.yml index 98ae0e64a4..cf7d901a05 100644 --- a/.github/workflows/e2e-tests-main-devnet.yml +++ b/.github/workflows/e2e-tests-main-devnet.yml @@ -563,6 +563,7 @@ jobs: run-e2e-adder-contract-test: needs: [build-test-docker, build-test-client] + if: false name: Run e2e adder contract test runs-on: ubuntu-20.04 steps: @@ -704,7 +705,7 @@ jobs: run-e2e-ban-threshold, run-e2e-version-upgrade, run-e2e-permissionless-ban, - run-e2e-adder-contract-test, +# run-e2e-adder-contract-test, # run-e2e-failing-version-upgrade, # run-e2e-version-upgrade-catchup, run-e2e-finality-version-change, diff --git a/Cargo.lock b/Cargo.lock index 58fb2e5c9a..f04a44fa78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -326,7 +326,7 @@ dependencies = [ [[package]] name = "aleph-node" -version = "0.10.0+mainnet" +version = "0.10.1+mainnet" dependencies = [ "aleph-runtime", "finality-aleph", @@ -381,7 +381,7 @@ dependencies = [ [[package]] name = "aleph-runtime" -version = "0.10.0+mainnet" +version = "0.10.1+mainnet" dependencies = [ "frame-executive", "frame-support", @@ -707,7 +707,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "sp-api", "sp-beefy", @@ -2204,7 +2204,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", ] @@ -2227,7 +2227,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-support-procedural", @@ -2252,7 +2252,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2263,7 +2263,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -2309,7 +2309,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "futures", "log", @@ -2325,7 +2325,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "bitflags", "frame-metadata", @@ -2357,7 +2357,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "Inflector", "cfg-expr", @@ -2372,7 +2372,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2384,7 +2384,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "proc-macro2", "quote", @@ -2394,7 +2394,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "log", @@ -2412,7 +2412,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "sp-api", @@ -2421,7 +2421,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "parity-scale-codec", @@ -4779,7 +4779,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -4809,7 +4809,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-support", @@ -4833,7 +4833,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-support", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "bitflags", "frame-benchmarking", @@ -4876,7 +4876,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "bitflags", "parity-scale-codec", @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "proc-macro2", "quote", @@ -4920,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-support", @@ -4952,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -4969,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "sp-api", @@ -4979,7 +4979,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -4993,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -5030,7 +5030,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5052,7 +5052,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -5066,7 +5066,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-support", @@ -5084,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-support", "frame-system", @@ -5100,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5128,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-support", @@ -5145,7 +5145,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-support", @@ -5161,7 +5161,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-benchmarking", "frame-support", @@ -6243,7 +6243,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "log", "sp-core", @@ -6254,7 +6254,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "futures", "futures-timer", @@ -6277,7 +6277,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6293,7 +6293,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -6308,7 +6308,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6319,7 +6319,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "chrono", @@ -6359,7 +6359,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "fnv", "futures", @@ -6385,7 +6385,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "hash-db", "kvdb", @@ -6411,7 +6411,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures", @@ -6436,7 +6436,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures", @@ -6465,7 +6465,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures", @@ -6488,7 +6488,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -6512,7 +6512,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -6525,7 +6525,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "log", "sc-allocator", @@ -6538,7 +6538,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "cfg-if", "libc", @@ -6555,7 +6555,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "ansi_term", "futures", @@ -6570,7 +6570,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "async-trait", @@ -6585,7 +6585,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "async-trait", @@ -6627,7 +6627,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "cid", "futures", @@ -6646,7 +6646,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "bitflags", @@ -6672,7 +6672,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "futures", @@ -6693,7 +6693,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "async-trait", @@ -6725,7 +6725,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "futures", @@ -6744,7 +6744,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "bytes", @@ -6774,7 +6774,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "futures", "libp2p 0.50.0", @@ -6787,7 +6787,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -6796,7 +6796,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "futures", "jsonrpsee", @@ -6826,7 +6826,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -6845,7 +6845,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "http", "jsonrpsee", @@ -6860,7 +6860,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "futures", @@ -6886,7 +6886,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "directories", @@ -6952,7 +6952,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "log", "parity-scale-codec", @@ -6963,7 +6963,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "clap", "futures", @@ -6979,7 +6979,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "futures", "libc", @@ -6998,7 +6998,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "chrono", "futures", @@ -7017,7 +7017,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "ansi_term", "atty", @@ -7048,7 +7048,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7059,7 +7059,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures", @@ -7086,7 +7086,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures", @@ -7100,7 +7100,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "backtrace", "futures", @@ -7537,7 +7537,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "hash-db", "log", @@ -7555,7 +7555,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "blake2", "proc-macro-crate", @@ -7567,7 +7567,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -7580,7 +7580,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "integer-sqrt", "num-traits", @@ -7594,7 +7594,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -7611,7 +7611,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "sp-api", @@ -7623,7 +7623,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "futures", "log", @@ -7641,7 +7641,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures", @@ -7659,7 +7659,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "parity-scale-codec", @@ -7677,7 +7677,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "merlin", @@ -7700,7 +7700,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -7712,7 +7712,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -7725,7 +7725,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "base58", @@ -7767,7 +7767,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "blake2", "byteorder", @@ -7781,7 +7781,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "proc-macro2", "quote", @@ -7792,7 +7792,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -7801,7 +7801,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "proc-macro2", "quote", @@ -7811,7 +7811,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "environmental", "parity-scale-codec", @@ -7822,7 +7822,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "finality-grandpa", "log", @@ -7840,7 +7840,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -7854,7 +7854,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "bytes", "ed25519", @@ -7879,7 +7879,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "lazy_static", "sp-core", @@ -7890,7 +7890,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures", @@ -7907,7 +7907,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "thiserror", "zstd", @@ -7916,7 +7916,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -7934,7 +7934,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -7948,7 +7948,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "sp-api", "sp-core", @@ -7958,7 +7958,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "backtrace", "lazy_static", @@ -7968,7 +7968,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "rustc-hash", "serde", @@ -7978,7 +7978,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "either", "hash256-std-hasher", @@ -8000,7 +8000,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -8018,7 +8018,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "Inflector", "proc-macro-crate", @@ -8030,7 +8030,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -8044,7 +8044,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -8056,7 +8056,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "hash-db", "log", @@ -8076,12 +8076,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8094,7 +8094,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "futures-timer", @@ -8109,7 +8109,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "sp-std", @@ -8121,7 +8121,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "sp-api", "sp-runtime", @@ -8130,7 +8130,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "log", @@ -8146,7 +8146,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "ahash 0.8.3", "hash-db", @@ -8169,7 +8169,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8186,7 +8186,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -8197,7 +8197,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "impl-trait-for-tuples", "log", @@ -8210,7 +8210,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "parity-scale-codec", "scale-info", @@ -8375,7 +8375,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "platforms 2.0.0", ] @@ -8383,7 +8383,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -8402,7 +8402,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "hyper", "log", @@ -8414,7 +8414,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "async-trait", "jsonrpsee", @@ -8427,7 +8427,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "array-bytes", "async-trait", @@ -8453,7 +8453,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "beefy-merkle-tree", "cfg-if", @@ -8496,7 +8496,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "futures", "parity-scale-codec", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "ansi_term", "build-helper", @@ -9043,7 +9043,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#de36ffe0e37185243e3c2980f72f16f53a62e6ae" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.38#edd03de713561ecd604a8b2c957d0b620a2420de" dependencies = [ "clap", "frame-remote-externalities", diff --git a/bin/node/Cargo.toml b/bin/node/Cargo.toml index 246bd2fe5c..602c67f3d1 100644 --- a/bin/node/Cargo.toml +++ b/bin/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aleph-node" -version = "0.10.0+mainnet" +version = "0.10.1+mainnet" authors = ["Cardinal Cryptography"] description = "Aleph node binary" edition = "2021" diff --git a/bin/runtime/Cargo.toml b/bin/runtime/Cargo.toml index ccc386172f..4bc46e1c6a 100644 --- a/bin/runtime/Cargo.toml +++ b/bin/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aleph-runtime" -version = "0.10.0+mainnet" +version = "0.10.1+mainnet" authors = ["Cardinal Cryptography"] edition = "2021" homepage = "https://alephzero.org" diff --git a/bin/runtime/src/lib.rs b/bin/runtime/src/lib.rs index 10b0df0d5a..e4bec4b491 100644 --- a/bin/runtime/src/lib.rs +++ b/bin/runtime/src/lib.rs @@ -82,8 +82,6 @@ pub type Index = u32; /// A hash of some data used by the chain. pub type Hash = sp_core::H256; -mod migrations; - /// Opaque types. These are used by the CLI to instantiate machinery that don't need to know /// the specifics of the runtime. They can then be made to be agnostic over specific formats /// of data like extrinsics, allowing for them to continue syncing the network through upgrades @@ -112,7 +110,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("aleph-node"), impl_name: create_runtime_str!("aleph-node"), authoring_version: 1, - spec_version: 59, + spec_version: 61, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 16, @@ -780,13 +778,6 @@ pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; -// Migrations -use pallet_balances::migration::MigrateManyToTrackInactive as BalancesV1Migration; -use pallet_multisig::migrations::v1::MigrateToV1 as MultisigV1Migration; -use pallet_scheduler::migration::v3::MigrateToV4 as SchedulerV3V4Migration; -use pallet_staking::migrations::v13::MigrateToV13 as StakingV13Migration; - -use crate::migrations::contracts_set_version::ContractsSetVersion9; /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< @@ -795,18 +786,6 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - ( - // This will just kill the custom versioning enum, and set StorageVersion to 1 - BalancesV1Migration, - // Removes the `Calls` map, and unreserves all the funds locked there. - MultisigV1Migration, - // In our case, this is migrating 0 agendas. - SchedulerV3V4Migration, - // This only kills the custom versioning enum, and sets StorageVersion to 13 - StakingV13Migration, - // We are adding the pallet to runtime. Need to set the version 9 manually. - ContractsSetVersion9, - ), >; impl_runtime_apis! { diff --git a/bin/runtime/src/migrations/contracts_set_version.rs b/bin/runtime/src/migrations/contracts_set_version.rs deleted file mode 100644 index 84506765a6..0000000000 --- a/bin/runtime/src/migrations/contracts_set_version.rs +++ /dev/null @@ -1,64 +0,0 @@ -use frame_support::{ - log, - pallet_prelude::*, - traits::{Get, OnRuntimeUpgrade}, - weights::Weight, -}; -use pallet_contracts::{Config, Pallet}; -use sp_std::marker::PhantomData; -#[cfg(feature = "try-runtime")] -use sp_std::vec::Vec; - -const TARGET: &str = "runtime::custom_contract_migration"; - -pub struct ContractsSetVersion9(PhantomData); -impl OnRuntimeUpgrade for ContractsSetVersion9 { - fn on_runtime_upgrade() -> Weight { - let version = StorageVersion::get::>(); - let mut weight = T::DbWeight::get().reads_writes(1, 0); - log::info!( - target: TARGET, - "On-chain version of pallet contracts is {:?}", - version - ); - if version < 9 { - weight += T::DbWeight::get().reads_writes(0, 1); - StorageVersion::new(9).put::>(); - log::info!( - target: TARGET, - "Setting the version of pallet contracts to 9." - ); - } - - weight - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { - let version = StorageVersion::get::>(); - log::warn!( - target: TARGET, - "Pre-upgrade version in custom contracts migration: {:?}", - version - ); - if version != 0 { - return Err("Version should be 0, because pallet contracts is not present."); - } - - Ok(Vec::new()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_: Vec) -> Result<(), &'static str> { - let version = StorageVersion::get::>(); - log::warn!( - target: TARGET, - "Post-upgrade version in custom contracts migration: {:?}", - version - ); - if version != StorageVersion::new(9) { - return Err("Version should be 9 after migration."); - } - Ok(()) - } -} diff --git a/bin/runtime/src/migrations/mod.rs b/bin/runtime/src/migrations/mod.rs deleted file mode 100644 index c943e72957..0000000000 --- a/bin/runtime/src/migrations/mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub mod contracts_set_version;