From db41e15a1bf759fab93dd67283a935601a6cbba3 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Mon, 11 Oct 2021 19:21:47 +0800 Subject: [PATCH 1/5] Bump deps to polkadot-v0.9.11 --- Cargo.lock | 2747 +++++++++++++-------------------- node/Cargo.toml | 104 +- node/src/command.rs | 14 +- node/src/service.rs | 114 +- runtime/calamari/Cargo.toml | 103 +- runtime/calamari/src/lib.rs | 24 +- runtime/manta-pc/Cargo.toml | 109 +- runtime/manta-pc/src/lib.rs | 86 +- runtime/primitives/Cargo.toml | 16 +- 9 files changed, 1402 insertions(+), 1915 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 098d070cf..4fc580045 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,22 +12,13 @@ dependencies = [ "regex", ] -[[package]] -name = "addr2line" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7a2e47a1fbe209ee101dd6d61285226744c6c8d3c21c8dc878ba6cb9f467f3a" -dependencies = [ - "gimli 0.24.0", -] - [[package]] name = "addr2line" version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd" dependencies = [ - "gimli 0.25.0", + "gimli", ] [[package]] @@ -53,7 +44,7 @@ checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" dependencies = [ "cfg-if 1.0.0", "cipher", - "cpufeatures", + "cpufeatures 0.2.1", "opaque-debug 0.3.0", ] @@ -159,9 +150,9 @@ checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" [[package]] name = "asn1_der" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d6e24d2cce90c53b948c46271bfb053e4bdc2db9b5d3f65e20f8cf28a1b7fc3" +checksum = "e22d1f4b888c298a027c99dc9048015fac177587de20fc30232a057dfbe24a21" [[package]] name = "assert_matches" @@ -175,8 +166,8 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" dependencies = [ - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -286,7 +277,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.5", + "crossbeam-utils", "futures-channel", "futures-core", "futures-io", @@ -330,8 +321,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -398,12 +389,12 @@ version = "0.3.61" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7a905d892734eea339e896738c14b9afce22b5318f64b951e70bf3844419b01" dependencies = [ - "addr2line 0.16.0", + "addr2line", "cc", "cfg-if 1.0.0", "libc", "miniz_oxide", - "object 0.26.2", + "object", "rustc-demangle", ] @@ -416,8 +407,8 @@ dependencies = [ "heck", "proc-macro-error 0.4.12", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -455,13 +446,12 @@ dependencies = [ [[package]] name = "beefy-gadget" -version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.10#9954b61657dc8899a21b4f2501ee6bd3b7a2dc23" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "beefy-primitives", "fnv", "futures 0.3.17", - "hex", "log", "parity-scale-codec", "parking_lot 0.11.2", @@ -469,15 +459,14 @@ dependencies = [ "sc-keystore", "sc-network", "sc-network-gossip", + "sc-utils", "sp-api", "sp-application-crypto", "sp-arithmetic", "sp-blockchain", - "sp-consensus", "sp-core", "sp-keystore", "sp-runtime", - "sp-utils", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -485,8 +474,8 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" -version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.10#9954b61657dc8899a21b4f2501ee6bd3b7a2dc23" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -499,22 +488,22 @@ dependencies = [ "parity-scale-codec", "sc-rpc", "serde", - "serde_json", "sp-core", "sp-runtime", ] [[package]] name = "beefy-merkle-tree" -version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.10#9954b61657dc8899a21b4f2501ee6bd3b7a2dc23" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" [[package]] name = "beefy-primitives" -version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.10#9954b61657dc8899a21b4f2501ee6bd3b7a2dc23" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", + "scale-info", "sp-api", "sp-application-crypto", "sp-core", @@ -544,7 +533,7 @@ dependencies = [ "lazycell", "peeking_take_while", "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "regex", "rustc-hash", "shlex", @@ -689,14 +678,24 @@ dependencies = [ "once_cell", ] +[[package]] +name = "bounded-vec" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afdd1dffefe5fc66262a524b91087c43b16e478b2e3dc49eb11b0e2fd6b6ec90" +dependencies = [ + "thiserror", +] + [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "finality-grandpa", "frame-support", "parity-scale-codec", + "scale-info", "serde", "sp-core", "sp-finality-grandpa", @@ -707,18 +706,19 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-runtime", "frame-support", "parity-scale-codec", + "scale-info", "sp-std", ] [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "bp-runtime", @@ -726,6 +726,7 @@ dependencies = [ "frame-system", "impl-trait-for-tuples", "parity-scale-codec", + "scale-info", "serde", "sp-std", ] @@ -733,13 +734,14 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-messages", "bp-runtime", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-api", "sp-core", "sp-runtime", @@ -750,7 +752,7 @@ dependencies = [ [[package]] name = "bp-rialto" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-messages", "bp-runtime", @@ -765,14 +767,14 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-messages", "bp-polkadot-core", "bp-runtime", "frame-support", "parity-scale-codec", - "smallvec 1.6.1", + "smallvec", "sp-api", "sp-runtime", "sp-std", @@ -782,12 +784,13 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "frame-support", "hash-db", "num-traits", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-runtime", @@ -799,7 +802,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -814,7 +817,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -829,7 +832,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -841,6 +844,7 @@ dependencies = [ "pallet-bridge-messages", "pallet-transaction-payment", "parity-scale-codec", + "scale-info", "sp-core", "sp-runtime", "sp-state-machine", @@ -903,7 +907,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" dependencies = [ "byteorder", - "either", "iovec", ] @@ -927,7 +930,7 @@ checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" [[package]] name = "calamari-pc" -version = "3.0.5" +version = "3.0.6" dependencies = [ "async-trait", "calamari-runtime", @@ -945,7 +948,7 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "futures 0.3.17", - "hex-literal 0.2.1", + "hex-literal", "jsonrpc-core", "log", "manta-pc-runtime", @@ -994,7 +997,7 @@ dependencies = [ [[package]] name = "calamari-runtime" -version = "3.0.5" +version = "3.0.6" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -1012,7 +1015,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.3", + "hex-literal", "log", "manta-primitives", "pallet-aura", @@ -1032,8 +1035,9 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "polkadot-runtime-common", + "scale-info", "serde", - "smallvec 1.6.1", + "smallvec", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -1086,9 +1090,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.70" +version = "1.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0" +checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd" dependencies = [ "jobserver", ] @@ -1122,21 +1126,21 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chacha20" -version = "0.7.3" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f08493fa7707effc63254c66c6ea908675912493cd67952eda23c09fae2610b1" +checksum = "fee7ad89dc1128635074c268ee661f90c3f7e83d9fd12910608c36b47d6c3412" dependencies = [ "cfg-if 1.0.0", "cipher", - "cpufeatures", + "cpufeatures 0.1.5", "zeroize", ] [[package]] name = "chacha20poly1305" -version = "0.8.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6547abe025f4027edacd9edaa357aded014eecec42a5070d9b885c3c334aba2" +checksum = "1580317203210c517b6d44794abfbe600698276db18127e37ad3e69bf5e848e5" dependencies = [ "aead", "chacha20", @@ -1195,7 +1199,7 @@ checksum = "10612c0ec0e0a1ff0e97980647cb058a6e7aedb913d01d009c406b8b7d0b26ee" dependencies = [ "glob", "libc", - "libloading 0.7.0", + "libloading 0.7.1", ] [[package]] @@ -1243,32 +1247,16 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" -[[package]] -name = "core-foundation" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171" -dependencies = [ - "core-foundation-sys 0.7.0", - "libc", -] - [[package]] name = "core-foundation" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62" dependencies = [ - "core-foundation-sys 0.8.2", + "core-foundation-sys", "libc", ] -[[package]] -name = "core-foundation-sys" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" - [[package]] name = "core-foundation-sys" version = "0.8.2" @@ -1284,6 +1272,15 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "cpufeatures" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef" +dependencies = [ + "libc", +] + [[package]] name = "cpufeatures" version = "0.2.1" @@ -1295,36 +1292,36 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ca3560686e7c9c7ed7e0fe77469f2410ba5d7781b1acaa9adc8d8deea28e3e" +checksum = "7e6bea67967505247f54fa2c85cf4f6e0e31c4e5692c9b70e4ae58e339067333" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf9bf1ffffb6ce3d2e5ebc83549bd2436426c99b31cc550d521364cbe35d276" +checksum = "48194035d2752bdd5bdae429e3ab88676e95f52a2b1355a5d4e809f9e39b1d74" dependencies = [ "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", - "gimli 0.24.0", + "gimli", "log", "regalloc", "serde", - "smallvec 1.6.1", + "smallvec", "target-lexicon", ] [[package]] name = "cranelift-codegen-meta" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cc21936a5a6d07e23849ffe83e5c1f6f50305c074f4b2970ca50c13bf55b821" +checksum = "976efb22fcab4f2cd6bd4e9913764616a54d895c1a23530128d04e03633c555f" dependencies = [ "cranelift-codegen-shared", "cranelift-entity", @@ -1332,49 +1329,50 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca5b6ffaa87560bebe69a5446449da18090b126037920b0c1c6d5945f72faf6b" +checksum = "9dabb5fe66e04d4652e434195b45ae65b5c8172d520247b8f66d8df42b2b45dc" dependencies = [ "serde", ] [[package]] name = "cranelift-entity" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d6b4a8bef04f82e4296782646f733c641d09497df2fabf791323fefaa44c64c" +checksum = "3329733e4d4b8e91c809efcaa4faee80bf66f20164e3dd16d707346bd3494799" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c" +checksum = "279afcc0d3e651b773f94837c3d581177b348c8d69e928104b2e9fccb226f921" dependencies = [ "cranelift-codegen", "log", - "smallvec 1.6.1", + "smallvec", "target-lexicon", ] [[package]] name = "cranelift-native" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c88d3dd48021ff1e37e978a00098524abd3513444ae252c08d37b310b3d2a" +checksum = "4c04d1fe6a5abb5bb0edc78baa8ef238370fb8e389cc88b6d153f7c3e9680425" dependencies = [ "cranelift-codegen", + "libc", "target-lexicon", ] [[package]] name = "cranelift-wasm" -version = "0.74.0" +version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edb6d408e2da77cdbbd65466298d44c86ae71c1785d2ab0d8657753cdb4d9d89" +checksum = "e0d260ad44f6fd2c91f7f5097191a2a9e3edcbb36df1fb787b600dad5ea148ec" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -1382,7 +1380,7 @@ dependencies = [ "itertools", "log", "serde", - "smallvec 1.6.1", + "smallvec", "thiserror", "wasmparser", ] @@ -1403,18 +1401,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.5", -] - -[[package]] -name = "crossbeam-deque" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed" -dependencies = [ - "crossbeam-epoch 0.8.2", - "crossbeam-utils 0.7.2", - "maybe-uninit", + "crossbeam-utils", ] [[package]] @@ -1424,23 +1411,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" dependencies = [ "cfg-if 1.0.0", - "crossbeam-epoch 0.9.5", - "crossbeam-utils 0.8.5", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" -dependencies = [ - "autocfg", - "cfg-if 0.1.10", - "crossbeam-utils 0.7.2", - "lazy_static", - "maybe-uninit", - "memoffset 0.5.6", - "scopeguard", + "crossbeam-epoch", + "crossbeam-utils", ] [[package]] @@ -1450,34 +1422,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.5", + "crossbeam-utils", "lazy_static", - "memoffset 0.6.4", + "memoffset", "scopeguard", ] -[[package]] -name = "crossbeam-queue" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570" -dependencies = [ - "cfg-if 0.1.10", - "crossbeam-utils 0.7.2", - "maybe-uninit", -] - -[[package]] -name = "crossbeam-utils" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" -dependencies = [ - "autocfg", - "cfg-if 0.1.10", - "lazy_static", -] - [[package]] name = "crossbeam-utils" version = "0.8.5" @@ -1516,9 +1466,9 @@ dependencies = [ [[package]] name = "ct-logs" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c8e13110a84b6315df212c045be706af261fd364791cad863285439ebba672e" +checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8" dependencies = [ "sct", ] @@ -1529,8 +1479,8 @@ version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccc0a48a9b826acdf4028595adc9db92caea352f7af011a3034acd172a52a0aa" dependencies = [ - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -1556,7 +1506,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "sc-cli", "sc-service", @@ -1566,7 +1516,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1582,7 +1532,6 @@ dependencies = [ "sp-api", "sp-consensus", "sp-core", - "sp-io", "sp-runtime", "tracing", ] @@ -1590,14 +1539,13 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", "futures 0.3.17", "parity-scale-codec", - "parking_lot 0.10.2", "polkadot-client", "sc-client-api", "sc-consensus", @@ -1621,38 +1569,32 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "async-trait", "dyn-clone", "futures 0.3.17", "parity-scale-codec", "polkadot-primitives", - "polkadot-runtime", "sc-client-api", "sc-consensus", "sp-api", - "sp-block-builder", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-inherents", "sp-runtime", "sp-trie", - "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", "futures 0.3.17", - "parity-scale-codec", "parking_lot 0.10.2", "polkadot-client", "sc-client-api", @@ -1671,7 +1613,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", @@ -1682,7 +1624,6 @@ dependencies = [ "polkadot-node-primitives", "polkadot-parachain", "polkadot-primitives", - "polkadot-statement-table", "sc-client-api", "sp-api", "sp-blockchain", @@ -1695,7 +1636,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "futures 0.3.17", @@ -1710,7 +1651,6 @@ dependencies = [ "sc-consensus", "sp-api", "sp-consensus", - "sp-core", "sp-maybe-compressed-blob", "sp-runtime", "tracing", @@ -1719,7 +1659,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", @@ -1748,13 +1688,14 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "frame-executive", "frame-support", "frame-system", "pallet-aura", "parity-scale-codec", + "scale-info", "serde", "sp-application-crypto", "sp-consensus-aura", @@ -1765,15 +1706,14 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "log", "parity-scale-codec", - "rand 0.8.4", - "rand_chacha 0.3.1", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -1784,7 +1724,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -1796,6 +1736,7 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "polkadot-parachain", + "scale-info", "serde", "sp-core", "sp-externalities", @@ -1812,38 +1753,37 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", - "sp-io", "sp-runtime", - "sp-staking", "sp-std", ] [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "serde", "sp-io", "sp-runtime", @@ -1854,15 +1794,15 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "log", "parity-scale-codec", - "rand 0.8.4", "rand_chacha 0.3.1", + "scale-info", "sp-runtime", "sp-std", "xcm", @@ -1872,7 +1812,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1884,13 +1824,12 @@ dependencies = [ "sp-runtime", "sp-std", "sp-trie", - "xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1898,6 +1837,7 @@ dependencies = [ "parity-scale-codec", "polkadot-client", "sc-client-api", + "scale-info", "sp-api", "sp-core", "sp-inherents", @@ -1911,7 +1851,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -1922,11 +1862,10 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "frame-support", - "impl-trait-for-tuples", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain", @@ -1940,7 +1879,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -1999,7 +1938,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" dependencies = [ "data-encoding", - "syn 1.0.77", + "syn 1.0.80", ] [[package]] @@ -2009,8 +1948,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2035,9 +1974,9 @@ checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df" dependencies = [ "convert_case", "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "rustc_version 0.3.3", - "syn 1.0.77", + "syn 1.0.80", ] [[package]] @@ -2132,8 +2071,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2179,8 +2118,8 @@ checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595" dependencies = [ "heck", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2199,8 +2138,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2210,8 +2149,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2229,9 +2168,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.8.4" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" +checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" dependencies = [ "atty", "humantime 2.1.0", @@ -2278,9 +2217,9 @@ dependencies = [ [[package]] name = "ethbloom" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "779864b9c7f7ead1f092972c3257496c6a84b46dba2ce131dd8a282cb2cc5972" +checksum = "bfb684ac8fa8f6c5759f788862bb22ec6fe3cb392f6bfd08e3c64b603661e3f8" dependencies = [ "crunchy", "fixed-hash", @@ -2291,9 +2230,9 @@ dependencies = [ [[package]] name = "ethereum-types" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd6bde671199089e601e8d47e153368b893ef885f11f365a3261ec58153c211" +checksum = "05136f7057fe789f06e6d41d07b34e6f70d8c86e5693b60f97aaa6553553bdaf" dependencies = [ "ethbloom", "fixed-hash", @@ -2318,28 +2257,6 @@ dependencies = [ "futures 0.3.17", ] -[[package]] -name = "failure" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" -dependencies = [ - "backtrace", - "failure_derive", -] - -[[package]] -name = "failure_derive" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" -dependencies = [ - "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", - "synstructure", -] - [[package]] name = "fake-simd" version = "0.1.2" @@ -2393,7 +2310,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.11.2", - "scale-info 1.0.0", + "scale-info", ] [[package]] @@ -2436,7 +2353,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", ] @@ -2454,7 +2371,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", @@ -2462,6 +2379,7 @@ dependencies = [ "log", "parity-scale-codec", "paste", + "scale-info", "sp-api", "sp-io", "sp-runtime", @@ -2473,7 +2391,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "Inflector", "chrono", @@ -2499,11 +2417,12 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-arithmetic", "sp-npos-elections", "sp-std", @@ -2512,11 +2431,12 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-runtime", @@ -2526,19 +2446,20 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "14.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96616f82e069102b95a72c87de4c84d2f87ef7f0f20630e78ce3824436483110" dependencies = [ + "cfg-if 1.0.0", "parity-scale-codec", + "scale-info", "serde", - "sp-core", - "sp-std", ] [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "bitflags", "frame-metadata", @@ -2548,8 +2469,9 @@ dependencies = [ "once_cell", "parity-scale-codec", "paste", + "scale-info", "serde", - "smallvec 1.6.1", + "smallvec", "sp-arithmetic", "sp-core", "sp-inherents", @@ -2564,46 +2486,46 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "Inflector", "frame-support-procedural-tools", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", - "impl-trait-for-tuples", "log", "parity-scale-codec", + "scale-info", "serde", "sp-core", "sp-io", @@ -2615,12 +2537,13 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-core", "sp-runtime", "sp-std", @@ -2629,7 +2552,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2638,10 +2561,9 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", - "parity-scale-codec", "sp-api", "sp-runtime", "sp-std", @@ -2675,12 +2597,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "fuchsia-cprng" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" - [[package]] name = "fuchsia-zircon" version = "0.3.3" @@ -2740,16 +2656,6 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d" -[[package]] -name = "futures-cpupool" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" -dependencies = [ - "futures 0.1.31", - "num_cpus", -] - [[package]] name = "futures-executor" version = "0.3.17" @@ -2792,8 +2698,8 @@ dependencies = [ "autocfg", "proc-macro-hack", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2803,7 +2709,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b" dependencies = [ "futures-io", - "rustls 0.19.1", + "rustls", "webpki", ] @@ -2879,8 +2785,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if 1.0.0", + "js-sys", "libc", "wasi 0.9.0+wasi-snapshot-preview1", + "wasm-bindgen", ] [[package]] @@ -2906,21 +2814,15 @@ dependencies = [ [[package]] name = "gimli" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189" +checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7" dependencies = [ "fallible-iterator", "indexmap", "stable_deref_trait", ] -[[package]] -name = "gimli" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7" - [[package]] name = "glob" version = "0.3.0" @@ -2953,44 +2855,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "h2" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462" -dependencies = [ - "byteorder", - "bytes 0.4.12", - "fnv", - "futures 0.1.31", - "http 0.1.21", - "indexmap", - "log", - "slab", - "string", - "tokio-io", -] - -[[package]] -name = "h2" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535" -dependencies = [ - "bytes 0.5.6", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http 0.2.5", - "indexmap", - "slab", - "tokio 0.2.25", - "tokio-util", - "tracing", - "tracing-futures", -] - [[package]] name = "handlebars" version = "3.5.5" @@ -3053,31 +2917,12 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "hex-literal" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "961de220ec9a91af2e1e5bd80d02109155695e516771762381ef8581317066e0" -dependencies = [ - "hex-literal-impl", - "proc-macro-hack", -] - [[package]] name = "hex-literal" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21e4590e13640f19f249fe3e4eca5113bc4289f2497710378190e7f4bd96f45b" -[[package]] -name = "hex-literal-impl" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "853f769599eb31de176303197b7ba4973299c38c7a7604a6bc88c3eef05b9b46" -dependencies = [ - "proc-macro-hack", -] - [[package]] name = "hex_fmt" version = "0.3.0" @@ -3126,17 +2971,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "http" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6ccf5ede3a895d8856620237b2f02972c1bbc78d2965ad7fe8838d4a0ed41f0" -dependencies = [ - "bytes 0.4.12", - "fnv", - "itoa", -] - [[package]] name = "http" version = "0.2.5" @@ -3148,28 +2982,6 @@ dependencies = [ "itoa", ] -[[package]] -name = "http-body" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "http 0.1.21", - "tokio-buf", -] - -[[package]] -name = "http-body" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" -dependencies = [ - "bytes 0.5.6", - "http 0.2.5", -] - [[package]] name = "http-body" version = "0.4.3" @@ -3177,7 +2989,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "399c583b2979440c60be0821a6199eca73bc3c8dcd9d070d75ac726e2c6186e5" dependencies = [ "bytes 1.1.0", - "http 0.2.5", + "http", "pin-project-lite 0.2.7", ] @@ -3187,12 +2999,6 @@ version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" -[[package]] -name = "httpdate" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" - [[package]] name = "httpdate" version = "1.0.1" @@ -3216,95 +3022,41 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.12.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "futures-cpupool", - "h2 0.1.26", - "http 0.1.21", - "http-body 0.1.0", - "httparse", - "iovec", - "itoa", - "log", - "net2", - "rustc_version 0.2.3", - "time", - "tokio 0.1.22", - "tokio-buf", - "tokio-executor", - "tokio-io", - "tokio-reactor", - "tokio-tcp", - "tokio-threadpool", - "tokio-timer", - "want 0.2.0", -] - -[[package]] -name = "hyper" -version = "0.13.10" +version = "0.14.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" +checksum = "15d1cfb9e4f68655fa04c01f59edb405b6074a0f7118ea881e5026e4a1cd8593" dependencies = [ - "bytes 0.5.6", + "bytes 1.1.0", "futures-channel", "futures-core", "futures-util", - "h2 0.2.7", - "http 0.2.5", - "http-body 0.3.1", + "http", + "http-body", "httparse", - "httpdate 0.3.2", + "httpdate", "itoa", - "pin-project 1.0.8", - "socket2 0.3.19", - "tokio 0.2.25", + "pin-project-lite 0.2.7", + "socket2 0.4.2", + "tokio", "tower-service", "tracing", - "want 0.3.0", + "want", ] [[package]] -name = "hyper" -version = "0.14.13" +name = "hyper-rustls" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15d1cfb9e4f68655fa04c01f59edb405b6074a0f7118ea881e5026e4a1cd8593" -dependencies = [ - "bytes 1.1.0", - "futures-channel", - "futures-core", - "futures-util", - "http 0.2.5", - "http-body 0.4.3", - "httparse", - "httpdate 1.0.1", - "itoa", - "pin-project-lite 0.2.7", - "tokio 1.12.0", - "tower-service", - "tracing", - "want 0.3.0", -] - -[[package]] -name = "hyper-rustls" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37743cc83e8ee85eacfce90f2f4102030d9ff0a95244098d781e9bee4a90abb6" +checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" dependencies = [ - "bytes 0.5.6", "ct-logs", "futures-util", - "hyper 0.13.10", + "hyper", "log", - "rustls 0.18.1", - "rustls-native-certs 0.4.0", - "tokio 0.2.25", - "tokio-rustls 0.14.1", + "rustls", + "rustls-native-certs", + "tokio", + "tokio-rustls", "webpki", ] @@ -3401,8 +3153,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5dacb10c5b3bb92d46ba347505a9041e676bb20ad220101326bffb0c93031ee" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -3423,9 +3175,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "716d3d89f35ac6a34fd0eed635395f4c3b76fa889338a4632e5231a8684216bd" dependencies = [ "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", ] [[package]] @@ -3464,9 +3213,9 @@ dependencies = [ [[package]] name = "ip_network" -version = "0.3.4" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ee15951c035f79eddbef745611ec962f63f4558f1dadf98ab723cc603487c6f" +checksum = "09b746553d2f4a1ca26fab939943ddfb217a091f34f53571620a8e3d30691303" [[package]] name = "ipconfig" @@ -3521,12 +3270,12 @@ dependencies = [ [[package]] name = "jsonrpc-client-transports" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "489b9c612e60c766f751ab40fcb43cbb55a1e10bb44a9b4307ed510ca598cbd7" +checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" dependencies = [ - "failure", - "futures 0.1.31", + "derive_more 0.99.16", + "futures 0.3.17", "jsonrpc-core", "jsonrpc-pubsub", "log", @@ -3537,11 +3286,13 @@ dependencies = [ [[package]] name = "jsonrpc-core" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa" +checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" dependencies = [ - "futures 0.1.31", + "futures 0.3.17", + "futures-executor", + "futures-util", "log", "serde", "serde_derive", @@ -3550,94 +3301,102 @@ dependencies = [ [[package]] name = "jsonrpc-core-client" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f764902d7b891344a0acb65625f32f6f7c6db006952143bd650209fbe7d94db" +checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0" dependencies = [ + "futures 0.3.17", "jsonrpc-client-transports", ] [[package]] name = "jsonrpc-derive" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99a847f9ec7bb52149b2786a17c9cb260d6effc6b8eeb8c16b343a487a7563a3" +checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2" dependencies = [ "proc-macro-crate 0.1.5", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "jsonrpc-http-server" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb5c4513b7b542f42da107942b7b759f27120b5cc894729f88254b28dff44b7" +checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff" dependencies = [ - "hyper 0.12.36", + "futures 0.3.17", + "hyper", "jsonrpc-core", "jsonrpc-server-utils", "log", "net2", - "parking_lot 0.10.2", + "parking_lot 0.11.2", "unicase", ] [[package]] name = "jsonrpc-ipc-server" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf50e53e4eea8f421a7316c5f63e395f7bc7c4e786a6dc54d76fab6ff7aa7ce7" +checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845" dependencies = [ + "futures 0.3.17", "jsonrpc-core", "jsonrpc-server-utils", "log", "parity-tokio-ipc", - "parking_lot 0.10.2", - "tokio-service", + "parking_lot 0.11.2", + "tower-service", ] [[package]] name = "jsonrpc-pubsub" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "639558e0604013be9787ae52f798506ae42bf4220fe587bdc5625871cc8b9c77" +checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011" dependencies = [ + "futures 0.3.17", "jsonrpc-core", + "lazy_static", "log", - "parking_lot 0.10.2", + "parking_lot 0.11.2", "rand 0.7.3", "serde", ] [[package]] name = "jsonrpc-server-utils" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f1f3990650c033bd8f6bd46deac76d990f9bbfb5f8dc8c4767bf0a00392176" +checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4" dependencies = [ - "bytes 0.4.12", + "bytes 1.1.0", + "futures 0.3.17", "globset", "jsonrpc-core", "lazy_static", "log", - "tokio 0.1.22", - "tokio-codec", + "tokio", + "tokio-stream", + "tokio-util", "unicase", ] [[package]] name = "jsonrpc-ws-server" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6596fe75209b73a2a75ebe1dce4e60e03b88a2b25e8807b667597f6315150d22" +checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946" dependencies = [ + "futures 0.3.17", "jsonrpc-core", "jsonrpc-server-utils", "log", "parity-ws", - "parking_lot 0.10.2", + "parking_lot 0.11.2", "slab", ] @@ -3651,8 +3410,8 @@ dependencies = [ "bae", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -3665,7 +3424,7 @@ dependencies = [ "beef", "futures-channel", "futures-util", - "hyper 0.14.13", + "hyper", "log", "serde", "serde_json", @@ -3685,14 +3444,14 @@ dependencies = [ "jsonrpsee-types", "log", "pin-project 1.0.8", - "rustls 0.19.1", - "rustls-native-certs 0.5.0", + "rustls", + "rustls-native-certs", "serde", "serde_json", "soketto 0.6.0", "thiserror", - "tokio 0.2.25", - "tokio-rustls 0.15.0", + "tokio", + "tokio-rustls", "tokio-util", "url 2.2.2", ] @@ -3715,8 +3474,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -3728,11 +3487,12 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.3", + "hex-literal", "log", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", + "pallet-bags-list", "pallet-balances", "pallet-bounties", "pallet-collective", @@ -3771,9 +3531,10 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-parachains", "rustc-hex", + "scale-info", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec", "sp-api", "sp-arithmetic", "sp-authority-discovery", @@ -3813,7 +3574,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45a3f58dc069ec0e205a27f5b45920722a46faed802a0541538241af6228f512" dependencies = [ "parity-util-mem", - "smallvec 1.6.1", + "smallvec", ] [[package]] @@ -3829,9 +3590,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.12.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d169dbb316aa0fa185d02d847c047f1aa20e292cf1563d790c13536a2a732c8" +checksum = "9b1b6ea8f2536f504b645ad78419c8246550e19d2c3419a167080ce08edee35a" dependencies = [ "fs-swap", "kvdb", @@ -3842,7 +3603,7 @@ dependencies = [ "parking_lot 0.11.2", "regex", "rocksdb", - "smallvec 1.6.1", + "smallvec", ] [[package]] @@ -3875,9 +3636,9 @@ dependencies = [ [[package]] name = "libloading" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a" +checksum = "c0cf036d15402bea3c5d4de17b3fce76b3e4a56ebc1f577be0e7a72f7c607cf0" dependencies = [ "cfg-if 1.0.0", "winapi 0.3.9", @@ -3924,7 +3685,7 @@ dependencies = [ "multiaddr", "parking_lot 0.11.2", "pin-project 1.0.8", - "smallvec 1.6.1", + "smallvec", "wasm-timer", ] @@ -3955,7 +3716,7 @@ dependencies = [ "ring", "rw-stream-sink", "sha2 0.9.8", - "smallvec 1.6.1", + "smallvec", "thiserror", "unsigned-varint 0.7.0", "void", @@ -3983,7 +3744,7 @@ dependencies = [ "futures 0.3.17", "libp2p-core", "log", - "smallvec 1.6.1", + "smallvec", "trust-dns-resolver", ] @@ -4002,7 +3763,7 @@ dependencies = [ "prost", "prost-build", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec", ] [[package]] @@ -4026,7 +3787,7 @@ dependencies = [ "rand 0.7.3", "regex", "sha2 0.9.8", - "smallvec 1.6.1", + "smallvec", "unsigned-varint 0.7.0", "wasm-timer", ] @@ -4043,7 +3804,7 @@ dependencies = [ "log", "prost", "prost-build", - "smallvec 1.6.1", + "smallvec", "wasm-timer", ] @@ -4066,7 +3827,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "sha2 0.9.8", - "smallvec 1.6.1", + "smallvec", "uint", "unsigned-varint 0.7.0", "void", @@ -4089,7 +3850,7 @@ dependencies = [ "libp2p-swarm", "log", "rand 0.8.4", - "smallvec 1.6.1", + "smallvec", "socket2 0.4.2", "void", ] @@ -4108,7 +3869,7 @@ dependencies = [ "nohash-hasher", "parking_lot 0.11.2", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec", "unsigned-varint 0.7.0", ] @@ -4197,7 +3958,7 @@ dependencies = [ "prost", "prost-build", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec", "unsigned-varint 0.7.0", "void", "wasm-timer", @@ -4218,7 +3979,7 @@ dependencies = [ "lru", "minicbor", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec", "unsigned-varint 0.7.0", "wasm-timer", ] @@ -4234,7 +3995,7 @@ dependencies = [ "libp2p-core", "log", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec", "void", "wasm-timer", ] @@ -4245,8 +4006,8 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab8cb308d4fc854869f5abb54fdab0833d2cf670d407c745849dc47e6e08d79c" dependencies = [ - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -4345,9 +4106,9 @@ dependencies = [ "base64 0.12.3", "digest 0.9.0", "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", + "libsecp256k1-core 0.2.2", + "libsecp256k1-gen-ecmult 0.2.1", + "libsecp256k1-gen-genmult 0.2.1", "rand 0.7.3", "serde", "sha2 0.9.8", @@ -4364,15 +4125,34 @@ dependencies = [ "base64 0.12.3", "digest 0.9.0", "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", + "libsecp256k1-core 0.2.2", + "libsecp256k1-gen-ecmult 0.2.1", + "libsecp256k1-gen-genmult 0.2.1", "rand 0.7.3", "serde", "sha2 0.9.8", "typenum", ] +[[package]] +name = "libsecp256k1" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37" +dependencies = [ + "arrayref", + "base64 0.13.0", + "digest 0.9.0", + "hmac-drbg", + "libsecp256k1-core 0.3.0", + "libsecp256k1-gen-ecmult 0.3.0", + "libsecp256k1-gen-genmult 0.3.0", + "rand 0.8.4", + "serde", + "sha2 0.9.8", + "typenum", +] + [[package]] name = "libsecp256k1-core" version = "0.2.2" @@ -4384,13 +4164,33 @@ dependencies = [ "subtle", ] +[[package]] +name = "libsecp256k1-core" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" +dependencies = [ + "crunchy", + "digest 0.9.0", + "subtle", +] + [[package]] name = "libsecp256k1-gen-ecmult" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccab96b584d38fac86a83f07e659f0deafd0253dc096dab5a36d53efe653c5c3" dependencies = [ - "libsecp256k1-core", + "libsecp256k1-core 0.2.2", +] + +[[package]] +name = "libsecp256k1-gen-ecmult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" +dependencies = [ + "libsecp256k1-core 0.3.0", ] [[package]] @@ -4399,7 +4199,16 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67abfe149395e3aa1c48a2beb32b068e2334402df8181f818d3aee2b304c4f5d" dependencies = [ - "libsecp256k1-core", + "libsecp256k1-core 0.2.2", +] + +[[package]] +name = "libsecp256k1-gen-genmult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" +dependencies = [ + "libsecp256k1-core 0.3.0", ] [[package]] @@ -4484,6 +4293,26 @@ dependencies = [ "linked-hash-map", ] +[[package]] +name = "lz4" +version = "1.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aac20ed6991e01bf6a2e68cc73df2b389707403662a8ba89f68511fb340f724c" +dependencies = [ + "libc", + "lz4-sys", +] + +[[package]] +name = "lz4-sys" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dca79aa95d8b3226213ad454d328369853be3a1382d89532a854f4d69640acae" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "mach" version = "0.3.2" @@ -4495,7 +4324,7 @@ dependencies = [ [[package]] name = "manta-pc-runtime" -version = "3.0.5" +version = "3.0.6" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -4513,7 +4342,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.3", + "hex-literal", "manta-primitives", "pallet-assets", "pallet-aura", @@ -4535,8 +4364,9 @@ dependencies = [ "polkadot-parachain", "polkadot-primitives", "polkadot-runtime-common", + "scale-info", "serde", - "smallvec 1.6.1", + "smallvec", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -4557,11 +4387,11 @@ dependencies = [ [[package]] name = "manta-primitives" -version = "3.0.1" +version = "3.0.6" dependencies = [ "frame-support", "parity-scale-codec", - "smallvec 1.6.1", + "smallvec", "sp-consensus-aura", "sp-core", "sp-io", @@ -4605,12 +4435,6 @@ dependencies = [ "rawpointer", ] -[[package]] -name = "maybe-uninit" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" - [[package]] name = "memchr" version = "2.4.1" @@ -4626,15 +4450,6 @@ dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.6.4" @@ -4684,12 +4499,14 @@ dependencies = [ [[package]] name = "metered-channel" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", "futures-timer 3.0.2", + "thiserror", + "tracing", ] [[package]] @@ -4719,8 +4536,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54999f917cd092b13904737e26631aa2b2b88d625db68e4bab461dcd8006c788" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -4753,38 +4570,28 @@ dependencies = [ ] [[package]] -name = "mio-extras" -version = "2.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" -dependencies = [ - "lazycell", - "log", - "mio", - "slab", -] - -[[package]] -name = "mio-named-pipes" -version = "0.1.7" +name = "mio" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" +checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16" dependencies = [ + "libc", "log", - "mio", "miow 0.3.7", + "ntapi", "winapi 0.3.9", ] [[package]] -name = "mio-uds" -version = "0.6.8" +name = "mio-extras" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" +checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" dependencies = [ - "iovec", - "libc", - "mio", + "lazycell", + "log", + "mio 0.6.23", + "slab", ] [[package]] @@ -4882,8 +4689,8 @@ dependencies = [ "proc-macro-crate 1.1.0", "proc-macro-error 1.0.4", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "synstructure", ] @@ -4903,7 +4710,7 @@ dependencies = [ "futures 0.3.17", "log", "pin-project 1.0.8", - "smallvec 1.6.1", + "smallvec", "unsigned-varint 0.7.0", ] @@ -4932,17 +4739,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "names" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef320dab323286b50fb5cdda23f61c796a72a89998ab565ca32525c5c556f2da" +checksum = "10a8690bf09abf659851e58cd666c3d37ac6af07c2bd7a9e332cfba471715775" dependencies = [ - "rand 0.3.23", + "rand 0.8.4", ] [[package]] @@ -4980,6 +4787,15 @@ dependencies = [ "version_check", ] +[[package]] +name = "ntapi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +dependencies = [ + "winapi 0.3.9", +] + [[package]] name = "num-bigint" version = "0.2.6" @@ -5053,22 +4869,14 @@ dependencies = [ "libc", ] -[[package]] -name = "object" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170" -dependencies = [ - "crc32fast", - "indexmap", -] - [[package]] name = "object" version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39f37e50073ccad23b6d09bcb5b263f4e76d3bb6038e4a3c08e52162ffa8abc2" dependencies = [ + "crc32fast", + "indexmap", "memchr", ] @@ -5077,9 +4885,6 @@ name = "once_cell" version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" -dependencies = [ - "parking_lot 0.11.2", -] [[package]] name = "opaque-debug" @@ -5120,12 +4925,13 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-runtime", "sp-std", ] @@ -5133,13 +4939,13 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", - "pallet-session", "pallet-timestamp", "parity-scale-codec", + "scale-info", "sp-application-crypto", "sp-consensus-aura", "sp-runtime", @@ -5149,12 +4955,13 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "pallet-session", "parity-scale-codec", + "scale-info", "sp-application-crypto", "sp-authority-discovery", "sp-runtime", @@ -5164,12 +4971,13 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", + "scale-info", "sp-authorship", "sp-runtime", "sp-std", @@ -5178,7 +4986,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5188,6 +4996,7 @@ dependencies = [ "pallet-session", "pallet-timestamp", "parity-scale-codec", + "scale-info", "sp-application-crypto", "sp-consensus-babe", "sp-consensus-vrf", @@ -5198,31 +5007,52 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-bags-list" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" +dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", +] + [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", + "scale-info", "sp-runtime", "sp-std", ] [[package]] name = "pallet-beefy" -version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.10#9954b61657dc8899a21b4f2501ee6bd3b7a2dc23" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "beefy-primitives", "frame-support", "frame-system", "pallet-session", "parity-scale-codec", - "scale-info 0.10.0", + "scale-info", "serde", "sp-runtime", "sp-std", @@ -5230,22 +5060,22 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.10#9954b61657dc8899a21b4f2501ee6bd3b7a2dc23" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "beefy-merkle-tree", "beefy-primitives", "frame-support", "frame-system", "hex", - "libsecp256k1 0.6.0", + "libsecp256k1 0.7.0", "log", "pallet-beefy", "pallet-mmr", "pallet-mmr-primitives", "pallet-session", "parity-scale-codec", - "scale-info 0.10.0", + "scale-info", "serde", "sp-core", "sp-io", @@ -5256,13 +5086,17 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "pallet-treasury", "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", "sp-runtime", "sp-std", ] @@ -5270,7 +5104,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -5278,6 +5112,7 @@ dependencies = [ "frame-system", "log", "parity-scale-codec", + "scale-info", "sp-core", "sp-runtime", "sp-std", @@ -5286,7 +5121,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bp-header-chain", "bp-runtime", @@ -5297,6 +5132,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", + "scale-info", "serde", "sp-finality-grandpa", "sp-runtime", @@ -5307,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "bp-message-dispatch", @@ -5319,6 +5155,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", + "scale-info", "serde", "sp-core", "sp-runtime", @@ -5328,7 +5165,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5337,6 +5174,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", + "scale-info", "serde", "sp-runtime", "sp-staking", @@ -5346,13 +5184,14 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-runtime", @@ -5362,12 +5201,13 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "serde", "sp-io", "sp-runtime", @@ -5377,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5386,6 +5226,7 @@ dependencies = [ "log", "parity-scale-codec", "rand 0.7.3", + "scale-info", "sp-arithmetic", "sp-core", "sp-io", @@ -5393,18 +5234,21 @@ dependencies = [ "sp-runtime", "sp-std", "static_assertions", + "strum 0.21.0", + "strum_macros 0.21.1", ] [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-npos-elections", @@ -5415,12 +5259,13 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-arithmetic", "sp-runtime", "sp-std", @@ -5429,7 +5274,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5438,6 +5283,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", + "scale-info", "sp-application-crypto", "sp-core", "sp-finality-grandpa", @@ -5451,13 +5297,14 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "enumflags2", "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -5466,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5474,6 +5321,7 @@ dependencies = [ "log", "pallet-authorship", "parity-scale-codec", + "scale-info", "sp-application-crypto", "sp-core", "sp-io", @@ -5485,12 +5333,13 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-keyring", @@ -5501,13 +5350,15 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", + "scale-info", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -5516,7 +5367,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5524,6 +5375,7 @@ dependencies = [ "frame-system", "pallet-mmr-primitives", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-runtime", @@ -5533,7 +5385,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", @@ -5549,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5560,20 +5412,19 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-rpc", "sp-runtime", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", - "sp-core", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -5582,11 +5433,12 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -5595,13 +5447,14 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "log", "pallet-balances", "parity-scale-codec", + "scale-info", "serde", "sp-runtime", "sp-staking", @@ -5611,7 +5464,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5625,6 +5478,7 @@ dependencies = [ "pallet-session", "pallet-staking", "parity-scale-codec", + "scale-info", "sp-runtime", "sp-staking", "sp-std", @@ -5633,13 +5487,13 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", - "sp-core", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -5648,12 +5502,12 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "enumflags2", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -5662,13 +5516,14 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -5677,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", @@ -5685,6 +5540,7 @@ dependencies = [ "log", "pallet-timestamp", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-runtime", @@ -5697,7 +5553,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5713,12 +5569,13 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "rand_chacha 0.2.2", + "scale-info", "sp-runtime", "sp-std", ] @@ -5726,7 +5583,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5736,32 +5593,31 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "paste", "rand_chacha 0.2.2", + "scale-info", "serde", "sp-application-crypto", "sp-io", "sp-runtime", "sp-staking", "sp-std", - "static_assertions", ] [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "log", "sp-arithmetic", @@ -5770,11 +5626,12 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-io", "sp-runtime", "sp-std", @@ -5783,14 +5640,14 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "impl-trait-for-tuples", "log", "parity-scale-codec", + "scale-info", "sp-inherents", "sp-io", "sp-runtime", @@ -5801,14 +5658,18 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "pallet-treasury", "parity-scale-codec", + "scale-info", "serde", + "sp-core", + "sp-io", "sp-runtime", "sp-std", ] @@ -5816,13 +5677,14 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "serde", - "smallvec 1.6.1", + "smallvec", "sp-core", "sp-io", "sp-runtime", @@ -5832,7 +5694,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5849,7 +5711,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5860,7 +5722,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5868,6 +5730,7 @@ dependencies = [ "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", + "scale-info", "serde", "sp-runtime", "sp-std", @@ -5876,12 +5739,13 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "sp-core", "sp-io", "sp-runtime", @@ -5891,27 +5755,47 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "enumflags2", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", + "scale-info", "sp-runtime", "sp-std", ] [[package]] name = "pallet-xcm" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "frame-support", "frame-system", "log", "parity-scale-codec", + "scale-info", "serde", + "sp-core", + "sp-runtime", + "sp-std", + "xcm", + "xcm-executor", +] + +[[package]] +name = "pallet-xcm-benchmarks" +version = "0.9.8" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", "sp-runtime", "sp-std", "xcm", @@ -5921,20 +5805,21 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.10#870b214693856e768ba482fe2d3b9a83b24e4540" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", + "scale-info", "serde", ] [[package]] name = "parity-db" -version = "0.2.4" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e337f62db341435f0da05b8f6b97e984ef4ea5800510cd07c2d624688c40b47" +checksum = "91b679c6acc14fac74382942e2b73bea441686a33430b951ea03b5aeb6a7f254" dependencies = [ "blake2-rfc", "crc32fast", @@ -5942,16 +5827,18 @@ dependencies = [ "hex", "libc", "log", + "lz4", "memmap2", "parking_lot 0.11.2", "rand 0.8.4", + "snap", ] [[package]] name = "parity-scale-codec" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e11263a97373b43da4b426edbb52ef99a7b51e2d9752ef56a7f8b356f48495a5" +checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" dependencies = [ "arrayvec 0.7.1", "bitvec 0.20.4", @@ -5963,14 +5850,14 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b157dc92b3db2bae522afb31b3843e91ae097eb01d66c72dda66a2e86bc3ca14" +checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -5981,20 +5868,15 @@ checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" [[package]] name = "parity-tokio-ipc" -version = "0.4.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf" +checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6" dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", + "futures 0.3.17", "libc", "log", - "mio-named-pipes", - "miow 0.3.7", "rand 0.7.3", - "tokio 0.1.22", - "tokio-named-pipes", - "tokio-uds", + "tokio", "winapi 0.3.9", ] @@ -6012,7 +5894,7 @@ dependencies = [ "parity-util-mem-derive", "parking_lot 0.11.2", "primitive-types", - "smallvec 1.6.1", + "smallvec", "winapi 0.3.9", ] @@ -6023,7 +5905,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ "proc-macro2 1.0.29", - "syn 1.0.77", + "syn 1.0.80", "synstructure", ] @@ -6044,15 +5926,15 @@ checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" [[package]] name = "parity-ws" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322d72dfe461b8b9e367d057ceace105379d64d5b03907d23c481ccf3fbf8aa4" +checksum = "d0ab8a461779bd022964cae2b4989fa9c99deb270bec162da2125ec03c09fcaa" dependencies = [ "byteorder", "bytes 0.4.12", "httparse", "log", - "mio", + "mio 0.6.23", "mio-extras", "rand 0.7.3", "sha-1 0.8.2", @@ -6066,17 +5948,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" -[[package]] -name = "parking_lot" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" -dependencies = [ - "lock_api 0.3.4", - "parking_lot_core 0.6.2", - "rustc_version 0.2.3", -] - [[package]] name = "parking_lot" version = "0.10.2" @@ -6098,21 +5969,6 @@ dependencies = [ "parking_lot_core 0.8.5", ] -[[package]] -name = "parking_lot_core" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" -dependencies = [ - "cfg-if 0.1.10", - "cloudabi", - "libc", - "redox_syscall 0.1.57", - "rustc_version 0.2.3", - "smallvec 0.6.14", - "winapi 0.3.9", -] - [[package]] name = "parking_lot_core" version = "0.7.2" @@ -6123,7 +5979,7 @@ dependencies = [ "cloudabi", "libc", "redox_syscall 0.1.57", - "smallvec 1.6.1", + "smallvec", "winapi 0.3.9", ] @@ -6137,7 +5993,7 @@ dependencies = [ "instant", "libc", "redox_syscall 0.2.10", - "smallvec 1.6.1", + "smallvec", "winapi 0.3.9", ] @@ -6165,12 +6021,6 @@ dependencies = [ "crypto-mac 0.11.1", ] -[[package]] -name = "pdqselect" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec91767ecc0a0bbe558ce8c9da33c068066c57ecc8bb8477ef8c1ad3ef77c27" - [[package]] name = "peeking_take_while" version = "0.1.2" @@ -6217,8 +6067,8 @@ dependencies = [ "pest", "pest_meta", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -6267,8 +6117,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -6278,8 +6128,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -6314,8 +6164,8 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "polkadot-approval-distribution" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "polkadot-node-network-protocol", @@ -6328,8 +6178,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "polkadot-node-network-protocol", @@ -6341,22 +6191,20 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", "lru", "parity-scale-codec", "polkadot-erasure-coding", - "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.4", - "sp-application-crypto", "sp-core", "sp-keystore", "thiserror", @@ -6365,8 +6213,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "lru", @@ -6378,14 +6226,15 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.4", + "sc-network", "thiserror", "tracing", ] [[package]] name = "polkadot-cli" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "frame-benchmarking-cli", "futures 0.3.17", @@ -6404,8 +6253,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -6434,8 +6283,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "always-assert", "derive_more 0.99.16", @@ -6455,11 +6304,12 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "parity-scale-codec", "parity-util-mem", + "scale-info", "sp-core", "sp-runtime", "sp-std", @@ -6467,24 +6317,21 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", "lru", "parity-scale-codec", "polkadot-erasure-coding", - "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.4", "sc-network", "sp-application-crypto", - "sp-core", "sp-keystore", "thiserror", "tracing", @@ -6492,8 +6339,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -6506,16 +6353,18 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", + "futures-timer 3.0.2", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.4", "rand_chacha 0.3.1", + "sc-network", "sp-application-crypto", "sp-core", "sp-keystore", @@ -6524,8 +6373,8 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-trait", "futures 0.3.17", @@ -6543,8 +6392,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "parity-scale-codec", @@ -6561,8 +6410,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "derive_more 0.99.16", @@ -6578,11 +6427,9 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sc-client-api", "sc-keystore", "schnorrkel", "sp-application-crypto", - "sp-blockchain", "sp-consensus", "sp-consensus-slots", "sp-runtime", @@ -6591,8 +6438,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "futures 0.3.17", @@ -6611,8 +6458,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "futures 0.3.17", @@ -6629,8 +6476,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "polkadot-node-subsystem", @@ -6644,8 +6491,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-trait", "futures 0.3.17", @@ -6662,8 +6509,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "polkadot-node-subsystem", @@ -6677,8 +6524,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -6694,8 +6541,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "derive_more 0.99.16", @@ -6713,8 +6560,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-participation" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "polkadot-node-primitives", @@ -6726,8 +6573,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-trait", "futures 0.3.17", @@ -6743,8 +6590,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "futures 0.3.17", @@ -6758,8 +6605,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "always-assert", "assert_matches", @@ -6771,6 +6618,7 @@ dependencies = [ "parity-scale-codec", "pin-project 1.0.8", "polkadot-core-primitives", + "polkadot-node-subsystem-util", "polkadot-parachain", "rand 0.8.4", "sc-executor", @@ -6788,8 +6636,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "futures 0.3.17", "memory-lru", @@ -6806,8 +6654,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-std", "lazy_static", @@ -6824,24 +6672,19 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ - "async-trait", "futures 0.3.17", "futures-timer 3.0.2", "metered-channel", - "sc-network", - "sp-application-crypto", - "sp-core", - "sp-keystore", "substrate-prometheus-endpoint", ] [[package]] name = "polkadot-node-network-protocol" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -6852,20 +6695,20 @@ dependencies = [ "polkadot-primitives", "sc-authority-discovery", "sc-network", - "strum", + "strum 0.21.0", "thiserror", ] [[package]] name = "polkadot-node-primitives" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ + "bounded-vec", "futures 0.3.17", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", - "polkadot-statement-table", "schnorrkel", "serde", "sp-application-crypto", @@ -6874,16 +6717,14 @@ dependencies = [ "sp-core", "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime", "thiserror", - "tracing", "zstd", ] [[package]] name = "polkadot-node-subsystem" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -6892,20 +6733,11 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ - "async-std", - "async-trait", "derive_more 0.99.16", "futures 0.3.17", - "futures-timer 3.0.2", - "lazy_static", - "log", - "mick-jaeger", - "parity-scale-codec", - "parking_lot 0.11.2", - "pin-project 1.0.8", "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -6913,22 +6745,19 @@ dependencies = [ "polkadot-primitives", "polkadot-statement-table", "sc-network", - "smallvec 1.6.1", - "sp-core", + "smallvec", "substrate-prometheus-endpoint", "thiserror", - "tracing", ] [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-trait", "derive_more 0.99.16", "futures 0.3.17", - "futures-timer 3.0.2", "itertools", "lru", "metered-channel", @@ -6937,35 +6766,31 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", - "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", "rand 0.8.4", - "sc-network", "sp-application-crypto", "sp-core", "sp-keystore", - "substrate-prometheus-endpoint", "thiserror", "tracing", ] [[package]] name = "polkadot-overseer" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ - "async-trait", "futures 0.3.17", "futures-timer 3.0.2", "lru", + "parity-util-mem", "parking_lot 0.11.2", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem-types", - "polkadot-overseer-all-subsystems-gen", "polkadot-overseer-gen", "polkadot-primitives", "sc-client-api", @@ -6973,21 +6798,10 @@ dependencies = [ "tracing", ] -[[package]] -name = "polkadot-overseer-all-subsystems-gen" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" -dependencies = [ - "assert_matches", - "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", -] - [[package]] name = "polkadot-overseer-gen" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-trait", "futures 0.3.17", @@ -7003,25 +6817,26 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "polkadot-parachain" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "derive_more 0.99.16", "frame-support", "parity-scale-codec", "parity-util-mem", "polkadot-core-primitives", + "scale-info", "serde", "sp-core", "sp-runtime", @@ -7030,16 +6845,17 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitvec 0.20.4", "frame-system", - "hex-literal 0.3.3", + "hex-literal", "parity-scale-codec", "parity-util-mem", "polkadot-core-primitives", "polkadot-parachain", + "scale-info", "serde", "sp-api", "sp-application-crypto", @@ -7055,20 +6871,18 @@ dependencies = [ "sp-std", "sp-trie", "sp-version", - "thiserror", ] [[package]] name = "polkadot-rpc" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", "jsonrpc-core", "pallet-mmr-rpc", "pallet-transaction-payment-rpc", - "parity-scale-codec", "polkadot-primitives", "sc-chain-spec", "sc-client-api", @@ -7077,7 +6891,6 @@ dependencies = [ "sc-consensus-epochs", "sc-finality-grandpa", "sc-finality-grandpa-rpc", - "sc-keystore", "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", @@ -7093,8 +6906,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -7106,7 +6919,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.3", + "hex-literal", "log", "pallet-authority-discovery", "pallet-authorship", @@ -7143,10 +6956,12 @@ dependencies = [ "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-common", + "polkadot-runtime-parachains", "rustc-hex", + "scale-info", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -7168,22 +6983,24 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ + "beefy-primitives", "bitvec 0.20.4", "frame-benchmarking", + "frame-election-provider-support", "frame-support", "frame-system", "impl-trait-for-tuples", - "libsecp256k1 0.6.0", + "libsecp256k1 0.7.0", "log", "pallet-authorship", "pallet-babe", + "pallet-bags-list", "pallet-balances", "pallet-beefy-mmr", "pallet-election-provider-multi-phase", - "pallet-offences", "pallet-session", "pallet-staking", "pallet-timestamp", @@ -7194,6 +7011,7 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-parachains", "rustc-hex", + "scale-info", "serde", "serde_derive", "slot-range-helper", @@ -7201,6 +7019,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-npos-elections", "sp-runtime", "sp-session", "sp-staking", @@ -7211,8 +7030,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "bitflags", "bitvec 0.20.4", @@ -7224,7 +7043,6 @@ dependencies = [ "pallet-authority-discovery", "pallet-authorship", "pallet-balances", - "pallet-offences", "pallet-session", "pallet-staking", "pallet-timestamp", @@ -7234,6 +7052,7 @@ dependencies = [ "rand 0.8.4", "rand_chacha 0.3.1", "rustc-hex", + "scale-info", "serde", "sp-api", "sp-core", @@ -7250,18 +7069,19 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "async-trait", "beefy-gadget", "beefy-primitives", "frame-system-rpc-runtime-api", "futures 0.3.17", - "hex-literal 0.3.3", + "hex-literal", "kusama-runtime", "kvdb", "kvdb-rocksdb", + "lru", "pallet-babe", "pallet-im-online", "pallet-mmr-primitives", @@ -7347,8 +7167,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "arrayvec 0.5.2", "derive_more 0.99.16", @@ -7368,8 +7188,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -7395,7 +7215,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" dependencies = [ - "cpufeatures", + "cpufeatures 0.2.1", "opaque-debug 0.3.0", "universal-hash", ] @@ -7407,7 +7227,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" dependencies = [ "cfg-if 1.0.0", - "cpufeatures", + "cpufeatures 0.2.1", "opaque-debug 0.3.0", "universal-hash", ] @@ -7428,6 +7248,7 @@ dependencies = [ "impl-codec", "impl-rlp", "impl-serde", + "scale-info", "uint", ] @@ -7458,8 +7279,8 @@ checksum = "18f33027081eba0a6d8aba6d1b1c3a3be58cbb12106341c2d5759fcd9b5277e7" dependencies = [ "proc-macro-error-attr 0.4.12", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "version_check", ] @@ -7471,8 +7292,8 @@ checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr 1.0.4", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "version_check", ] @@ -7483,8 +7304,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a5b4b77fdb63c1eca72173d68d24501c54ab1269409f6b672c85deb18af69de" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "syn-mid", "version_check", ] @@ -7496,7 +7317,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "version_check", ] @@ -7581,8 +7402,8 @@ dependencies = [ "anyhow", "itertools", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -7649,9 +7470,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" +checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" dependencies = [ "proc-macro2 1.0.29", ] @@ -7668,29 +7489,6 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" -[[package]] -name = "rand" -version = "0.3.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ac302d8f83c0c1974bf758f6b041c6c8ada916fbb44a609158ca8b064cc76c" -dependencies = [ - "libc", - "rand 0.4.6", -] - -[[package]] -name = "rand" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" -dependencies = [ - "fuchsia-cprng", - "libc", - "rand_core 0.3.1", - "rdrand", - "winapi 0.3.9", -] - [[package]] name = "rand" version = "0.7.3" @@ -7737,21 +7535,6 @@ dependencies = [ "rand_core 0.6.3", ] -[[package]] -name = "rand_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -dependencies = [ - "rand_core 0.4.2", -] - -[[package]] -name = "rand_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" - [[package]] name = "rand_core" version = "0.5.1" @@ -7820,7 +7603,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" dependencies = [ "autocfg", - "crossbeam-deque 0.8.1", + "crossbeam-deque", "either", "rayon-core", ] @@ -7832,21 +7615,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" dependencies = [ "crossbeam-channel", - "crossbeam-deque 0.8.1", - "crossbeam-utils 0.8.5", + "crossbeam-deque", + "crossbeam-utils", "lazy_static", "num_cpus", ] -[[package]] -name = "rdrand" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -dependencies = [ - "rand_core 0.3.1", -] - [[package]] name = "redox_syscall" version = "0.1.57" @@ -7901,8 +7675,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -7914,7 +7688,7 @@ dependencies = [ "log", "rustc-hash", "serde", - "smallvec 1.6.1", + "smallvec", ] [[package]] @@ -7958,10 +7732,9 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "env_logger 0.8.4", - "hex", + "env_logger 0.9.0", "jsonrpsee-proc-macros", "jsonrpsee-ws-client", "log", @@ -7971,6 +7744,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-version", ] [[package]] @@ -8035,8 +7809,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "beefy-primitives", "bp-messages", @@ -8044,11 +7818,12 @@ dependencies = [ "bp-runtime", "bp-wococo", "bridge-runtime-common", + "frame-benchmarking", "frame-executive", "frame-support", "frame-system", "frame-system-rpc-runtime-api", - "hex-literal 0.3.3", + "hex-literal", "log", "pallet-authority-discovery", "pallet-authorship", @@ -8066,11 +7841,11 @@ dependencies = [ "pallet-membership", "pallet-mmr", "pallet-mmr-primitives", + "pallet-multisig", "pallet-offences", "pallet-proxy", "pallet-session", "pallet-staking", - "pallet-staking-reward-curve", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -8082,9 +7857,10 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", + "scale-info", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -8151,19 +7927,6 @@ dependencies = [ "semver 0.11.0", ] -[[package]] -name = "rustls" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" -dependencies = [ - "base64 0.12.3", - "log", - "ring", - "sct", - "webpki", -] - [[package]] name = "rustls" version = "0.19.1" @@ -8177,18 +7940,6 @@ dependencies = [ "webpki", ] -[[package]] -name = "rustls-native-certs" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8" -dependencies = [ - "openssl-probe", - "rustls 0.18.1", - "schannel", - "security-framework 1.0.0", -] - [[package]] name = "rustls-native-certs" version = "0.5.0" @@ -8196,19 +7947,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" dependencies = [ "openssl-probe", - "rustls 0.19.1", + "rustls", "schannel", - "security-framework 2.4.2", -] - -[[package]] -name = "ruzstd" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cada0ef59efa6a5f4dc5e491f93d9f31e3fc7758df421ff1de8a706338e1100" -dependencies = [ - "byteorder", - "twox-hash", + "security-framework", ] [[package]] @@ -8249,7 +7990,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "log", "sp-core", @@ -8260,11 +8001,10 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "derive_more 0.99.16", - "either", "futures 0.3.17", "futures-timer 3.0.2", "ip_network", @@ -8276,7 +8016,6 @@ dependencies = [ "rand 0.7.3", "sc-client-api", "sc-network", - "serde_json", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -8289,7 +8028,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8312,7 +8051,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8328,7 +8067,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8344,18 +8083,18 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "chrono", "fdlimit", @@ -8374,6 +8113,7 @@ dependencies = [ "sc-service", "sc-telemetry", "sc-tracing", + "sc-utils", "serde", "serde_json", "sp-blockchain", @@ -8382,54 +8122,46 @@ dependencies = [ "sp-keystore", "sp-panic-handler", "sp-runtime", - "sp-utils", "sp-version", "structopt", "thiserror", "tiny-bip39", - "tokio 0.2.25", + "tokio", ] [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "derive_more 0.99.16", "fnv", "futures 0.3.17", "hash-db", - "kvdb", - "lazy_static", "log", "parity-scale-codec", "parking_lot 0.11.2", "sc-executor", "sc-transaction-pool-api", + "sc-utils", "sp-api", "sp-blockchain", "sp-consensus", "sp-core", "sp-database", "sp-externalities", - "sp-inherents", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-std", "sp-storage", "sp-trie", - "sp-utils", - "sp-version", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "blake2-rfc", "hash-db", "kvdb", "kvdb-memorydb", @@ -8438,10 +8170,8 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parity-util-mem", "parking_lot 0.11.2", "sc-client-api", - "sc-executor", "sc-state-db", "sp-arithmetic", "sp-blockchain", @@ -8450,13 +8180,12 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-trie", - "substrate-prometheus-endpoint", ] [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "futures 0.3.17", @@ -8465,6 +8194,7 @@ dependencies = [ "log", "parking_lot 0.11.2", "sc-client-api", + "sc-utils", "serde", "sp-api", "sp-blockchain", @@ -8472,21 +8202,18 @@ dependencies = [ "sp-core", "sp-runtime", "sp-state-machine", - "sp-utils", "substrate-prometheus-endpoint", "thiserror", - "wasm-timer", ] [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "derive_more 0.99.16", "futures 0.3.17", - "futures-timer 3.0.2", "log", "parity-scale-codec", "sc-block-builder", @@ -8503,23 +8230,20 @@ dependencies = [ "sp-consensus-slots", "sp-core", "sp-inherents", - "sp-io", "sp-keystore", "sp-runtime", - "sp-version", "substrate-prometheus-endpoint", ] [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "derive_more 0.99.16", "fork-tree", "futures 0.3.17", - "futures-timer 3.0.2", "log", "merlin", "num-bigint", @@ -8527,14 +8251,12 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.11.2", - "pdqselect", "rand 0.7.3", "retain_mut", "sc-client-api", "sc-consensus", "sc-consensus-epochs", "sc-consensus-slots", - "sc-consensus-uncles", "sc-keystore", "sc-telemetry", "schnorrkel", @@ -8552,7 +8274,6 @@ dependencies = [ "sp-io", "sp-keystore", "sp-runtime", - "sp-utils", "sp-version", "substrate-prometheus-endpoint", ] @@ -8560,7 +8281,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", @@ -8584,7 +8305,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8597,19 +8318,17 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "futures 0.3.17", "futures-timer 3.0.2", - "impl-trait-for-tuples", "log", "parity-scale-codec", "sc-client-api", "sc-consensus", "sc-telemetry", "sp-api", - "sp-application-crypto", "sp-arithmetic", "sp-blockchain", "sp-consensus", @@ -8619,14 +8338,13 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-timestamp", - "sp-trie", "thiserror", ] [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "sc-client-api", "sp-authorship", @@ -8637,14 +8355,12 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "derive_more 0.99.16", "lazy_static", "libsecp256k1 0.6.0", "log", "parity-scale-codec", - "parity-wasm 0.42.2", "parking_lot 0.11.2", "sc-executor-common", "sc-executor-wasmi", @@ -8655,7 +8371,6 @@ dependencies = [ "sp-io", "sp-panic-handler", "sp-runtime-interface", - "sp-serializer", "sp-tasks", "sp-trie", "sp-version", @@ -8666,9 +8381,10 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "derive_more 0.99.16", + "environmental", "parity-scale-codec", "pwasm-utils", "sc-allocator", @@ -8683,12 +8399,13 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "log", "parity-scale-codec", "sc-allocator", "sc-executor-common", + "scoped-tls", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8698,17 +8415,15 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "cfg-if 1.0.0", "libc", "log", "parity-scale-codec", "parity-wasm 0.42.2", - "pwasm-utils", "sc-allocator", "sc-executor-common", - "scoped-tls", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8718,7 +8433,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -8727,11 +8442,9 @@ dependencies = [ "fork-tree", "futures 0.3.17", "futures-timer 3.0.2", - "linked-hash-map", "log", "parity-scale-codec", "parking_lot 0.11.2", - "pin-project 1.0.8", "rand 0.8.4", "sc-block-builder", "sc-client-api", @@ -8740,6 +8453,7 @@ dependencies = [ "sc-network", "sc-network-gossip", "sc-telemetry", + "sc-utils", "serde_json", "sp-api", "sp-application-crypto", @@ -8748,18 +8462,15 @@ dependencies = [ "sp-consensus", "sp-core", "sp-finality-grandpa", - "sp-inherents", "sp-keystore", "sp-runtime", - "sp-utils", "substrate-prometheus-endpoint", - "wasm-timer", ] [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "derive_more 0.99.16", "finality-grandpa", @@ -8783,7 +8494,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "ansi_term 0.12.1", "futures 0.3.17", @@ -8795,36 +8506,29 @@ dependencies = [ "sc-transaction-pool-api", "sp-blockchain", "sp-runtime", - "wasm-timer", ] [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "derive_more 0.99.16", - "futures 0.3.17", - "futures-util", "hex", - "merlin", "parking_lot 0.11.2", - "rand 0.7.3", "serde_json", "sp-application-crypto", "sp-core", "sp-keystore", - "subtle", ] [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "hash-db", - "lazy_static", "parity-scale-codec", "parking_lot 0.11.2", "sc-client-api", @@ -8840,18 +8544,16 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-std", "async-trait", "asynchronous-codec 0.5.0", "bitflags", - "bs58", "bytes 1.1.0", "cid", "derive_more 0.99.16", "either", - "erased-serde", "fnv", "fork-tree", "futures 0.3.17", @@ -8863,7 +8565,6 @@ dependencies = [ "linked_hash_set", "log", "lru", - "nohash-hasher", "parity-scale-codec", "parking_lot 0.11.2", "pin-project 1.0.8", @@ -8874,28 +8575,27 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-peerset", + "sc-utils", "serde", "serde_json", - "smallvec 1.6.1", + "smallvec", "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-core", "sp-finality-grandpa", "sp-runtime", - "sp-utils", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint 0.6.0", "void", - "wasm-timer", "zeroize", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8906,20 +8606,19 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "tracing", - "wasm-timer", ] [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "bytes 0.5.6", + "bytes 1.1.0", "fnv", "futures 0.3.17", "futures-timer 3.0.2", "hex", - "hyper 0.13.10", + "hyper", "hyper-rustls", "log", "num_cpus", @@ -8927,33 +8626,32 @@ dependencies = [ "parking_lot 0.11.2", "rand 0.7.3", "sc-client-api", - "sc-keystore", "sc-network", + "sc-utils", "sp-api", "sp-core", "sp-offchain", "sp-runtime", - "sp-utils", "threadpool", ] [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "futures 0.3.17", "libp2p", "log", + "sc-utils", "serde_json", - "sp-utils", "wasm-timer", ] [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8962,7 +8660,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "futures 0.3.17", "hash-db", @@ -8974,11 +8672,10 @@ dependencies = [ "sc-block-builder", "sc-chain-spec", "sc-client-api", - "sc-executor", - "sc-keystore", "sc-rpc-api", "sc-tracing", "sc-transaction-pool-api", + "sc-utils", "serde_json", "sp-api", "sp-blockchain", @@ -8988,18 +8685,14 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-session", - "sp-state-machine", - "sp-tracing", - "sp-utils", "sp-version", ] [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "derive_more 0.99.16", "futures 0.3.17", "jsonrpc-core", "jsonrpc-core-client", @@ -9017,41 +8710,39 @@ dependencies = [ "sp-runtime", "sp-tracing", "sp-version", + "thiserror", ] [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "futures 0.1.31", + "futures 0.3.17", "jsonrpc-core", "jsonrpc-http-server", "jsonrpc-ipc-server", "jsonrpc-pubsub", "jsonrpc-ws-server", "log", - "serde", "serde_json", - "sp-runtime", "substrate-prometheus-endpoint", + "tokio", ] [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.1.31", "futures 0.3.17", "futures-timer 3.0.2", "hash-db", "jsonrpc-core", "jsonrpc-pubsub", - "lazy_static", "log", "parity-scale-codec", "parity-util-mem", @@ -9075,6 +8766,7 @@ dependencies = [ "sc-tracing", "sc-transaction-pool", "sc-transaction-pool-api", + "sc-utils", "serde", "serde_json", "sp-api", @@ -9085,7 +8777,6 @@ dependencies = [ "sp-core", "sp-externalities", "sp-inherents", - "sp-io", "sp-keystore", "sp-runtime", "sp-session", @@ -9095,20 +8786,19 @@ dependencies = [ "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", - "sp-utils", "sp-version", "substrate-prometheus-endpoint", "tempfile", "thiserror", + "tokio", "tracing", "tracing-futures", - "wasm-timer", ] [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "log", "parity-scale-codec", @@ -9117,13 +8807,12 @@ dependencies = [ "parking_lot 0.11.2", "sc-client-api", "sp-core", - "thiserror", ] [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -9145,7 +8834,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "chrono", "futures 0.3.17", @@ -9156,20 +8845,17 @@ dependencies = [ "rand 0.7.3", "serde", "serde_json", - "take_mut", "thiserror", - "void", "wasm-timer", ] [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "ansi_term 0.12.1", "atty", - "erased-serde", "lazy_static", "log", "once_cell", @@ -9178,44 +8864,36 @@ dependencies = [ "rustc-hash", "sc-client-api", "sc-rpc-server", - "sc-telemetry", "sc-tracing-proc-macro", "serde", - "serde_json", "sp-api", - "sp-block-builder", "sp-blockchain", "sp-core", "sp-rpc", "sp-runtime", - "sp-storage", "sp-tracing", "thiserror", "tracing", "tracing-log", "tracing-subscriber", - "wasm-bindgen", - "wasm-timer", - "web-sys", ] [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "derive_more 0.99.16", "futures 0.3.17", "intervalier", "linked-hash-map", @@ -9226,6 +8904,7 @@ dependencies = [ "retain_mut", "sc-client-api", "sc-transaction-pool-api", + "sc-utils", "serde", "sp-api", "sp-blockchain", @@ -9233,21 +8912,18 @@ dependencies = [ "sp-runtime", "sp-tracing", "sp-transaction-pool", - "sp-utils", "substrate-prometheus-endpoint", "thiserror", - "wasm-timer", ] [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", "log", - "parity-scale-codec", "serde", "sp-blockchain", "sp-runtime", @@ -9255,16 +8931,14 @@ dependencies = [ ] [[package]] -name = "scale-info" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2e62ff266e136db561a007c84569985805f84a1d5a08278e52c36aacb6e061b" +name = "sc-utils" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "bitvec 0.20.4", - "cfg-if 1.0.0", - "derive_more 0.99.16", - "parity-scale-codec", - "scale-info-derive 0.7.0", + "futures 0.3.17", + "futures-timer 3.0.2", + "lazy_static", + "prometheus", ] [[package]] @@ -9277,19 +8951,8 @@ dependencies = [ "cfg-if 1.0.0", "derive_more 0.99.16", "parity-scale-codec", - "scale-info-derive 1.0.0", -] - -[[package]] -name = "scale-info-derive" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b648fa291891a4c80187a25532f6a7d96b82c70353e30b868b14632b8fe043d6" -dependencies = [ - "proc-macro-crate 1.1.0", - "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "scale-info-derive", + "serde", ] [[package]] @@ -9300,8 +8963,8 @@ checksum = "baeb2780690380592f86205aa4ee49815feb2acad8c2f59e6dd207148c3f1fcd" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -9344,6 +9007,26 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "scroll" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec" +dependencies = [ + "scroll_derive", +] + +[[package]] +name = "scroll_derive" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaaae8f38bb311444cfb7f1979af0bc9240d95795f75f9ceddf6a59b79ceffa0" +dependencies = [ + "proc-macro2 1.0.29", + "quote 1.0.10", + "syn 1.0.80", +] + [[package]] name = "sct" version = "0.6.1" @@ -9363,19 +9046,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "security-framework" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad502866817f0575705bd7be36e2b2535cc33262d493aa733a2ec862baa2bc2b" -dependencies = [ - "bitflags", - "core-foundation 0.7.0", - "core-foundation-sys 0.7.0", - "libc", - "security-framework-sys 1.0.0", -] - [[package]] name = "security-framework" version = "2.4.2" @@ -9383,20 +9053,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "525bc1abfda2e1998d152c45cf13e696f76d0a4972310b22fac1658b05df7c87" dependencies = [ "bitflags", - "core-foundation 0.9.1", - "core-foundation-sys 0.8.2", - "libc", - "security-framework-sys 2.4.2", -] - -[[package]] -name = "security-framework-sys" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51ceb04988b17b6d1dcd555390fa822ca5637b4a14e1f5099f13d351bed4d6c7" -dependencies = [ - "core-foundation-sys 0.7.0", + "core-foundation", + "core-foundation-sys", "libc", + "security-framework-sys", ] [[package]] @@ -9405,7 +9065,7 @@ version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9dd14d83160b528b7bfd66439110573efcfbe281b17fc2ca9f39f550d619c7e" dependencies = [ - "core-foundation-sys 0.8.2", + "core-foundation-sys", "libc", ] @@ -9468,8 +9128,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -9503,7 +9163,7 @@ checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures", + "cpufeatures 0.2.1", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -9528,7 +9188,7 @@ checksum = "b69f9a4c9740d74c5baa3fd2e547f9525fa8088a8a958e0ca2409a514e33f5fa" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures", + "cpufeatures 0.2.1", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -9614,8 +9274,8 @@ dependencies = [ [[package]] name = "slot-range-helper" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "enumn", "parity-scale-codec", @@ -9635,18 +9295,15 @@ dependencies = [ [[package]] name = "smallvec" -version = "0.6.14" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" -dependencies = [ - "maybe-uninit", -] +checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309" [[package]] -name = "smallvec" -version = "1.6.1" +name = "snap" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" +checksum = "45456094d1983e2ee2a18fdfebce3189fa451699d0502cb8e3b49dba5ba41451" [[package]] name = "snow" @@ -9721,7 +9378,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "hash-db", "log", @@ -9738,21 +9395,22 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", + "scale-info", "serde", "sp-core", "sp-io", @@ -9762,11 +9420,12 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", + "scale-info", "serde", "sp-debug-derive", "sp-std", @@ -9776,9 +9435,10 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", + "scale-info", "sp-api", "sp-application-crypto", "sp-runtime", @@ -9788,7 +9448,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9800,7 +9460,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9812,7 +9472,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "futures 0.3.17", "log", @@ -9830,36 +9490,30 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "futures 0.3.17", "futures-timer 3.0.2", "log", "parity-scale-codec", - "parking_lot 0.11.2", - "serde", - "sp-api", "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", "sp-std", - "sp-trie", - "sp-utils", "sp-version", - "substrate-prometheus-endpoint", "thiserror", - "wasm-timer", ] [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "parity-scale-codec", + "scale-info", "sp-api", "sp-application-crypto", "sp-consensus", @@ -9873,11 +9527,12 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "merlin", "parity-scale-codec", + "scale-info", "serde", "sp-api", "sp-application-crypto", @@ -9895,9 +9550,10 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", + "scale-info", "sp-arithmetic", "sp-runtime", ] @@ -9905,7 +9561,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9917,7 +9573,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "base58", "blake2-rfc", @@ -9940,6 +9596,7 @@ dependencies = [ "primitive-types", "rand 0.7.3", "regex", + "scale-info", "schnorrkel", "secrecy", "serde", @@ -9961,7 +9618,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "kvdb", "parking_lot 0.11.2", @@ -9970,17 +9627,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "environmental", "parity-scale-codec", @@ -9991,11 +9648,12 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", + "scale-info", "serde", "sp-api", "sp-application-crypto", @@ -10008,7 +9666,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10022,7 +9680,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "futures 0.3.17", "hash-db", @@ -10033,7 +9691,6 @@ dependencies = [ "sp-core", "sp-externalities", "sp-keystore", - "sp-maybe-compressed-blob", "sp-runtime-interface", "sp-state-machine", "sp-std", @@ -10047,18 +9704,18 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "lazy_static", "sp-core", "sp-runtime", - "strum", + "strum 0.20.0", ] [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -10075,40 +9732,41 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "ruzstd", "zstd", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", + "scale-info", "serde", "sp-arithmetic", "sp-core", "sp-npos-elections-solution-type", + "sp-runtime", "sp-std", ] [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "sp-api", "sp-core", @@ -10118,7 +9776,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "backtrace", ] @@ -10126,18 +9784,17 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "rustc-hash", "serde", "sp-core", - "tracing-core", ] [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "either", "hash256-std-hasher", @@ -10147,6 +9804,7 @@ dependencies = [ "parity-util-mem", "paste", "rand 0.7.3", + "scale-info", "serde", "sp-application-crypto", "sp-arithmetic", @@ -10158,7 +9816,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10175,19 +9833,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "serde", "serde_json", @@ -10196,9 +9854,10 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", + "scale-info", "sp-api", "sp-core", "sp-runtime", @@ -10209,9 +9868,10 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", + "scale-info", "sp-runtime", "sp-std", ] @@ -10219,7 +9879,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "hash-db", "log", @@ -10227,7 +9887,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.2", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec", "sp-core", "sp-externalities", "sp-panic-handler", @@ -10242,12 +9902,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10260,7 +9920,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "log", "sp-core", @@ -10273,7 +9933,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -10284,13 +9944,12 @@ dependencies = [ "sp-runtime", "sp-std", "thiserror", - "wasm-timer", ] [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "erased-serde", "log", @@ -10308,7 +9967,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "sp-api", "sp-runtime", @@ -10317,11 +9976,12 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-trait", "log", "parity-scale-codec", + "scale-info", "sp-core", "sp-inherents", "sp-runtime", @@ -10332,37 +9992,27 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "hash-db", "memory-db", "parity-scale-codec", + "scale-info", "sp-core", "sp-std", "trie-db", "trie-root", ] -[[package]] -name = "sp-utils" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" -dependencies = [ - "futures 0.3.17", - "futures-core", - "futures-timer 3.0.2", - "lazy_static", - "prometheus", -] - [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm 0.42.2", + "scale-info", "serde", "sp-runtime", "sp-std", @@ -10373,19 +10023,18 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "parity-scale-codec", - "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10432,8 +10081,8 @@ dependencies = [ "cfg_aliases", "memchr", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -10449,15 +10098,6 @@ dependencies = [ "rand 0.8.4", ] -[[package]] -name = "string" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d" -dependencies = [ - "bytes 0.4.12", -] - [[package]] name = "strsim" version = "0.8.0" @@ -10484,8 +10124,8 @@ dependencies = [ "heck", "proc-macro-error 1.0.4", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -10494,7 +10134,16 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7318c509b5ba57f18533982607f24070a55d353e90d4cae30c467cdb2ad5ac5c" dependencies = [ - "strum_macros", + "strum_macros 0.20.1", +] + +[[package]] +name = "strum" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" +dependencies = [ + "strum_macros 0.21.1", ] [[package]] @@ -10505,8 +10154,20 @@ checksum = "ee8bc6b87a5112aeeab1f4a9f7ab634fe6cbefc4850006df31267f4cfb9e3149" dependencies = [ "heck", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", +] + +[[package]] +name = "strum_macros" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" +dependencies = [ + "heck", + "proc-macro2 1.0.29", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -10525,7 +10186,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "platforms", ] @@ -10533,7 +10194,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.17", @@ -10545,7 +10206,6 @@ dependencies = [ "sc-client-api", "sc-rpc-api", "sc-transaction-pool-api", - "serde", "sp-api", "sp-block-builder", "sp-blockchain", @@ -10556,24 +10216,23 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "async-std", "derive_more 0.99.16", "futures-util", - "hyper 0.13.10", + "hyper", "log", "prometheus", - "tokio 0.2.25", + "tokio", ] [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ "ansi_term 0.12.1", - "atty", "build-helper", "cargo_metadata", "sp-maybe-compressed-blob", @@ -10602,12 +10261,12 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.77" +version = "1.0.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5239bc68e0fef57495900cfea4e8dc75596d9a319d7e16b1e0a440d24e6fe0a0" +checksum = "d010a1623fbd906d51d650a9916aaefc05ffa0e4053ff7fe601167f3e715d194" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "unicode-xid 0.2.2", ] @@ -10618,28 +10277,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baa8e7560a164edb1621a55d18a0c59abf49d360f47aa7b821061dd7eea7fac9" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "synstructure" -version = "0.12.5" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "474aaa926faa1603c40b7885a9eaea29b444d1cb2850cb7c0e37bb1a4182f4fa" +checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "unicode-xid 0.2.2", ] -[[package]] -name = "take_mut" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" - [[package]] name = "tap" version = "1.0.1" @@ -10686,22 +10339,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.29" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "602eca064b2d83369e2b2f34b09c70b605402801927c65c11071ac911d299b88" +checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.29" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad553cc2c78e8de258400763a647e80e6d1b31ee237275d756f6836d204494c" +checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -10748,20 +10401,20 @@ dependencies = [ [[package]] name = "tiny-bip39" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524daa5624d9d4ffb5a0625971d35205b882111daa6b6338a7a6c578a3c36928" +checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" dependencies = [ "anyhow", "hmac 0.8.1", "once_cell", - "parking_lot 0.11.2", "pbkdf2 0.4.0", "rand 0.7.3", "rustc-hash", "sha2 0.9.8", "thiserror", "unicode-normalization", + "wasm-bindgen", "zeroize", ] @@ -10791,300 +10444,69 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "mio", - "num_cpus", - "tokio-codec", - "tokio-current-thread", - "tokio-executor", - "tokio-fs", - "tokio-io", - "tokio-reactor", - "tokio-sync", - "tokio-tcp", - "tokio-threadpool", - "tokio-timer", - "tokio-udp", - "tokio-uds", -] - -[[package]] -name = "tokio" -version = "0.2.25" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092" +checksum = "c2c2416fdedca8443ae44b4527de1ea633af61d8f7169ffa6e72c5b53d24efcc" dependencies = [ - "bytes 0.5.6", - "fnv", - "futures-core", - "iovec", - "lazy_static", + "autocfg", + "bytes 1.1.0", "libc", "memchr", - "mio", - "mio-uds", + "mio 0.7.13", "num_cpus", - "pin-project-lite 0.1.12", + "once_cell", + "pin-project-lite 0.2.7", "signal-hook-registry", - "slab", "tokio-macros", "winapi 0.3.9", ] -[[package]] -name = "tokio" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2c2416fdedca8443ae44b4527de1ea633af61d8f7169ffa6e72c5b53d24efcc" -dependencies = [ - "autocfg", - "pin-project-lite 0.2.7", -] - -[[package]] -name = "tokio-buf" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" -dependencies = [ - "bytes 0.4.12", - "either", - "futures 0.1.31", -] - -[[package]] -name = "tokio-codec" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "tokio-io", -] - -[[package]] -name = "tokio-current-thread" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" -dependencies = [ - "futures 0.1.31", - "tokio-executor", -] - -[[package]] -name = "tokio-executor" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures 0.1.31", -] - -[[package]] -name = "tokio-fs" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" -dependencies = [ - "futures 0.1.31", - "tokio-io", - "tokio-threadpool", -] - -[[package]] -name = "tokio-io" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "log", -] - [[package]] name = "tokio-macros" -version = "0.2.6" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a" +checksum = "154794c8f499c2619acd19e839294703e9e32e7630ef5f46ea80d4ef0fbee5eb" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", -] - -[[package]] -name = "tokio-named-pipes" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "mio", - "mio-named-pipes", - "tokio 0.1.22", -] - -[[package]] -name = "tokio-reactor" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures 0.1.31", - "lazy_static", - "log", - "mio", - "num_cpus", - "parking_lot 0.9.0", - "slab", - "tokio-executor", - "tokio-io", - "tokio-sync", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "tokio-rustls" -version = "0.14.1" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a" +checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" dependencies = [ - "futures-core", - "rustls 0.18.1", - "tokio 0.2.25", + "rustls", + "tokio", "webpki", ] [[package]] -name = "tokio-rustls" -version = "0.15.0" +name = "tokio-stream" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d15e5669243a45f630a5167d101b942174ca94b615445b2057eace1c818736" +checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" dependencies = [ "futures-core", - "rustls 0.19.1", - "tokio 0.2.25", - "webpki", -] - -[[package]] -name = "tokio-service" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162" -dependencies = [ - "futures 0.1.31", -] - -[[package]] -name = "tokio-sync" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" -dependencies = [ - "fnv", - "futures 0.1.31", -] - -[[package]] -name = "tokio-tcp" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "iovec", - "mio", - "tokio-io", - "tokio-reactor", -] - -[[package]] -name = "tokio-threadpool" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" -dependencies = [ - "crossbeam-deque 0.7.4", - "crossbeam-queue", - "crossbeam-utils 0.7.2", - "futures 0.1.31", - "lazy_static", - "log", - "num_cpus", - "slab", - "tokio-executor", -] - -[[package]] -name = "tokio-timer" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures 0.1.31", - "slab", - "tokio-executor", -] - -[[package]] -name = "tokio-udp" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "log", - "mio", - "tokio-codec", - "tokio-io", - "tokio-reactor", -] - -[[package]] -name = "tokio-uds" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "iovec", - "libc", - "log", - "mio", - "mio-uds", - "tokio-codec", - "tokio-io", - "tokio-reactor", + "pin-project-lite 0.2.7", + "tokio", ] [[package]] name = "tokio-util" -version = "0.3.1" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" +checksum = "08d3725d3efa29485e87311c5b699de63cde14b00ed4d256b8318aa30ca452cd" dependencies = [ - "bytes 0.5.6", + "bytes 1.1.0", "futures-core", "futures-io", "futures-sink", "log", - "pin-project-lite 0.1.12", - "tokio 0.2.25", + "pin-project-lite 0.2.7", + "tokio", ] [[package]] @@ -11104,12 +10526,11 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.28" +version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f96e095c0c82419687c20ddf5cb3eadb61f4e1405923c9dc8e53a1adacbda8" +checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" dependencies = [ "cfg-if 1.0.0", - "log", "pin-project-lite 0.2.7", "tracing-attributes", "tracing-core", @@ -11117,20 +10538,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.16" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98863d0dd09fa59a1b79c6750ad80dbda6b75f4e71c437a6a1a8cb91a8bcbd77" +checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "tracing-core" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46125608c26121c81b0c6d693eab5a420e416da7e43c426d2e8f7df8da8a3acf" +checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" dependencies = [ "lazy_static", ] @@ -11168,9 +10589,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.24" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd0568dbfe3baf7048b7908d2b32bca0d81cd56bec6d2a8f894b01d74f86be3" +checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" dependencies = [ "ansi_term 0.12.1", "chrono", @@ -11180,7 +10601,7 @@ dependencies = [ "serde", "serde_json", "sharded-slab", - "smallvec 1.6.1", + "smallvec", "thread_local", "tracing", "tracing-core", @@ -11198,7 +10619,7 @@ dependencies = [ "hashbrown", "log", "rustc-hex", - "smallvec 1.6.1", + "smallvec", ] [[package]] @@ -11228,7 +10649,7 @@ dependencies = [ "lazy_static", "log", "rand 0.8.4", - "smallvec 1.6.1", + "smallvec", "thiserror", "tinyvec", "url 2.2.2", @@ -11248,7 +10669,7 @@ dependencies = [ "lru-cache", "parking_lot 0.11.2", "resolv-conf", - "smallvec 1.6.1", + "smallvec", "thiserror", "trust-dns-proto", ] @@ -11262,25 +10683,24 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.10#420db18eaa1a1f5ce9ba40dd6ccb69f7b3dd9bb7" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#9ee94fa0d349b6cd5aba8426497453a6ce770c6f" dependencies = [ - "frame-try-runtime", + "jsonrpsee-ws-client", "log", "parity-scale-codec", "remote-externalities", "sc-chain-spec", "sc-cli", - "sc-client-api", "sc-executor", "sc-service", "serde", - "sp-api", - "sp-blockchain", "sp-core", "sp-externalities", + "sp-io", "sp-keystore", "sp-runtime", "sp-state-machine", + "sp-version", "structopt", ] @@ -11330,9 +10750,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "246f4c42e67e7a4e3c6106ff716a5d067d4132a642840b242e357e468a2a0085" +checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" [[package]] name = "unicode-normalization" @@ -11487,17 +10907,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "want" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230" -dependencies = [ - "futures 0.1.31", - "log", - "try-lock", -] - [[package]] name = "want" version = "0.3.0" @@ -11540,8 +10949,8 @@ dependencies = [ "lazy_static", "log", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "wasm-bindgen-shared", ] @@ -11563,7 +10972,7 @@ version = "0.2.78" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" dependencies = [ - "quote 1.0.9", + "quote 1.0.10", "wasm-bindgen-macro-support", ] @@ -11574,8 +10983,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -11638,15 +11047,15 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.78.2" +version = "0.79.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65" +checksum = "5b5894be15a559c85779254700e1d35f02f843b5a69152e5c82c626d9fd66c0e" [[package]] name = "wasmtime" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b310b9d20fcf59385761d1ade7a3ef06aecc380e3d3172035b919eaf7465d9f7" +checksum = "8bbb8a082a8ef50f7eeb8b82dda9709ef1e68963ea3c94e45581644dd4041835" dependencies = [ "anyhow", "backtrace", @@ -11662,7 +11071,7 @@ dependencies = [ "region", "rustc-demangle", "serde", - "smallvec 1.6.1", + "smallvec", "target-lexicon", "wasmparser", "wasmtime-cache", @@ -11675,9 +11084,9 @@ dependencies = [ [[package]] name = "wasmtime-cache" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d14d500d5c3dc5f5c097158feee123d64b3097f0d836a2a27dff9c761c73c843" +checksum = "d73391579ca7f24573138ef768b73b2aed5f9d542385c64979b65d60d0912399" dependencies = [ "anyhow", "base64 0.13.0", @@ -11696,9 +11105,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c525b39f062eada7db3c1298287b96dcb6e472b9f6b22501300b28d9fa7582f6" +checksum = "81c6f5ae9205382345c7cd7454932a906186836999a2161c385e38a15f52e1fe" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -11711,14 +11120,14 @@ dependencies = [ [[package]] name = "wasmtime-debug" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5d2a763e7a6fc734218e0e463196762a4f409c483063d81e0e85f96343b2e0a" +checksum = "c69e08f55e12f15f50b1b533bc3626723e7224254a065de6576934c86258c9e8" dependencies = [ "anyhow", - "gimli 0.24.0", + "gimli", "more-asserts", - "object 0.24.0", + "object", "target-lexicon", "thiserror", "wasmparser", @@ -11727,15 +11136,15 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f64d0c2d881c31b0d65c1f2695e022d71eb60b9fbdd336aacca28208b58eac90" +checksum = "005d93174040af37fb8625f891cd9827afdad314261f7ec4ee61ec497d6e9d3c" dependencies = [ "cfg-if 1.0.0", "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli 0.24.0", + "gimli", "indexmap", "log", "more-asserts", @@ -11746,11 +11155,11 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4539ea734422b7c868107e2187d7746d8affbcaa71916d72639f53757ad707" +checksum = "d0bf1dfb213a35d8f21aefae40e597fe72778a907011ffdff7affb029a02af9a" dependencies = [ - "addr2line 0.15.2", + "addr2line", "anyhow", "cfg-if 1.0.0", "cranelift-codegen", @@ -11758,10 +11167,10 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.24.0", + "gimli", "log", "more-asserts", - "object 0.24.0", + "object", "rayon", "region", "serde", @@ -11779,13 +11188,13 @@ dependencies = [ [[package]] name = "wasmtime-obj" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e1a8ff85246d091828e2225af521a6208ed28c997bb5c39eb697366dc2e2f2b" +checksum = "d231491878e710c68015228c9f9fc5955fe5c96dbf1485c15f7bed55b622c83c" dependencies = [ "anyhow", "more-asserts", - "object 0.24.0", + "object", "target-lexicon", "wasmtime-debug", "wasmtime-environ", @@ -11793,14 +11202,17 @@ dependencies = [ [[package]] name = "wasmtime-profiling" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e24364d522dcd67c897c8fffc42e5bdfc57207bbb6d7eeade0da9d4a7d70105b" +checksum = "21486cfb5255c2069666c1f116f9e949d4e35c9a494f11112fa407879e42198d" dependencies = [ "anyhow", "cfg-if 1.0.0", + "gimli", "lazy_static", "libc", + "object", + "scroll", "serde", "target-lexicon", "wasmtime-environ", @@ -11809,9 +11221,9 @@ dependencies = [ [[package]] name = "wasmtime-runtime" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51e57976e8a19a18a18e002c6eb12e5769554204238e47ff155fda1809ef0f7" +checksum = "d7ddfdf32e0a20d81f48be9dacd31612bc61de5a174d1356fef806d300f507de" dependencies = [ "anyhow", "backtrace", @@ -11822,7 +11234,7 @@ dependencies = [ "libc", "log", "mach", - "memoffset 0.6.4", + "memoffset", "more-asserts", "rand 0.8.4", "region", @@ -11871,8 +11283,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -11884,11 +11296,12 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.3.3", + "hex-literal", "log", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", + "pallet-bags-list", "pallet-balances", "pallet-collective", "pallet-democracy", @@ -11920,15 +11333,17 @@ dependencies = [ "pallet-utility", "pallet-vesting", "pallet-xcm", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", "rustc-hex", + "scale-info", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -11944,7 +11359,6 @@ dependencies = [ "sp-std", "sp-transaction-pool", "sp-version", - "static_assertions", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -12038,9 +11452,9 @@ checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" [[package]] name = "x25519-dalek" -version = "1.2.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2392b6b94a576b4e2bf3c5b2757d63f10ada8020a2e4d08ac849ebcf6ea8e077" +checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" dependencies = [ "curve25519-dalek 3.2.0", "rand_core 0.5.1", @@ -12049,27 +11463,29 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "derivative", "impl-trait-for-tuples", "log", "parity-scale-codec", + "scale-info", "xcm-procedural", ] [[package]] name = "xcm-builder" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "frame-support", "frame-system", - "impl-trait-for-tuples", + "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain", + "scale-info", "sp-arithmetic", "sp-io", "sp-runtime", @@ -12080,9 +11496,10 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.10" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +version = "0.9.11" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ + "frame-benchmarking", "frame-support", "impl-trait-for-tuples", "log", @@ -12098,11 +11515,11 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.11#bfd38ed620458fcf57eb5cde8b5732368c19b714" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -12121,9 +11538,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.3.0" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +checksum = "bf68b08513768deaa790264a7fac27a58cbf2705cfcdc9448362229217d7e970" dependencies = [ "zeroize_derive", ] @@ -12135,25 +11552,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bdff2024a851a322b08f179173ae2ba620445aef1e838f0c196820eade4ae0c7" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "synstructure", ] [[package]] name = "zstd" -version = "0.6.1+zstd.1.4.9" +version = "0.9.0+zstd.1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de55e77f798f205d8561b8fe2ef57abfb6e0ff2abe7fd3c089e119cdb5631a3" +checksum = "07749a5dc2cb6b36661290245e350f15ec3bbb304e493db54a1d354480522ccd" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "3.0.1+zstd.1.4.9" +version = "4.1.1+zstd.1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1387cabcd938127b30ce78c4bf00b30387dddf704e3f0881dbc4ff62b5566f8c" +checksum = "c91c90f2c593b003603e5e0493c837088df4469da25aafff8bce42ba48caf079" dependencies = [ "libc", "zstd-sys", @@ -12161,9 +11578,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "1.4.20+zstd.1.4.9" +version = "1.6.1+zstd.1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd5b733d7cf2d9447e2c3e76a5589b4f5e5ae065c22a2bc0b023cbc331b6c8e" +checksum = "615120c7a2431d16cf1cf979e7fc31ba7a5b5e5707b29c8a99e5dbf8a8392a33" dependencies = [ "cc", "libc", diff --git a/node/Cargo.toml b/node/Cargo.toml index abaee7478..87d00149c 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -7,7 +7,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = 'calamari-pc' repository = 'https://github.com/Manta-Network/Manta/' -version = '3.0.5' +version = '3.0.6' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] @@ -25,75 +25,75 @@ required-features = ['manta-pc'] [dependencies] derive_more = '0.15.0' log = "0.4.13" -codec = { package = 'parity-scale-codec', version = '2.1.0' } +codec = { package = 'parity-scale-codec', version = '2.3.1' } cfg-if = "1.0.0" structopt = "0.3.8" serde = { version = "1.0.119", features = ["derive"] } -hex-literal = "0.2.1" +hex-literal = "0.3.3" async-trait = "0.1.42" futures = "0.3.14" # RPC related dependencies -jsonrpc-core = "15.1.0" +jsonrpc-core = "18.0.0" # Substrate frames -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -frame-benchmarking-cli = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", optional = true } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +frame-benchmarking-cli = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11", optional = true } # Substrate pallets rpc -pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } +pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } # Substrate client dependencies -sc-basic-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-chain-spec = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-cli = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-executor = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-telemetry = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sc-tracing = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } +sc-basic-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-chain-spec = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-cli = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-executor = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" } +sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-telemetry = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-tracing = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } # Substrate primitives -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } +sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" } +sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" } +sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" } # Cumulus dependencies -cumulus-client-cli = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-client-consensus-common = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-client-consensus-aura = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-client-consensus-relay-chain = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-client-collator = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-client-network = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } -cumulus-client-service = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.10" } +cumulus-client-cli = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-client-consensus-common = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-client-consensus-aura = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-client-consensus-relay-chain = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-client-collator = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-client-network = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } +cumulus-client-service = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } # Polkadot dependencies -polkadot-cli = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.10" } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.10" } -polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.10" } -polkadot-service = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.10" } +polkadot-cli = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.11" } +polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.11" } +polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.11" } +polkadot-service = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.11" } # Self dependencies calamari-runtime = { path = '../runtime/calamari', optional = true } @@ -101,7 +101,7 @@ manta-pc-runtime = { path = '../runtime/manta-pc', optional = true } manta-primitives = { path = '../runtime/primitives' } [build-dependencies] -substrate-build-script-utils = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } +substrate-build-script-utils = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } [features] try-runtime = [ diff --git a/node/src/command.rs b/node/src/command.rs index 69e361150..2eb3cd899 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -260,7 +260,7 @@ pub fn run() -> Result<()> { let polkadot_config = SubstrateCli::create_configuration( &polkadot_cli, &polkadot_cli, - config.task_executor.clone(), + config.tokio_handle.clone(), ) .map_err(|err| format!("Relay chain argument error: {}", err))?; @@ -386,9 +386,9 @@ pub fn run() -> Result<()> { generate_genesis_block(&config.chain_spec).map_err(|e| format!("{:?}", e))?; let genesis_state = format!("0x{:?}", HexDisplay::from(&block.header().encode())); - let task_executor = config.task_executor.clone(); + let tokio_handle = config.tokio_handle.clone(); let polkadot_config = - SubstrateCli::create_configuration(&polkadot_cli, &polkadot_cli, task_executor) + SubstrateCli::create_configuration(&polkadot_cli, &polkadot_cli, tokio_handle) .map_err(|err| format!("Relay chain argument error: {}", err))?; info!("Parachain id: {:?}", id); @@ -527,18 +527,10 @@ impl CliConfiguration for RelayChainCli { self.base.base.rpc_ws_max_connections() } - fn rpc_http_threads(&self) -> Result> { - self.base.base.rpc_http_threads() - } - fn rpc_cors(&self, is_dev: bool) -> Result>> { self.base.base.rpc_cors(is_dev) } - fn telemetry_external_transport(&self) -> Result> { - self.base.base.telemetry_external_transport() - } - fn default_heap_pages(&self) -> Result> { self.base.base.default_heap_pages() } diff --git a/node/src/service.rs b/node/src/service.rs index fb0898db6..0a2c6a8e3 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -19,7 +19,7 @@ use sc_consensus::{ import_queue::{BasicQueue, Verifier as VerifierT}, BlockImportParams, }; -use sc_executor::native_executor_instance; +use sc_executor::NativeElseWasmExecutor; use sc_network::NetworkService; use sc_service::{Configuration, PartialComponents, Role, TFullBackend, TFullClient, TaskManager}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; @@ -34,31 +34,42 @@ use sp_runtime::{ use std::sync::Arc; use substrate_prometheus_endpoint::Registry; -pub use sc_executor::NativeExecutor; - type BlockNumber = u32; type Header = sp_runtime::generic::Header; pub type Block = sp_runtime::generic::Block; type Hash = sp_core::H256; -// Native executor instance. // Native Manta Parachain executor instance. #[cfg(feature = "manta-pc")] -native_executor_instance!( - pub MantaPCRuntimeExecutor, - manta_pc_runtime::api::dispatch, - manta_pc_runtime::native_version, - frame_benchmarking::benchmarking::HostFunctions, -); +pub struct MantaPCRuntimeExecutor; +#[cfg(feature = "manta-pc")] +impl sc_executor::NativeExecutionDispatch for MantaPCRuntimeExecutor { + type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; + + fn dispatch(method: &str, data: &[u8]) -> Option> { + manta_pc_runtime::api::dispatch(method, data) + } + + fn native_version() -> sc_executor::NativeVersion { + manta_pc_runtime::native_version() + } +} // Native Calamari Parachain executor instance. #[cfg(feature = "calamari")] -native_executor_instance!( - pub CalamariRuntimeExecutor, - calamari_runtime::api::dispatch, - calamari_runtime::native_version, - frame_benchmarking::benchmarking::HostFunctions, -); +pub struct CalamariRuntimeExecutor; +#[cfg(feature = "calamari")] +impl sc_executor::NativeExecutionDispatch for CalamariRuntimeExecutor { + type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; + + fn dispatch(method: &str, data: &[u8]) -> Option> { + calamari_runtime::api::dispatch(method, data) + } + + fn native_version() -> sc_executor::NativeVersion { + calamari_runtime::native_version() + } +} /// Starts a `ServiceBuilder` for a full service. /// @@ -69,17 +80,23 @@ pub fn new_partial( build_import_queue: BIQ, ) -> Result< PartialComponents< - TFullClient, + TFullClient>, TFullBackend, (), - sc_consensus::DefaultImportQueue>, - sc_transaction_pool::FullPool>, + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, + sc_transaction_pool::FullPool< + Block, + TFullClient>, + >, (Option, Option), >, sc_service::Error, > where - RuntimeApi: ConstructRuntimeApi> + RuntimeApi: ConstructRuntimeApi>> + Send + Sync + 'static, @@ -94,12 +111,15 @@ where sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, Executor: sc_executor::NativeExecutionDispatch + 'static, BIQ: FnOnce( - Arc>, + Arc>>, &Configuration, Option, &TaskManager, ) -> Result< - sc_consensus::DefaultImportQueue>, + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, sc_service::Error, >, { @@ -114,10 +134,17 @@ where }) .transpose()?; + let executor = sc_executor::NativeElseWasmExecutor::::new( + config.wasm_method, + config.default_heap_pages, + config.max_runtime_instances, + ); + let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::( + sc_service::new_full_parts::( config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), + executor, )?; let client = Arc::new(client); @@ -168,9 +195,12 @@ async fn start_node_impl( _rpc_ext_builder: RB, build_import_queue: BIQ, build_consensus: BIC, -) -> sc_service::error::Result<(TaskManager, Arc>)> +) -> sc_service::error::Result<( + TaskManager, + Arc>>, +)> where - RuntimeApi: ConstructRuntimeApi> + RuntimeApi: ConstructRuntimeApi>> + Send + Sync + 'static, @@ -190,26 +220,34 @@ where sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, Executor: sc_executor::NativeExecutionDispatch + 'static, RB: Fn( - Arc>, + Arc>>, ) -> Result, sc_service::Error> + Send + 'static, BIQ: FnOnce( - Arc>, + Arc>>, &Configuration, Option, &TaskManager, ) -> Result< - sc_consensus::DefaultImportQueue>, + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, sc_service::Error, >, BIC: FnOnce( - Arc>, + Arc>>, Option<&Registry>, Option, &TaskManager, &polkadot_service::NewFull, - Arc>>, + Arc< + sc_transaction_pool::FullPool< + Block, + TFullClient>, + >, + >, Arc>, SyncCryptoStorePtr, bool, @@ -444,16 +482,19 @@ where /// Build the import queue for the calamari/manta-pc runtime. pub fn parachain_build_import_queue( - client: Arc>, + client: Arc>>, config: &Configuration, telemetry_handle: Option, task_manager: &TaskManager, ) -> Result< - sc_consensus::DefaultImportQueue>, + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, sc_service::Error, > where - RuntimeApi: ConstructRuntimeApi> + RuntimeApi: ConstructRuntimeApi>> + Send + Sync + 'static, @@ -526,9 +567,12 @@ pub async fn start_parachain_node( parachain_config: Configuration, polkadot_config: Configuration, id: ParaId, -) -> sc_service::error::Result<(TaskManager, Arc>)> +) -> sc_service::error::Result<( + TaskManager, + Arc>>, +)> where - RuntimeApi: ConstructRuntimeApi> + RuntimeApi: ConstructRuntimeApi>> + Send + Sync + 'static, diff --git a/runtime/calamari/Cargo.toml b/runtime/calamari/Cargo.toml index 54760611a..60fa7ef86 100644 --- a/runtime/calamari/Cargo.toml +++ b/runtime/calamari/Cargo.toml @@ -5,71 +5,72 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = 'calamari-runtime' repository = 'https://github.com/Manta-Network/Manta/' -version = '3.0.5' +version = '3.0.6' [dependencies] -codec = { package = "parity-scale-codec", version = "2.1.0", default-features = false, features = ["derive", "max-encoded-len"] } +codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive", "max-encoded-len"] } log = { version = "0.4.14", default-features = false } -hex-literal = { version = '0.3.1', optional = true } +hex-literal = { version = '0.3.3', optional = true } +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } serde = { version = '1.0.119', features = ['derive'], optional = true } smallvec = "1.6.1" # Substrate primitives -sp-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-core = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-io = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-std = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-version = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } +sp-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-core = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-inherents = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-io = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-offchain = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-runtime = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-std = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-version = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } # Substrate frames -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.10" } -frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.10" } -frame-executive = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-system = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.10" } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.11" } +frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.11" } +frame-executive = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-system = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.11" } # Substrate pallets -pallet-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-sudo = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } +pallet-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-balances = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-sudo = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-utility = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, optional = true, branch = "polkadot-v0.9.10" } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } +cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, optional = true, branch = "polkadot-v0.9.11" } +cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +parachain-info = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } # Polkadot dependencies -polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } +polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } # Self dependencies manta-primitives = { path = '../primitives', default-features = false } @@ -78,7 +79,7 @@ manta-primitives = { path = '../primitives', default-features = false } targets = ['x86_64-unknown-linux-gnu'] [build-dependencies] -substrate-wasm-builder = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } +substrate-wasm-builder = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } [features] default = ['std'] diff --git a/runtime/calamari/src/lib.rs b/runtime/calamari/src/lib.rs index 88257bbcc..d40f1f756 100644 --- a/runtime/calamari/src/lib.rs +++ b/runtime/calamari/src/lib.rs @@ -82,7 +82,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("calamari"), impl_name: create_runtime_str!("calamari"), authoring_version: 1, - spec_version: 1, + spec_version: 2, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -225,6 +225,7 @@ impl pallet_balances::Config for Runtime { parameter_types! { /// Relay Chain `TransactionByteFee` / 10 pub const TransactionByteFee: Balance = mMA / 100; + pub const OperationalFeeMultiplier: u8 = 5; } impl pallet_transaction_payment::Config for Runtime { @@ -232,6 +233,7 @@ impl pallet_transaction_payment::Config for Runtime { type TransactionByteFee = TransactionByteFee; type WeightToFee = WeightToFee; type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; + type OperationalFeeMultiplier = OperationalFeeMultiplier; } parameter_types! { @@ -347,6 +349,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( parameter_types! { // One XCM operation is 200_000_000 weight - almost certainly a conservative estimate. pub UnitWeightCost: Weight = 200_000_000; + pub const MaxInstructions: u32 = 100; } match_type! { @@ -374,9 +377,11 @@ impl Config for XcmConfig { type IsTeleporter = NativeAsset; // <- should be enough to allow teleportation of KSM type LocationInverter = LocationInverter; type Barrier = Barrier; - type Weigher = FixedWeightBounds; + type Weigher = FixedWeightBounds; type Trader = UsingComponents, KsmLocation, AccountId, Balances, ()>; - type ResponseHandler = (); // Don't handle responses for now. + type ResponseHandler = PolkadotXcm; // Don't handle responses for now. + type AssetTrap = PolkadotXcm; + type AssetClaims = PolkadotXcm; type SubscriptionService = PolkadotXcm; } @@ -397,6 +402,10 @@ pub type XcmRouter = ( ); impl pallet_xcm::Config for Runtime { + const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; + + type Origin = Origin; + type Call = Call; type Event = Event; type SendXcmOrigin = EnsureXcmOrigin; type XcmRouter = XcmRouter; @@ -405,8 +414,9 @@ impl pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Everything; - type Weigher = FixedWeightBounds; + type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; + type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; } impl cumulus_pallet_xcm::Config for Runtime { @@ -432,6 +442,7 @@ parameter_types! { // Rotate collator's spot each 6 hours. pub const Period: u32 = 6 * HOURS; pub const Offset: u32 = 0; + pub const MaxAuthorities: u32 = 100_000; } impl pallet_session::Config for Runtime { @@ -453,6 +464,7 @@ impl pallet_session::Config for Runtime { impl pallet_aura::Config for Runtime { type AuthorityId = AuraId; type DisabledValidators = (); + type MaxAuthorities = MaxAuthorities; } parameter_types! { @@ -565,7 +577,7 @@ impl_runtime_apis! { } fn authorities() -> Vec { - Aura::authorities() + Aura::authorities().into_inner() } } @@ -585,7 +597,7 @@ impl_runtime_apis! { impl sp_api::Metadata for Runtime { fn metadata() -> OpaqueMetadata { - Runtime::metadata().into() + OpaqueMetadata::new(Runtime::metadata().into()) } } diff --git a/runtime/manta-pc/Cargo.toml b/runtime/manta-pc/Cargo.toml index c5e27ed00..6b068411a 100644 --- a/runtime/manta-pc/Cargo.toml +++ b/runtime/manta-pc/Cargo.toml @@ -5,73 +5,74 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = 'manta-pc-runtime' repository = 'https://github.com/Manta-Network/Manta/' -version = '3.0.5' +version = '3.0.6' [dependencies] smallvec = "1.6.1" -codec = { package = "parity-scale-codec", version = "2.1.0", default-features = false, features = ["derive", "max-encoded-len"] } -hex-literal = { version = '0.3.1', optional = true } +codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive", "max-encoded-len"] } +hex-literal = { version = '0.3.3', optional = true } +scale-info = { version = "1.0.0", default-features = false, features = ["derive"] } serde = { version = '1.0.119', features = ['derive'], optional = true } # Substrate primitives -sp-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-core = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-io = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-std = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-version = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } +sp-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-core = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-inherents = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-io = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-offchain = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-runtime = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-std = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-version = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } # Substrate frames -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.10" } -frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.10" } -frame-executive = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-system = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.10" } +frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.11" } +frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', default-features = false, optional = true, branch = "polkadot-v0.9.11" } +frame-executive = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-system = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.11" } # Substrate pallets -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-proxy = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-sudo = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } +pallet-assets = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-balances = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-proxy = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.11" } +pallet-session = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-sudo = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-utility = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, optional = true, branch = "polkadot-v0.9.10" } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.10" } +cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, optional = true, branch = "polkadot-v0.9.11" } +cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } +parachain-info = { git = 'https://github.com/paritytech/cumulus.git', default-features = false, branch = "polkadot-v0.9.11" } # Polkadot dependencies -polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.10" } +polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } +pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', default-features = false, branch = "release-v0.9.11" } # Self dependencies manta-primitives = { path = '../primitives', default-features = false } @@ -80,7 +81,7 @@ manta-primitives = { path = '../primitives', default-features = false } targets = ['x86_64-unknown-linux-gnu'] [build-dependencies] -substrate-wasm-builder = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.10" } +substrate-wasm-builder = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } [features] default = ['std'] diff --git a/runtime/manta-pc/src/lib.rs b/runtime/manta-pc/src/lib.rs index 397a96cda..745e31378 100644 --- a/runtime/manta-pc/src/lib.rs +++ b/runtime/manta-pc/src/lib.rs @@ -204,6 +204,7 @@ impl pallet_balances::Config for Runtime { parameter_types! { /// Relay Chain `TransactionByteFee` / 10 pub const TransactionByteFee: Balance = mMA; + pub const OperationalFeeMultiplier: u8 = 5; } impl pallet_transaction_payment::Config for Runtime { @@ -211,6 +212,7 @@ impl pallet_transaction_payment::Config for Runtime { type TransactionByteFee = TransactionByteFee; type WeightToFee = WeightToFee; type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; + type OperationalFeeMultiplier = OperationalFeeMultiplier; } parameter_types! { @@ -311,7 +313,17 @@ parameter_types! { /// The type used to represent the kinds of proxying allowed. #[derive( - Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug, MaxEncodedLen, + Copy, + Clone, + Eq, + PartialEq, + Ord, + PartialOrd, + Encode, + Decode, + RuntimeDebug, + MaxEncodedLen, + scale_info::TypeInfo, )] pub enum ProxyType { /// Fully permissioned proxy. Can execute any call on behalf of _proxied_. @@ -338,46 +350,44 @@ impl InstanceFilter for ProxyType { fn filter(&self, c: &Call) -> bool { match self { ProxyType::Any => true, - ProxyType::NonTransfer => !matches!( - c, - Call::Balances(..) - | Call::Assets(pallet_assets::Call::transfer(..)) - | Call::Assets(pallet_assets::Call::transfer_keep_alive(..)) - | Call::Assets(pallet_assets::Call::force_transfer(..)) - | Call::Assets(pallet_assets::Call::approve_transfer(..)) - | Call::Assets(pallet_assets::Call::transfer_approved(..)) - ), + ProxyType::NonTransfer => !matches!(c, Call::Balances { .. } | Call::Assets { .. }), ProxyType::CancelProxy => matches!( c, - Call::Proxy(pallet_proxy::Call::reject_announcement(..)) - | Call::Utility(..) | Call::Multisig(..) + Call::Proxy(pallet_proxy::Call::reject_announcement { .. }) + | Call::Utility { .. } + | Call::Multisig { .. } ), ProxyType::Assets => { - matches!(c, Call::Assets(..) | Call::Utility(..) | Call::Multisig(..)) + matches!( + c, + Call::Assets { .. } | Call::Utility { .. } | Call::Multisig { .. } + ) } ProxyType::AssetOwner => matches!( c, - Call::Assets(pallet_assets::Call::create(..)) - | Call::Assets(pallet_assets::Call::destroy(..)) - | Call::Assets(pallet_assets::Call::transfer_ownership(..)) - | Call::Assets(pallet_assets::Call::set_team(..)) - | Call::Assets(pallet_assets::Call::set_metadata(..)) - | Call::Assets(pallet_assets::Call::clear_metadata(..)) - | Call::Utility(..) | Call::Multisig(..) + Call::Assets(pallet_assets::Call::create { .. }) + | Call::Assets(pallet_assets::Call::destroy { .. }) + | Call::Assets(pallet_assets::Call::transfer_ownership { .. }) + | Call::Assets(pallet_assets::Call::set_team { .. }) + | Call::Assets(pallet_assets::Call::set_metadata { .. }) + | Call::Assets(pallet_assets::Call::clear_metadata { .. }) + | Call::Utility { .. } + | Call::Multisig { .. } ), ProxyType::AssetManager => matches!( c, - Call::Assets(pallet_assets::Call::mint(..)) - | Call::Assets(pallet_assets::Call::burn(..)) - | Call::Assets(pallet_assets::Call::freeze(..)) - | Call::Assets(pallet_assets::Call::thaw(..)) - | Call::Assets(pallet_assets::Call::freeze_asset(..)) - | Call::Assets(pallet_assets::Call::thaw_asset(..)) - | Call::Utility(..) | Call::Multisig(..) + Call::Assets(pallet_assets::Call::mint { .. }) + | Call::Assets(pallet_assets::Call::burn { .. }) + | Call::Assets(pallet_assets::Call::freeze { .. }) + | Call::Assets(pallet_assets::Call::thaw { .. }) + | Call::Assets(pallet_assets::Call::freeze_asset { .. }) + | Call::Assets(pallet_assets::Call::thaw_asset { .. }) + | Call::Utility { .. } + | Call::Multisig { .. } ), ProxyType::Collator => matches!( c, - Call::CollatorSelection(..) | Call::Utility(..) | Call::Multisig(..) + Call::CollatorSelection { .. } | Call::Utility { .. } | Call::Multisig { .. } ), } } @@ -488,6 +498,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( parameter_types! { // One XCM operation is 1_000_000 weight - almost certainly a conservative estimate. pub UnitWeightCost: Weight = 1_000_000; + pub const MaxInstructions: u32 = 100; } match_type! { @@ -515,9 +526,11 @@ impl Config for XcmConfig { type IsTeleporter = NativeAsset; // <- should be enough to allow teleportation of DOT type LocationInverter = LocationInverter; type Barrier = Barrier; - type Weigher = FixedWeightBounds; + type Weigher = FixedWeightBounds; type Trader = UsingComponents, DotLocation, AccountId, Balances, ()>; - type ResponseHandler = (); // Don't handle responses for now. + type ResponseHandler = PolkadotXcm; + type AssetTrap = PolkadotXcm; + type AssetClaims = PolkadotXcm; type SubscriptionService = PolkadotXcm; } @@ -538,6 +551,10 @@ pub type XcmRouter = ( ); impl pallet_xcm::Config for Runtime { + const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; + + type Origin = Origin; + type Call = Call; type Event = Event; type SendXcmOrigin = EnsureXcmOrigin; type XcmRouter = XcmRouter; @@ -546,8 +563,9 @@ impl pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Everything; - type Weigher = FixedWeightBounds; + type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; + type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; } impl cumulus_pallet_xcm::Config for Runtime { @@ -572,6 +590,7 @@ parameter_types! { pub const DisabledValidatorsThreshold: Perbill = Perbill::from_percent(33); pub const Period: u32 = 6 * HOURS; pub const Offset: u32 = 0; + pub const MaxAuthorities: u32 = 100_000; } impl pallet_session::Config for Runtime { @@ -593,6 +612,7 @@ impl pallet_session::Config for Runtime { impl pallet_aura::Config for Runtime { type AuthorityId = AuraId; type DisabledValidators = (); + type MaxAuthorities = MaxAuthorities; } parameter_types! { @@ -708,7 +728,7 @@ impl_runtime_apis! { } fn authorities() -> Vec { - Aura::authorities() + Aura::authorities().into_inner() } } @@ -728,7 +748,7 @@ impl_runtime_apis! { impl sp_api::Metadata for Runtime { fn metadata() -> OpaqueMetadata { - Runtime::metadata().into() + OpaqueMetadata::new(Runtime::metadata().into()) } } diff --git a/runtime/primitives/Cargo.toml b/runtime/primitives/Cargo.toml index 5a5e194d9..5336984fa 100644 --- a/runtime/primitives/Cargo.toml +++ b/runtime/primitives/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ['Manta Network'] name = "manta-primitives" -version = "3.0.1" +version = "3.0.6" edition = "2018" homepage = 'https://manta.network' license = 'GPL-3.0' @@ -11,18 +11,18 @@ repository = 'https://github.com/Manta-Network/Manta/' targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = "parity-scale-codec", version = "2.1.0", default-features = false } +codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } smallvec = "1.6.1" # Substrate primitives -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-core = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-std = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-io = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } +sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-core = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-std = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-io = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } +sp-runtime = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } # Substrate frames -frame-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.10" } +frame-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false, branch = "polkadot-v0.9.11" } [features] default = ["std"] From bf631ad2258eb5aba947754f073a908c8fd47385 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Mon, 11 Oct 2021 21:40:23 +0800 Subject: [PATCH 2/5] Fix CI --- node/src/command.rs | 2 +- runtime/calamari/src/lib.rs | 10 +++++++--- runtime/manta-pc/src/lib.rs | 10 +++++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index 2eb3cd899..4fe60a132 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -340,7 +340,7 @@ pub fn run() -> Result<()> { // manager to do `async_run`. let registry = config.prometheus_config.as_ref().map(|cfg| &cfg.registry); let task_manager = - sc_service::TaskManager::new(config.task_executor.clone(), registry) + sc_service::TaskManager::new(config.tokio_handle.clone(), registry) .map_err(|e| sc_cli::Error::Service(sc_service::Error::Prometheus(e)))?; cfg_if::cfg_if! { diff --git a/runtime/calamari/src/lib.rs b/runtime/calamari/src/lib.rs index d40f1f756..7ee76669f 100644 --- a/runtime/calamari/src/lib.rs +++ b/runtime/calamari/src/lib.rs @@ -679,9 +679,13 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> Result<(Weight, Weight), sp_runtime::RuntimeString> { - let weight = Executive::try_runtime_upgrade()?; - Ok((weight, RuntimeBlockWeights::get().max_block)) + fn on_runtime_upgrade() -> (Weight, Weight) { + let weight = Executive::try_runtime_upgrade().unwrap(); + (weight, RuntimeBlockWeights::get().max_block) + } + + fn execute_block_no_check(block: Block) -> Weight { + Executive::execute_block_no_check(block) } } diff --git a/runtime/manta-pc/src/lib.rs b/runtime/manta-pc/src/lib.rs index 745e31378..c8cd630f3 100644 --- a/runtime/manta-pc/src/lib.rs +++ b/runtime/manta-pc/src/lib.rs @@ -830,9 +830,13 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> Result<(Weight, Weight), sp_runtime::RuntimeString> { - let weight = Executive::try_runtime_upgrade()?; - Ok((weight, RuntimeBlockWeights::get().max_block)) + fn on_runtime_upgrade() -> (Weight, Weight) { + let weight = Executive::try_runtime_upgrade().unwrap(); + (weight, RuntimeBlockWeights::get().max_block) + } + + fn execute_block_no_check(block: Block) -> Weight { + Executive::execute_block_no_check(block) } } From 996e2cbf2bfee2ee9a1dd7db5c75c2f203af4828 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Tue, 12 Oct 2021 12:25:32 +0800 Subject: [PATCH 3/5] Fix the issue about failing to deploy manta-pc-launch --- .github/resources/config-for-integration-test.json | 1 + .github/resources/config-for-runtime-upgrade-test.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/resources/config-for-integration-test.json b/.github/resources/config-for-integration-test.json index 63084418f..7fb70bb66 100644 --- a/.github/resources/config-for-integration-test.json +++ b/.github/resources/config-for-integration-test.json @@ -81,6 +81,7 @@ ] } ], + "simpleParachains": [], "hrmpChannels": [], "types": {}, "finalization": false diff --git a/.github/resources/config-for-runtime-upgrade-test.json b/.github/resources/config-for-runtime-upgrade-test.json index 442f57614..0387c34bb 100644 --- a/.github/resources/config-for-runtime-upgrade-test.json +++ b/.github/resources/config-for-runtime-upgrade-test.json @@ -101,6 +101,7 @@ ] } ], + "simpleParachains": [], "hrmpChannels": [], "types": {}, "finalization": false From c4479b185adc859bbfdea9908dbc648cea943ed2 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Thu, 14 Oct 2021 13:30:51 +0800 Subject: [PATCH 4/5] Improve rpc service, remove two subcommands --- Cargo.lock | 2 +- node/Cargo.toml | 10 ++--- node/src/calamari-pc.rs | 4 +- node/src/cli.rs | 10 +---- node/src/command.rs | 32 +--------------- node/src/lib.rs | 1 + node/src/manta-pc.rs | 4 +- node/src/rpc.rs | 62 ++++++++++++++++++++++++++++++ node/src/service.rs | 72 +++++++++++++++++------------------ runtime/primitives/src/lib.rs | 1 + 10 files changed, 112 insertions(+), 86 deletions(-) create mode 100644 node/src/rpc.rs diff --git a/Cargo.lock b/Cargo.lock index 4fc580045..72cb1e18d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -936,7 +936,6 @@ dependencies = [ "calamari-runtime", "cfg-if 1.0.0", "cumulus-client-cli", - "cumulus-client-collator", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", "cumulus-client-consensus-relay-chain", @@ -973,6 +972,7 @@ dependencies = [ "sc-telemetry", "sc-tracing", "sc-transaction-pool", + "sc-transaction-pool-api", "serde", "sp-api", "sp-block-builder", diff --git a/node/Cargo.toml b/node/Cargo.toml index 87d00149c..0b39fa39f 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -33,16 +33,16 @@ hex-literal = "0.3.3" async-trait = "0.1.42" futures = "0.3.14" -# RPC related dependencies -jsonrpc-core = "18.0.0" - # Substrate frames frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } frame-benchmarking-cli = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11", optional = true } -# Substrate pallets rpc +# RPC related dependencies +jsonrpc-core = "18.0.0" +frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" } pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" } # Substrate client dependencies sc-basic-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } @@ -75,7 +75,6 @@ sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = "po sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } sp-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } -substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.11" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" } # Cumulus dependencies @@ -83,7 +82,6 @@ cumulus-client-cli = { git = 'https://github.com/paritytech/cumulus.git', branch cumulus-client-consensus-common = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } cumulus-client-consensus-aura = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } cumulus-client-consensus-relay-chain = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } -cumulus-client-collator = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } cumulus-client-network = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus.git', branch = "polkadot-v0.9.11" } diff --git a/node/src/calamari-pc.rs b/node/src/calamari-pc.rs index 19f3d7754..b8ce41dd3 100644 --- a/node/src/calamari-pc.rs +++ b/node/src/calamari-pc.rs @@ -2,10 +2,10 @@ #![warn(missing_docs)] mod chain_specs; -#[macro_use] -mod service; mod cli; mod command; +pub mod rpc; +mod service; fn main() -> sc_cli::Result<()> { command::run() diff --git a/node/src/cli.rs b/node/src/cli.rs index c2b6a88f8..999ab0c76 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -37,14 +37,6 @@ pub enum Subcommand { /// The custom benchmark subcommmand benchmarking runtime pallets. #[structopt(name = "benchmark", about = "Benchmark runtime pallets.")] Benchmark(frame_benchmarking_cli::BenchmarkCmd), - - /// Try some command against runtime state. - #[cfg(feature = "try-runtime")] - TryRuntime(try_runtime_cli::TryRuntimeCmd), - - /// Try some command against runtime state. Note: `try-runtime` feature must be enabled. - #[cfg(not(feature = "try-runtime"))] - TryRuntime, } /// Command for exporting the genesis state of the parachain @@ -55,6 +47,8 @@ pub struct ExportGenesisStateCommand { pub output: Option, /// Id of the parachain this state is for. + /// + /// Default: 2084 #[structopt(long)] pub parachain_id: Option, diff --git a/node/src/command.rs b/node/src/command.rs index 4fe60a132..35c6edfce 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -332,37 +332,6 @@ pub fn run() -> Result<()> { .into()) } } - #[cfg(feature = "try-runtime")] - Some(Subcommand::TryRuntime(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - // we don't need any of the components of new_partial, just a runtime, or a task - // manager to do `async_run`. - let registry = config.prometheus_config.as_ref().map(|cfg| &cfg.registry); - let task_manager = - sc_service::TaskManager::new(config.tokio_handle.clone(), registry) - .map_err(|e| sc_cli::Error::Service(sc_service::Error::Prometheus(e)))?; - - cfg_if::cfg_if! { - if #[cfg(feature = "manta-pc")] { - Ok(( - cmd.run::(config), - task_manager, - )) - } else { - #[cfg(feature = "calamari")] - Ok(( - cmd.run::(config), - task_manager, - )) - } - } - }) - } - #[cfg(not(feature = "try-runtime"))] - Some(Subcommand::TryRuntime) => Err("Try-runtime wasn't enabled when building the node. \ - You can enable it with `--features try-runtime`." - .into()), None => { let runner = cli.create_runner(&cli.run.normalize())?; @@ -402,6 +371,7 @@ pub fn run() -> Result<()> { "no" } ); + cfg_if::cfg_if! { if #[cfg(feature = "manta-pc")] { crate::service::start_parachain_node::< diff --git a/node/src/lib.rs b/node/src/lib.rs index 3bfc47c05..6fcb868b0 100644 --- a/node/src/lib.rs +++ b/node/src/lib.rs @@ -1,2 +1,3 @@ pub mod chain_specs; +pub mod rpc; pub mod service; diff --git a/node/src/manta-pc.rs b/node/src/manta-pc.rs index 8719646c5..47ce0d3f3 100644 --- a/node/src/manta-pc.rs +++ b/node/src/manta-pc.rs @@ -2,10 +2,10 @@ #![warn(missing_docs)] mod chain_specs; -#[macro_use] -mod service; mod cli; mod command; +mod rpc; +mod service; fn main() -> sc_cli::Result<()> { command::run() diff --git a/node/src/rpc.rs b/node/src/rpc.rs new file mode 100644 index 000000000..f72a1b5b0 --- /dev/null +++ b/node/src/rpc.rs @@ -0,0 +1,62 @@ +//! Parachain-specific RPCs implementation. + +use std::sync::Arc; + +use sc_client_api::AuxStore; +pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; +use sc_transaction_pool_api::TransactionPool; +use sp_api::ProvideRuntimeApi; +use sp_block_builder::BlockBuilder; +use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; + +use manta_primitives::{AccountId, Balance, Block, Index as Nonce}; + +/// A type representing all RPC extensions. +pub type RpcExtension = jsonrpc_core::IoHandler; + +/// Full client dependencies +pub struct FullDeps { + /// The client instance to use. + pub client: Arc, + /// Transaction pool instance. + pub pool: Arc

, + /// Whether to deny unsafe calls + pub deny_unsafe: DenyUnsafe, +} + +/// Instantiate all RPC extensions. +pub fn create_full(deps: FullDeps) -> RpcExtension +where + C: ProvideRuntimeApi + + HeaderBackend + + AuxStore + + HeaderMetadata + + Send + + Sync + + 'static, + C::Api: frame_rpc_system::AccountNonceApi, + C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, + C::Api: BlockBuilder, + P: TransactionPool + Sync + Send + 'static, +{ + use frame_rpc_system::{FullSystem, SystemApi}; + use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi}; + + let mut io = jsonrpc_core::IoHandler::default(); + let FullDeps { + client, + pool, + deny_unsafe, + } = deps; + + io.extend_with(SystemApi::to_delegate(FullSystem::new( + client.clone(), + pool, + deny_unsafe, + ))); + io.extend_with(TransactionPaymentApi::to_delegate(TransactionPayment::new( + client, + ))); + + io +} diff --git a/node/src/service.rs b/node/src/service.rs index 0a2c6a8e3..27f837710 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -4,7 +4,6 @@ use cumulus_client_consensus_aura::{ use cumulus_client_consensus_common::{ ParachainBlockImport, ParachainCandidate, ParachainConsensus, }; -use cumulus_client_consensus_relay_chain::Verifier as RelayChainVerifier; use cumulus_client_network::build_block_announce_validator; use cumulus_client_service::{ prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, @@ -13,6 +12,12 @@ use cumulus_primitives_core::{ relay_chain::v1::{Hash as PHash, PersistedValidationData}, ParaId, }; +use polkadot_service::NativeExecutionDispatch; + +use crate::rpc; +pub use manta_primitives::{AccountId, Balance, Block, Hash, Header, Index as Nonce}; + +use cumulus_client_consensus_relay_chain::Verifier as RelayChainVerifier; use futures::lock::Mutex; use sc_client_api::ExecutorProvider; use sc_consensus::{ @@ -34,11 +39,6 @@ use sp_runtime::{ use std::sync::Arc; use substrate_prometheus_endpoint::Registry; -type BlockNumber = u32; -type Header = sp_runtime::generic::Header; -pub type Block = sp_runtime::generic::Block; -type Hash = sp_core::H256; - // Native Manta Parachain executor instance. #[cfg(feature = "manta-pc")] pub struct MantaPCRuntimeExecutor; @@ -109,7 +109,7 @@ where > + sp_offchain::OffchainWorkerApi + sp_block_builder::BlockBuilder, sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, - Executor: sc_executor::NativeExecutionDispatch + 'static, + Executor: NativeExecutionDispatch + 'static, BIQ: FnOnce( Arc>>, &Configuration, @@ -213,29 +213,27 @@ where > + sp_offchain::OffchainWorkerApi + sp_block_builder::BlockBuilder + cumulus_primitives_core::CollectCollationInfo - + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi< - Block, - manta_primitives::Balance, - >, + + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi + + frame_rpc_system::AccountNonceApi, sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, Executor: sc_executor::NativeExecutionDispatch + 'static, RB: Fn( - Arc>>, + Arc>, ) -> Result, sc_service::Error> + Send + 'static, BIQ: FnOnce( - Arc>>, - &Configuration, - Option, - &TaskManager, - ) -> Result< - sc_consensus::DefaultImportQueue< - Block, - TFullClient>, - >, - sc_service::Error, - >, + Arc>>, + &Configuration, + Option, + &TaskManager, + ) -> Result< + sc_consensus::DefaultImportQueue< + Block, + TFullClient>, + >, + sc_service::Error, + > + 'static, BIC: FnOnce( Arc>>, Option<&Registry>, @@ -296,16 +294,20 @@ where warp_sync: None, })?; - let rpc_client = client.clone(); - let rpc_extensions_builder = Box::new(move |_, _| { - use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi}; + let rpc_extensions_builder = { + let client = client.clone(); + let transaction_pool = transaction_pool.clone(); - let mut io = jsonrpc_core::IoHandler::default(); - io.extend_with(TransactionPaymentApi::to_delegate(TransactionPayment::new( - rpc_client.clone(), - ))); - Ok(io) - }); + Box::new(move |deny_unsafe, _| { + let deps = rpc::FullDeps { + client: client.clone(), + pool: transaction_pool.clone(), + deny_unsafe, + }; + + Ok(rpc::create_full(deps)) + }) + }; sc_service::spawn_tasks(sc_service::SpawnTasksParams { on_demand: None, @@ -586,10 +588,8 @@ where + sp_block_builder::BlockBuilder + cumulus_primitives_core::CollectCollationInfo + sp_consensus_aura::AuraApi - + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi< - Block, - manta_primitives::Balance, - >, + + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi + + frame_rpc_system::AccountNonceApi, sc_client_api::StateBackendFor, Block>: sp_api::StateBackend, Executor: sc_executor::NativeExecutionDispatch + 'static, { diff --git a/runtime/primitives/src/lib.rs b/runtime/primitives/src/lib.rs index b752c5f6a..e734b631d 100644 --- a/runtime/primitives/src/lib.rs +++ b/runtime/primitives/src/lib.rs @@ -33,6 +33,7 @@ pub type Hash = sp_core::H256; /// Block header type as expected by this runtime. pub type Header = sp_runtime::generic::Header; +pub type Block = sp_runtime::generic::Block; /// Digest item type. pub type DigestItem = sp_runtime::generic::DigestItem; From 6366537b3f463ba99d4832b539acc350f49672bb Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Fri, 15 Oct 2021 11:36:24 +0800 Subject: [PATCH 5/5] Update changelog, and add try-runtime command param back --- CHANGELOG.md | 16 ++++++++++++++++ node/src/cli.rs | 8 ++++++++ node/src/command.rs | 31 +++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea779ccc8..4242907d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,22 @@ ### Bug fixes +## v3.0.6 + +### Breaking changes +- [\#211](https://github.com/Manta-Network/Manta/pull/211) Update Parity dependencies to `v0.9.11`. +- [Support Metadata V14](https://github.com/paritytech/cumulus/pull/623) + +### Features +- [Support XCM V2](https://github.com/paritytech/polkadot/pull/3629) + +### Improvements +- [Follow Rework Transaction Priority calculation](https://github.com/paritytech/substrate/pull/9834) +- Refactor Node Rpc Service. +- Remove some unused dependencies. + +### Bug fixes + ## v3.0.5 ### Breaking changes diff --git a/node/src/cli.rs b/node/src/cli.rs index 999ab0c76..2a487d205 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -37,6 +37,14 @@ pub enum Subcommand { /// The custom benchmark subcommmand benchmarking runtime pallets. #[structopt(name = "benchmark", about = "Benchmark runtime pallets.")] Benchmark(frame_benchmarking_cli::BenchmarkCmd), + + /// Try some command against runtime state. + #[cfg(feature = "try-runtime")] + TryRuntime(try_runtime_cli::TryRuntimeCmd), + + /// Try some command against runtime state. Note: `try-runtime` feature must be enabled. + #[cfg(not(feature = "try-runtime"))] + TryRuntime, } /// Command for exporting the genesis state of the parachain diff --git a/node/src/command.rs b/node/src/command.rs index 35c6edfce..49188c300 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -332,6 +332,37 @@ pub fn run() -> Result<()> { .into()) } } + #[cfg(feature = "try-runtime")] + Some(Subcommand::TryRuntime(cmd)) => { + let runner = cli.create_runner(cmd)?; + runner.async_run(|config| { + // we don't need any of the components of new_partial, just a runtime, or a task + // manager to do `async_run`. + let registry = config.prometheus_config.as_ref().map(|cfg| &cfg.registry); + let task_manager = + sc_service::TaskManager::new(config.tokio_handle.clone(), registry) + .map_err(|e| sc_cli::Error::Service(sc_service::Error::Prometheus(e)))?; + + cfg_if::cfg_if! { + if #[cfg(feature = "manta-pc")] { + Ok(( + cmd.run::(config), + task_manager, + )) + } else { + #[cfg(feature = "calamari")] + Ok(( + cmd.run::(config), + task_manager, + )) + } + } + }) + } + #[cfg(not(feature = "try-runtime"))] + Some(Subcommand::TryRuntime) => Err("Try-runtime wasn't enabled when building the node. \ + You can enable it with `--features try-runtime`." + .into()), None => { let runner = cli.create_runner(&cli.run.normalize())?;