From dc41a09f6002b498613c8129e9427d6b9773dd6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Fri, 24 Apr 2020 12:46:51 +0200 Subject: [PATCH] Companion PR to #5695 (#1030) * add module ids to kusama runtime * update kusam with polkadot runtimes to have moduleids configured * trivial * define module id for treasury in crowdfund.rs * crodfund builds without issue * remove commented out code * switch crowdfund to configurable moduleid * test-runtime passing * trivial syntax * add module id to mock * Update `Cargo.lock` Co-authored-by: zeke --- Cargo.lock | 252 ++++++++++++++++---------------- runtime/common/src/crowdfund.rs | 13 +- runtime/kusama/src/lib.rs | 12 +- runtime/polkadot/src/lib.rs | 8 +- 4 files changed, 151 insertions(+), 134 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ac6744b8d3a..d5b1cfb40974 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1227,7 +1227,7 @@ checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" [[package]] name = "fork-tree" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", ] @@ -1235,7 +1235,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -1252,7 +1252,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1271,7 +1271,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -1286,7 +1286,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "serde", @@ -1297,7 +1297,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "bitmask", "frame-metadata", @@ -1321,7 +1321,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.10", @@ -1332,7 +1332,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1344,7 +1344,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", @@ -1354,7 +1354,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1370,7 +1370,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-api", @@ -3258,7 +3258,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3276,7 +3276,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3293,7 +3293,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3314,7 +3314,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -3329,7 +3329,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -3345,7 +3345,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -3360,7 +3360,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3374,7 +3374,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3390,7 +3390,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3408,7 +3408,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3424,7 +3424,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3443,7 +3443,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3459,7 +3459,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3473,7 +3473,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3487,7 +3487,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3502,7 +3502,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3515,7 +3515,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "enumflags2", "frame-support", @@ -3530,7 +3530,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -3545,7 +3545,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3563,7 +3563,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3578,7 +3578,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3599,7 +3599,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", @@ -3610,7 +3610,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3624,7 +3624,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -3641,7 +3641,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3654,7 +3654,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3672,7 +3672,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "parity-scale-codec", @@ -3685,7 +3685,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3699,7 +3699,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-support", "frame-system", @@ -3714,7 +3714,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "enumflags2", "frame-support", @@ -5225,7 +5225,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "bytes 0.5.4", "derive_more 0.99.5", @@ -5252,7 +5252,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5268,7 +5268,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", @@ -5295,7 +5295,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "ansi_term 0.12.1", "app_dirs", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "sc-client" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "fnv", @@ -5374,7 +5374,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "fnv", @@ -5409,7 +5409,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "blake2-rfc", "hash-db", @@ -5439,7 +5439,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "fork-tree", @@ -5481,7 +5481,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "fork-tree", "parity-scale-codec", @@ -5494,7 +5494,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "futures-timer 3.0.2", @@ -5515,7 +5515,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "log 0.4.8", "sc-client-api", @@ -5529,7 +5529,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "lazy_static", @@ -5557,7 +5557,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "log 0.4.8", @@ -5574,7 +5574,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5589,7 +5589,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -5610,7 +5610,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "assert_matches", "finality-grandpa", @@ -5646,7 +5646,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "ansi_term 0.12.1", "futures 0.3.4", @@ -5663,7 +5663,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "hex", @@ -5678,7 +5678,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "bitflags", "bytes 0.5.4", @@ -5731,7 +5731,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "futures-timer 3.0.2", @@ -5747,7 +5747,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "env_logger 0.7.1", "futures 0.3.4", @@ -5773,7 +5773,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "bytes 0.5.4", "fnv", @@ -5800,7 +5800,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "libp2p", @@ -5813,7 +5813,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "hash-db", @@ -5846,7 +5846,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -5870,7 +5870,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -5885,7 +5885,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "exit-future", @@ -5936,7 +5936,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5950,7 +5950,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "bytes 0.5.4", "futures 0.3.4", @@ -5972,7 +5972,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "erased-serde", "log 0.4.8", @@ -5987,7 +5987,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6007,7 +6007,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6392,7 +6392,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "log 0.4.8", @@ -6404,7 +6404,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "hash-db", "parity-scale-codec", @@ -6419,7 +6419,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -6431,7 +6431,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "serde", @@ -6443,7 +6443,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "integer-sqrt", "num-traits 0.2.11", @@ -6457,7 +6457,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-api", @@ -6469,7 +6469,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6480,7 +6480,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-api", @@ -6492,7 +6492,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "log 0.4.8", @@ -6508,7 +6508,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "serde", "serde_json", @@ -6517,7 +6517,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6540,7 +6540,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-api", @@ -6554,7 +6554,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-api", @@ -6570,7 +6570,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -6582,7 +6582,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "base58", "blake2-rfc", @@ -6623,7 +6623,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -6632,7 +6632,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", @@ -6642,7 +6642,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "environmental", "sp-std", @@ -6652,7 +6652,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "serde", @@ -6665,7 +6665,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6675,7 +6675,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "parity-scale-codec", @@ -6687,7 +6687,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "hash-db", @@ -6707,7 +6707,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "lazy_static", "sp-core", @@ -6718,7 +6718,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "sp-api", "sp-runtime", @@ -6727,7 +6727,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "backtrace", "log 0.4.8", @@ -6736,7 +6736,7 @@ dependencies = [ [[package]] name = "sp-phragmen" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "serde", @@ -6748,7 +6748,7 @@ dependencies = [ [[package]] name = "sp-phragmen-compact" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", @@ -6759,7 +6759,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "serde", "sp-core", @@ -6768,7 +6768,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -6789,7 +6789,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "primitive-types", @@ -6804,7 +6804,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "Inflector", "proc-macro-crate", @@ -6816,7 +6816,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "serde", "serde_json", @@ -6825,7 +6825,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "sp-api", "sp-core", @@ -6836,7 +6836,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -6846,7 +6846,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "hash-db", "log 0.4.8", @@ -6865,12 +6865,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" [[package]] name = "sp-storage" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -6882,7 +6882,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6896,7 +6896,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "tracing", ] @@ -6904,7 +6904,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6919,7 +6919,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "hash-db", "memory-db", @@ -6933,7 +6933,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "futures-core", @@ -6944,7 +6944,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -6956,7 +6956,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7084,7 +7084,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "chrono", "clear_on_drop", @@ -7111,7 +7111,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "platforms", ] @@ -7119,7 +7119,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.4", @@ -7140,7 +7140,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "async-std", "derive_more 0.99.5", @@ -7154,7 +7154,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "hash-db", @@ -7174,7 +7174,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "cfg-if", "frame-executive", @@ -7213,7 +7213,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" dependencies = [ "futures 0.3.4", "parity-scale-codec", @@ -7231,7 +7231,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.5" -source = "git+https://github.com/paritytech/substrate#5a0754dd2bcfdeb77245f95795bddebf1a31f221" +source = "git+https://github.com/paritytech/substrate#ebf9df376bd129e7410bab05bb2c30ea993e83e4" [[package]] name = "substrate-wasm-builder-runner" diff --git a/runtime/common/src/crowdfund.rs b/runtime/common/src/crowdfund.rs index fc8de552a3fa..f5a6427fc1d4 100644 --- a/runtime/common/src/crowdfund.rs +++ b/runtime/common/src/crowdfund.rs @@ -82,8 +82,6 @@ use codec::{Encode, Decode}; use sp_std::vec::Vec; use primitives::parachain::{Id as ParaId, HeadData}; -const MODULE_ID: ModuleId = ModuleId(*b"py/cfund"); - pub type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; #[allow(dead_code)] @@ -93,6 +91,9 @@ pub type NegativeImbalanceOf = pub trait Trait: slots::Trait { type Event: From> + Into<::Event>; + /// ModuleID for the crowdfund module. An appropriate value could be ```ModuleId(*b"py/cfund")``` + type ModuleId: Get; + /// The amount to be held on deposit by the owner of a crowdfund. type SubmissionDeposit: Get>; @@ -247,6 +248,8 @@ decl_module! { pub struct Module for enum Call where origin: T::Origin { type Error = Error; + const ModuleId: ModuleId = T::ModuleId::get(); + fn deposit_event() = default; /// Create a new crowdfunding campaign for a parachain slot deposit for the current auction. @@ -525,7 +528,7 @@ impl Module { /// This actually does computation. If you need to keep using it, then make sure you cache the /// value and only call this once. pub fn fund_account_id(index: FundIndex) -> T::AccountId { - MODULE_ID.into_sub_account(index) + T::ModuleId::get().into_sub_account(index) } pub fn id_from_index(index: FundIndex) -> child::ChildInfo { @@ -632,6 +635,7 @@ mod tests { pub const TipFindersFee: Percent = Percent::from_percent(20); pub const TipReportDepositBase: u64 = 1; pub const TipReportDepositPerByte: u64 = 1; + pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry"); } pub struct Nobody; impl Contains for Nobody { @@ -655,6 +659,7 @@ mod tests { type TipFindersFee = TipFindersFee; type TipReportDepositBase = TipReportDepositBase; type TipReportDepositPerByte = TipReportDepositPerByte; + type ModuleId = TreasuryModuleId; } thread_local! { @@ -729,6 +734,7 @@ mod tests { pub const SubmissionDeposit: u64 = 1; pub const MinContribution: u64 = 10; pub const RetirementPeriod: u64 = 5; + pub const CrowdfundModuleId: ModuleId = ModuleId(*b"py/cfund"); } impl Trait for Test { type Event = (); @@ -736,6 +742,7 @@ mod tests { type MinContribution = MinContribution; type RetirementPeriod = RetirementPeriod; type OrphanedFunds = Treasury; + type ModuleId = CrowdfundModuleId; } type System = system::Module; diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 7b19200dcefc..69131d658204 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -12,7 +12,7 @@ // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Polkadot. If not, see . //! The Polkadot runtime. This can be compiled with `#[no_std]`, ready for Wasm. @@ -33,7 +33,7 @@ use runtime_common::{attestations, claims, parachains, registrar, slots, MaximumBlockLength, }; use sp_runtime::{ - create_runtime_str, generic, impl_opaque_keys, + create_runtime_str, generic, impl_opaque_keys, ModuleId, ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, RuntimeDebug, transaction_validity::{ TransactionValidity, InvalidTransaction, TransactionValidityError, TransactionSource, TransactionPriority, @@ -54,7 +54,7 @@ use sp_core::OpaqueMetadata; use sp_staking::SessionIndex; use frame_support::{ parameter_types, construct_runtime, debug, - traits::{KeyOwnerProofSystem, SplitTwoWays, Randomness}, + traits::{KeyOwnerProofSystem, SplitTwoWays, Randomness, LockIdentifier}, }; use im_online::sr25519::AuthorityId as ImOnlineId; use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; @@ -387,6 +387,7 @@ parameter_types! { pub const TermDuration: BlockNumber = 24 * HOURS; pub const DesiredMembers: u32 = 13; pub const DesiredRunnersUp: u32 = 7; + pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; } impl elections_phragmen::Trait for Runtime { @@ -403,6 +404,7 @@ impl elections_phragmen::Trait for Runtime { type DesiredMembers = DesiredMembers; type DesiredRunnersUp = DesiredRunnersUp; type TermDuration = TermDuration; + type ModuleId = ElectionsPhragmenModuleId; } parameter_types! { @@ -433,6 +435,7 @@ parameter_types! { pub const ProposalBondMinimum: Balance = 20 * DOLLARS; pub const SpendPeriod: BlockNumber = 6 * DAYS; pub const Burn: Permill = Permill::from_percent(0); + pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry"); pub const TipCountdown: BlockNumber = 1 * DAYS; pub const TipFindersFee: Percent = Percent::from_percent(20); @@ -455,6 +458,7 @@ impl treasury::Trait for Runtime { type ProposalBondMinimum = ProposalBondMinimum; type SpendPeriod = SpendPeriod; type Burn = Burn; + type ModuleId = TreasuryModuleId; } impl offences::Trait for Runtime { @@ -694,6 +698,7 @@ parameter_types! { pub const PeriodSpend: Balance = 500 * DOLLARS; pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS; pub const ChallengePeriod: BlockNumber = 7 * DAYS; + pub const SocietyModuleId: ModuleId = ModuleId(*b"py/socie"); } impl society::Trait for Runtime { @@ -710,6 +715,7 @@ impl society::Trait for Runtime { type FounderSetOrigin = collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>; type SuspensionJudgementOrigin = society::EnsureFounder; type ChallengePeriod = ChallengePeriod; + type ModuleId = SocietyModuleId; } parameter_types! { diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 89d949d3ec1c..2ebe0a8bfb71 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -34,7 +34,7 @@ use primitives::{ parachain::{self, ActiveParas, AbridgedCandidateReceipt, SigningContext}, ValidityError, }; use sp_runtime::{ - create_runtime_str, generic, impl_opaque_keys, + create_runtime_str, generic, impl_opaque_keys, ModuleId, ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, RuntimeDebug, transaction_validity::{ TransactionValidity, InvalidTransaction, TransactionValidityError, TransactionSource, TransactionPriority, @@ -56,7 +56,7 @@ use sp_core::OpaqueMetadata; use sp_staking::SessionIndex; use frame_support::{ parameter_types, construct_runtime, debug, - traits::{KeyOwnerProofSystem, SplitTwoWays, Randomness}, + traits::{KeyOwnerProofSystem, SplitTwoWays, Randomness, LockIdentifier}, }; use im_online::sr25519::AuthorityId as ImOnlineId; use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; @@ -393,6 +393,7 @@ parameter_types! { /// 13 members initially, to be increased to 23 eventually. pub const DesiredMembers: u32 = 13; pub const DesiredRunnersUp: u32 = 20; + pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; } impl elections_phragmen::Trait for Runtime { @@ -409,6 +410,7 @@ impl elections_phragmen::Trait for Runtime { type DesiredMembers = DesiredMembers; type DesiredRunnersUp = DesiredRunnersUp; type TermDuration = TermDuration; + type ModuleId = ElectionsPhragmenModuleId; } parameter_types! { @@ -439,6 +441,7 @@ parameter_types! { pub const ProposalBondMinimum: Balance = 100 * DOLLARS; pub const SpendPeriod: BlockNumber = 24 * DAYS; pub const Burn: Permill = Permill::from_percent(1); + pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry"); pub const TipCountdown: BlockNumber = 1 * DAYS; pub const TipFindersFee: Percent = Percent::from_percent(20); @@ -461,6 +464,7 @@ impl treasury::Trait for Runtime { type ProposalBondMinimum = ProposalBondMinimum; type SpendPeriod = SpendPeriod; type Burn = Burn; + type ModuleId = TreasuryModuleId; } impl offences::Trait for Runtime {