diff --git a/Cargo.lock b/Cargo.lock index ac62cde..5dd7d9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,6 +153,12 @@ dependencies = [ "wait-timeout", ] +[[package]] +name = "assert_matches" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" + [[package]] name = "async-attributes" version = "1.1.2" @@ -241,23 +247,6 @@ dependencies = [ "event-listener", ] -[[package]] -name = "async-process" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83137067e3a2a6a06d67168e49e68a0957d215410473a740cea95a2425c0b7c6" -dependencies = [ - "async-io", - "blocking", - "cfg-if 1.0.0", - "event-listener", - "futures-lite", - "libc", - "once_cell", - "signal-hook", - "winapi 0.3.9", -] - [[package]] name = "async-std" version = "1.10.0" @@ -269,7 +258,6 @@ dependencies = [ "async-global-executor", "async-io", "async-lock", - "async-process", "crossbeam-utils", "futures-channel", "futures-core", @@ -466,9 +454,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitvec" -version = "0.20.4" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" +checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b" dependencies = [ "funty", "radium", @@ -487,6 +475,15 @@ dependencies = [ "opaque-debug 0.3.0", ] +[[package]] +name = "blake2" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388" +dependencies = [ + "digest 0.10.3", +] + [[package]] name = "blake2-rfc" version = "0.2.18" @@ -667,6 +664,17 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + [[package]] name = "cache-padded" version = "1.2.0" @@ -1141,11 +1149,12 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto-common" -version = "0.1.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d6b536309245c849479fba3da410962a43ed8e51c26b729208ec0ac2798d0" +checksum = "57952ca27b5e3606ff4dd79b0020231aaf9d6aa76dc05fd30137538c50bd3ce8" dependencies = [ "generic-array 0.14.5", + "typenum", ] [[package]] @@ -1414,6 +1423,7 @@ dependencies = [ "pallet-contracts", "pallet-contracts-primitives", "pallet-contracts-rpc-runtime-api", + "pallet-conviction-voting", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-elections-phragmen", @@ -1433,6 +1443,7 @@ dependencies = [ "pallet-proxy", "pallet-randomness-collective-flip", "pallet-recovery", + "pallet-referenda", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", @@ -1511,13 +1522,13 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.1" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b697d66081d42af4fba142d56918a3cb21dc8eb63372c6b85d14f44fb9c5979b" +checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" dependencies = [ "block-buffer 0.10.0", "crypto-common", - "generic-array 0.14.5", + "subtle", ] [[package]] @@ -1787,9 +1798,9 @@ dependencies = [ [[package]] name = "finality-grandpa" -version = "0.14.4" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8ac3ff5224ef91f3c97e03eb1de2db82743427e91aaa5ac635f454f0b164f5a" +checksum = "d9def033d8505edf199f6a5d07aa7e6d2d6185b164293b77f0efd108f4f3e11d" dependencies = [ "either", "futures 0.3.19", @@ -1797,7 +1808,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "scale-info", ] @@ -1841,7 +1852,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", ] @@ -1859,7 +1870,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -1868,6 +1879,7 @@ dependencies = [ "parity-scale-codec", "paste", "scale-info", + "serde", "sp-api", "sp-application-crypto", "sp-io", @@ -1880,7 +1892,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "Inflector", "chrono", @@ -1888,25 +1900,40 @@ dependencies = [ "frame-benchmarking", "frame-support", "handlebars", + "hash-db", + "hex", + "itertools", + "kvdb", "linked-hash-map", "log", + "memory-db", "parity-scale-codec", + "rand 0.8.4", "sc-cli", + "sc-client-api", "sc-client-db", "sc-executor", "sc-service", "serde", + "serde_json", + "serde_nanos", + "sp-api", + "sp-blockchain", "sp-core", + "sp-database", "sp-externalities", "sp-keystore", "sp-runtime", "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -1920,7 +1947,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -1935,9 +1962,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "14.2.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ed5e5c346de62ca5c184b4325a6600d1eaca210666e4606fe4e449574978d0" +checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d" dependencies = [ "cfg-if 1.0.0", "parity-scale-codec", @@ -1948,7 +1975,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "bitflags", "frame-metadata", @@ -1977,7 +2004,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -1989,7 +2016,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -2001,7 +2028,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro2", "quote", @@ -2011,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "log", @@ -2028,7 +2055,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -2043,7 +2070,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "sp-api", @@ -2052,7 +2079,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "sp-api", @@ -2082,6 +2109,12 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "fs_extra" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" + [[package]] name = "fuchsia-zircon" version = "0.3.3" @@ -2100,9 +2133,9 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" [[package]] name = "funty" -version = "1.1.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" @@ -2392,6 +2425,15 @@ dependencies = [ "ahash", ] +[[package]] +name = "hashbrown" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758" +dependencies = [ + "ahash", +] + [[package]] name = "heck" version = "0.3.3" @@ -2627,9 +2669,9 @@ dependencies = [ [[package]] name = "impl-codec" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "161ebdfec3c8e3b52bf61c4f3550a1eea4f9579d10dc1b936f3171ebdcd6c443" +checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" dependencies = [ "parity-scale-codec", ] @@ -2661,7 +2703,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.11.2", "serde", ] @@ -2829,7 +2871,7 @@ dependencies = [ "jsonrpc-server-utils", "log", "net2", - "parking_lot", + "parking_lot 0.11.2", "unicase", ] @@ -2844,7 +2886,7 @@ dependencies = [ "jsonrpc-server-utils", "log", "parity-tokio-ipc", - "parking_lot", + "parking_lot 0.11.2", "tower-service", ] @@ -2858,7 +2900,7 @@ dependencies = [ "jsonrpc-core", "lazy_static", "log", - "parking_lot", + "parking_lot 0.11.2", "rand 0.7.3", "serde", ] @@ -2892,7 +2934,7 @@ dependencies = [ "jsonrpc-server-utils", "log", "parity-ws", - "parking_lot", + "parking_lot 0.11.2", "slab", ] @@ -3081,9 +3123,9 @@ dependencies = [ [[package]] name = "kvdb" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45a3f58dc069ec0e205a27f5b45920722a46faed802a0541538241af6228f512" +checksum = "a301d8ecb7989d4a6e2c57a49baca77d353bdbf879909debe3f375fe25d61f86" dependencies = [ "parity-util-mem", "smallvec", @@ -3091,20 +3133,20 @@ dependencies = [ [[package]] name = "kvdb-memorydb" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3b6b85fc643f5acd0bffb2cc8a6d150209379267af0d41db72170021841f9f5" +checksum = "ece7e668abd21387aeb6628130a6f4c802787f014fa46bc83221448322250357" dependencies = [ "kvdb", "parity-util-mem", - "parking_lot", + "parking_lot 0.12.0", ] [[package]] name = "kvdb-rocksdb" -version = "0.14.0" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1b6ea8f2536f504b645ad78419c8246550e19d2c3419a167080ce08edee35a" +checksum = "ca7fbdfd71cd663dceb0faf3367a99f8cf724514933e9867cec4995b6027cbc1" dependencies = [ "fs-swap", "kvdb", @@ -3112,7 +3154,7 @@ dependencies = [ "num_cpus", "owning_ref", "parity-util-mem", - "parking_lot", + "parking_lot 0.12.0", "regex", "rocksdb", "smallvec", @@ -3197,7 +3239,7 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multiaddr", - "parking_lot", + "parking_lot 0.11.2", "pin-project 1.0.10", "smallvec", "wasm-timer", @@ -3222,7 +3264,7 @@ dependencies = [ "multiaddr", "multihash 0.14.0", "multistream-select", - "parking_lot", + "parking_lot 0.11.2", "pin-project 1.0.10", "prost", "prost-build", @@ -3396,7 +3438,7 @@ dependencies = [ "libp2p-core", "log", "nohash-hasher", - "parking_lot", + "parking_lot 0.11.2", "rand 0.7.3", "smallvec", "unsigned-varint 0.7.1", @@ -3467,7 +3509,7 @@ dependencies = [ "pin-project 1.0.10", "rand 0.7.3", "salsa20", - "sha3", + "sha3 0.9.1", ] [[package]] @@ -3629,21 +3671,24 @@ checksum = "4e7362abb8867d7187e7e93df17f460d554c997fc5c8ac57dc1259057f6889af" dependencies = [ "futures 0.3.19", "libp2p-core", - "parking_lot", + "parking_lot 0.11.2", "thiserror", "yamux", ] [[package]] name = "librocksdb-sys" -version = "6.20.3" +version = "0.6.1+6.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c309a9d2470844aceb9a4a098cf5286154d20596868b75a6b36357d2bb9ca25d" +checksum = "81bc587013734dadb7cf23468e531aa120788b87243648be42e2d3a072186291" dependencies = [ "bindgen", + "bzip2-sys", "cc", "glob", "libc", + "libz-sys", + "tikv-jemalloc-sys", ] [[package]] @@ -3738,9 +3783,9 @@ checksum = "a261afc61b7a5e323933b402ca6a1765183687c614789b1e4db7762ed4230bca" [[package]] name = "lock_api" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109" +checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b" dependencies = [ "scopeguard", ] @@ -3761,7 +3806,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ea2d928b485416e8908cff2d97d621db22b27f7b3b6729e438bcf42c671ba91" dependencies = [ - "hashbrown", + "hashbrown 0.11.2", ] [[package]] @@ -3770,7 +3815,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "274353858935c992b13c0ca408752e2121da852d07dec7ce5f108c77dfa14d1f" dependencies = [ - "hashbrown", + "hashbrown 0.11.2", ] [[package]] @@ -3882,23 +3927,12 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de006e09d04fc301a5f7e817b75aa49801c4479a8af753764416b085337ddcc5" +checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a" dependencies = [ "hash-db", - "hashbrown", - "parity-util-mem", -] - -[[package]] -name = "memory-db" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d505169b746dacf02f7d14d8c80b34edfd8212159c63d23c977739a0d960c626" -dependencies = [ - "hash-db", - "hashbrown", + "hashbrown 0.12.0", "parity-util-mem", ] @@ -4049,7 +4083,7 @@ dependencies = [ "generic-array 0.14.5", "multihash-derive", "sha2 0.9.9", - "sha3", + "sha3 0.9.1", "unsigned-varint 0.5.1", ] @@ -4165,7 +4199,7 @@ dependencies = [ [[package]] name = "node-inspect" version = "0.9.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "clap 3.0.13", "parity-scale-codec", @@ -4182,7 +4216,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-system", "parity-scale-codec", @@ -4195,7 +4229,7 @@ dependencies = [ [[package]] name = "node-rpc" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "jsonrpc-core", "node-primitives", @@ -4413,7 +4447,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -4430,7 +4464,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4444,7 +4478,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -4460,7 +4494,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -4475,7 +4509,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4499,7 +4533,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4514,7 +4548,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4529,7 +4563,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4547,7 +4581,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4566,7 +4600,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4583,13 +4617,12 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "bitflags", "frame-benchmarking", "frame-support", "frame-system", - "libsecp256k1", "log", "pallet-contracts-primitives", "pallet-contracts-proc-macro", @@ -4610,8 +4643,8 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "bitflags", "parity-scale-codec", @@ -4626,7 +4659,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro2", "quote", @@ -4636,7 +4669,7 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4655,7 +4688,7 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "pallet-contracts-primitives", "parity-scale-codec", @@ -4665,10 +4698,27 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-conviction-voting" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" +dependencies = [ + "assert_matches", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4707,7 +4757,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4741,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4756,7 +4806,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4779,7 +4829,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4795,7 +4845,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4815,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4832,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4846,7 +4896,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4863,7 +4913,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4881,7 +4931,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -4897,7 +4947,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4914,7 +4964,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4929,7 +4979,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -4946,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4969,7 +5019,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4985,7 +5035,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5000,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -5014,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -5025,10 +5075,27 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-referenda" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" +dependencies = [ + "assert_matches", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5044,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -5065,7 +5132,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5081,7 +5148,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -5095,7 +5162,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5118,7 +5185,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -5129,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -5143,7 +5210,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5161,7 +5228,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5180,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-support", "frame-system", @@ -5197,7 +5264,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5214,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5225,7 +5292,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,7 +5312,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5262,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5277,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5293,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5319,16 +5386,16 @@ dependencies = [ "log", "lz4", "memmap2 0.2.3", - "parking_lot", + "parking_lot 0.11.2", "rand 0.8.4", "snap", ] [[package]] name = "parity-scale-codec" -version = "2.3.1" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" +checksum = "e8b44461635bbb1a0300f100a841e571e7d919c81c73075ef5d152ffdb521066" dependencies = [ "arrayvec 0.7.2", "bitvec", @@ -5340,9 +5407,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "2.3.1" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" +checksum = "c45ed1f39709f5a89338fab50e59816b2e8815f5bb58276e7ddf9afd495f73f8" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -5372,15 +5439,15 @@ dependencies = [ [[package]] name = "parity-util-mem" -version = "0.10.2" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f4cb4e169446179cbc6b8b6320cc9fca49bd2e94e8db25f25f200a8ea774770" +checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f" dependencies = [ "cfg-if 1.0.0", - "hashbrown", + "hashbrown 0.12.0", "impl-trait-for-tuples", "parity-util-mem-derive", - "parking_lot", + "parking_lot 0.12.0", "primitive-types", "smallvec", "winapi 0.3.9", @@ -5444,7 +5511,17 @@ checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ "instant", "lock_api", - "parking_lot_core", + "parking_lot_core 0.8.5", +] + +[[package]] +name = "parking_lot" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" +dependencies = [ + "lock_api", + "parking_lot_core 0.9.1", ] [[package]] @@ -5461,6 +5538,19 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "parking_lot_core" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "redox_syscall", + "smallvec", + "windows-sys", +] + [[package]] name = "paste" version = "1.0.6" @@ -5725,9 +5815,9 @@ dependencies = [ [[package]] name = "primitive-types" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" +checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" dependencies = [ "fixed-hash", "impl-codec", @@ -5798,7 +5888,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot", + "parking_lot 0.11.2", "thiserror", ] @@ -5898,9 +5988,9 @@ dependencies = [ [[package]] name = "radium" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" [[package]] name = "rand" @@ -6134,7 +6224,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "env_logger 0.9.0", "jsonrpsee 0.8.0", @@ -6190,9 +6280,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a62eca5cacf2c8261128631bed9f045598d40bfbe4b29f5163f0f802f8f44a7" +checksum = "620f4129485ff1a7128d184bc687470c21c7951b64779ebc9cfdad3dcd920290" dependencies = [ "libc", "librocksdb-sys", @@ -6378,7 +6468,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "log", "sp-core", @@ -6389,7 +6479,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "futures 0.3.19", @@ -6416,7 +6506,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "futures-timer", @@ -6439,7 +6529,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6455,7 +6545,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -6472,7 +6562,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -6483,7 +6573,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "chrono", "clap 3.0.13", @@ -6521,14 +6611,14 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "fnv", "futures 0.3.19", "hash-db", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -6549,7 +6639,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "hash-db", "kvdb", @@ -6559,7 +6649,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "sc-client-api", "sc-state-db", "sp-arithmetic", @@ -6574,14 +6664,14 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "futures 0.3.19", "futures-timer", "libp2p", "log", - "parking_lot", + "parking_lot 0.12.0", "sc-client-api", "sc-utils", "serde", @@ -6598,7 +6688,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "fork-tree", @@ -6609,7 +6699,7 @@ dependencies = [ "num-rational 0.2.4", "num-traits", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "rand 0.7.3", "retain_mut", "sc-client-api", @@ -6641,7 +6731,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -6665,7 +6755,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6678,7 +6768,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "futures 0.3.19", @@ -6703,7 +6793,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "sc-client-api", "sp-authorship", @@ -6714,14 +6804,12 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "lazy_static", - "libsecp256k1", - "log", "lru 0.6.6", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", @@ -6736,13 +6824,14 @@ dependencies = [ "sp-trie", "sp-version", "sp-wasm-interface", + "tracing", "wasmi", ] [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "environmental", "parity-scale-codec", @@ -6759,7 +6848,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "log", "parity-scale-codec", @@ -6775,7 +6864,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "cfg-if 1.0.0", "libc", @@ -6793,8 +6882,9 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ + "ahash", "async-trait", "dyn-clone", "finality-grandpa", @@ -6803,7 +6893,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "rand 0.8.4", "sc-block-builder", "sc-chain-spec", @@ -6831,7 +6921,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "finality-grandpa", "futures 0.3.19", @@ -6855,7 +6945,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "ansi_term", "futures 0.3.19", @@ -6872,11 +6962,11 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "hex", - "parking_lot", + "parking_lot 0.12.0", "serde_json", "sp-application-crypto", "sp-core", @@ -6887,9 +6977,8 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ - "async-std", "async-trait", "asynchronous-codec 0.5.0", "bitflags", @@ -6908,7 +6997,7 @@ dependencies = [ "log", "lru 0.7.2", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "pin-project 1.0.10", "prost", "prost-build", @@ -6937,8 +7026,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ + "ahash", "futures 0.3.19", "futures-timer", "libp2p", @@ -6953,7 +7043,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "bytes 1.1.0", "fnv", @@ -6965,7 +7055,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "rand 0.7.3", "sc-client-api", "sc-network", @@ -6981,7 +7071,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "libp2p", @@ -6994,7 +7084,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -7003,7 +7093,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "hash-db", @@ -7011,7 +7101,7 @@ dependencies = [ "jsonrpc-pubsub", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -7034,7 +7124,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -7043,7 +7133,7 @@ dependencies = [ "jsonrpc-pubsub", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "sc-chain-spec", "sc-transaction-pool-api", "serde", @@ -7059,7 +7149,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -7076,7 +7166,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "directories", @@ -7089,7 +7179,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.12.0", "pin-project 1.0.10", "rand 0.7.3", "sc-block-builder", @@ -7140,7 +7230,7 @@ dependencies = [ [[package]] name = "sc-service-test" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "fdlimit", "futures 0.3.19", @@ -7148,7 +7238,7 @@ dependencies = [ "hex-literal", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "sc-block-builder", "sc-client-api", "sc-client-db", @@ -7177,13 +7267,13 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "log", "parity-scale-codec", "parity-util-mem", "parity-util-mem-derive", - "parking_lot", + "parking_lot 0.12.0", "sc-client-api", "sp-core", ] @@ -7191,7 +7281,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7202,7 +7292,6 @@ dependencies = [ "sc-consensus-babe", "sc-consensus-epochs", "sc-finality-grandpa", - "sc-rpc-api", "serde", "serde_json", "sp-blockchain", @@ -7213,13 +7302,13 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "chrono", "futures 0.3.19", "libp2p", "log", - "parking_lot", + "parking_lot 0.12.0", "pin-project 1.0.10", "rand 0.7.3", "serde", @@ -7231,7 +7320,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "ansi_term", "atty", @@ -7240,7 +7329,7 @@ dependencies = [ "libc", "log", "once_cell", - "parking_lot", + "parking_lot 0.12.0", "regex", "rustc-hash", "sc-client-api", @@ -7262,7 +7351,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -7273,7 +7362,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "futures-timer", @@ -7281,7 +7370,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.12.0", "retain_mut", "sc-client-api", "sc-transaction-pool-api", @@ -7300,7 +7389,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "log", @@ -7313,20 +7402,21 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "futures-timer", "lazy_static", - "parking_lot", + "log", + "parking_lot 0.12.0", "prometheus", ] [[package]] name = "scale-info" -version = "1.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c55b744399c25532d63a0d2789b109df8d46fc93752d46b0782991a931a782f" +checksum = "0563970d79bcbf3c537ce3ad36d859b30d36fc5b190efd227f1f7a84d7cf0d42" dependencies = [ "bitvec", "cfg-if 1.0.0", @@ -7338,9 +7428,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baeb2780690380592f86205aa4ee49815feb2acad8c2f59e6dd207148c3f1fcd" +checksum = "b7805950c36512db9e3251c970bb7ac425f326716941862205d612ab3b5e46e2" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -7408,6 +7498,24 @@ dependencies = [ "untrusted", ] +[[package]] +name = "secp256k1" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c42e6f1735c5f00f51e43e28d6634141f2bcad10931b2609ddd74a86d751260" +dependencies = [ + "secp256k1-sys", +] + +[[package]] +name = "secp256k1-sys" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "957da2573cde917463ece3570eab4a0b3f19de6f1646cde62e6fd3868f566036" +dependencies = [ + "cc", +] + [[package]] name = "secrecy" version = "0.8.0" @@ -7493,9 +7601,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.133" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97565067517b60e2d1ea8b268e59ce036de907ac523ad83a0475da04e818989a" +checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789" dependencies = [ "serde_derive", ] @@ -7512,9 +7620,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.133" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed201699328568d8d08208fdd080e3ff594e6c422e438b6705905da01005d537" +checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9" dependencies = [ "proc-macro2", "quote", @@ -7532,6 +7640,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_nanos" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e44969a61f5d316be20a42ff97816efb3b407a924d06824c3d8a49fa8450de0e" +dependencies = [ + "serde", +] + [[package]] name = "sha-1" version = "0.8.2" @@ -7590,7 +7707,7 @@ checksum = "99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec" dependencies = [ "cfg-if 1.0.0", "cpufeatures 0.2.1", - "digest 0.10.1", + "digest 0.10.3", ] [[package]] @@ -7605,6 +7722,16 @@ dependencies = [ "opaque-debug 0.3.0", ] +[[package]] +name = "sha3" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "881bf8156c87b6301fc5ca6b27f11eeb2761224c7081e69b409d5a1951a70c86" +dependencies = [ + "digest 0.10.3", + "keccak", +] + [[package]] name = "sharded-slab" version = "0.1.4" @@ -7620,16 +7747,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" -[[package]] -name = "signal-hook" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "647c97df271007dcea485bb74ffdb57f2e683f1306c854f468a0c244badabf2d" -dependencies = [ - "libc", - "signal-hook-registry", -] - [[package]] name = "signal-hook-registry" version = "1.4.0" @@ -7682,7 +7799,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6142f7c25e94f6fd25a32c3348ec230df9109b463f59c8c7acc4bd34936babb7" dependencies = [ "aes-gcm", - "blake2", + "blake2 0.9.2", "chacha20poly1305", "rand 0.8.4", "rand_core 0.6.3", @@ -7748,7 +7865,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "hash-db", "log", @@ -7765,9 +7882,9 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ - "blake2-rfc", + "blake2 0.10.4", "proc-macro-crate 1.1.0", "proc-macro2", "quote", @@ -7776,8 +7893,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "scale-info", @@ -7790,7 +7907,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "integer-sqrt", "num-traits", @@ -7805,7 +7922,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "scale-info", @@ -7818,7 +7935,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "parity-scale-codec", @@ -7830,7 +7947,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "sp-api", @@ -7842,13 +7959,13 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "log", "lru 0.7.2", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "sp-api", "sp-consensus", "sp-database", @@ -7860,7 +7977,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "futures 0.3.19", @@ -7879,7 +7996,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "parity-scale-codec", @@ -7897,7 +8014,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "merlin", @@ -7920,19 +8037,21 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-arithmetic", "sp-runtime", + "sp-std", + "sp-timestamp", ] [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -7943,8 +8062,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "base58", "bitflags", @@ -7964,15 +8083,15 @@ dependencies = [ "num-traits", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.12.0", "primitive-types", "rand 0.7.3", "regex", "scale-info", "schnorrkel", + "secp256k1", "secrecy", "serde", - "sha2 0.10.1", "sp-core-hashing", "sp-debug-derive", "sp-externalities", @@ -7983,8 +8102,6 @@ dependencies = [ "substrate-bip39", "thiserror", "tiny-bip39", - "tiny-keccak", - "twox-hash", "wasmi", "zeroize", ] @@ -7992,20 +8109,21 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ - "blake2-rfc", + "blake2 0.10.4", "byteorder", + "digest 0.10.3", "sha2 0.10.1", + "sha3 0.10.1", "sp-std", - "tiny-keccak", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro2", "quote", @@ -8016,16 +8134,16 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "kvdb", - "parking_lot", + "parking_lot 0.12.0", ] [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro2", "quote", @@ -8034,8 +8152,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.10.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "0.11.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "environmental", "parity-scale-codec", @@ -8046,7 +8164,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "finality-grandpa", "log", @@ -8064,7 +8182,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -8077,15 +8195,16 @@ dependencies = [ [[package]] name = "sp-io" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", + "secp256k1", "sp-core", "sp-externalities", "sp-keystore", @@ -8101,8 +8220,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "lazy_static", "sp-core", @@ -8112,14 +8231,14 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.10.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "0.11.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "futures 0.3.19", "merlin", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "schnorrkel", "serde", "sp-core", @@ -8130,15 +8249,16 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ + "thiserror", "zstd", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "scale-info", @@ -8153,7 +8273,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8164,7 +8284,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "sp-api", "sp-core", @@ -8174,7 +8294,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "backtrace", "lazy_static", @@ -8183,8 +8303,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "rustc-hash", "serde", @@ -8193,8 +8313,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "either", "hash256-std-hasher", @@ -8215,8 +8335,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8233,7 +8353,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -8245,7 +8365,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "log", "parity-scale-codec", @@ -8259,7 +8379,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "serde", "serde_json", @@ -8268,7 +8388,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "scale-info", @@ -8282,7 +8402,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "scale-info", @@ -8292,14 +8412,14 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.10.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "0.11.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "hash-db", "log", "num-traits", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.0", "rand 0.7.3", "smallvec", "sp-core", @@ -8316,12 +8436,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" [[package]] name = "sp-storage" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8334,7 +8454,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "log", "sp-core", @@ -8347,7 +8467,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "futures-timer", @@ -8363,7 +8483,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "sp-std", @@ -8375,7 +8495,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "sp-api", "sp-runtime", @@ -8384,7 +8504,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "log", @@ -8399,11 +8519,11 @@ dependencies = [ [[package]] name = "sp-trie" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "hash-db", - "memory-db 0.28.0", + "memory-db", "parity-scale-codec", "scale-info", "sp-core", @@ -8415,7 +8535,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8432,7 +8552,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -8442,8 +8562,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "impl-trait-for-tuples", "log", @@ -8541,7 +8661,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "platforms", ] @@ -8549,7 +8669,7 @@ dependencies = [ [[package]] name = "substrate-frame-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "clap 3.0.13", "frame-support", @@ -8562,7 +8682,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.19", @@ -8584,9 +8704,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ - "async-std", "futures-util", "hyper", "log", @@ -8598,7 +8717,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "async-trait", "futures 0.3.19", @@ -8624,14 +8743,14 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "cfg-if 1.0.0", "frame-support", "frame-system", "frame-system-rpc-runtime-api", "log", - "memory-db 0.27.0", + "memory-db", "pallet-babe", "pallet-timestamp", "parity-scale-codec", @@ -8666,7 +8785,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "futures 0.3.19", "parity-scale-codec", @@ -8685,7 +8804,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "ansi_term", "build-helper", @@ -8827,6 +8946,17 @@ dependencies = [ "num_cpus", ] +[[package]] +name = "tikv-jemalloc-sys" +version = "0.4.3+5.2.1-patched.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1792ccb507d955b46af42c123ea8863668fae24d03721e40cad6a41773dbb49" +dependencies = [ + "cc", + "fs_extra", + "libc", +] + [[package]] name = "time" version = "0.1.44" @@ -8857,15 +8987,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - [[package]] name = "tinytemplate" version = "1.2.1" @@ -8903,6 +9024,7 @@ dependencies = [ "mio 0.7.14", "num_cpus", "once_cell", + "parking_lot 0.11.2", "pin-project-lite 0.2.8", "signal-hook-registry", "tokio-macros", @@ -9056,7 +9178,7 @@ dependencies = [ "chrono", "lazy_static", "matchers", - "parking_lot", + "parking_lot 0.11.2", "regex", "serde", "serde_json", @@ -9071,12 +9193,12 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.23.0" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3ddae50680c12ef75bfbf58416ca6622fa43d879553f6cb2ed1a817346e1ffe" +checksum = "d32d034c0d3db64b43c31de38e945f15b40cd4ca6d2dcfc26d4798ce8de4ab83" dependencies = [ "hash-db", - "hashbrown", + "hashbrown 0.12.0", "log", "rustc-hex", "smallvec", @@ -9127,7 +9249,7 @@ dependencies = [ "lazy_static", "log", "lru-cache", - "parking_lot", + "parking_lot 0.11.2", "resolv-conf", "smallvec", "thiserror", @@ -9143,7 +9265,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-02#2c4549689dbb86c23725dac2f82af35faa07c9f6" +source = "git+https://github.com/paritytech/substrate.git?tag=monthly-2022-03#66ff3a566e6ee7d85f30fc11d45047bd41854b9e" dependencies = [ "clap 3.0.13", "jsonrpsee 0.4.1", @@ -9178,6 +9300,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0" dependencies = [ "cfg-if 1.0.0", + "digest 0.10.3", "rand 0.8.4", "static_assertions", ] @@ -9487,7 +9610,7 @@ checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ "futures 0.3.19", "js-sys", - "parking_lot", + "parking_lot 0.11.2", "pin-utils", "wasm-bindgen", "wasm-bindgen-futures", @@ -9795,6 +9918,49 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows-sys" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6" +dependencies = [ + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_msvc" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5" + +[[package]] +name = "windows_i686_gnu" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615" + +[[package]] +name = "windows_i686_msvc" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" + [[package]] name = "winreg" version = "0.6.2" @@ -9816,9 +9982,12 @@ dependencies = [ [[package]] name = "wyz" -version = "0.2.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" +checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e" +dependencies = [ + "tap", +] [[package]] name = "x25519-dalek" @@ -9840,7 +10009,7 @@ dependencies = [ "futures 0.3.19", "log", "nohash-hasher", - "parking_lot", + "parking_lot 0.11.2", "rand 0.8.4", "static_assertions", ] diff --git a/node/Cargo.toml b/node/Cargo.toml index d40846e..2bf0cf7 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -35,85 +35,85 @@ crate-type = ["cdylib", "rlib"] [dependencies] # third-party dependencies clap = { version = "3.0", features = ["derive"], optional = true } -codec = { package = "parity-scale-codec", version = "2.0.0" } -serde = { version = "1.0.132", features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.0.0" } +serde = { version = "1.0.136", features = ["derive"] } futures = "0.3.16" hex-literal = "0.3.4" log = "0.4.8" rand = "0.8" # primitives -sp-authority-discovery = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-consensus-babe = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -grandpa-primitives = { version = "4.0.0-dev", package = "sp-finality-grandpa", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-core = { version = "4.1.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-runtime = { version = "4.1.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-timestamp = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-authorship = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-inherents = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-keyring = { version = "4.1.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-keystore = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-transaction-storage-proof = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sp-authority-discovery = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-consensus-babe = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +grandpa-primitives = { version = "4.0.0-dev", package = "sp-finality-grandpa", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-core = { version = "5.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-runtime = { version = "5.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-timestamp = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-authorship = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-inherents = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-keyring = { version = "5.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-keystore = { version = "0.11.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-transaction-storage-proof = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } # client dependencies -sc-client-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-chain-spec = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-transaction-pool-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-network = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-consensus-slots = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-consensus-babe = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-consensus-uncles = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -grandpa = { version = "0.10.0-dev", package = "sc-finality-grandpa", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-basic-authorship = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-service = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-telemetry = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-executor = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-authority-discovery = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-sync-state-rpc = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sc-client-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-chain-spec = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-transaction-pool-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-network = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-consensus-slots = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-consensus-babe = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-consensus-uncles = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +grandpa = { version = "0.10.0-dev", package = "sc-finality-grandpa", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-basic-authorship = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-service = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-telemetry = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-executor = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-authority-discovery = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-sync-state-rpc = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } # frame dependencies -frame-system = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-system-rpc-runtime-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-transaction-payment = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-asset-tx-payment = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-im-online = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', optional = true } +frame-system = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-system-rpc-runtime-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-transaction-payment = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-asset-tx-payment = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-im-online = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', optional = true } # node-specific dependencies -#node-runtime = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -node-rpc = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -node-primitives = { version = "2.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -#node-executor = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +#node-runtime = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +node-rpc = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +node-primitives = { version = "2.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +#node-executor = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } # CLI-specific dependencies -sc-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -node-inspect = { version = "0.9.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -try-runtime-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sc-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +node-inspect = { version = "0.9.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +try-runtime-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } [target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies] -#node-executor = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', features = [ "wasmtime" ] } -sc-executor = { version = "0.10.0-dev", features = ["wasmtime"], tag = 'monthly-2022-02', git = 'https://github.com/paritytech/substrate.git' } -sc-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', features = [ "wasmtime" ] } -sc-service = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', features = [ "wasmtime" ] } -sp-trie = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', features = ["memory-tracker"] } +#node-executor = { version = "3.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', features = [ "wasmtime" ] } +sc-executor = { version = "0.10.0-dev", features = ["wasmtime"], tag = 'monthly-2022-03', git = 'https://github.com/paritytech/substrate.git' } +sc-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', features = [ "wasmtime" ] } +sc-service = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', features = [ "wasmtime" ] } +sp-trie = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', features = ["memory-tracker"] } [dev-dependencies] -sc-keystore = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-client-db = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-consensus-babe = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-consensus-epochs = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-service-test = { version = "2.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-block-builder = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-tracing = { version = "4.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-blockchain = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sc-keystore = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-client-db = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-consensus-babe = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-consensus-epochs = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-service-test = { version = "2.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-block-builder = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-tracing = { version = "4.0.0", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-blockchain = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } futures = "0.3.16" tempfile = "3.1.0" assert_cmd = "2.0.2" @@ -124,22 +124,22 @@ platforms = "2.0" async-std = { version = "1.10.0", features = ["attributes"] } soketto = "0.4.2" criterion = { version = "0.3.5", features = ["async_tokio"] } -tokio = { version = "1.15", features = ["macros", "time"] } +tokio = { version = "1.15", features = ["macros", "time", "parking_lot"] } jsonrpsee-ws-client = "0.4.1" wait-timeout = "0.2" -remote-externalities = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-timestamp = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +remote-externalities = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-timestamp = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } [build-dependencies] clap = { version = "3.0", optional = true } clap_complete = { version = "3.0", optional = true } -node-inspect = { version = "0.9.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -substrate-build-script-utils = { version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -substrate-frame-cli = { version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -try-runtime-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sc-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-balances = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +node-inspect = { version = "0.9.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +substrate-build-script-utils = { version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +substrate-frame-cli = { version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +try-runtime-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sc-cli = { version = "0.10.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-balances = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } [dependencies.dentnet-runtime] path = '../runtime' diff --git a/node/src/cli.rs b/node/src/cli.rs index b3bd934..61d85c4 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -42,6 +42,10 @@ pub enum Subcommand { #[clap(name = "benchmark", about = "Benchmark runtime pallets.")] Benchmark(frame_benchmarking_cli::BenchmarkCmd), + /// Sub command for benchmarking the storage speed. + #[clap(name = "benchmark-storage", about = "Benchmark storage speed.")] + BenchmarkStorage(frame_benchmarking_cli::StorageCmd), + /// Try some command against runtime state. #[cfg(feature = "try-runtime")] TryRuntime(try_runtime_cli::TryRuntimeCmd), diff --git a/node/src/command.rs b/node/src/command.rs index 222fee2..e61abec 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -108,6 +108,22 @@ pub fn run() -> Result<()> { You can enable it with `--features runtime-benchmarks`." .into()) }, + Some(Subcommand::BenchmarkStorage(cmd)) => { + if !cfg!(feature = "runtime-benchmarks") { + return Err("Benchmarking wasn't enabled when building the node. \ + You can enable it with `--features runtime-benchmarks`." + .into()) + } + + let runner = cli.create_runner(cmd)?; + runner.async_run(|config| { + let PartialComponents { client, task_manager, backend, .. } = new_partial(&config)?; + let db = backend.expose_db(); + let storage = backend.expose_storage(); + + Ok((cmd.run(config, client, db, storage), task_manager)) + }) + }, Some(Subcommand::Key(cmd)) => cmd.run(&cli), Some(Subcommand::Sign(cmd)) => cmd.run(), Some(Subcommand::Verify(cmd)) => cmd.run(), diff --git a/node/src/service.rs b/node/src/service.rs index 259b8c3..4ff1f15 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -233,7 +233,7 @@ pub fn new_partial( let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_duration( + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( *timestamp, slot_duration, ); @@ -441,7 +441,7 @@ pub fn new_full_base( let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_duration( + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( *timestamp, slot_duration, ); @@ -672,7 +672,10 @@ mod tests { .epoch_changes() .shared_data() .epoch_data(&epoch_descriptor, |slot| { - sc_consensus_babe::Epoch::genesis(&babe_link.config(), slot) + sc_consensus_babe::Epoch::genesis( + &babe_link.config(), + slot, + ) }) .unwrap(); diff --git a/pallets/chainbridge/Cargo.toml b/pallets/chainbridge/Cargo.toml index 24c21a5..f51481a 100644 --- a/pallets/chainbridge/Cargo.toml +++ b/pallets/chainbridge/Cargo.toml @@ -6,21 +6,21 @@ edition = '2021' [dependencies] # third-party dependencies -codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = ["derive", "max-encoded-len"] } -scale-info = { version = "1.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.126", optional = true } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } +serde = { version = "1.0.136", optional = true } # primitives -sp-io = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-core = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-runtime = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sp-io = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-core = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-runtime = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } # frame dependencies -frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-balances = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-balances = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } [build-dependencies] wasm-builder-runner = { version = "3.0.0", package = "substrate-wasm-builder-runner"} @@ -30,6 +30,7 @@ default = ["std"] runtime-benchmarks = ['frame-benchmarking'] std = [ "codec/std", + "scale-info/std", "serde", "sp-std/std", "sp-runtime/std", diff --git a/pallets/dentbridge/Cargo.toml b/pallets/dentbridge/Cargo.toml index 8c95775..ce64c09 100644 --- a/pallets/dentbridge/Cargo.toml +++ b/pallets/dentbridge/Cargo.toml @@ -13,30 +13,29 @@ version = '0.0.1' targets = ['x86_64-unknown-linux-gnu'] [dev-dependencies] -sp-io = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-core = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-runtime = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-assets = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-balances = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sp-io = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-core = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-runtime = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-assets = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-balances = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } hex-literal = { version = "0.3.4" } [dependencies] # third-party dependencies -codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = ["derive", "max-encoded-len"] } -scale-info = { version = "1.0", default-features = false, features = ["derive"] } -#serde = { version = "1.0.126", optional = true } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } # primitives -sp-io = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-core = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sp-io = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-core = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } -frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', optional = true } -frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', optional = true } +frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } # for benchmarking only (optional) -pallet-assets = { version = "4.0.0-dev", optional = true, default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +pallet-assets = { version = "4.0.0-dev", optional = true, default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } hex-literal = { version = "0.3.4", optional = true } [dependencies.chainbridge] @@ -57,6 +56,7 @@ std = [ 'frame-system/std', 'frame-benchmarking/std', # 'sp-std/std', + 'scale-info/std', 'sp-core/std', 'chainbridge/std' ] diff --git a/pallets/executive-collective/Cargo.toml b/pallets/executive-collective/Cargo.toml index d2ad651..c243eaa 100644 --- a/pallets/executive-collective/Cargo.toml +++ b/pallets/executive-collective/Cargo.toml @@ -13,18 +13,18 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] } -scale-info = { version = "1.0", default-features = false, features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } -sp-core = { version = "4.1.0-dev",default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-io = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-runtime = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sp-core = { version = "5.0.0",default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-io = { version = "5.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-runtime = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } -frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', optional = true } -frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', optional = true } +frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } [features] default = ["std"] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 604a66f..e22724f 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -14,93 +14,93 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] # third-party dependencies -codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = [ +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive", "max-encoded-len", ] } -scale-info = { version = "1.0", default-features = false, features = ["derive"] } +scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } static_assertions = "1.1.0" hex-literal = { version = "0.3.4", optional = true } log = { version = "0.4.14", default-features = false } # primitives -sp-authority-discovery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-consensus-babe = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-block-builder = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-inherents = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -node-primitives = { version = "2.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-offchain = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-core = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-runtime = { version = "4.1.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-staking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-keyring = { version = "4.1.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-session = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-transaction-pool = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-version = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-npos-elections = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-io = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -sp-sandbox = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +sp-authority-discovery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-consensus-babe = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-block-builder = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-inherents = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +node-primitives = { version = "2.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-offchain = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-core = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-std = { version = "4.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-runtime = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-staking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-keyring = { version = "5.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-session = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-transaction-pool = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-version = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-npos-elections = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-io = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +sp-sandbox = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } # frame dependencies -frame-executive = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', optional = true } -frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', optional = true } -frame-election-provider-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -frame-try-runtime = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', optional = true } -pallet-assets = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-authority-discovery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-authorship = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-babe = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-bags-list = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-balances = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-bounties = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-child-bounties = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-collective = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-contracts = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-contracts-primitives = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-contracts-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-democracy = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-election-provider-multi-phase = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-elections-phragmen = { version = "5.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-gilt = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-grandpa = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-im-online = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-indices = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-identity = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-lottery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-membership = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-mmr = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-multisig = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-offences = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-offences-benchmarking = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', default-features = false, optional = true } -pallet-preimage = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-proxy = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-randomness-collective-flip = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-recovery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-session = { version = "4.0.0-dev", features = [ - "historical", -], git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', default-features = false } -pallet-session-benchmarking = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02', default-features = false, optional = true } -pallet-staking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-staking-reward-curve = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-scheduler = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-society = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-sudo = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-timestamp = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-tips = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-treasury = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-utility = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-asset-tx-payment = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-transaction-storage = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-uniques = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } -pallet-vesting = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +frame-executive = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', optional = true } +frame-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-system = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', optional = true } +frame-election-provider-support = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +frame-try-runtime = { version = "0.10.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', optional = true } +pallet-assets = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-authority-discovery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-authorship = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-babe = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-bags-list = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-balances = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-bounties = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-child-bounties = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-collective = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-contracts = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-contracts-primitives = { version = "5.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-contracts-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-conviction-voting = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-democracy = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-election-provider-multi-phase = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-elections-phragmen = { version = "5.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-gilt = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-grandpa = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-im-online = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-indices = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-identity = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-lottery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-membership = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-mmr = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-multisig = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-offences = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-offences-benchmarking = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', default-features = false, optional = true } +pallet-preimage = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-proxy = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-randomness-collective-flip = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-recovery = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-referenda = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-session = { version = "4.0.0-dev", features = [ "historical" ], git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', default-features = false } +pallet-session-benchmarking = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03', default-features = false, optional = true } +pallet-staking = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-staking-reward-curve = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-scheduler = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-society = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-sudo = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-timestamp = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-tips = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-treasury = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-utility = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-asset-tx-payment = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-transaction-storage = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-uniques = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } +pallet-vesting = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } # local pallets pallet-executive-collective = { version = "4.0.0-dev", default-features = false, path = '../pallets/executive-collective' } @@ -108,7 +108,7 @@ chainbridge = { version = "0.0.2", default-features = false, path = "../pallets/ dentbridge = { version = "0.0.1", default-features = false, path = "../pallets/dentbridge" } [build-dependencies] -substrate-wasm-builder = { version = "5.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-02' } +substrate-wasm-builder = { version = "5.0.0-dev", git = 'https://github.com/paritytech/substrate.git', tag = 'monthly-2022-03' } [features] default = ["std"] @@ -131,6 +131,7 @@ std = [ "pallet-contracts/std", "pallet-contracts-primitives/std", "pallet-contracts-rpc-runtime-api/std", + "pallet-conviction-voting/std", "pallet-democracy/std", "pallet-elections-phragmen/std", "frame-executive/std", @@ -158,7 +159,6 @@ std = [ "sp-runtime/std", "sp-staking/std", "pallet-staking/std", - "sp-keyring", "sp-session/std", "pallet-sudo/std", "frame-support/std", @@ -176,6 +176,7 @@ std = [ "pallet-utility/std", "sp-version/std", "pallet-society/std", + "pallet-referenda/std", "pallet-recovery/std", "pallet-uniques/std", "pallet-vesting/std", @@ -191,7 +192,6 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", - "pallet-election-provider-multi-phase/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "pallet-babe/runtime-benchmarks", @@ -201,7 +201,9 @@ runtime-benchmarks = [ "pallet-collective/runtime-benchmarks", "pallet-executive-collective/runtime-benchmarks", "pallet-contracts/runtime-benchmarks", + "pallet-conviction-voting/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", + "pallet-election-provider-multi-phase/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-gilt/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", @@ -212,9 +214,12 @@ runtime-benchmarks = [ "pallet-membership/runtime-benchmarks", "pallet-mmr/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", + "pallet-offences-benchmarking", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-referenda/runtime-benchmarks", + "pallet-session-benchmarking", "pallet-society/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", @@ -224,8 +229,6 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", - "pallet-offences-benchmarking", - "pallet-session-benchmarking", "chainbridge/runtime-benchmarks", "dentbridge/runtime-benchmarks", "frame-system-benchmarking", @@ -243,37 +246,39 @@ try-runtime = [ "pallet-bounties/try-runtime", "pallet-child-bounties/try-runtime", "pallet-collective/try-runtime", - "pallet-executive-collective/try-runtime", "pallet-contracts/try-runtime", + "pallet-conviction-voting/try-runtime", "pallet-democracy/try-runtime", + "pallet-election-provider-multi-phase/try-runtime", "pallet-elections-phragmen/try-runtime", + "pallet-executive-collective/try-runtime", + "pallet-gilt/try-runtime", "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", "pallet-im-online/try-runtime", "pallet-indices/try-runtime", "pallet-lottery/try-runtime", "pallet-membership/try-runtime", "pallet-mmr/try-runtime", "pallet-multisig/try-runtime", - "pallet-identity/try-runtime", - "pallet-scheduler/try-runtime", "pallet-offences/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-randomness-collective-flip/try-runtime", + "pallet-recovery/try-runtime", + "pallet-referenda/try-runtime", + "pallet-scheduler/try-runtime", "pallet-session/try-runtime", + "pallet-society/try-runtime", "pallet-staking/try-runtime", "pallet-sudo/try-runtime", - "pallet-election-provider-multi-phase/try-runtime", "pallet-timestamp/try-runtime", "pallet-tips/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", - "pallet-utility/try-runtime", - "pallet-society/try-runtime", - "pallet-recovery/try-runtime", "pallet-uniques/try-runtime", + "pallet-utility/try-runtime", "pallet-vesting/try-runtime", - "pallet-gilt/try-runtime", ] # Make contract callable functions marked as __unstable__ available. Do not enable # on live chains as those are subject to change. diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 776935e..be67c85 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -53,11 +53,7 @@ pub use pallet_transaction_payment::{CurrencyAdapter, Multiplier, TargetedFeeAdj use pallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo}; use sp_api::impl_runtime_apis; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; -use sp_core::{ - crypto::KeyTypeId, - u32_trait::{_1, _2, _3, _4, _5}, - OpaqueMetadata, -}; +use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; use sp_inherents::{CheckInherentsResult, InherentData}; use sp_runtime::{ create_runtime_str, @@ -124,7 +120,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 9142, + spec_version: 9143, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 9, @@ -547,7 +543,7 @@ impl pallet_staking::Config for Runtime { /// A super-majority of the council can cancel the slash. type SlashCancelOrigin = EnsureOneOf< EnsureRoot, - pallet_collective::EnsureProportionAtLeast<_3, _4, AccountId, CouncilCollective>, + pallet_collective::EnsureProportionAtLeast, >; type SessionInterface = Self; type EraPayout = pallet_staking::ConvertCurve; @@ -694,6 +690,85 @@ parameter_types! { pub const MaxProposals: u32 = 100; } +/* +parameter_types! { + pub const VoteLockingPeriod: BlockNumber = 30 * DAYS; +} + +impl pallet_conviction_voting::Config for Runtime { + type WeightInfo = pallet_conviction_voting::weights::SubstrateWeight; + type Event = Event; + type Currency = Balances; + type VoteLockingPeriod = VoteLockingPeriod; + type MaxVotes = ConstU32<512>; + type MaxTurnout = frame_support::traits::TotalIssuanceOf; + type Polls = Referenda; +} + +parameter_types! { + pub const AlarmInterval: BlockNumber = 1; + pub const SubmissionDeposit: Balance = 100 * DOLLARS; + pub const UndecidingTimeout: BlockNumber = 28 * DAYS; +} + +pub struct TracksInfo; +impl pallet_referenda::TracksInfo for TracksInfo { + type Id = u8; + type Origin = ::PalletsOrigin; + fn tracks() -> &'static [(Self::Id, pallet_referenda::TrackInfo)] { + static DATA: [(u8, pallet_referenda::TrackInfo); 1] = [( + 0u8, + pallet_referenda::TrackInfo { + name: "root", + max_deciding: 1, + decision_deposit: 10, + prepare_period: 4, + decision_period: 4, + confirm_period: 2, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + begin: Perbill::from_percent(100), + delta: Perbill::from_percent(50), + }, + min_turnout: pallet_referenda::Curve::LinearDecreasing { + begin: Perbill::from_percent(100), + delta: Perbill::from_percent(100), + }, + }, + )]; + &DATA[..] + } + fn track_for(id: &Self::Origin) -> Result { + if let Ok(system_origin) = frame_system::RawOrigin::try_from(id.clone()) { + match system_origin { + frame_system::RawOrigin::Root => Ok(0), + _ => Err(()), + } + } else { + Err(()) + } + } +} + +impl pallet_referenda::Config for Runtime { + type WeightInfo = pallet_referenda::weights::SubstrateWeight; + type Call = Call; + type Event = Event; + type Scheduler = Scheduler; + type Currency = pallet_balances::Pallet; + type CancelOrigin = EnsureRoot; + type KillOrigin = EnsureRoot; + type Slash = (); + type Votes = pallet_conviction_voting::VotesOf; + type Tally = pallet_conviction_voting::TallyOf; + type SubmissionDeposit = SubmissionDeposit; + type MaxQueued = ConstU32<100>; + type UndecidingTimeout = UndecidingTimeout; + type AlarmInterval = AlarmInterval; + type Tracks = TracksInfo; +} +*/ + impl pallet_democracy::Config for Runtime { type Proposal = Call; type Event = Event; @@ -705,30 +780,30 @@ impl pallet_democracy::Config for Runtime { type MinimumDeposit = MinimumDeposit; /// A straight majority of the council can decide what their next motion is. type ExternalOrigin = - pallet_collective::EnsureProportionAtLeast<_1, _2, AccountId, CouncilCollective>; + pallet_collective::EnsureProportionAtLeast; /// A super-majority can have the next scheduled referendum be a straight majority-carries vote. type ExternalMajorityOrigin = - pallet_collective::EnsureProportionAtLeast<_3, _4, AccountId, CouncilCollective>; + pallet_collective::EnsureProportionAtLeast; /// A unanimous council can have the next scheduled referendum be a straight default-carries /// (NTB) vote. type ExternalDefaultOrigin = - pallet_collective::EnsureProportionAtLeast<_1, _1, AccountId, CouncilCollective>; + pallet_collective::EnsureProportionAtLeast; /// Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote /// be tabled immediately and with a shorter voting/enactment period. type FastTrackOrigin = - pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, TechnicalCollective>; + pallet_collective::EnsureProportionAtLeast; type InstantOrigin = - pallet_collective::EnsureProportionAtLeast<_1, _1, AccountId, TechnicalCollective>; + pallet_collective::EnsureProportionAtLeast; type InstantAllowed = frame_support::traits::ConstBool; type FastTrackVotingPeriod = FastTrackVotingPeriod; // To cancel a proposal which has been passed, 2/3 of the council must agree to it. type CancellationOrigin = - pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, CouncilCollective>; + pallet_collective::EnsureProportionAtLeast; // To cancel a proposal before it has been passed, the technical committee must be unanimous or // Root must agree. type CancelProposalOrigin = EnsureOneOf< EnsureRoot, - pallet_collective::EnsureProportionAtLeast<_1, _1, AccountId, TechnicalCollective>, + pallet_collective::EnsureProportionAtLeast, >; type BlacklistOrigin = EnsureRoot; // Any single technical committee member may veto a coming council proposal, however they can @@ -821,7 +896,7 @@ impl pallet_executive_collective::Config for Runtime { type EnsureRootOrHalfCouncil = EnsureOneOf< EnsureRoot, - pallet_collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>, + pallet_collective::EnsureProportionMoreThan, >; impl pallet_membership::Config for Runtime { type Event = Event; @@ -862,11 +937,11 @@ impl pallet_treasury::Config for Runtime { type Currency = Balances; type ApproveOrigin = EnsureOneOf< EnsureRoot, - pallet_collective::EnsureProportionAtLeast<_3, _5, AccountId, CouncilCollective>, + pallet_collective::EnsureProportionAtLeast, >; type RejectOrigin = EnsureOneOf< EnsureRoot, - pallet_collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>, + pallet_collective::EnsureProportionMoreThan, >; type Event = Event; type OnSlash = (); @@ -1136,7 +1211,7 @@ impl pallet_society::Config for Runtime { type RotationPeriod = RotationPeriod; type MaxLockDuration = MaxLockDuration; type FounderSetOrigin = - pallet_collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>; + pallet_collective::EnsureProportionMoreThan; type SuspensionJudgementOrigin = pallet_society::EnsureFounder; type MaxCandidateIntake = MaxCandidateIntake; type ChallengePeriod = ChallengePeriod; @@ -1350,6 +1425,8 @@ construct_runtime!( TransactionStorage: pallet_transaction_storage = 23, Preimage: pallet_preimage = 40, // kusama index 32, polkadot index 10 ChildBounties: pallet_child_bounties = 41, + // Referenda: pallet_referenda = 42, + // ConvictionVoting: pallet_conviction_voting = 43, // custom pallets ChainBridge: chainbridge = 100, @@ -1422,6 +1499,7 @@ mod benches { [pallet_bounties, Bounties] [pallet_child_bounties, ChildBounties] [pallet_collective, Council] + // [pallet_conviction_voting, ConvictionVoting] [pallet_executive_collective, TechnicalCommittee] [pallet_contracts, Contracts] [pallet_democracy, Democracy] @@ -1440,6 +1518,7 @@ mod benches { [pallet_offences, OffencesBench::] [pallet_preimage, Preimage] [pallet_proxy, Proxy] + // [pallet_referenda, Referenda] [pallet_scheduler, Scheduler] [pallet_session, SessionBench::] [pallet_staking, Staking]