diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 581db1b4f742fd2047b126f68813838cba6018c3..b29242964799f9fae3f1cfc0d28e6b56146f10e7 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -446,12 +446,14 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "bitvec" -version = "0.17.4" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41262f11d771fd4a61aa3ce019fca363b4b6c282fca9da2a31186d3965a47a5c" +checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d" dependencies = [ - "either", + "funty", "radium", + "tap", + "wyz", ] [[package]] @@ -580,9 +582,9 @@ checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" [[package]] name = "byte-slice-cast" -version = "0.3.5" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0a5e3906bcbf133e33c1d4d95afc664ad37fbdb9f6568d8043e7ea8c27d93d3" +checksum = "65c1bf4a04a88c54f589125563643d773f3254b5c38571395e2b591c693bbc81" [[package]] name = "byte-tools" @@ -1319,9 +1321,9 @@ dependencies = [ [[package]] name = "ethbloom" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a621dcebea74f2a6f2002d0a885c81ccf6cbdf86760183316a7722b5707ca4" +checksum = "779864b9c7f7ead1f092972c3257496c6a84b46dba2ce131dd8a282cb2cc5972" dependencies = [ "crunchy", "fixed-hash", @@ -1332,9 +1334,9 @@ dependencies = [ [[package]] name = "ethereum-types" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05dc5f0df4915fa6dff7f975a8366ecfaaa8959c74235469495153e7bb1b280e" +checksum = "f64b5df66a228d85e4b17e5d6c6aa43b0310898ffe8a85988c4c032357aaabfd" dependencies = [ "ethbloom", "fixed-hash", @@ -1449,17 +1451,17 @@ dependencies = [ [[package]] name = "finality-grandpa" -version = "0.12.3" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8feb87a63249689640ac9c011742c33139204e3c134293d3054022276869133b" +checksum = "2cd795898c348a8ec9edc66ec9e014031c764d4c88cc26d09b492cd93eb41339" dependencies = [ "either", "futures 0.3.12", - "futures-timer 2.0.2", + "futures-timer 3.0.2", "log", "num-traits 0.2.14", "parity-scale-codec", - "parking_lot 0.9.0", + "parking_lot 0.11.1", ] [[package]] @@ -1502,7 +1504,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", ] @@ -1520,7 +1522,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -1538,7 +1540,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "Inflector", "chrono", @@ -1561,7 +1563,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -1577,7 +1579,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "12.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "serde", @@ -1588,7 +1590,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "bitflags", "frame-metadata", @@ -1613,7 +1615,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -1625,7 +1627,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1637,7 +1639,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -1647,7 +1649,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "impl-trait-for-tuples 0.2.0", @@ -1663,7 +1665,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -1677,7 +1679,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sp-api", @@ -1685,9 +1687,9 @@ dependencies = [ [[package]] name = "fs-swap" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "921d332c89b3b61a826de38c61ee5b6e02c56806cade1b0e5d81bd71f57a71bb" +checksum = "5839fda247e24ca4919c87c71dd5ca658f1f39e4f06829f80e3f15c3bafcfc2c" dependencies = [ "lazy_static", "libc", @@ -1723,6 +1725,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" +[[package]] +name = "funty" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" + [[package]] name = "futures" version = "0.1.29" @@ -2370,9 +2378,9 @@ dependencies = [ [[package]] name = "impl-codec" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1be51a921b067b0eaca2fad532d9400041561aa922221cc65f95a85641c6bf53" +checksum = "df170efa359aebdd5cb7fe78edcc67107748e4737bdca8a8fb40d15ea7a877ed" dependencies = [ "parity-scale-codec", ] @@ -2777,9 +2785,9 @@ dependencies = [ [[package]] name = "kvdb" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92312348daade49976a6dc59263ad39ed54f840aacb5664874f7c9aa16e5f848" +checksum = "8891bd853eff90e33024195d79d578dc984c82f9e0715fcd2b525a0c19d52811" dependencies = [ "parity-util-mem", "smallvec 1.6.1", @@ -2787,9 +2795,9 @@ dependencies = [ [[package]] name = "kvdb-memorydb" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "986052a8d16c692eaebe775391f9a3ac26714f3907132658500b601dec94c8c2" +checksum = "30a0da8e08caf08d384a620ec19bb6c9b85c84137248e202617fb91881f25912" dependencies = [ "kvdb", "parity-util-mem", @@ -2798,9 +2806,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d92c36be64baba5ea549116ff0d7ffd445456a7be8aaee21ec05882b980cd11" +checksum = "34446c373ccc494c2124439281c198c7636ccdc2752c06722bbffd56d459c1e4" dependencies = [ "fs-swap", "kvdb", @@ -2816,9 +2824,9 @@ dependencies = [ [[package]] name = "kvdb-web" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7bfe11b3202691673766b1224c432996f6b8047db17ceb743675bef3404e714" +checksum = "eb1e98ba343d0b35f9009a8844cd2b87fa3192f7e79033ac05b00aeae0f3b0b5" dependencies = [ "futures 0.3.12", "js-sys", @@ -3465,9 +3473,9 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cbd2a22f201c03cc1706a727842490abfea17b7b53260358239828208daba3c" +checksum = "814bbecfc0451fc314eeea34f05bbcd5b98a7ad7af37faee088b86a1e633f1d4" dependencies = [ "hash-db", "hashbrown", @@ -3942,7 +3950,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -3958,7 +3966,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -3973,7 +3981,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -3998,7 +4006,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4012,7 +4020,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4027,7 +4035,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4043,7 +4051,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4058,7 +4066,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4073,7 +4081,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4094,7 +4102,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4110,7 +4118,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4130,7 +4138,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4147,7 +4155,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4161,7 +4169,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4177,7 +4185,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4191,7 +4199,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4206,7 +4214,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4227,7 +4235,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4243,7 +4251,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4256,7 +4264,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "enumflags2", "frame-support", @@ -4271,7 +4279,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4286,7 +4294,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4306,7 +4314,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4322,7 +4330,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4336,7 +4344,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4358,7 +4366,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -4369,7 +4377,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4383,7 +4391,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4401,7 +4409,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4416,7 +4424,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-support", "frame-system", @@ -4432,7 +4440,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4449,7 +4457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -4460,7 +4468,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4476,7 +4484,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-benchmarking", "frame-support", @@ -4492,7 +4500,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4538,9 +4546,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "1.3.6" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79602888a81ace83e3d1d4b2873286c1f5f906c84db667594e8db8da3506c383" +checksum = "75c823fdae1bb5ff5708ee61a62697e6296175dc671710876871c853f48592b3" dependencies = [ "arrayvec 0.5.2", "bitvec", @@ -4551,9 +4559,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "1.2.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "198db82bb1c18fc00176004462dd809b2a6d851669550aa17af6dacd21ae0c14" +checksum = "9029e65297c7fd6d7013f0579e193ec2b34ae78eabca854c9417504ad8a2d214" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -4588,9 +4596,9 @@ dependencies = [ [[package]] name = "parity-util-mem" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f17f15cb05897127bf36a240085a1f0bbef7bce3024849eccf7f93f6171bc27" +checksum = "664a8c6b8e62d8f9f2f937e391982eb433ab285b4cd9545b342441e04a906e42" dependencies = [ "cfg-if 1.0.0", "ethereum-types", @@ -6075,9 +6083,9 @@ dependencies = [ [[package]] name = "primitive-types" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3824ae2c5e27160113b9e029a10ec9e3f0237bad8029f69c7724393c9fdefd8" +checksum = "2415937401cb030a2a0a4d922483f945fa068f52a7dbb22ce0fe5f2b6f6adace" dependencies = [ "fixed-hash", "impl-codec", @@ -6291,9 +6299,9 @@ dependencies = [ [[package]] name = "radium" -version = "0.3.0" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac" +checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" [[package]] name = "rand" @@ -6832,7 +6840,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "async-trait", "derive_more", @@ -6860,7 +6868,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -6883,7 +6891,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6900,7 +6908,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "impl-trait-for-tuples 0.2.0", "parity-scale-codec", @@ -6921,7 +6929,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -6932,7 +6940,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "chrono", "fdlimit", @@ -6970,7 +6978,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "fnv", @@ -7004,7 +7012,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "blake2-rfc", "hash-db", @@ -7034,7 +7042,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "sc-client-api", "sp-blockchain", @@ -7045,7 +7053,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "fork-tree", @@ -7091,7 +7099,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "futures 0.3.12", @@ -7115,7 +7123,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7128,7 +7136,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -7154,7 +7162,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "sc-client-api", @@ -7168,7 +7176,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "lazy_static", @@ -7197,7 +7205,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "parity-scale-codec", @@ -7213,7 +7221,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "parity-scale-codec", @@ -7228,7 +7236,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "parity-scale-codec", @@ -7246,7 +7254,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "finality-grandpa", @@ -7284,7 +7292,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "finality-grandpa", @@ -7308,7 +7316,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "futures 0.3.12", @@ -7328,7 +7336,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "ansi_term 0.12.1", "futures 0.3.12", @@ -7346,7 +7354,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "async-trait", "derive_more", @@ -7366,7 +7374,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "hash-db", "lazy_static", @@ -7385,7 +7393,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "async-std", "async-trait", @@ -7437,7 +7445,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -7453,7 +7461,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "bytes 0.5.6", "fnv", @@ -7480,7 +7488,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "libp2p", @@ -7493,7 +7501,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -7502,7 +7510,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "hash-db", @@ -7536,7 +7544,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "futures 0.3.12", @@ -7560,7 +7568,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.1.29", "jsonrpc-core", @@ -7578,7 +7586,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "directories 3.0.1", "exit-future", @@ -7641,7 +7649,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "parity-scale-codec", @@ -7656,7 +7664,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7676,7 +7684,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "chrono", "futures 0.3.12", @@ -7698,7 +7706,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "ansi_term 0.12.1", "atty", @@ -7726,7 +7734,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -7737,7 +7745,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "futures 0.3.12", @@ -7759,7 +7767,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "futures-diagnose", @@ -8181,7 +8189,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "sp-core", @@ -8193,7 +8201,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "hash-db", "parity-scale-codec", @@ -8209,7 +8217,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -8221,7 +8229,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "serde", @@ -8233,7 +8241,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "integer-sqrt", "num-traits 0.2.14", @@ -8246,7 +8254,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sp-api", @@ -8258,7 +8266,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -8269,7 +8277,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sp-api", @@ -8281,7 +8289,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "log", @@ -8299,7 +8307,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "serde", "serde_json", @@ -8308,7 +8316,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -8334,7 +8342,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "merlin", "parity-scale-codec", @@ -8354,7 +8362,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -8364,7 +8372,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -8376,7 +8384,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "base58", "blake2-rfc", @@ -8420,7 +8428,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -8429,7 +8437,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -8439,7 +8447,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "environmental", "parity-scale-codec", @@ -8450,7 +8458,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "finality-grandpa", "log", @@ -8467,7 +8475,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "parking_lot 0.11.1", @@ -8479,7 +8487,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "hash-db", @@ -8503,7 +8511,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "lazy_static", "sp-core", @@ -8514,7 +8522,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "async-trait", "derive_more", @@ -8531,7 +8539,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "serde", @@ -8544,7 +8552,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -8555,7 +8563,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "sp-api", "sp-core", @@ -8565,7 +8573,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "backtrace", ] @@ -8573,7 +8581,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "serde", "sp-core", @@ -8582,7 +8590,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "either", "hash256-std-hasher", @@ -8603,7 +8611,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "impl-trait-for-tuples 0.2.0", "parity-scale-codec", @@ -8620,7 +8628,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "Inflector", "proc-macro-crate", @@ -8632,7 +8640,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "serde", "serde_json", @@ -8641,7 +8649,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sp-api", @@ -8654,7 +8662,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8664,7 +8672,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "hash-db", "log", @@ -8686,12 +8694,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" [[package]] name = "sp-storage" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8704,7 +8712,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "sp-core", @@ -8717,7 +8725,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "impl-trait-for-tuples 0.2.0", "parity-scale-codec", @@ -8731,7 +8739,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "log", "parity-scale-codec", @@ -8744,7 +8752,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "derive_more", "futures 0.3.12", @@ -8760,7 +8768,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "hash-db", "memory-db", @@ -8774,7 +8782,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "futures-core", @@ -8786,7 +8794,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8798,7 +8806,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "impl-trait-for-tuples 0.2.0", "parity-scale-codec", @@ -8951,7 +8959,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "chrono", "console_error_panic_hook", @@ -8978,7 +8986,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "platforms", ] @@ -8986,7 +8994,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.12", @@ -9009,7 +9017,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "async-std", "derive_more", @@ -9023,7 +9031,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.1.29", "futures 0.3.12", @@ -9050,7 +9058,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "futures 0.3.12", "substrate-test-utils-derive", @@ -9060,7 +9068,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.8.1" -source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332" +source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510" dependencies = [ "proc-macro-crate", "quote 1.0.7", @@ -9135,6 +9143,12 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" +[[package]] +name = "tap" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36474e732d1affd3a6ed582781b3683df3d0563714c59c39591e8ff707cf078e" + [[package]] name = "target-lexicon" version = "0.10.0" @@ -10474,6 +10488,12 @@ dependencies = [ "winapi-build", ] +[[package]] +name = "wyz" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" + [[package]] name = "x25519-dalek" version = "0.6.0" diff --git a/polkadot/core-primitives/Cargo.toml b/polkadot/core-primitives/Cargo.toml index 88d1afcca9a0288d1a27ca15c8c5eb0e99aa6c6d..4007c9a90037078722f30b45f7dc7e836cb7dc87 100644 --- a/polkadot/core-primitives/Cargo.toml +++ b/polkadot/core-primitives/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -parity-scale-codec = { version = "1.3.6", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.8.0", default-features = false, optional = true } +parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } +parity-util-mem = { version = "0.9.0", default-features = false, optional = true } [features] default = [ "std" ] diff --git a/polkadot/erasure-coding/Cargo.toml b/polkadot/erasure-coding/Cargo.toml index ece01d046a87aa60d079806dd4c90521e3ca8617..752b2057d771c9b1b2da7a47bde51b3921aa3619 100644 --- a/polkadot/erasure-coding/Cargo.toml +++ b/polkadot/erasure-coding/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" [dependencies] primitives = { package = "polkadot-primitives", path = "../primitives" } reed_solomon = { package = "reed-solomon-erasure", version = "4.0.2" } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.23" diff --git a/polkadot/node/core/approval-voting/Cargo.toml b/polkadot/node/core/approval-voting/Cargo.toml index b6c361b53835896b8d1835ab7181cb41d73fdeb5..4054eea4ce09bceb49abacf74d3afcf7edfe5985 100644 --- a/polkadot/node/core/approval-voting/Cargo.toml +++ b/polkadot/node/core/approval-voting/Cargo.toml @@ -6,13 +6,13 @@ edition = "2018" [dependencies] futures = "0.3.8" -parity-scale-codec = { version = "1.3.5", default-features = false, features = ["bit-vec", "derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-overseer = { path = "../../overseer" } polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } -bitvec = "0.17.4" +bitvec = "0.20.1" sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/polkadot/node/core/av-store/Cargo.toml b/polkadot/node/core/av-store/Cargo.toml index afdb9fe3a3146db2f75776c8a797642a041735e4..0a2d6f9be86dd17cf3e075feaba3a515c8b51363 100644 --- a/polkadot/node/core/av-store/Cargo.toml +++ b/polkadot/node/core/av-store/Cargo.toml @@ -7,14 +7,14 @@ edition = "2018" [dependencies] futures = "0.3.12" futures-timer = "3.0.2" -kvdb = "0.8.0" -kvdb-rocksdb = "0.10.0" +kvdb = "0.9.0" +kvdb-rocksdb = "0.11.0" thiserror = "1.0.23" tracing = "0.1.22" tracing-futures = "0.2.4" -bitvec = "0.17.4" +bitvec = "0.20.1" -parity-scale-codec = { version = "1.3.6", features = ["derive"] } +parity-scale-codec = { version = "2.0.0", features = ["derive"] } erasure = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } @@ -27,7 +27,7 @@ sc-service = { git = "https://github.com/paritytech/substrate", branch = "master log = "0.4.13" env_logger = "0.8.2" assert_matches = "1.4.0" -kvdb-memorydb = "0.8.0" +kvdb-memorydb = "0.9.0" sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } diff --git a/polkadot/node/core/av-store/src/lib.rs b/polkadot/node/core/av-store/src/lib.rs index a8b498e48bea1d33d05184c9dbd9c7ff2dea867c..0b4806b3157b4a4dab241dae8405d0055128214a 100644 --- a/polkadot/node/core/av-store/src/lib.rs +++ b/polkadot/node/core/av-store/src/lib.rs @@ -133,16 +133,16 @@ impl Decode for BEBlockNumber { #[derive(Debug, Encode, Decode)] enum State { /// Candidate data was first observed at the given time but is not available in any block. - #[codec(index = "0")] + #[codec(index = 0)] Unavailable(BETimestamp), /// The candidate was first observed at the given time and was included in the given list of unfinalized blocks, which may be /// empty. The timestamp here is not used for pruning. Either one of these blocks will be finalized or the state will regress to /// `State::Unavailable`, in which case the same timestamp will be reused. Blocks are sorted ascending first by block number and /// then hash. - #[codec(index = "1")] + #[codec(index = 1)] Unfinalized(BETimestamp, Vec<(BEBlockNumber, Hash)>), /// Candidate data has appeared in a finalized block and did so at the given time. - #[codec(index = "2")] + #[codec(index = 2)] Finalized(BETimestamp) } @@ -967,7 +967,9 @@ fn process_message( } AvailabilityStoreMessage::QueryChunkAvailability(candidate, validator_index, tx) => { let a = load_meta(&subsystem.db, &candidate)? - .map_or(false, |m| *m.chunks_stored.get(validator_index as usize).unwrap_or(&false)); + .map_or(false, |m| + *m.chunks_stored.get(validator_index as usize).as_deref().unwrap_or(&false) + ); let _ = tx.send(a); } AvailabilityStoreMessage::StoreChunk { diff --git a/polkadot/node/core/backing/Cargo.toml b/polkadot/node/core/backing/Cargo.toml index cfc9cc973fa03953bbcadf4b042aecc0f915ee36..faaa7285341ed0a77ea9ac431dcd8904c02959c4 100644 --- a/polkadot/node/core/backing/Cargo.toml +++ b/polkadot/node/core/backing/Cargo.toml @@ -13,7 +13,7 @@ polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsys polkadot-node-subsystem-util = { path = "../../subsystem-util" } erasure-coding = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" } statement-table = { package = "polkadot-statement-table", path = "../../../statement-table" } -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } tracing = "0.1.22" tracing-futures = "0.2.4" thiserror = "1.0.23" diff --git a/polkadot/node/core/backing/src/lib.rs b/polkadot/node/core/backing/src/lib.rs index affb6f327984a87178301ff4e08a41571a211819..27dec01e5f98a4fe55333b1ea980f23e6172c173 100644 --- a/polkadot/node/core/backing/src/lib.rs +++ b/polkadot/node/core/backing/src/lib.rs @@ -1794,7 +1794,10 @@ mod tests { assert!(candidates[0].validity_votes.contains( &ValidityAttestation::Explicit(signed_c.signature().clone()) )); - assert_eq!(candidates[0].validator_indices, bitvec::bitvec![Lsb0, u8; 1, 0, 1, 1]); + assert_eq!( + candidates[0].validator_indices, + bitvec::bitvec![bitvec::order::Lsb0, u8; 1, 0, 1, 1], + ); virtual_overseer.send(FromOverseer::Signal( OverseerSignal::ActiveLeaves(ActiveLeavesUpdate::stop_work(test_state.relay_parent))) diff --git a/polkadot/node/core/candidate-validation/Cargo.toml b/polkadot/node/core/candidate-validation/Cargo.toml index ae90ad9eb2922d6be6331b9726c3125f9fa11d20..ed3d6794ca24e65c2176c9dc1d231a4b831a33aa 100644 --- a/polkadot/node/core/candidate-validation/Cargo.toml +++ b/polkadot/node/core/candidate-validation/Cargo.toml @@ -10,7 +10,7 @@ tracing = "0.1.22" tracing-futures = "0.2.4" sp-core = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master" } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["bit-vec", "derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } polkadot-primitives = { path = "../../../primitives" } polkadot-parachain = { path = "../../../parachain" } diff --git a/polkadot/node/core/provisioner/Cargo.toml b/polkadot/node/core/provisioner/Cargo.toml index 92c98d6375c1db2b27e8aec052b81558be3893a2..249b7afbf9151e98d8dbb24c5fe32f66cea88d0c 100644 --- a/polkadot/node/core/provisioner/Cargo.toml +++ b/polkadot/node/core/provisioner/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" [dependencies] -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } futures = "0.3.12" tracing = "0.1.22" tracing-futures = "0.2.4" diff --git a/polkadot/node/core/provisioner/src/lib.rs b/polkadot/node/core/provisioner/src/lib.rs index 4cb3475fdd52269be3aa62d0f53c1804d7b6862b..8f9421b25f9de461ad3702e84716a1606d227dd4 100644 --- a/polkadot/node/core/provisioner/src/lib.rs +++ b/polkadot/node/core/provisioner/src/lib.rs @@ -367,7 +367,7 @@ fn select_availability_bitfields( for (idx, _) in cores.iter().enumerate().filter(|v| !v.1.is_occupied()) { // Bit is set for an unoccupied core - invalid - if *bitfield.payload().0.get(idx).unwrap_or(&false) { + if *bitfield.payload().0.get(idx).as_deref().unwrap_or(&false) { continue 'a } } diff --git a/polkadot/node/core/runtime-api/Cargo.toml b/polkadot/node/core/runtime-api/Cargo.toml index ca1364276947b367b8740994ed7b7612b58d6ca0..f0302c86cf114b7b7419bc469a35e343e264b6c3 100644 --- a/polkadot/node/core/runtime-api/Cargo.toml +++ b/polkadot/node/core/runtime-api/Cargo.toml @@ -9,7 +9,7 @@ futures = "0.3.12" tracing = "0.1.22" tracing-futures = "0.2.4" memory-lru = "0.1.0" -parity-util-mem = { version = "0.8.0", default-features = false } +parity-util-mem = { version = "0.9.0", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/polkadot/node/network/availability-distribution/Cargo.toml b/polkadot/node/network/availability-distribution/Cargo.toml index 43d3f379b15a00f41e84680f27c2a4d36dc66a8c..add6b2c43d3324ee484f7c14700f4e158db4230b 100644 --- a/polkadot/node/network/availability-distribution/Cargo.toml +++ b/polkadot/node/network/availability-distribution/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" futures = "0.3.12" tracing = "0.1.22" tracing-futures = "0.2.4" -parity-scale-codec = { version = "1.3.6", features = ["std"] } +parity-scale-codec = { version = "2.0.0", features = ["std"] } polkadot-primitives = { path = "../../../primitives" } polkadot-erasure-coding = { path = "../../../erasure-coding" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } diff --git a/polkadot/node/network/bitfield-distribution/Cargo.toml b/polkadot/node/network/bitfield-distribution/Cargo.toml index e8cda72885a5814314181583f5732266be7b6c29..23118782839c29e5c42ca38afb8cca2412601ea0 100644 --- a/polkadot/node/network/bitfield-distribution/Cargo.toml +++ b/polkadot/node/network/bitfield-distribution/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" futures = "0.3.12" tracing = "0.1.22" tracing-futures = "0.2.4" -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } polkadot-primitives = { path = "../../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } @@ -16,7 +16,7 @@ polkadot-node-network-protocol = { path = "../../network/protocol" } [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/polkadot/node/network/bridge/Cargo.toml b/polkadot/node/network/bridge/Cargo.toml index 1cc0b407c178296ccb4be29c2628b94843584ce3..06f7c6b348ad292cf08e5e3ead9e40d7c15ad7c5 100644 --- a/polkadot/node/network/bridge/Cargo.toml +++ b/polkadot/node/network/bridge/Cargo.toml @@ -10,7 +10,7 @@ futures = "0.3.12" tracing = "0.1.22" tracing-futures = "0.2.4" polkadot-primitives = { path = "../../../primitives" } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } diff --git a/polkadot/node/network/bridge/src/lib.rs b/polkadot/node/network/bridge/src/lib.rs index f5bc89f137d79fc4d8d0544cab28f5966a030df4..b3d102f780d66103d4c95d123b2d407772607522 100644 --- a/polkadot/node/network/bridge/src/lib.rs +++ b/polkadot/node/network/bridge/src/lib.rs @@ -82,10 +82,10 @@ const LOG_TARGET: &'static str = "network_bridge"; #[derive(Debug, Encode, Decode, Clone)] pub enum WireMessage<M> { /// A message from a peer on a specific protocol. - #[codec(index = "1")] + #[codec(index = 1)] ProtocolMessage(M), /// A view update from a peer. - #[codec(index = "2")] + #[codec(index = 2)] ViewUpdate(View), } diff --git a/polkadot/node/network/protocol/Cargo.toml b/polkadot/node/network/protocol/Cargo.toml index f40b063a8e41617dbd27574768db46aa78221b8e..5f9e9bc52aa934811cc5afa86b4f98923cf36cf7 100644 --- a/polkadot/node/network/protocol/Cargo.toml +++ b/polkadot/node/network/protocol/Cargo.toml @@ -9,7 +9,7 @@ description = "Primitives types for the Node-side" polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-jaeger = { path = "../../jaeger" } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } strum = { version = "0.20", features = ["derive"] } thiserror = "1.0.23" diff --git a/polkadot/node/network/protocol/src/lib.rs b/polkadot/node/network/protocol/src/lib.rs index 9969862050e092811698a7de4dbe83f6b7b27503..8fabc6fe3328328dfd19f1bc2574bd6e080e9d2c 100644 --- a/polkadot/node/network/protocol/src/lib.rs +++ b/polkadot/node/network/protocol/src/lib.rs @@ -296,7 +296,7 @@ pub mod v1 { #[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)] pub enum AvailabilityDistributionMessage { /// An erasure chunk for a given candidate hash. - #[codec(index = "0")] + #[codec(index = 0)] Chunk(CandidateHash, ErasureChunk), } @@ -314,7 +314,7 @@ pub mod v1 { #[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)] pub enum BitfieldDistributionMessage { /// A signed availability bitfield for a given relay-parent hash. - #[codec(index = "0")] + #[codec(index = 0)] Bitfield(Hash, SignedAvailabilityBitfield), } @@ -323,11 +323,11 @@ pub mod v1 { pub enum PoVDistributionMessage { /// Notification that we are awaiting the given PoVs (by hash) against a /// specific relay-parent hash. - #[codec(index = "0")] + #[codec(index = 0)] Awaiting(Hash, Vec<Hash>), /// Notification of an awaited PoV, in a given relay-parent context. /// (relay_parent, pov_hash, compressed_pov) - #[codec(index = "1")] + #[codec(index = 1)] SendPoV(Hash, Hash, CompressedPoV), } @@ -335,7 +335,7 @@ pub mod v1 { #[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)] pub enum StatementDistributionMessage { /// A signed full statement under a given relay-parent. - #[codec(index = "0")] + #[codec(index = 0)] Statement(Hash, SignedFullStatement) } @@ -345,10 +345,10 @@ pub mod v1 { /// Assignments for candidates in recent, unfinalized blocks. /// /// Actually checking the assignment may yield a different result. - #[codec(index = "0")] + #[codec(index = 0)] Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>), /// Approvals for candidates in some recent, unfinalized block. - #[codec(index = "1")] + #[codec(index = 1)] Approvals(Vec<IndirectSignedApprovalVote>), } @@ -417,17 +417,17 @@ pub mod v1 { #[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)] pub enum CollatorProtocolMessage { /// Declare the intent to advertise collations under a collator ID. - #[codec(index = "0")] + #[codec(index = 0)] Declare(CollatorId), /// Advertise a collation to a validator. Can only be sent once the peer has declared /// that they are a collator with given ID. - #[codec(index = "1")] + #[codec(index = 1)] AdvertiseCollation(Hash, ParaId), /// Request the advertised collation at that relay-parent. - #[codec(index = "2")] + #[codec(index = 2)] RequestCollation(RequestId, Hash, ParaId), /// A requested collation. - #[codec(index = "3")] + #[codec(index = 3)] Collation(RequestId, CandidateReceipt, CompressedPoV), } @@ -435,22 +435,22 @@ pub mod v1 { #[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)] pub enum ValidationProtocol { /// Availability distribution messages - #[codec(index = "0")] + #[codec(index = 0)] AvailabilityDistribution(AvailabilityDistributionMessage), /// Bitfield distribution messages - #[codec(index = "1")] + #[codec(index = 1)] BitfieldDistribution(BitfieldDistributionMessage), /// PoV Distribution messages - #[codec(index = "2")] + #[codec(index = 2)] PoVDistribution(PoVDistributionMessage), /// Statement distribution messages - #[codec(index = "3")] + #[codec(index = 3)] StatementDistribution(StatementDistributionMessage), /// Availability recovery messages - #[codec(index = "4")] + #[codec(index = 4)] AvailabilityRecovery(AvailabilityRecoveryMessage), /// Approval distribution messages - #[codec(index = "5")] + #[codec(index = 5)] ApprovalDistribution(ApprovalDistributionMessage), } @@ -464,7 +464,7 @@ pub mod v1 { #[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)] pub enum CollationProtocol { /// Collator protocol messages - #[codec(index = "0")] + #[codec(index = 0)] CollatorProtocol(CollatorProtocolMessage), } diff --git a/polkadot/node/primitives/Cargo.toml b/polkadot/node/primitives/Cargo.toml index 0bd5ef85b30a9abc796fbc679c6798ecaf0f3edf..58777d95526ac929e415aee31e6c44b273bf2060 100644 --- a/polkadot/node/primitives/Cargo.toml +++ b/polkadot/node/primitives/Cargo.toml @@ -9,7 +9,7 @@ description = "Primitives types for the Node-side" futures = "0.3.12" polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/polkadot/node/primitives/src/lib.rs b/polkadot/node/primitives/src/lib.rs index e7545b146cb12563e9ceb4e85fff4e4fabb155f5..dcc3a88623c6f09bc7a52250a42688d164aca8a3 100644 --- a/polkadot/node/primitives/src/lib.rs +++ b/polkadot/node/primitives/src/lib.rs @@ -44,13 +44,13 @@ pub mod approval; #[derive(Debug, Clone, PartialEq, Eq, Encode, Decode)] pub enum Statement { /// A statement that a validator seconds a candidate. - #[codec(index = "1")] + #[codec(index = 1)] Seconded(CommittedCandidateReceipt), /// A statement that a validator has deemed a candidate valid. - #[codec(index = "2")] + #[codec(index = 2)] Valid(CandidateHash), /// A statement that a validator has deemed a candidate invalid. - #[codec(index = "3")] + #[codec(index = 3)] Invalid(CandidateHash), } diff --git a/polkadot/node/subsystem-test-helpers/Cargo.toml b/polkadot/node/subsystem-test-helpers/Cargo.toml index ae0149f8634860caf820629be017e47f99b49685..6387e99d0a8ebacade06c25f6db38baa2d33ad72 100644 --- a/polkadot/node/subsystem-test-helpers/Cargo.toml +++ b/polkadot/node/subsystem-test-helpers/Cargo.toml @@ -11,7 +11,7 @@ futures = "0.3.12" futures-timer = "3.0.2" tracing = "0.1.22" tracing-futures = "0.2.4" -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } parking_lot = "0.11.1" pin-project = "1.0.4" polkadot-node-primitives = { path = "../primitives" } diff --git a/polkadot/node/subsystem-util/Cargo.toml b/polkadot/node/subsystem-util/Cargo.toml index 424f0b20b690d841e872d383630e50fb900c84bf..4b165bdf6d2cd0574c28e81e98361e3c55249397 100644 --- a/polkadot/node/subsystem-util/Cargo.toml +++ b/polkadot/node/subsystem-util/Cargo.toml @@ -9,7 +9,7 @@ description = "Subsystem traits and message definitions" async-trait = "0.1.42" futures = "0.3.12" futures-timer = "3.0.2" -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } parking_lot = { version = "0.11.1", optional = true } pin-project = "1.0.4" streamunordered = "0.5.1" diff --git a/polkadot/node/subsystem/Cargo.toml b/polkadot/node/subsystem/Cargo.toml index fc211f5b7af64fef672c7776f2f33f5d24dea093..3fa2061f0491beeffe1fc84f2f88c0a80998bda3 100644 --- a/polkadot/node/subsystem/Cargo.toml +++ b/polkadot/node/subsystem/Cargo.toml @@ -15,7 +15,7 @@ mick-jaeger = "0.1.2" lazy_static = "1.4" tracing = "0.1.22" tracing-futures = "0.2.4" -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } parking_lot = "0.11.1" pin-project = "1.0.4" polkadot-node-primitives = { path = "../primitives" } diff --git a/polkadot/node/test/client/Cargo.toml b/polkadot/node/test/client/Cargo.toml index f660ec1b28ae2768ed20be07b9fa54bfcf633f75..287c058c62a8d7864c547261ae21047dafe39891 100644 --- a/polkadot/node/test/client/Cargo.toml +++ b/polkadot/node/test/client/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" [dependencies] -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } # Polkadot dependencies polkadot-test-runtime = { path = "../../../runtime/test-runtime" } diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml index 901fa2ec01744ec7dd594456a8098f795027aa0b..232d2d322a378d1939197a60231c41e1815f271f 100644 --- a/polkadot/parachain/Cargo.toml +++ b/polkadot/parachain/Cargo.toml @@ -9,8 +9,8 @@ edition = "2018" # note: special care is taken to avoid inclusion of `sp-io` externals when compiling # this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing # various unnecessary Substrate-specific endpoints. -parity-scale-codec = { version = "1.3.6", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.8.0", optional = true } +parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } +parity-util-mem = { version = "0.9.0", optional = true } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/polkadot/parachain/test-parachains/Cargo.toml b/polkadot/parachain/test-parachains/Cargo.toml index a3d05daa103027f5b39b12f30a1d4591ccfc76e3..75069345e2d7ef335c5e2839ae669d6eebe47b87 100644 --- a/polkadot/parachain/test-parachains/Cargo.toml +++ b/polkadot/parachain/test-parachains/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" [dependencies] tiny-keccak = "2.0.2" -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } parachain = { package = "polkadot-parachain", path = ".." } adder = { package = "test-parachain-adder", path = "adder" } diff --git a/polkadot/parachain/test-parachains/adder/Cargo.toml b/polkadot/parachain/test-parachains/adder/Cargo.toml index e0c07122bb5adf0dce69f5ad06403f9404f9f9c7..c631d188ec6b9550fa0edaeaca65817804f47aee 100644 --- a/polkadot/parachain/test-parachains/adder/Cargo.toml +++ b/polkadot/parachain/test-parachains/adder/Cargo.toml @@ -8,7 +8,7 @@ build = "build.rs" [dependencies] parachain = { package = "polkadot-parachain", path = "../../", default-features = false, features = [ "wasm-api" ] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } tiny-keccak = { version = "2.0.2", features = ["keccak"] } dlmalloc = { version = "0.2.1", features = [ "global" ] } diff --git a/polkadot/parachain/test-parachains/adder/collator/Cargo.toml b/polkadot/parachain/test-parachains/adder/collator/Cargo.toml index 26b2551ad2770b05182f3fa3a9817350860b4898..4068d3c3f9e90bfa73c00f70e4cbcc1ac0f70c24 100644 --- a/polkadot/parachain/test-parachains/adder/collator/Cargo.toml +++ b/polkadot/parachain/test-parachains/adder/collator/Cargo.toml @@ -10,7 +10,7 @@ name = "adder-collator" path = "src/main.rs" [dependencies] -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } futures = "0.3.12" futures-timer = "3.0.2" log = "0.4.13" diff --git a/polkadot/primitives/Cargo.toml b/polkadot/primitives/Cargo.toml index c1d6411673938df1eb2d1f6b6593c06a891d9b01..98d1684f3df017aed81d985b1a215771998caef9 100644 --- a/polkadot/primitives/Cargo.toml +++ b/polkadot/primitives/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] serde = { version = "1.0.123", optional = true, features = ["derive"] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["bit-vec", "derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -22,10 +22,10 @@ runtime_primitives = { package = "sp-runtime", git = "https://github.com/parityt polkadot-parachain = { path = "../parachain", default-features = false } polkadot-core-primitives = { path = "../core-primitives", default-features = false } trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } hex-literal = "0.3.1" -parity-util-mem = { version = "0.8.0", default-features = false, optional = true } +parity-util-mem = { version = "0.9.0", default-features = false, optional = true } [dev-dependencies] sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/polkadot/primitives/src/v0.rs b/polkadot/primitives/src/v0.rs index 81e4a18da6e2bfbfc67685053d03f115ce8ce3e6..d806e4a93c7156339f8c9b3b9abf87b92a48afaa 100644 --- a/polkadot/primitives/src/v0.rs +++ b/polkadot/primitives/src/v0.rs @@ -674,13 +674,13 @@ pub struct ErasureChunk { #[cfg_attr(feature = "std", derive(Debug, Hash))] pub enum CompactStatement { /// Proposal of a parachain candidate. - #[codec(index = "1")] + #[codec(index = 1)] Candidate(CandidateHash), /// State that a parachain candidate is valid. - #[codec(index = "2")] + #[codec(index = 2)] Valid(CandidateHash), /// State that a parachain candidate is invalid. - #[codec(index = "3")] + #[codec(index = 3)] Invalid(CandidateHash), } @@ -705,11 +705,11 @@ pub type SignedStatement = Signed<CompactStatement>; pub enum ValidityAttestation { /// Implicit validity attestation by issuing. /// This corresponds to issuance of a `Candidate` statement. - #[codec(index = "1")] + #[codec(index = 1)] Implicit(ValidatorSignature), /// An explicit attestation. This corresponds to issuance of a /// `Valid` statement. - #[codec(index = "2")] + #[codec(index = 2)] Explicit(ValidatorSignature), } diff --git a/polkadot/primitives/src/v1.rs b/polkadot/primitives/src/v1.rs index 1208e88092b5247e0536bce796b2b27d45546445..45fa88dec1283546e5605b8d8adcbc5fe8dd70b6 100644 --- a/polkadot/primitives/src/v1.rs +++ b/polkadot/primitives/src/v1.rs @@ -677,18 +677,18 @@ pub struct ScheduledCore { #[cfg_attr(feature = "std", derive(Debug, PartialEq, MallocSizeOf))] pub enum CoreState<H = Hash, N = BlockNumber> { /// The core is currently occupied. - #[codec(index = "0")] + #[codec(index = 0)] Occupied(OccupiedCore<H, N>), /// The core is currently free, with a para scheduled and given the opportunity /// to occupy. /// /// If a particular Collator is required to author this block, that is also present in this /// variant. - #[codec(index = "1")] + #[codec(index = 1)] Scheduled(ScheduledCore), /// The core is currently free and there is nothing scheduled. This can be the case for parathread /// cores when there are no parathread blocks queued. Parachain cores will never be left idle. - #[codec(index = "2")] + #[codec(index = 2)] Free, } @@ -713,13 +713,13 @@ impl<N> CoreState<N> { #[cfg_attr(feature = "std", derive(PartialEq, Eq, Hash, Debug))] pub enum OccupiedCoreAssumption { /// The candidate occupying the core was made available and included to free the core. - #[codec(index = "0")] + #[codec(index = 0)] Included, /// The candidate occupying the core timed out and freed the core without advancing the para. - #[codec(index = "1")] + #[codec(index = 1)] TimedOut, /// The core was not occupied to begin with. - #[codec(index = "2")] + #[codec(index = 2)] Free, } @@ -728,13 +728,13 @@ pub enum OccupiedCoreAssumption { #[cfg_attr(feature = "std", derive(PartialEq, Debug, MallocSizeOf))] pub enum CandidateEvent<H = Hash> { /// This candidate receipt was backed in the most recent block. - #[codec(index = "0")] + #[codec(index = 0)] CandidateBacked(CandidateReceipt<H>, HeadData), /// This candidate receipt was included and became a parablock at the most recent block. - #[codec(index = "1")] + #[codec(index = 1)] CandidateIncluded(CandidateReceipt<H>, HeadData), /// This candidate receipt was not made available in time and timed out. - #[codec(index = "2")] + #[codec(index = 2)] CandidateTimedOut(CandidateReceipt<H>, HeadData), } diff --git a/polkadot/rpc/Cargo.toml b/polkadot/rpc/Cargo.toml index d64e4d3d9da83c42d8adfbc7a98654db52b5e96a..7a2179cc97258b1c21ea9a1538a770761e98334d 100644 --- a/polkadot/rpc/Cargo.toml +++ b/polkadot/rpc/Cargo.toml @@ -26,5 +26,5 @@ sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = txpool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master" } frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -parity-scale-codec = { version = "1.3.6", default-features = false } +parity-scale-codec = { version = "2.0.0", default-features = false } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/polkadot/runtime/common/Cargo.toml b/polkadot/runtime/common/Cargo.toml index 2c3f842c87e976a87a1f417a3c0b6d8c921c8e8a..50d61a2099b12acc71df0fca10d1fa161de60f22 100644 --- a/polkadot/runtime/common/Cargo.toml +++ b/polkadot/runtime/common/Cargo.toml @@ -5,8 +5,8 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" [dependencies] -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.13", optional = true } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", default-features = false } diff --git a/polkadot/runtime/kusama/Cargo.toml b/polkadot/runtime/kusama/Cargo.toml index 9c2d1414753c345f087dcb965849dee0f50ffc70..dcfb9471a6c10f4d913f4097db6b257144890425 100644 --- a/polkadot/runtime/kusama/Cargo.toml +++ b/polkadot/runtime/kusama/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.13", optional = true } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", default-features = false } diff --git a/polkadot/runtime/parachains/Cargo.toml b/polkadot/runtime/parachains/Cargo.toml index ce790b1c06cbfe55d353fd42e84f8208369dca49..a830546777ff47927dbcd48aac018959e87727bb 100644 --- a/polkadot/runtime/parachains/Cargo.toml +++ b/polkadot/runtime/parachains/Cargo.toml @@ -5,8 +5,8 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" [dependencies] -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } log = "0.4.13" rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", features = [ "derive" ], optional = true } diff --git a/polkadot/runtime/polkadot/Cargo.toml b/polkadot/runtime/polkadot/Cargo.toml index 67cec5f7f2f09dc9a821a41ff6f1b5226cbe1f28..e95c94b3f443cfbe6f585e1cac3d783e2eae17d7 100644 --- a/polkadot/runtime/polkadot/Cargo.toml +++ b/polkadot/runtime/polkadot/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.13", optional = true } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", default-features = false } diff --git a/polkadot/runtime/rococo/Cargo.toml b/polkadot/runtime/rococo/Cargo.toml index bffc94e40be3c1ff960f586380eef463550068c5..e99567539d2d232d14f9fbc402732b8fb8294012 100644 --- a/polkadot/runtime/rococo/Cargo.toml +++ b/polkadot/runtime/rococo/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" build = "build.rs" [dependencies] -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.123", default-features = false } serde_derive = { version = "1.0.117", optional = true } smallvec = "1.6.1" diff --git a/polkadot/runtime/test-runtime/Cargo.toml b/polkadot/runtime/test-runtime/Cargo.toml index 99b3c55668245c7f638725662a5908ea7efa2b5b..ceb9a1f88520c45fa8345b86a7802aa00bf92a77 100644 --- a/polkadot/runtime/test-runtime/Cargo.toml +++ b/polkadot/runtime/test-runtime/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.13", optional = true } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", default-features = false } diff --git a/polkadot/runtime/westend/Cargo.toml b/polkadot/runtime/westend/Cargo.toml index 0641af69c8ba08bd31d0ac3096ebf9f0d51d7b81..95ae99637413fd77fae93a6d53cf2f4d6e98130b 100644 --- a/polkadot/runtime/westend/Cargo.toml +++ b/polkadot/runtime/westend/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] } -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } log = { version = "0.4.13", optional = true } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", default-features = false } diff --git a/polkadot/statement-table/Cargo.toml b/polkadot/statement-table/Cargo.toml index 7962b00ed5d9c62d5d050dbe06d95b593a1bf988..ef7fe7dba14a25d0f443e773af9743837a51c82e 100644 --- a/polkadot/statement-table/Cargo.toml +++ b/polkadot/statement-table/Cargo.toml @@ -5,6 +5,6 @@ authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" [dependencies] -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } primitives = { package = "polkadot-primitives", path = "../primitives" } diff --git a/polkadot/statement-table/src/generic.rs b/polkadot/statement-table/src/generic.rs index 68bc507b53b98967f90a7ff8106b101eb163c34e..ecf9cec88a09ba24dcdf003b76d606d5c3ffdf5b 100644 --- a/polkadot/statement-table/src/generic.rs +++ b/polkadot/statement-table/src/generic.rs @@ -65,13 +65,13 @@ pub enum Statement<Candidate, Digest> { /// Broadcast by an authority to indicate that this is its candidate for inclusion. /// /// Broadcasting two different candidate messages per round is not allowed. - #[codec(index = "1")] + #[codec(index = 1)] Candidate(Candidate), /// Broadcast by a authority to attest that the candidate with given digest is valid. - #[codec(index = "2")] + #[codec(index = 2)] Valid(Digest), /// Broadcast by a authority to attest that the candidate with given digest is invalid. - #[codec(index = "3")] + #[codec(index = 3)] Invalid(Digest), } diff --git a/polkadot/xcm/Cargo.toml b/polkadot/xcm/Cargo.toml index 6cabe8c1599ade7ea421804618056ac3bc722c88..ab8b230f1bc296fff8bf6d17a3147c07c7540042 100644 --- a/polkadot/xcm/Cargo.toml +++ b/polkadot/xcm/Cargo.toml @@ -6,7 +6,7 @@ description = "The basic XCM datastructures." edition = "2018" [dependencies] -parity-scale-codec = { version = "1.3.6", default-features = false, features = [ "derive" ] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } [features] default = ["std"] diff --git a/polkadot/xcm/xcm-builder/Cargo.toml b/polkadot/xcm/xcm-builder/Cargo.toml index d7dec5d8c26896b70ea09b19cf45f0f2612e56f4..fc57e0f1fc8cce324ddb54e9f93c024806d99df0 100644 --- a/polkadot/xcm/xcm-builder/Cargo.toml +++ b/polkadot/xcm/xcm-builder/Cargo.toml @@ -6,7 +6,7 @@ description = "Tools & types for building with XCM and its executor." version = "0.8.22" [dependencies] -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } xcm-executor = { path = "../xcm-executor", default-features = false } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/polkadot/xcm/xcm-executor/Cargo.toml b/polkadot/xcm/xcm-executor/Cargo.toml index 33be8c0554df6c3edc428910bfd60a097b78063d..bd60b2b67cfe2f79c1b937ab196926ce230718ab 100644 --- a/polkadot/xcm/xcm-executor/Cargo.toml +++ b/polkadot/xcm/xcm-executor/Cargo.toml @@ -7,7 +7,7 @@ version = "0.8.22" [dependencies] impl-trait-for-tuples = "0.2.0" -parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }