diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 2e71535168..ca1e5356f8 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -167,7 +167,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502" dependencies = [ "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -503,9 +503,9 @@ checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b" [[package]] name = "cc" -version = "1.0.50" +version = "1.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" +checksum = "c3d87b23d6a92cd03af510a5ade527033f6aa6fa92161e2d5863a907d4c5e31d" dependencies = [ "jobserver", ] @@ -676,7 +676,7 @@ dependencies = [ "gimli", "log 0.4.8", "serde", - "smallvec 1.3.0", + "smallvec 1.4.0", "target-lexicon", "thiserror", ] @@ -714,7 +714,7 @@ checksum = "518344698fa6c976d853319218415fdfb4f1bc6b42d0b2e2df652e55dff1f778" dependencies = [ "cranelift-codegen", "log 0.4.8", - "smallvec 1.3.0", + "smallvec 1.4.0", "target-lexicon", ] @@ -898,7 +898,7 @@ checksum = "e2323f3f47db9a0e77ce7a300605d8d2098597fc451ed1a97bb1f6411bb550a7" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -1018,7 +1018,7 @@ checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -1138,7 +1138,7 @@ checksum = "030a733c8287d6213886dd487564ff5c8f6aae10278b3588ed177f9d18f8d231" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", "synstructure", ] @@ -1227,7 +1227,7 @@ checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" [[package]] name = "fork-tree" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "bitmask", "frame-metadata", @@ -1321,40 +1321,40 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "frame-support-procedural-tools" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "frame-system" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-api", @@ -1506,7 +1506,7 @@ dependencies = [ "proc-macro-hack", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -1628,7 +1628,7 @@ dependencies = [ "byteorder", "fallible-iterator", "indexmap", - "smallvec 1.3.0", + "smallvec 1.4.0", "stable_deref_trait", ] @@ -1708,7 +1708,7 @@ dependencies = [ "indexmap", "log 0.4.8", "slab", - "tokio 0.2.18", + "tokio 0.2.19", "tokio-util", ] @@ -1909,7 +1909,7 @@ dependencies = [ "net2", "pin-project", "time", - "tokio 0.2.18", + "tokio 0.2.19", "tower-service", "want 0.3.0", ] @@ -1927,7 +1927,7 @@ dependencies = [ "log 0.4.8", "rustls", "rustls-native-certs", - "tokio 0.2.18", + "tokio 0.2.19", "tokio-rustls", "webpki", ] @@ -1989,7 +1989,7 @@ checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -2145,7 +2145,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -2306,7 +2306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cad096c6849b2ef027fabe35c4aed356d0e3d3f586d0a8361e5e17f1e50a7ce5" dependencies = [ "parity-util-mem", - "smallvec 1.3.0", + "smallvec 1.4.0", ] [[package]] @@ -2336,7 +2336,7 @@ dependencies = [ "parking_lot 0.10.2", "regex", "rocksdb", - "smallvec 1.3.0", + "smallvec 1.4.0", ] [[package]] @@ -2436,7 +2436,7 @@ dependencies = [ "parity-multiaddr 0.8.0", "parking_lot 0.10.2", "pin-project", - "smallvec 1.3.0", + "smallvec 1.4.0", "wasm-timer", ] @@ -2467,7 +2467,7 @@ dependencies = [ "ring", "rw-stream-sink", "sha2", - "smallvec 1.3.0", + "smallvec 1.4.0", "thiserror", "unsigned-varint", "void", @@ -2481,7 +2481,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "329127858e4728db5ab60c33d5ae352a999325fdf190ed022ec7d3a4685ae2e6" dependencies = [ "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -2507,7 +2507,7 @@ dependencies = [ "log 0.4.8", "prost", "prost-build", - "smallvec 1.3.0", + "smallvec 1.4.0", "wasm-timer", ] @@ -2531,7 +2531,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "sha2", - "smallvec 1.3.0", + "smallvec 1.4.0", "uint", "unsigned-varint", "void", @@ -2555,7 +2555,7 @@ dependencies = [ "log 0.4.8", "net2", "rand 0.7.3", - "smallvec 1.3.0", + "smallvec 1.4.0", "void", "wasm-timer", ] @@ -2652,7 +2652,7 @@ dependencies = [ "libp2p-core", "log 0.4.8", "rand 0.7.3", - "smallvec 1.3.0", + "smallvec 1.4.0", "void", "wasm-timer", ] @@ -2722,9 +2722,9 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "6.6.4" +version = "6.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e3b727e2dd20ec2fb7ed93f23d9fd5328a0871185485ebdaff007b47d3e27e4" +checksum = "883213ae3d09bfc3d104aefe94b25ebb183b6f4d3a515b23b14817e1f4854005" dependencies = [ "bindgen", "cc", @@ -3016,7 +3016,7 @@ dependencies = [ "futures 0.3.4", "log 0.4.8", "pin-project", - "smallvec 1.3.0", + "smallvec 1.4.0", "unsigned-varint", ] @@ -3258,7 +3258,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "frame-support", "frame-system", @@ -3599,18 +3599,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "pallet-sudo" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" 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#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "enumflags2", "frame-support", @@ -3728,11 +3728,12 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "288f7e4d049b6c9adeb8a69deaa9a4085ec601a1dbf36fe4fd1dd686f44b12cc" +checksum = "00d595e372d119261593297debbe4193811a4dc811d2a1ccbb8caaa6666ad7ab" dependencies = [ "blake2-rfc", + "crc32fast", "libc", "log 0.4.8", "memmap", @@ -3812,7 +3813,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -3833,7 +3834,7 @@ dependencies = [ "parity-util-mem-derive", "parking_lot 0.10.2", "primitive-types", - "smallvec 1.3.0", + "smallvec 1.4.0", "winapi 0.3.8", ] @@ -3844,7 +3845,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ "proc-macro2 1.0.10", - "syn 1.0.17", + "syn 1.0.18", "synstructure", ] @@ -3900,7 +3901,7 @@ dependencies = [ "cloudabi", "libc", "redox_syscall", - "smallvec 1.3.0", + "smallvec 1.4.0", "winapi 0.3.8", ] @@ -3923,7 +3924,7 @@ dependencies = [ "proc-macro-hack", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -3987,7 +3988,7 @@ checksum = "8988430ce790d8682672117bc06dda364c0be32d3abd738234f19f3240bad99a" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -3998,9 +3999,9 @@ checksum = "237844750cfbb86f67afe27eee600dfbbcb6188d734139b534cbfbf4f96792ae" [[package]] name = "pin-utils" -version = "0.1.0-alpha.4" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5894c618ce612a3fa23881b152b608bafb8c56cfc22f434a3ba3120b40f7b587" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" @@ -4057,7 +4058,7 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", - "tokio 0.2.18", + "tokio 0.2.19", ] [[package]] @@ -4080,7 +4081,7 @@ dependencies = [ "structopt", "substrate-browser-utils", "substrate-build-script-utils", - "tokio 0.2.18", + "tokio 0.2.19", "wasm-bindgen", "wasm-bindgen-futures", ] @@ -4108,7 +4109,7 @@ dependencies = [ "sp-core", "sp-keyring", "sp-runtime", - "tokio 0.2.18", + "tokio 0.2.19", ] [[package]] @@ -4511,7 +4512,7 @@ dependencies = [ "sp-timestamp", "sp-transaction-pool", "sp-trie", - "tokio 0.2.18", + "tokio 0.2.19", ] [[package]] @@ -4586,7 +4587,7 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", "version_check", ] @@ -4598,7 +4599,7 @@ checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", "syn-mid", "version_check", ] @@ -4700,7 +4701,7 @@ dependencies = [ "itertools", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -5023,7 +5024,7 @@ version = "4.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a415a013dd7c5d4221382329a5a3482566da675737494935cbbbcdec04662f9d" dependencies = [ - "smallvec 1.3.0", + "smallvec 1.4.0", ] [[package]] @@ -5043,7 +5044,7 @@ checksum = "602eb59cda66fcb9aec25841fb76bc01d2b34282dcdd705028da297db6f3eec8" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -5209,9 +5210,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "535622e6be132bccd223f4bb2b8ac8d53cda3c7a6394944d3b2b33fb974f9d76" +checksum = "ed3d612bc64430efeb3f7ee6ef26d590dce0c43249217bddc62112540c7941e1" [[package]] name = "safe-mix" @@ -5225,7 +5226,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "bytes 0.5.4", "derive_more 0.99.5", @@ -5252,7 +5253,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5268,7 +5269,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -5284,18 +5285,18 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "sc-cli" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "ansi_term 0.12.1", "app_dirs", @@ -5331,13 +5332,13 @@ dependencies = [ "structopt", "substrate-prometheus-endpoint", "time", - "tokio 0.2.18", + "tokio 0.2.19", ] [[package]] name = "sc-client" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "fnv", @@ -5374,7 +5375,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "fnv", @@ -5409,7 +5410,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "blake2-rfc", "hash-db", @@ -5439,7 +5440,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "fork-tree", @@ -5481,7 +5482,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "fork-tree", "parity-scale-codec", @@ -5494,7 +5495,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "futures-timer 3.0.2", @@ -5515,7 +5516,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "log 0.4.8", "sc-client-api", @@ -5529,7 +5530,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "lazy_static", @@ -5557,7 +5558,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "log 0.4.8", @@ -5574,7 +5575,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5589,7 +5590,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -5610,7 +5611,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "assert_matches", "finality-grandpa", @@ -5646,7 +5647,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "ansi_term 0.12.1", "futures 0.3.4", @@ -5663,7 +5664,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "hex", @@ -5678,7 +5679,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "bitflags", "bytes 0.5.4", @@ -5731,7 +5732,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "futures-timer 3.0.2", @@ -5747,7 +5748,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "env_logger 0.7.1", "futures 0.3.4", @@ -5773,7 +5774,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "bytes 0.5.4", "fnv", @@ -5800,7 +5801,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "libp2p", @@ -5813,7 +5814,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "hash-db", @@ -5846,7 +5847,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -5870,7 +5871,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -5885,7 +5886,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "exit-future", @@ -5936,7 +5937,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5950,7 +5951,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "bytes 0.5.4", "futures 0.3.4", @@ -5972,7 +5973,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "erased-serde", "log 0.4.8", @@ -5987,7 +5988,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6007,7 +6008,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6087,7 +6088,7 @@ checksum = "f8584eea9b9ff42825b46faf46a8c24d2cff13ec152fa2a50df788b87c07ee28" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -6102,9 +6103,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "572dfa3a0785509e7a44b5b4bebcf94d41ba34e9ed9eb9df722545c3b3c4144a" +checksum = "3f331b9025654145cd425b9ded0caf8f5ae0df80d418b326e2dc1c3dc5eb0620" dependencies = [ "bitflags", "core-foundation", @@ -6115,9 +6116,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ddb15a5fec93b7021b8a9e96009c5d8d51c15673569f7c0f6b7204e5b7b404f" +checksum = "17bf11d99252f512695eb468de5516e5cf75455521e69dfe343f3b74e4748405" dependencies = [ "core-foundation-sys", "libc", @@ -6173,7 +6174,7 @@ checksum = "9e549e3abf4fb8621bd1609f11dfc9f5e50320802273b12f3811a67e6716ea6c" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -6333,7 +6334,7 @@ checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -6347,9 +6348,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05720e22615919e4734f6a99ceae50d00226c3c5aca406e102ebc33298214e0a" +checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" [[package]] name = "snow" @@ -6384,7 +6385,7 @@ dependencies = [ "log 0.4.8", "rand 0.7.3", "sha1", - "smallvec 1.3.0", + "smallvec 1.4.0", "static_assertions", "thiserror", ] @@ -6392,7 +6393,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "log 0.4.8", @@ -6404,7 +6405,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "hash-db", "parity-scale-codec", @@ -6419,19 +6420,19 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "blake2-rfc", "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "sp-application-crypto" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "serde", @@ -6443,7 +6444,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "integer-sqrt", "num-traits 0.2.11", @@ -6457,7 +6458,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-api", @@ -6469,7 +6470,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6480,7 +6481,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-api", @@ -6492,7 +6493,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "log 0.4.8", @@ -6508,7 +6509,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "serde", "serde_json", @@ -6517,7 +6518,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6540,7 +6541,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-api", @@ -6554,7 +6555,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-api", @@ -6570,7 +6571,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -6582,7 +6583,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "base58", "blake2-rfc", @@ -6623,7 +6624,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -6632,17 +6633,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "sp-externalities" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "environmental", "sp-std", @@ -6652,7 +6653,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "serde", @@ -6665,7 +6666,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6675,7 +6676,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "parity-scale-codec", @@ -6687,7 +6688,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "hash-db", @@ -6707,7 +6708,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "lazy_static", "sp-core", @@ -6718,7 +6719,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "sp-api", "sp-core", @@ -6728,7 +6729,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "backtrace", "log 0.4.8", @@ -6737,7 +6738,7 @@ dependencies = [ [[package]] name = "sp-phragmen" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "serde", @@ -6749,18 +6750,18 @@ dependencies = [ [[package]] name = "sp-phragmen-compact" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "sp-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "serde", "sp-core", @@ -6769,7 +6770,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -6790,7 +6791,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "primitive-types", @@ -6805,19 +6806,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] name = "sp-serializer" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "serde", "serde_json", @@ -6826,7 +6827,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "sp-api", "sp-core", @@ -6837,7 +6838,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -6847,7 +6848,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "hash-db", "log 0.4.8", @@ -6866,12 +6867,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" [[package]] name = "sp-storage" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -6883,7 +6884,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6897,7 +6898,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "tracing", ] @@ -6905,7 +6906,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "derive_more 0.99.5", "futures 0.3.4", @@ -6920,7 +6921,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "hash-db", "memory-db", @@ -6934,7 +6935,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "futures-core", @@ -6945,7 +6946,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -6957,7 +6958,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7027,9 +7028,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] name = "structopt" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff6da2e8d107dfd7b74df5ef4d205c6aebee0706c647f6bc6a2d5789905c00fb" +checksum = "863246aaf5ddd0d6928dfeb1a9ca65f505599e4e1b399935ef7e75107516b4ef" dependencies = [ "clap", "lazy_static", @@ -7038,15 +7039,15 @@ dependencies = [ [[package]] name = "structopt-derive" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a489c87c08fbaf12e386665109dd13470dcc9c4583ea3e10dd2b4523e5ebd9ac" +checksum = "d239ca4b13aee7a2142e6795cbd69e457665ff8037aed33b3effdc430d2f927a" dependencies = [ "heck", "proc-macro-error", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -7067,7 +7068,7 @@ dependencies = [ "heck", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -7085,7 +7086,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "chrono", "clear_on_drop", @@ -7112,7 +7113,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "platforms", ] @@ -7120,7 +7121,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.4", @@ -7141,7 +7142,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "async-std", "derive_more 0.99.5", @@ -7149,13 +7150,13 @@ dependencies = [ "hyper 0.13.5", "log 0.4.8", "prometheus", - "tokio 0.2.18", + "tokio 0.2.19", ] [[package]] name = "substrate-test-client" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "hash-db", @@ -7175,7 +7176,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "cfg-if", "frame-executive", @@ -7214,7 +7215,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" dependencies = [ "futures 0.3.4", "parity-scale-codec", @@ -7232,7 +7233,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.5" -source = "git+https://github.com/paritytech/substrate#cddb42c63faf5b27009e07051623079bcf4e6791" +source = "git+https://github.com/paritytech/substrate#32ae0fd2221456d275471a2304fb30eba9736b14" [[package]] name = "substrate-wasm-builder-runner" @@ -7345,9 +7346,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0df0eb663f387145cab623dea85b09c2c5b4b0aef44e945d928e682fce71bb03" +checksum = "410a7488c0a728c7ceb4ad59b9567eb4053d02e8cc7f5c0e0eeeb39518369213" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", @@ -7362,7 +7363,7 @@ checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -7382,7 +7383,7 @@ checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", "unicode-xid 0.2.0", ] @@ -7532,7 +7533,7 @@ checksum = "ca972988113b7715266f91250ddb98070d033c62a011fa0fcc57434a649310dd" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -7546,9 +7547,9 @@ dependencies = [ [[package]] name = "threadpool" -version = "1.7.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2f0c90a5f3459330ac8bc0d2f879c693bb7a2f59689c1083fc4ef83834da865" +checksum = "e8dae184447c15d5a6916d973c642aec485105a13cd238192a6927ae3e077d66" dependencies = [ "num_cpus", ] @@ -7623,9 +7624,9 @@ dependencies = [ [[package]] name = "tokio" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ef16d072d2b6dc8b4a56c70f5c5ced1a37752116f8e7c1e80c659aa7cb6713" +checksum = "7d9c43f1bb96970e153bcbae39a65e249ccb942bd9d36dbdf086024920417c9c" dependencies = [ "bytes 0.5.4", "fnv", @@ -7734,7 +7735,7 @@ checksum = "4adb8b3e5f86b707f1b54e7c15b6de52617a823608ccda98a15d3a24222f265a" dependencies = [ "futures-core", "rustls", - "tokio 0.2.18", + "tokio 0.2.19", "webpki", ] @@ -7835,7 +7836,7 @@ dependencies = [ "futures-sink", "log 0.4.8", "pin-project-lite", - "tokio 0.2.18", + "tokio 0.2.19", ] [[package]] @@ -7871,7 +7872,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fbad39da2f9af1cae3016339ad7f2c7a9e870f12e8fd04c4fd7ef35b30c0d2b" dependencies = [ "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", ] [[package]] @@ -7899,7 +7900,7 @@ dependencies = [ "hashbrown", "log 0.4.8", "rustc-hex", - "smallvec 1.3.0", + "smallvec 1.4.0", ] [[package]] @@ -7979,7 +7980,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5479532badd04e128284890390c1e876ef7a993d0570b3597ae43dfa1d59afa4" dependencies = [ - "smallvec 1.3.0", + "smallvec 1.4.0", ] [[package]] @@ -8139,7 +8140,7 @@ dependencies = [ "log 0.4.8", "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", "wasm-bindgen-shared", ] @@ -8173,7 +8174,7 @@ checksum = "d68a5b36eef1be7868f668632863292e37739656a80fc4b9acec7b0bd35a4931" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -8545,7 +8546,7 @@ checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" dependencies = [ "proc-macro2 1.0.10", "quote 1.0.3", - "syn 1.0.17", + "syn 1.0.18", "synstructure", ] diff --git a/polkadot/runtime/common/src/attestations.rs b/polkadot/runtime/common/src/attestations.rs index 5bc2e4867f..97080fc64a 100644 --- a/polkadot/runtime/common/src/attestations.rs +++ b/polkadot/runtime/common/src/attestations.rs @@ -25,7 +25,7 @@ use frame_support::{ decl_storage, decl_module, decl_error, ensure, dispatch::DispatchResult, traits::Get, - weights::{MINIMUM_WEIGHT, DispatchClass}, + weights::DispatchClass, }; use primitives::{Hash, parachain::{AttestedCandidate, AbridgedCandidateReceipt, Id as ParaId}}; @@ -134,7 +134,7 @@ decl_module! { type Error = Error; /// Provide candidate receipts for parachains, in ascending order by id. - #[weight = (MINIMUM_WEIGHT, DispatchClass::Mandatory)] + #[weight = (0, DispatchClass::Mandatory)] fn more_attestations(origin, _more: MoreAttestations) -> DispatchResult { ensure_none(origin)?; ensure!(!DidUpdate::exists(), Error::::TooManyAttestations); diff --git a/polkadot/runtime/common/src/claims.rs b/polkadot/runtime/common/src/claims.rs index f54928db6a..fbc2863cc0 100644 --- a/polkadot/runtime/common/src/claims.rs +++ b/polkadot/runtime/common/src/claims.rs @@ -390,6 +390,8 @@ mod tests { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = (); + type ExtrinsicBaseWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/crowdfund.rs b/polkadot/runtime/common/src/crowdfund.rs index f5a6427fc1..6af7d3d6ea 100644 --- a/polkadot/runtime/common/src/crowdfund.rs +++ b/polkadot/runtime/common/src/crowdfund.rs @@ -71,7 +71,6 @@ use frame_support::{ traits::{ Currency, Get, OnUnbalanced, WithdrawReason, ExistenceRequirement::AllowDeath }, - weights::MINIMUM_WEIGHT, }; use system::ensure_signed; use sp_runtime::{ModuleId, @@ -297,7 +296,7 @@ decl_module! { /// Contribute to a crowd sale. This will transfer some balance over to fund a parachain /// slot. It will be withdrawable in two instances: the parachain becomes retired; or the /// slot is unable to be purchased and the timeout expires. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn contribute(origin, #[compact] index: FundIndex, #[compact] value: BalanceOf) { let who = ensure_signed(origin)?; @@ -356,7 +355,7 @@ decl_module! { /// - `index` is the fund index that `origin` owns and whose deploy data will be set. /// - `code_hash` is the hash of the parachain's Wasm validation function. /// - `initial_head_data` is the parachain's initial head data. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn fix_deploy_data(origin, #[compact] index: FundIndex, code_hash: T::Hash, @@ -382,7 +381,7 @@ decl_module! { /// /// - `index` is the fund index that `origin` owns and whose deploy data will be set. /// - `para_id` is the parachain index that this fund won. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn onboard(origin, #[compact] index: FundIndex, #[compact] para_id: ParaId @@ -411,7 +410,7 @@ decl_module! { } /// Note that a successful fund has lost its parachain slot, and place it into retirement. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn begin_retirement(origin, #[compact] index: FundIndex) { let _ = ensure_signed(origin)?; @@ -433,7 +432,7 @@ decl_module! { } /// Withdraw full balance of a contributor to an unsuccessful or off-boarded fund. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn withdraw(origin, #[compact] index: FundIndex) { let who = ensure_signed(origin)?; @@ -464,7 +463,7 @@ decl_module! { /// Remove a fund after either: it was unsuccessful and it timed out; or it was successful /// but it has been retired from its parachain slot. This places any deposits that were not /// withdrawn into the treasury. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn dissolve(origin, #[compact] index: FundIndex) { let _ = ensure_signed(origin)?; @@ -607,6 +606,8 @@ mod tests { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = (); + type ExtrinsicBaseWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/lib.rs b/polkadot/runtime/common/src/lib.rs index af2e5ff66e..db39e7fad2 100644 --- a/polkadot/runtime/common/src/lib.rs +++ b/polkadot/runtime/common/src/lib.rs @@ -53,4 +53,6 @@ parameter_types! { pub const MaximumBlockWeight: Weight = 2_000_000_000_000; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const MaximumBlockLength: u32 = 5 * 1024 * 1024; + pub const ExtrinsicBaseWeight: Weight = 100_000_000; // TODO: Confirm/Update + pub const BlockExecutionWeight: Weight = 1_000_000_000; // TODO: Confirm/Update } diff --git a/polkadot/runtime/common/src/parachains.rs b/polkadot/runtime/common/src/parachains.rs index d593b04d3b..1a5ff78935 100644 --- a/polkadot/runtime/common/src/parachains.rs +++ b/polkadot/runtime/common/src/parachains.rs @@ -36,7 +36,7 @@ use sp_staking::{ use frame_support::{ traits::KeyOwnerProofSystem, dispatch::{IsSubType}, - weights::{DispatchClass, Weight, MINIMUM_WEIGHT}, + weights::{DispatchClass, Weight}, }; use primitives::{ Balance, @@ -556,7 +556,7 @@ decl_module! { Self::do_old_code_pruning(now); // TODO https://github.com/paritytech/polkadot/issues/977: set correctly - MINIMUM_WEIGHT + 0 } fn on_finalize() { @@ -1633,6 +1633,8 @@ mod tests { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = (); + type ExtrinsicBaseWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/registrar.rs b/polkadot/runtime/common/src/registrar.rs index 927095f092..a15c257b74 100644 --- a/polkadot/runtime/common/src/registrar.rs +++ b/polkadot/runtime/common/src/registrar.rs @@ -31,7 +31,7 @@ use sp_runtime::{ use frame_support::{ decl_storage, decl_module, decl_event, decl_error, ensure, dispatch::{DispatchResult, IsSubType}, traits::{Get, Currency, ReservableCurrency}, - weights::{DispatchClass, Weight, MINIMUM_WEIGHT}, + weights::{DispatchClass, Weight}, }; use system::{self, ensure_root, ensure_signed}; use primitives::parachain::{ @@ -300,7 +300,7 @@ decl_module! { /// - `count`: The number of parathreads. /// /// Must be called from Root origin. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn set_thread_count(origin, count: u32) { ensure_root(origin)?; ThreadCount::put(count); @@ -314,7 +314,7 @@ decl_module! { /// Unlike `register_para`, this function does check that the maximum code size /// and head data size are respected, as parathread registration is an atomic /// action. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn register_parathread(origin, code: ValidationCode, initial_head_data: HeadData, @@ -354,7 +354,7 @@ decl_module! { /// This is a kind of special transaction that should be heavily prioritized in the /// transaction pool according to the `value`; only `ThreadCount` of them may be presented /// in any single block. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn select_parathread(origin, #[compact] _id: ParaId, _collator: CollatorId, @@ -371,7 +371,7 @@ decl_module! { /// Ensure that before calling this that any funds you want emptied from the parathread's /// account is moved out; after this it will be impossible to retrieve them (without /// governance intervention). - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn deregister_parathread(origin) { let id = parachains::ensure_parachain(::Origin::from(origin))?; @@ -395,7 +395,7 @@ decl_module! { /// `ParaId` to be a long-term identifier of a notional "parachain". However, their /// scheduling info (i.e. whether they're a parathread or parachain), auction information /// and the auction deposit are switched. - #[weight = MINIMUM_WEIGHT] + #[weight = 0] fn swap(origin, #[compact] other: ParaId) { let id = parachains::ensure_parachain(::Origin::from(origin))?; @@ -466,7 +466,7 @@ decl_module! { Active::put(paras); - MINIMUM_WEIGHT + 0 } fn on_finalize() { @@ -736,6 +736,8 @@ mod tests { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = (); + type ExtrinsicBaseWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/slots.rs b/polkadot/runtime/common/src/slots.rs index 5bd3403b6e..302cf4ef6a 100644 --- a/polkadot/runtime/common/src/slots.rs +++ b/polkadot/runtime/common/src/slots.rs @@ -26,7 +26,7 @@ use codec::{Encode, Decode, Codec}; use frame_support::{ decl_module, decl_storage, decl_event, decl_error, ensure, dispatch::DispatchResult, traits::{Currency, ReservableCurrency, WithdrawReason, ExistenceRequirement, Get, Randomness}, - weights::{MINIMUM_WEIGHT, DispatchClass, Weight}, + weights::{DispatchClass, Weight}, }; use primitives::parachain::{ SwapAux, PARACHAIN_INFO, Id as ParaId, ValidationCode, HeadData, @@ -286,7 +286,7 @@ decl_module! { Self::manage_lease_period_start(lease_period_index); } - MINIMUM_WEIGHT + 0 } fn on_finalize(now: T::BlockNumber) { @@ -922,6 +922,8 @@ mod tests { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = (); + type ExtrinsicBaseWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 1c80274a36..d5b118824e 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -30,7 +30,7 @@ use primitives::{ use runtime_common::{attestations, claims, parachains, registrar, slots, impls::{CurrencyToVoteHandler, TargetedFeeAdjustment, ToAuthor}, NegativeImbalance, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, - MaximumBlockLength, + MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, ModuleId, @@ -145,6 +145,8 @@ impl system::Trait for Runtime { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = BlockExecutionWeight; + type ExtrinsicBaseWeight = ExtrinsicBaseWeight; type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -206,7 +208,6 @@ impl balances::Trait for Runtime { } parameter_types! { - pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); @@ -215,7 +216,6 @@ parameter_types! { impl transaction_payment::Trait for Runtime { type Currency = Balances; type OnTransactionPayment = DealWithFees; - type TransactionBaseFee = TransactionBaseFee; type TransactionByteFee = TransactionByteFee; type WeightToFee = WeightToFee; type FeeMultiplierUpdate = TargetedFeeAdjustment; diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 19069c22c3..8cfdebf1e9 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -23,7 +23,7 @@ use runtime_common::{attestations, claims, parachains, registrar, slots, impls::{CurrencyToVoteHandler, TargetedFeeAdjustment, ToAuthor}, NegativeImbalance, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, - MaximumBlockLength, + MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, }; use sp_std::prelude::*; @@ -151,6 +151,8 @@ impl system::Trait for Runtime { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = BlockExecutionWeight; + type ExtrinsicBaseWeight = ExtrinsicBaseWeight; type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -212,7 +214,6 @@ impl balances::Trait for Runtime { } parameter_types! { - pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); @@ -221,7 +222,6 @@ parameter_types! { impl transaction_payment::Trait for Runtime { type Currency = Balances; type OnTransactionPayment = DealWithFees; - type TransactionBaseFee = TransactionBaseFee; type TransactionByteFee = TransactionByteFee; type WeightToFee = WeightToFee; type FeeMultiplierUpdate = TargetedFeeAdjustment; diff --git a/polkadot/runtime/test-runtime/src/lib.rs b/polkadot/runtime/test-runtime/src/lib.rs index 756d2b2b00..6c63b1ad16 100644 --- a/polkadot/runtime/test-runtime/src/lib.rs +++ b/polkadot/runtime/test-runtime/src/lib.rs @@ -29,7 +29,7 @@ use primitives::{ use runtime_common::{attestations, claims, parachains, registrar, slots, impls::{CurrencyToVoteHandler, TargetedFeeAdjustment}, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, - MaximumBlockLength, + MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, }; use sp_core::sr25519; use sp_runtime::{ @@ -143,6 +143,8 @@ impl system::Trait for Runtime { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = BlockExecutionWeight; + type ExtrinsicBaseWeight = ExtrinsicBaseWeight; type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -196,7 +198,6 @@ impl balances::Trait for Runtime { } parameter_types! { - pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); @@ -205,7 +206,6 @@ parameter_types! { impl transaction_payment::Trait for Runtime { type Currency = Balances; type OnTransactionPayment = (); - type TransactionBaseFee = TransactionBaseFee; type TransactionByteFee = TransactionByteFee; type WeightToFee = WeightToFee; type FeeMultiplierUpdate = TargetedFeeAdjustment; diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 4080779906..92ca41fed5 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -29,6 +29,7 @@ use primitives::{ use runtime_common::{attestations, parachains, registrar, impls::{CurrencyToVoteHandler, TargetedFeeAdjustment, ToAuthor}, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, + BlockExecutionWeight, ExtrinsicBaseWeight }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, @@ -144,6 +145,8 @@ impl system::Trait for Runtime { type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; type DbWeight = (); + type BlockExecutionWeight = BlockExecutionWeight; + type ExtrinsicBaseWeight = ExtrinsicBaseWeight; type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -197,7 +200,6 @@ impl balances::Trait for Runtime { } parameter_types! { - pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); @@ -206,7 +208,6 @@ parameter_types! { impl transaction_payment::Trait for Runtime { type Currency = Balances; type OnTransactionPayment = ToAuthor; - type TransactionBaseFee = TransactionBaseFee; type TransactionByteFee = TransactionByteFee; type WeightToFee = WeightToFee; type FeeMultiplierUpdate = TargetedFeeAdjustment;