diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 0900244f16..1223b7b2ad 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1171,7 +1171,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", ] @@ -1179,7 +1179,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -1196,7 +1196,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1214,7 +1214,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -1229,7 +1229,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "serde", @@ -1240,7 +1240,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "bitmask", "frame-metadata", @@ -1265,7 +1265,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.17", @@ -1276,7 +1276,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1288,7 +1288,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "proc-macro2 1.0.17", "quote 1.0.6", @@ -1298,7 +1298,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1314,7 +1314,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -1328,7 +1328,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-api", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.8.3" +version = "0.8.4" dependencies = [ "bitvec", "frame-benchmarking", @@ -2246,6 +2246,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-multisig", "pallet-nicks", "pallet-offences", "pallet-offences-benchmarking", @@ -3228,7 +3229,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3244,7 +3245,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3259,7 +3260,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3281,7 +3282,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3295,7 +3296,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3311,7 +3312,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3326,7 +3327,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3341,7 +3342,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3357,7 +3358,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3377,7 +3378,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3393,7 +3394,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3413,7 +3414,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3429,7 +3430,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3440,10 +3441,25 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-multisig" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-nicks" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3457,7 +3473,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3472,7 +3488,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3493,7 +3509,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3508,7 +3524,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3521,7 +3537,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "enumflags2", "frame-support", @@ -3536,7 +3552,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3551,7 +3567,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3569,7 +3585,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3583,7 +3599,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3597,7 +3613,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3619,7 +3635,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.17", @@ -3630,7 +3646,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3644,7 +3660,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3662,7 +3678,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "frame-system", @@ -3676,7 +3692,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3694,7 +3710,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-support", "parity-scale-codec", @@ -3707,7 +3723,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3722,7 +3738,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3738,7 +3754,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4047,7 +4063,7 @@ checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e" [[package]] name = "polkadot" -version = "0.8.3" +version = "0.8.4" dependencies = [ "assert_cmd", "futures 0.3.5", @@ -4060,7 +4076,7 @@ dependencies = [ [[package]] name = "polkadot-availability-store" -version = "0.8.3" +version = "0.8.4" dependencies = [ "derive_more 0.99.7", "exit-future", @@ -4086,7 +4102,7 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.8.3" +version = "0.8.4" dependencies = [ "frame-benchmarking-cli", "futures 0.3.5", @@ -4110,7 +4126,7 @@ dependencies = [ [[package]] name = "polkadot-collator" -version = "0.8.3" +version = "0.8.4" dependencies = [ "futures 0.3.5", "futures-timer 2.0.2", @@ -4137,7 +4153,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.8.3" +version = "0.8.4" dependencies = [ "derive_more 0.15.0", "parity-scale-codec", @@ -4149,7 +4165,7 @@ dependencies = [ [[package]] name = "polkadot-network" -version = "0.8.3" +version = "0.8.4" dependencies = [ "arrayvec 0.4.12", "bytes 0.5.4", @@ -4177,7 +4193,7 @@ dependencies = [ [[package]] name = "polkadot-network-test" -version = "0.8.3" +version = "0.8.4" dependencies = [ "futures 0.3.5", "log 0.4.8", @@ -4220,7 +4236,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.8.3" +version = "0.8.4" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -4239,7 +4255,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.8.3" +version = "0.8.4" dependencies = [ "bitvec", "frame-system", @@ -4261,7 +4277,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.8.3" +version = "0.8.4" dependencies = [ "jsonrpc-core", "pallet-transaction-payment-rpc", @@ -4286,7 +4302,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.8.3" +version = "0.8.4" dependencies = [ "bitvec", "frame-benchmarking", @@ -4311,6 +4327,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-multisig", "pallet-nicks", "pallet-offences", "pallet-offences-benchmarking", @@ -4359,7 +4376,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.8.3" +version = "0.8.4" dependencies = [ "bitvec", "frame-benchmarking", @@ -4444,7 +4461,7 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.8.3" +version = "0.8.4" dependencies = [ "env_logger", "frame-benchmarking", @@ -4503,7 +4520,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.8.3" +version = "0.8.4" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -4512,7 +4529,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.8.3" +version = "0.8.4" dependencies = [ "bitvec", "frame-executive", @@ -4589,7 +4606,7 @@ dependencies = [ [[package]] name = "polkadot-validation" -version = "0.8.3" +version = "0.8.4" dependencies = [ "bitvec", "derive_more 0.14.1", @@ -5357,7 +5374,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "bytes 0.5.4", "derive_more 0.99.7", @@ -5384,7 +5401,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5408,7 +5425,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5424,7 +5441,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -5440,7 +5457,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.17", @@ -5451,7 +5468,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "ansi_term 0.12.1", "atty", @@ -5492,7 +5509,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "fnv", @@ -5528,7 +5545,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "blake2-rfc", "hash-db", @@ -5557,7 +5574,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "sc-client-api", "sp-blockchain", @@ -5568,7 +5585,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "fork-tree", @@ -5610,7 +5627,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -5633,7 +5650,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "fork-tree", "parity-scale-codec", @@ -5646,7 +5663,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5668,7 +5685,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "log 0.4.8", "sc-client-api", @@ -5682,7 +5699,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "lazy_static", @@ -5710,7 +5727,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -5727,7 +5744,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5742,7 +5759,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -5763,7 +5780,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "assert_matches", "derive_more 0.99.7", @@ -5800,7 +5817,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "finality-grandpa", @@ -5817,7 +5834,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -5834,7 +5851,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "hex", @@ -5849,7 +5866,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "bitflags", "bs58", @@ -5901,7 +5918,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5916,7 +5933,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "env_logger", "futures 0.3.5", @@ -5943,7 +5960,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "bytes 0.5.4", "fnv", @@ -5970,7 +5987,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "libp2p", @@ -5983,7 +6000,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "log 0.4.8", "substrate-prometheus-endpoint", @@ -5992,7 +6009,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "hash-db", @@ -6024,7 +6041,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6048,7 +6065,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -6063,7 +6080,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "exit-future", @@ -6121,7 +6138,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6135,7 +6152,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -6157,7 +6174,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "erased-serde", "log 0.4.8", @@ -6172,7 +6189,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6192,7 +6209,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6579,7 +6596,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -6591,7 +6608,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "hash-db", "parity-scale-codec", @@ -6606,7 +6623,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -6618,7 +6635,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "serde", @@ -6630,7 +6647,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "integer-sqrt", "num-traits 0.2.11", @@ -6643,7 +6660,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-api", @@ -6655,7 +6672,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6666,7 +6683,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-api", @@ -6678,7 +6695,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -6694,7 +6711,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "serde", "serde_json", @@ -6703,7 +6720,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6726,7 +6743,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-api", @@ -6740,7 +6757,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "merlin", "parity-scale-codec", @@ -6757,7 +6774,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -6769,7 +6786,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "base58", "blake2-rfc", @@ -6811,7 +6828,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -6820,7 +6837,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "proc-macro2 1.0.17", "quote 1.0.6", @@ -6830,7 +6847,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "environmental", "parity-scale-codec", @@ -6841,7 +6858,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "finality-grandpa", "log 0.4.8", @@ -6857,7 +6874,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6867,7 +6884,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "parity-scale-codec", @@ -6879,7 +6896,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "hash-db", @@ -6899,7 +6916,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "lazy_static", "sp-core", @@ -6910,7 +6927,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "serde", @@ -6922,7 +6939,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.17", @@ -6933,7 +6950,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "sp-api", "sp-core", @@ -6943,7 +6960,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "backtrace", "log 0.4.8", @@ -6952,7 +6969,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "serde", "sp-core", @@ -6961,7 +6978,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -6982,7 +6999,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "primitive-types", @@ -6997,7 +7014,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "Inflector", "proc-macro-crate", @@ -7009,7 +7026,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "serde", "serde_json", @@ -7018,7 +7035,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-api", @@ -7031,7 +7048,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7041,7 +7058,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "hash-db", "log 0.4.8", @@ -7060,12 +7077,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" [[package]] name = "sp-storage" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -7077,7 +7094,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7091,7 +7108,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "tracing", ] @@ -7099,7 +7116,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -7115,7 +7132,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "hash-db", "memory-db", @@ -7129,7 +7146,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "futures-core", @@ -7140,7 +7157,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -7152,7 +7169,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7283,7 +7300,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "chrono", "clear_on_drop", @@ -7310,7 +7327,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "platforms", ] @@ -7318,7 +7335,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -7339,7 +7356,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "async-std", "derive_more 0.99.7", @@ -7353,7 +7370,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "hash-db", @@ -7374,7 +7391,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "cfg-if", "frame-executive", @@ -7414,7 +7431,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-rc2" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" dependencies = [ "futures 0.3.5", "parity-scale-codec", @@ -7434,7 +7451,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate#d68cfd7cd5c64cb0965b49d9868aff02849e077c" +source = "git+https://github.com/paritytech/substrate#39a3372aa18ed592e51688ab2e30fa79a779ad4e" [[package]] name = "substrate-wasm-builder-runner" @@ -7660,7 +7677,7 @@ dependencies = [ [[package]] name = "test-parachain-adder" -version = "0.8.3" +version = "0.8.4" dependencies = [ "dlmalloc", "parity-scale-codec", @@ -7699,7 +7716,7 @@ dependencies = [ [[package]] name = "test-parachain-halt" -version = "0.8.3" +version = "0.8.4" dependencies = [ "substrate-wasm-builder-runner 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -8567,7 +8584,7 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.8.3" +version = "0.8.4" dependencies = [ "bitvec", "frame-benchmarking", @@ -8592,6 +8609,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-multisig", "pallet-nicks", "pallet-offences", "pallet-offences-benchmarking", diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index a2a9ad2c53..e477ee187b 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -4,7 +4,7 @@ path = "src/main.rs" [package] name = "polkadot" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/availability-store/Cargo.toml b/polkadot/availability-store/Cargo.toml index 71af1a1c0d..47184fd34a 100644 --- a/polkadot/availability-store/Cargo.toml +++ b/polkadot/availability-store/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "polkadot-availability-store" description = "Persistent database for parachain data" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/cli/Cargo.toml b/polkadot/cli/Cargo.toml index 7b0eca6ca0..73de6e4fb3 100644 --- a/polkadot/cli/Cargo.toml +++ b/polkadot/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-cli" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] description = "Polkadot Relay-chain Client Node" edition = "2018" diff --git a/polkadot/collator/Cargo.toml b/polkadot/collator/Cargo.toml index 2e121ddfd3..6f62a9617e 100644 --- a/polkadot/collator/Cargo.toml +++ b/polkadot/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-collator" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] description = "Collator node implementation" edition = "2018" diff --git a/polkadot/erasure-coding/Cargo.toml b/polkadot/erasure-coding/Cargo.toml index 956d3448e7..99d6cc8e73 100644 --- a/polkadot/erasure-coding/Cargo.toml +++ b/polkadot/erasure-coding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-erasure-coding" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/network/Cargo.toml b/polkadot/network/Cargo.toml index 717d0b1b5e..0c7cf0ef04 100644 --- a/polkadot/network/Cargo.toml +++ b/polkadot/network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-network" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] description = "Polkadot-specific networking protocol" edition = "2018" diff --git a/polkadot/network/test/Cargo.toml b/polkadot/network/test/Cargo.toml index d49023c1a3..3f7c988503 100644 --- a/polkadot/network/test/Cargo.toml +++ b/polkadot/network/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-network-test" -version = "0.8.3" +version = "0.8.4" license = "GPL-3.0" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml index 0924b994e5..2472ab625c 100644 --- a/polkadot/parachain/Cargo.toml +++ b/polkadot/parachain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-parachain" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] description = "Types and utilities for creating and working with parachains" edition = "2018" diff --git a/polkadot/parachain/test-parachains/adder/Cargo.toml b/polkadot/parachain/test-parachains/adder/Cargo.toml index 33d3a10fed..d8590de895 100644 --- a/polkadot/parachain/test-parachains/adder/Cargo.toml +++ b/polkadot/parachain/test-parachains/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-adder" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] description = "Test parachain which adds to a number as its state transition" edition = "2018" diff --git a/polkadot/parachain/test-parachains/halt/Cargo.toml b/polkadot/parachain/test-parachains/halt/Cargo.toml index 87d074bb33..008c6ea4ca 100644 --- a/polkadot/parachain/test-parachains/halt/Cargo.toml +++ b/polkadot/parachain/test-parachains/halt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-halt" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] description = "Test parachain which executes forever" edition = "2018" diff --git a/polkadot/primitives/Cargo.toml b/polkadot/primitives/Cargo.toml index 144e1a31ec..072e5ea835 100644 --- a/polkadot/primitives/Cargo.toml +++ b/polkadot/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/rpc/Cargo.toml b/polkadot/rpc/Cargo.toml index e8b3d68ae8..39f53ef48f 100644 --- a/polkadot/rpc/Cargo.toml +++ b/polkadot/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-rpc" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/runtime/common/Cargo.toml b/polkadot/runtime/common/Cargo.toml index 3730077bb5..926d4e6ce9 100644 --- a/polkadot/runtime/common/Cargo.toml +++ b/polkadot/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-common" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/runtime/kusama/Cargo.toml b/polkadot/runtime/kusama/Cargo.toml index 362001e3dc..82e8e765e4 100644 --- a/polkadot/runtime/kusama/Cargo.toml +++ b/polkadot/runtime/kusama/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kusama-runtime" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" build = "build.rs" @@ -46,6 +46,7 @@ identity = { package = "pallet-identity", git = "https://github.com/paritytech/s im-online = { package = "pallet-im-online", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } nicks = { package = "pallet-nicks", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } proxy = { package = "pallet-proxy", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -118,6 +119,7 @@ std = [ "im-online/std", "indices/std", "membership/std", + "multisig/std", "nicks/std", "offences/std", "proxy/std", diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 64768451dc..8c1b9a582e 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -84,7 +84,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 2000, + spec_version: 2004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -100,12 +100,14 @@ pub fn native_version() -> NativeVersion { } /// Avoid processing transactions from slots and parachain registrar. -pub struct IsCallable; -impl Filter for IsCallable { +pub struct BaseFilter; +impl Filter for BaseFilter { fn filter(call: &Call) -> bool { !matches!(call, Call::Slots(_) | Call::Registrar(_)) } } +pub struct IsCallable; +frame_support::impl_filter_stack!(IsCallable, BaseFilter, Call, is_callable); parameter_types! { pub const Version: RuntimeVersion = VERSION; @@ -688,20 +690,26 @@ impl identity::Trait for Runtime { type ForceOrigin = collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>; } -parameter_types! { - // One storage item; value is size 4+4+16+32 bytes = 56 bytes. - pub const MultisigDepositBase: Balance = 30 * CENTS; - // Additional storage item size of 32 bytes. - pub const MultisigDepositFactor: Balance = 5 * CENTS; - pub const MaxSignatories: u16 = 100; -} - impl utility::Trait for Runtime { + type Event = Event; + type Call = Call; + type IsCallable = IsCallable; +} + +parameter_types! { + // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. + pub const DepositBase: Balance = deposit(1, 88); + // Additional storage item size of 32 bytes. + pub const DepositFactor: Balance = deposit(0, 32); + pub const MaxSignatories: u16 = 100; +} + +impl multisig::Trait for Runtime { type Event = Event; type Call = Call; type Currency = Balances; - type MultisigDepositBase = MultisigDepositBase; - type MultisigDepositFactor = MultisigDepositFactor; + type DepositBase = DepositBase; + type DepositFactor = DepositFactor; type MaxSignatories = MaxSignatories; type IsCallable = IsCallable; } @@ -783,16 +791,29 @@ impl InstanceFilter for ProxyType { fn filter(&self, c: &Call) -> bool { match self { ProxyType::Any => true, + ProxyType::NonTransfer => !matches!(c, + Call::Balances(..) | Call::Vesting(vesting::Call::vested_transfer(..)) + | Call::Indices(indices::Call::transfer(..)) + ), ProxyType::Governance => matches!(c, Call::Democracy(..) | Call::Council(..) | Call::TechnicalCommittee(..) | Call::ElectionsPhragmen(..) | Call::Treasury(..) + | Call::Utility(utility::Call::batch(..)) + | Call::Utility(utility::Call::as_limited_sub(..)) ), - ProxyType::NonTransfer => !matches!(c, - Call::Balances(..) | Call::Utility(..) - | Call::Vesting(vesting::Call::vested_transfer(..)) - | Call::Indices(indices::Call::transfer(..)) + ProxyType::Staking => matches!(c, + Call::Staking(..) | Call::Utility(utility::Call::batch(..)) + | Call::Utility(utility::Call::as_limited_sub(..)) ), - ProxyType::Staking => matches!(c, Call::Staking(..)), + } + } + fn is_superset(&self, o: &Self) -> bool { + match (self, o) { + (x, y) if x == y => true, + (ProxyType::Any, _) => true, + (_, ProxyType::Any) => false, + (ProxyType::NonTransfer, _) => true, + _ => false, } } } @@ -856,7 +877,7 @@ construct_runtime! { Registrar: registrar::{Module, Call, Storage, Event, Config}, // Utility module. - Utility: utility::{Module, Call, Storage, Event}, + Utility: utility::{Module, Call, Event}, // Less simple identity module. Identity: identity::{Module, Call, Storage, Event}, @@ -874,7 +895,10 @@ construct_runtime! { Scheduler: scheduler::{Module, Call, Storage, Event}, // Proxy module. Late addition. - Proxy: proxy::{Module, Call, Storage, Event} + Proxy: proxy::{Module, Call, Storage, Event}, + + // Multisig module. Late addition. + Multisig: multisig::{Module, Call, Storage, Event}, } } diff --git a/polkadot/runtime/polkadot/Cargo.toml b/polkadot/runtime/polkadot/Cargo.toml index ebea63e901..3a807d82c2 100644 --- a/polkadot/runtime/polkadot/Cargo.toml +++ b/polkadot/runtime/polkadot/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" build = "build.rs" @@ -45,6 +45,7 @@ identity = { package = "pallet-identity", git = "https://github.com/paritytech/s im-online = { package = "pallet-im-online", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } nicks = { package = "pallet-nicks", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } proxy = { package = "pallet-proxy", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -115,6 +116,7 @@ std = [ "im-online/std", "indices/std", "membership/std", + "multisig/std", "nicks/std", "offences/std", "proxy/std", diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index e947844fbd..f9e4ad5d1a 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -89,7 +89,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 3, + spec_version: 4, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, @@ -104,8 +104,8 @@ pub fn native_version() -> NativeVersion { } } -pub struct IsCallable; -impl Filter for IsCallable { +pub struct BaseFilter; +impl Filter for BaseFilter { fn filter(call: &Call) -> bool { match call { Call::Parachains(parachains::Call::set_heads(..)) => true, @@ -127,11 +127,13 @@ impl Filter for IsCallable { Call::Session(_) | Call::FinalityTracker(_) | Call::Grandpa(_) | Call::ImOnline(_) | Call::AuthorityDiscovery(_) | Call::Utility(_) | Call::Claims(_) | Call::Vesting(_) | Call::Sudo(_) | - Call::Identity(_) | Call::Proxy(_) => + Call::Identity(_) | Call::Proxy(_) | Call::Multisig(_) => true, } } } +pub struct IsCallable; +frame_support::impl_filter_stack!(IsCallable, BaseFilter, Call, is_callable); parameter_types! { pub const Version: RuntimeVersion = VERSION; @@ -720,20 +722,26 @@ impl vesting::Trait for Runtime { type MinVestedTransfer = MinVestedTransfer; } -parameter_types! { - // One storage item; value is size 4+4+16+32 bytes = 56 bytes. - pub const MultisigDepositBase: Balance = 30 * CENTS; - // Additional storage item size of 32 bytes. - pub const MultisigDepositFactor: Balance = 5 * CENTS; - pub const MaxSignatories: u16 = 100; -} - impl utility::Trait for Runtime { + type Event = Event; + type Call = Call; + type IsCallable = IsCallable; +} + +parameter_types! { + // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. + pub const DepositBase: Balance = deposit(1, 88); + // Additional storage item size of 32 bytes. + pub const DepositFactor: Balance = deposit(0, 32); + pub const MaxSignatories: u16 = 100; +} + +impl multisig::Trait for Runtime { type Event = Event; type Call = Call; type Currency = Balances; - type MultisigDepositBase = MultisigDepositBase; - type MultisigDepositFactor = MultisigDepositFactor; + type DepositBase = DepositBase; + type DepositFactor = DepositFactor; type MaxSignatories = MaxSignatories; type IsCallable = IsCallable; } @@ -758,6 +766,7 @@ pub enum ProxyType { NonTransfer, Governance, Staking, + SudoBalances, } impl Default for ProxyType { fn default() -> Self { Self::Any } } impl InstanceFilter for ProxyType { @@ -765,15 +774,31 @@ impl InstanceFilter for ProxyType { match self { ProxyType::Any => true, ProxyType::NonTransfer => !matches!(c, - Call::Balances(..) | Call::Utility(..) - | Call::Vesting(vesting::Call::vested_transfer(..)) + Call::Balances(..) | Call::Vesting(vesting::Call::vested_transfer(..)) | Call::Indices(indices::Call::transfer(..)) ), ProxyType::Governance => matches!(c, Call::Democracy(..) | Call::Council(..) | Call::TechnicalCommittee(..) | Call::ElectionsPhragmen(..) | Call::Treasury(..) + | Call::Utility(utility::Call::batch(..)) + | Call::Utility(utility::Call::as_limited_sub(..)) ), - ProxyType::Staking => matches!(c, Call::Staking(..)), + ProxyType::Staking => matches!(c, + Call::Staking(..) | Call::Utility(utility::Call::batch(..)) + | Call::Utility(utility::Call::as_limited_sub(..)) + ), + ProxyType::SudoBalances => matches!(c, + Call::Sudo(sudo::Call::sudo(x)) if matches!(x.as_ref(), &Call::Balances(..)) + ), + } + } + fn is_superset(&self, o: &Self) -> bool { + match (self, o) { + (x, y) if x == y => true, + (ProxyType::Any, _) => true, + (_, ProxyType::Any) => false, + (ProxyType::NonTransfer, _) => true, + _ => false, } } } @@ -841,7 +866,7 @@ construct_runtime! { // Vesting. Usable initially, but removed once all vesting is finished. Vesting: vesting::{Module, Call, Storage, Event, Config}, // Cunning utilities. Usable initially. - Utility: utility::{Module, Call, Storage, Event}, + Utility: utility::{Module, Call, Event}, // Sudo. Last module. Usable initially, but removed once governance enabled. Sudo: sudo::{Module, Call, Storage, Config, Event}, @@ -850,7 +875,10 @@ construct_runtime! { Identity: identity::{Module, Call, Storage, Event}, // Proxy module. Late addition. - Proxy: proxy::{Module, Call, Storage, Event} + Proxy: proxy::{Module, Call, Storage, Event}, + + // Multisig dispatch. Late addition. + Multisig: multisig::{Module, Call, Storage, Event}, } } diff --git a/polkadot/runtime/test-runtime/Cargo.toml b/polkadot/runtime/test-runtime/Cargo.toml index c0cd0b6f7d..c941c16686 100644 --- a/polkadot/runtime/test-runtime/Cargo.toml +++ b/polkadot/runtime/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-runtime" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" build = "build.rs" diff --git a/polkadot/runtime/westend/Cargo.toml b/polkadot/runtime/westend/Cargo.toml index 3f0406eb32..3f8d4ea2b2 100644 --- a/polkadot/runtime/westend/Cargo.toml +++ b/polkadot/runtime/westend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "westend-runtime" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" build = "build.rs" @@ -46,6 +46,7 @@ identity = { package = "pallet-identity", git = "https://github.com/paritytech/s im-online = { package = "pallet-im-online", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } nicks = { package = "pallet-nicks", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } proxy = { package = "pallet-proxy", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -121,6 +122,7 @@ std = [ "im-online/std", "indices/std", "membership/std", + "multisig/std", "nicks/std", "offences/std", "proxy/std", diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 26ab0a8e42..88e033f649 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -82,7 +82,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westend"), impl_name: create_runtime_str!("parity-westend"), authoring_version: 2, - spec_version: 20, + spec_version: 24, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -98,12 +98,14 @@ pub fn native_version() -> NativeVersion { } /// Avoid processing transactions from slots and parachain registrar. -pub struct IsCallable; -impl Filter for IsCallable { +pub struct BaseFilter; +impl Filter for BaseFilter { fn filter(call: &Call) -> bool { !matches!(call, Call::Registrar(_)) } } +pub struct IsCallable; +frame_support::impl_filter_stack!(IsCallable, BaseFilter, Call, is_callable); parameter_types! { pub const Version: RuntimeVersion = VERSION; @@ -520,20 +522,26 @@ impl identity::Trait for Runtime { type ForceOrigin = system::EnsureRoot; } -parameter_types! { - // One storage item; value is size 4+4+16+32 bytes = 56 bytes. - pub const MultisigDepositBase: Balance = 30 * CENTS; - // Additional storage item size of 32 bytes. - pub const MultisigDepositFactor: Balance = 5 * CENTS; - pub const MaxSignatories: u16 = 100; -} - impl utility::Trait for Runtime { + type Event = Event; + type Call = Call; + type IsCallable = IsCallable; +} + +parameter_types! { + // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. + pub const DepositBase: Balance = deposit(1, 88); + // Additional storage item size of 32 bytes. + pub const DepositFactor: Balance = deposit(0, 32); + pub const MaxSignatories: u16 = 100; +} + +impl multisig::Trait for Runtime { type Event = Event; type Call = Call; type Currency = Balances; - type MultisigDepositBase = MultisigDepositBase; - type MultisigDepositFactor = MultisigDepositFactor; + type DepositBase = DepositBase; + type DepositFactor = DepositFactor; type MaxSignatories = MaxSignatories; type IsCallable = IsCallable; } @@ -585,6 +593,7 @@ pub enum ProxyType { Any, NonTransfer, Staking, + SudoBalances, } impl Default for ProxyType { fn default() -> Self { Self::Any } } impl InstanceFilter for ProxyType { @@ -592,9 +601,24 @@ impl InstanceFilter for ProxyType { match self { ProxyType::Any => true, ProxyType::NonTransfer => !matches!(c, - Call::Balances(..) | Call::Utility(..) | Call::Indices(indices::Call::transfer(..)) + Call::Balances(..) | Call::Indices(indices::Call::transfer(..)) ), - ProxyType::Staking => matches!(c, Call::Staking(..)), + ProxyType::Staking => matches!(c, + Call::Staking(..) | Call::Utility(utility::Call::batch(..)) + | Call::Utility(utility::Call::as_limited_sub(..)) + ), + ProxyType::SudoBalances => matches!(c, + Call::Sudo(sudo::Call::sudo(x)) if matches!(x.as_ref(), &Call::Balances(..)) + ), + } + } + fn is_superset(&self, o: &Self) -> bool { + match (self, o) { + (x, y) if x == y => true, + (ProxyType::Any, _) => true, + (_, ProxyType::Any) => false, + (ProxyType::NonTransfer, _) => true, + _ => false, } } } @@ -646,7 +670,7 @@ construct_runtime! { Registrar: registrar::{Module, Call, Storage, Event, Config}, // Utility module. - Utility: utility::{Module, Call, Storage, Event}, + Utility: utility::{Module, Call, Event}, // Less simple identity module. Identity: identity::{Module, Call, Storage, Event}, @@ -664,7 +688,10 @@ construct_runtime! { Sudo: sudo::{Module, Call, Storage, Event, Config}, // Proxy module. Late addition. - Proxy: proxy::{Module, Call, Storage, Event} + Proxy: proxy::{Module, Call, Storage, Event}, + + // Multisig module. Late addition. + Multisig: multisig::{Module, Call, Storage, Event}, } } diff --git a/polkadot/service/Cargo.toml b/polkadot/service/Cargo.toml index 5d7cb2a54b..fb86c83f9b 100644 --- a/polkadot/service/Cargo.toml +++ b/polkadot/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-service" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/statement-table/Cargo.toml b/polkadot/statement-table/Cargo.toml index bf2f8cedb5..5b96ca894c 100644 --- a/polkadot/statement-table/Cargo.toml +++ b/polkadot/statement-table/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-table" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/validation/Cargo.toml b/polkadot/validation/Cargo.toml index 0930012376..b2168edf8c 100644 --- a/polkadot/validation/Cargo.toml +++ b/polkadot/validation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-validation" -version = "0.8.3" +version = "0.8.4" authors = ["Parity Technologies "] edition = "2018"