From c3cefb57cb15862303baa6e9b26b4eff39d917cb Mon Sep 17 00:00:00 2001 From: Jegor Sidorenko Date: Wed, 4 Jan 2023 17:52:22 +0200 Subject: [PATCH 1/3] Add nfts pallet to westmint config --- Cargo.lock | 396 ++++++++-------- .../runtimes/assets/westmint/Cargo.toml | 4 + .../runtimes/assets/westmint/src/lib.rs | 57 ++- .../assets/westmint/src/weights/mod.rs | 1 + .../westmint/src/weights/pallet_nfts.rs | 426 ++++++++++++++++++ 5 files changed, 694 insertions(+), 190 deletions(-) create mode 100644 parachains/runtimes/assets/westmint/src/weights/pallet_nfts.rs diff --git a/Cargo.lock b/Cargo.lock index efe067888bb..5cdc98bc631 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -445,7 +445,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "beefy-gadget", "futures", @@ -498,7 +498,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "sp-api", "sp-beefy", @@ -2665,9 +2665,9 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b3ab37dc79652c9d85f1f7b6070d77d321d2467f5fe7b00d6b7a86c57b092ae" +checksum = "e75d4cd21b95383444831539909fbb14b9dc3fdceb2a6f5d36577329a1f55ccb" dependencies = [ "enumflags2_derive", ] @@ -2939,7 +2939,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", ] @@ -2962,7 +2962,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -2985,7 +2985,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -3032,7 +3032,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3043,7 +3043,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3060,7 +3060,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -3089,7 +3089,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "log", @@ -3105,7 +3105,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "bitflags", "frame-metadata", @@ -3137,7 +3137,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "Inflector", "cfg-expr", @@ -3151,7 +3151,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -3163,7 +3163,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro2", "quote", @@ -3173,7 +3173,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "log", @@ -3191,7 +3191,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -3206,7 +3206,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "sp-api", @@ -3215,7 +3215,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "parity-scale-codec", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "log", @@ -4972,7 +4972,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "anyhow", "jsonrpsee", @@ -5423,7 +5423,7 @@ checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64" [[package]] name = "pallet-alliance" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "frame-benchmarking", @@ -5444,7 +5444,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5462,7 +5462,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5477,7 +5477,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -5493,7 +5493,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -5509,7 +5509,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -5524,7 +5524,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5548,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5568,7 +5568,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5583,7 +5583,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -5599,7 +5599,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "beefy-merkle-tree", @@ -5622,7 +5622,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5640,7 +5640,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5684,7 +5684,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5701,7 +5701,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "bitflags", "frame-benchmarking", @@ -5730,7 +5730,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "bitflags", "parity-scale-codec", @@ -5742,7 +5742,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro2", "quote", @@ -5752,7 +5752,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5769,7 +5769,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5787,7 +5787,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5810,7 +5810,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5823,7 +5823,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5841,7 +5841,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5859,7 +5859,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5882,7 +5882,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5898,7 +5898,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5918,7 +5918,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5935,7 +5935,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5952,7 +5952,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5969,7 +5969,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -5982,10 +5982,27 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-nfts" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" +dependencies = [ + "enumflags2", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6001,7 +6018,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -6018,7 +6035,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6038,7 +6055,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "sp-api", @@ -6048,7 +6065,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -6065,7 +6082,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6088,7 +6105,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6105,7 +6122,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6120,7 +6137,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -6134,7 +6151,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6152,7 +6169,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6167,7 +6184,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6186,7 +6203,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6203,7 +6220,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -6224,7 +6241,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6240,7 +6257,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -6254,7 +6271,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6277,7 +6294,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6288,7 +6305,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "log", "sp-arithmetic", @@ -6297,7 +6314,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6314,7 +6331,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -6343,7 +6360,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6361,7 +6378,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6380,7 +6397,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-support", "frame-system", @@ -6396,7 +6413,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6412,7 +6429,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6424,7 +6441,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6441,7 +6458,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6456,7 +6473,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6472,7 +6489,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -6487,7 +6504,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-benchmarking", "frame-support", @@ -9287,7 +9304,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "log", "sp-core", @@ -9298,7 +9315,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -9325,7 +9342,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "futures-timer", @@ -9348,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9364,7 +9381,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9379,7 +9396,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9390,7 +9407,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -9430,7 +9447,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "fnv", "futures", @@ -9456,7 +9473,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "hash-db", "kvdb", @@ -9481,7 +9498,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -9506,7 +9523,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -9535,7 +9552,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "fork-tree", @@ -9573,7 +9590,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "jsonrpsee", @@ -9595,7 +9612,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9608,7 +9625,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -9631,7 +9648,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "lru", "parity-scale-codec", @@ -9655,7 +9672,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -9668,7 +9685,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "log", "sc-allocator", @@ -9681,7 +9698,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "cfg-if", "libc", @@ -9698,7 +9715,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "ahash", "array-bytes 4.2.0", @@ -9738,7 +9755,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "finality-grandpa", "futures", @@ -9758,7 +9775,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "ansi_term", "futures", @@ -9773,7 +9790,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -9788,7 +9805,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -9830,7 +9847,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "cid", "futures", @@ -9849,7 +9866,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "bitflags", @@ -9875,7 +9892,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "ahash", "futures", @@ -9893,7 +9910,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "futures", @@ -9914,7 +9931,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -9946,7 +9963,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "futures", @@ -9965,7 +9982,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -9995,7 +10012,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "libp2p", @@ -10008,7 +10025,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10017,7 +10034,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "jsonrpsee", @@ -10046,7 +10063,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10065,7 +10082,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "http", "jsonrpsee", @@ -10080,7 +10097,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "futures", @@ -10106,7 +10123,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "directories", @@ -10171,7 +10188,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "log", "parity-scale-codec", @@ -10182,7 +10199,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10201,7 +10218,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "libc", @@ -10220,7 +10237,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "chrono", "futures", @@ -10239,7 +10256,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "ansi_term", "atty", @@ -10270,7 +10287,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10281,7 +10298,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -10307,7 +10324,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -10321,7 +10338,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "backtrace", "futures", @@ -10815,7 +10832,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "hash-db", "log", @@ -10833,7 +10850,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "blake2", "proc-macro-crate", @@ -10845,7 +10862,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -10858,7 +10875,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "integer-sqrt", "num-traits", @@ -10872,7 +10889,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -10885,7 +10902,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "parity-scale-codec", @@ -10897,7 +10914,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -10914,7 +10931,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "sp-api", @@ -10926,7 +10943,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "log", @@ -10944,7 +10961,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -10962,7 +10979,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "parity-scale-codec", @@ -10980,7 +10997,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "merlin", @@ -11003,7 +11020,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -11015,7 +11032,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -11028,7 +11045,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "base58", @@ -11070,7 +11087,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "blake2", "byteorder", @@ -11084,7 +11101,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro2", "quote", @@ -11095,7 +11112,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11104,7 +11121,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro2", "quote", @@ -11114,7 +11131,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "environmental", "parity-scale-codec", @@ -11125,7 +11142,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "finality-grandpa", "log", @@ -11143,7 +11160,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11157,7 +11174,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "bytes", "ed25519", @@ -11182,7 +11199,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "lazy_static", "sp-core", @@ -11193,7 +11210,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures", @@ -11210,7 +11227,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "thiserror", "zstd", @@ -11219,7 +11236,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11237,7 +11254,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -11251,7 +11268,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "sp-api", "sp-core", @@ -11261,7 +11278,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "backtrace", "lazy_static", @@ -11271,7 +11288,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "rustc-hash", "serde", @@ -11281,7 +11298,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "either", "hash256-std-hasher", @@ -11303,7 +11320,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11321,7 +11338,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "Inflector", "proc-macro-crate", @@ -11333,7 +11350,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "serde", "serde_json", @@ -11342,7 +11359,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -11356,7 +11373,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -11368,7 +11385,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "hash-db", "log", @@ -11388,12 +11405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11406,7 +11423,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "futures-timer", @@ -11421,7 +11438,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "sp-std", @@ -11433,7 +11450,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "sp-api", "sp-runtime", @@ -11442,7 +11459,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "log", @@ -11458,7 +11475,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "ahash", "hash-db", @@ -11481,7 +11498,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11498,7 +11515,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11509,7 +11526,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "impl-trait-for-tuples", "log", @@ -11522,7 +11539,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "parity-scale-codec", "scale-info", @@ -11824,7 +11841,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "platforms", ] @@ -11832,7 +11849,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11851,7 +11868,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "hyper", "log", @@ -11863,7 +11880,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "async-trait", "jsonrpsee", @@ -11876,7 +11893,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "jsonrpsee", "log", @@ -11895,7 +11912,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -11921,7 +11938,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11931,7 +11948,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11942,7 +11959,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "ansi_term", "build-helper", @@ -12520,7 +12537,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbd8f1b56fd8ab9af0d9317432cc735264c89d70" +source = "git+https://github.com/paritytech/substrate?branch=master#d1fe09c801b3d7312f01b04f3204b1d0ec76db87" dependencies = [ "clap 4.0.32", "frame-remote-externalities", @@ -13312,6 +13329,7 @@ dependencies = [ "pallet-balances", "pallet-collator-selection", "pallet-multisig", + "pallet-nfts", "pallet-proxy", "pallet-session", "pallet-timestamp", diff --git a/parachains/runtimes/assets/westmint/Cargo.toml b/parachains/runtimes/assets/westmint/Cargo.toml index 85d1fb7939a..9bfcba6b237 100644 --- a/parachains/runtimes/assets/westmint/Cargo.toml +++ b/parachains/runtimes/assets/westmint/Cargo.toml @@ -26,6 +26,7 @@ pallet-aura = { git = "https://github.com/paritytech/substrate", default-feature pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +pallet-nfts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } @@ -88,6 +89,7 @@ runtime-benchmarks = [ "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", + "pallet-nfts/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", @@ -116,6 +118,7 @@ try-runtime = [ "pallet-balances/try-runtime", "pallet-collator-selection/try-runtime", "pallet-multisig/try-runtime", + "pallet-nfts/try-runtime", "pallet-proxy/try-runtime", "pallet-session/try-runtime", "pallet-timestamp/try-runtime", @@ -139,6 +142,7 @@ std = [ "pallet-authorship/std", "pallet-balances/std", "pallet-multisig/std", + "pallet-nfts/std", "pallet-proxy/std", "pallet-session/std", "pallet-timestamp/std", diff --git a/parachains/runtimes/assets/westmint/src/lib.rs b/parachains/runtimes/assets/westmint/src/lib.rs index 97e5d95736f..bac0454b7cd 100644 --- a/parachains/runtimes/assets/westmint/src/lib.rs +++ b/parachains/runtimes/assets/westmint/src/lib.rs @@ -60,10 +60,11 @@ use frame_system::{ pub use parachains_common as common; use parachains_common::{ impls::{AssetsToBlockAuthor, DealWithFees}, - opaque, AccountId, AssetId, AuraId, Balance, BlockNumber, Hash, Header, Index, Signature, + opaque, AccountId, AssetId, AuraId, Balance, BlockNumber, DAYS, Hash, Header, Index, Signature, AVERAGE_ON_INITIALIZE_RATIO, HOURS, MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO, SLOT_DURATION, }; use xcm_config::{XcmConfig, XcmOriginToTransactDispatchOrigin}; +use pallet_nfts::PalletFeatures; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; @@ -315,6 +316,7 @@ impl InstanceFilter for ProxyType { c, RuntimeCall::Balances { .. } | RuntimeCall::Assets { .. } | + RuntimeCall::Nfts { .. } | RuntimeCall::Uniques { .. } ), ProxyType::CancelProxy => matches!( @@ -329,6 +331,7 @@ impl InstanceFilter for ProxyType { RuntimeCall::Assets { .. } | RuntimeCall::Utility { .. } | RuntimeCall::Multisig { .. } | + RuntimeCall::Nfts { .. } | RuntimeCall::Uniques { .. } ) }, @@ -343,6 +346,17 @@ impl InstanceFilter for ProxyType { RuntimeCall::Assets(pallet_assets::Call::set_team { .. }) | RuntimeCall::Assets(pallet_assets::Call::set_metadata { .. }) | RuntimeCall::Assets(pallet_assets::Call::clear_metadata { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::create { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::destroy { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::transfer_ownership { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::set_team { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::lock_item_properties { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::set_metadata { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::set_collection_metadata { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::clear_metadata { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::clear_collection_metadata { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::set_collection_max_supply { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::update_mint_settings { .. }) | RuntimeCall::Uniques(pallet_uniques::Call::create { .. }) | RuntimeCall::Uniques(pallet_uniques::Call::destroy { .. }) | RuntimeCall::Uniques(pallet_uniques::Call::transfer_ownership { .. }) | @@ -365,6 +379,11 @@ impl InstanceFilter for ProxyType { RuntimeCall::Assets(pallet_assets::Call::thaw { .. }) | RuntimeCall::Assets(pallet_assets::Call::freeze_asset { .. }) | RuntimeCall::Assets(pallet_assets::Call::thaw_asset { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::force_mint { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::burn { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::lock_item_transfer { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::unlock_item_transfer { .. }) | + RuntimeCall::Nfts(pallet_nfts::Call::lock_collection { .. }) | RuntimeCall::Uniques(pallet_uniques::Call::mint { .. }) | RuntimeCall::Uniques(pallet_uniques::Call::burn { .. }) | RuntimeCall::Uniques(pallet_uniques::Call::freeze { .. }) | @@ -541,6 +560,40 @@ impl pallet_uniques::Config for Runtime { type Locker = (); } +parameter_types! { + pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); + pub const NftsApprovalsLimit: u32 = 20; + pub const NftsItemAttributesApprovalsLimit: u32 = 30; + pub const NftsMaxTips: u32 = 10; + pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; +} + +impl pallet_nfts::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type CollectionId = u32; + type ItemId = u32; + type Currency = Balances; + type CreateOrigin = AsEnsureOriginWithArg>; + type ForceOrigin = AssetsForceOrigin; + type Locker = (); + type CollectionDeposit = CollectionDeposit; + type ItemDeposit = ItemDeposit; + type MetadataDepositBase = UniquesMetadataDepositBase; + type AttributeDepositBase = AttributeDepositBase; + type DepositPerByte = DepositPerByte; + type StringLimit = UniquesStringLimit; + type KeyLimit = KeyLimit; + type ValueLimit = ValueLimit; + type ApprovalsLimit = NftsApprovalsLimit; + type ItemAttributesApprovalsLimit = NftsItemAttributesApprovalsLimit; + type MaxTips = NftsMaxTips; + type MaxDeadlineDuration = NftsMaxDeadlineDuration; + type Features = NftsPalletFeatures; + type WeightInfo = weights::pallet_nfts::WeightInfo; + #[cfg(feature = "runtime-benchmarks")] + type Helper = (); +} + // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub enum Runtime where @@ -583,6 +636,7 @@ construct_runtime!( // The main stage. Assets: pallet_assets::{Pallet, Call, Storage, Event} = 50, Uniques: pallet_uniques::{Pallet, Call, Storage, Event} = 51, + Nfts: pallet_nfts::{Pallet, Call, Storage, Event} = 52, } ); @@ -637,6 +691,7 @@ mod benches { [pallet_assets, Assets] [pallet_balances, Balances] [pallet_multisig, Multisig] + [pallet_nfts, Nfts] [pallet_proxy, Proxy] [pallet_session, SessionBench::] [pallet_uniques, Uniques] diff --git a/parachains/runtimes/assets/westmint/src/weights/mod.rs b/parachains/runtimes/assets/westmint/src/weights/mod.rs index 080584f2cfa..6bccc7bbd6d 100644 --- a/parachains/runtimes/assets/westmint/src/weights/mod.rs +++ b/parachains/runtimes/assets/westmint/src/weights/mod.rs @@ -6,6 +6,7 @@ pub mod pallet_assets; pub mod pallet_balances; pub mod pallet_collator_selection; pub mod pallet_multisig; +pub mod pallet_nfts; pub mod pallet_proxy; pub mod pallet_session; pub mod pallet_timestamp; diff --git a/parachains/runtimes/assets/westmint/src/weights/pallet_nfts.rs b/parachains/runtimes/assets/westmint/src/weights/pallet_nfts.rs new file mode 100644 index 00000000000..e4864b8196b --- /dev/null +++ b/parachains/runtimes/assets/westmint/src/weights/pallet_nfts.rs @@ -0,0 +1,426 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. + +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_nfts` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-01-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `Jegors-MBP.lan`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/polkadot-parachain +// benchmark +// pallet +// --chain=westmint-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_nfts +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --json +// --header=./file_header.txt +// --output=./parachains/runtimes/assets/westmint/src/weights/pallet_nfts.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_nfts`. +pub struct WeightInfo(PhantomData); +impl pallet_nfts::WeightInfo for WeightInfo { + // Storage: Nfts NextCollectionId (r:1 w:1) + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:0 w:1) + // Storage: Nfts CollectionConfigOf (r:0 w:1) + // Storage: Nfts CollectionAccount (r:0 w:1) + fn create() -> Weight { + // Minimum execution time: 37_000 nanoseconds. + Weight::from_ref_time(38_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: Nfts NextCollectionId (r:1 w:1) + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:0 w:1) + // Storage: Nfts CollectionConfigOf (r:0 w:1) + // Storage: Nfts CollectionAccount (r:0 w:1) + fn force_create() -> Weight { + // Minimum execution time: 26_000 nanoseconds. + Weight::from_ref_time(26_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts Item (r:1001 w:1000) + // Storage: Nfts Attribute (r:1001 w:1000) + // Storage: Nfts ItemMetadataOf (r:0 w:1000) + // Storage: Nfts CollectionRoleOf (r:0 w:1) + // Storage: Nfts CollectionMetadataOf (r:0 w:1) + // Storage: Nfts CollectionConfigOf (r:0 w:1) + // Storage: Nfts ItemConfigOf (r:0 w:1000) + // Storage: Nfts Account (r:0 w:1000) + // Storage: Nfts CollectionAccount (r:0 w:1) + /// The range of component `n` is `[0, 1000]`. + /// The range of component `m` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. + fn destroy(n: u32, m: u32, a: u32, ) -> Weight { + // Minimum execution time: 21_464_000 nanoseconds. + Weight::from_ref_time(17_877_474_846) + // Standard Error: 113_501 + .saturating_add(Weight::from_ref_time(1_677_234).saturating_mul(n.into())) + // Standard Error: 113_501 + .saturating_add(Weight::from_ref_time(2_499_409).saturating_mul(m.into())) + // Standard Error: 113_501 + .saturating_add(Weight::from_ref_time(9_962_607).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1003)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(3005)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + } + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:1) + // Storage: Nfts Account (r:0 w:1) + fn mint() -> Weight { + // Minimum execution time: 47_000 nanoseconds. + Weight::from_ref_time(51_000_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Nfts CollectionRoleOf (r:1 w:0) + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:1) + // Storage: Nfts Account (r:0 w:1) + fn force_mint() -> Weight { + // Minimum execution time: 47_000 nanoseconds. + Weight::from_ref_time(49_000_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:1) + // Storage: Nfts Account (r:0 w:1) + // Storage: Nfts ItemPriceOf (r:0 w:1) + // Storage: Nfts ItemAttributesApprovalsOf (r:0 w:1) + // Storage: Nfts PendingSwapOf (r:0 w:1) + fn burn() -> Weight { + // Minimum execution time: 49_000 nanoseconds. + Weight::from_ref_time(52_000_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(7)) + } + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:0) + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Nfts Account (r:0 w:2) + // Storage: Nfts ItemPriceOf (r:0 w:1) + // Storage: Nfts PendingSwapOf (r:0 w:1) + fn transfer() -> Weight { + // Minimum execution time: 55_000 nanoseconds. + Weight::from_ref_time(56_000_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) + } + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts Item (r:102 w:102) + /// The range of component `i` is `[0, 5000]`. + fn redeposit(i: u32, ) -> Weight { + // Minimum execution time: 19_000 nanoseconds. + Weight::from_ref_time(20_000_000) + // Standard Error: 31_499 + .saturating_add(Weight::from_ref_time(14_469_164).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) + } + // Storage: Nfts CollectionRoleOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:1) + fn lock_item_transfer() -> Weight { + // Minimum execution time: 22_000 nanoseconds. + Weight::from_ref_time(23_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts CollectionRoleOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:1) + fn unlock_item_transfer() -> Weight { + // Minimum execution time: 22_000 nanoseconds. + Weight::from_ref_time(22_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts CollectionRoleOf (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:1) + fn lock_collection() -> Weight { + // Minimum execution time: 20_000 nanoseconds. + Weight::from_ref_time(21_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts OwnershipAcceptance (r:1 w:1) + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionAccount (r:0 w:2) + fn transfer_ownership() -> Weight { + // Minimum execution time: 25_000 nanoseconds. + Weight::from_ref_time(26_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:0 w:4) + fn set_team() -> Weight { + // Minimum execution time: 27_000 nanoseconds. + Weight::from_ref_time(28_000_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionAccount (r:0 w:2) + fn force_collection_owner() -> Weight { + // Minimum execution time: 20_000 nanoseconds. + Weight::from_ref_time(21_000_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:0 w:1) + fn force_collection_config() -> Weight { + // Minimum execution time: 17_000 nanoseconds. + Weight::from_ref_time(18_000_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:1) + fn lock_item_properties() -> Weight { + // Minimum execution time: 20_000 nanoseconds. + Weight::from_ref_time(22_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:0) + // Storage: Nfts Attribute (r:1 w:1) + fn set_attribute() -> Weight { + // Minimum execution time: 45_000 nanoseconds. + Weight::from_ref_time(46_000_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts Attribute (r:1 w:1) + fn force_set_attribute() -> Weight { + // Minimum execution time: 27_000 nanoseconds. + Weight::from_ref_time(28_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nfts Attribute (r:1 w:1) + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts ItemConfigOf (r:1 w:0) + fn clear_attribute() -> Weight { + // Minimum execution time: 40_000 nanoseconds. + Weight::from_ref_time(42_000_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nfts Item (r:1 w:0) + // Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1) + fn approve_item_attributes() -> Weight { + // Minimum execution time: 21_000 nanoseconds. + Weight::from_ref_time(21_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Item (r:1 w:0) + // Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1) + // Storage: Nfts Attribute (r:1 w:0) + // Storage: System Account (r:1 w:1) + /// The range of component `n` is `[0, 1000]`. + fn cancel_item_attributes_approval(n: u32, ) -> Weight { + // Minimum execution time: 28_000 nanoseconds. + Weight::from_ref_time(29_000_000) + // Standard Error: 28_180 + .saturating_add(Weight::from_ref_time(8_101_928).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts ItemConfigOf (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts ItemMetadataOf (r:1 w:1) + fn set_metadata() -> Weight { + // Minimum execution time: 39_000 nanoseconds. + Weight::from_ref_time(40_000_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts ItemConfigOf (r:1 w:0) + // Storage: Nfts ItemMetadataOf (r:1 w:1) + fn clear_metadata() -> Weight { + // Minimum execution time: 37_000 nanoseconds. + Weight::from_ref_time(38_000_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts Collection (r:1 w:1) + // Storage: Nfts CollectionMetadataOf (r:1 w:1) + fn set_collection_metadata() -> Weight { + // Minimum execution time: 34_000 nanoseconds. + Weight::from_ref_time(36_000_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts CollectionMetadataOf (r:1 w:1) + fn clear_collection_metadata() -> Weight { + // Minimum execution time: 34_000 nanoseconds. + Weight::from_ref_time(36_000_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts CollectionRoleOf (r:1 w:0) + fn approve_transfer() -> Weight { + // Minimum execution time: 26_000 nanoseconds. + Weight::from_ref_time(27_000_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:1 w:0) + fn cancel_approval() -> Weight { + // Minimum execution time: 24_000 nanoseconds. + Weight::from_ref_time(25_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts CollectionRoleOf (r:1 w:0) + fn clear_all_transfer_approvals() -> Weight { + // Minimum execution time: 24_000 nanoseconds. + Weight::from_ref_time(25_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts OwnershipAcceptance (r:1 w:1) + fn set_accept_ownership() -> Weight { + // Minimum execution time: 20_000 nanoseconds. + Weight::from_ref_time(22_000_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts CollectionConfigOf (r:1 w:1) + // Storage: Nfts Collection (r:1 w:0) + fn set_collection_max_supply() -> Weight { + // Minimum execution time: 22_000 nanoseconds. + Weight::from_ref_time(23_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:1) + fn update_mint_settings() -> Weight { + // Minimum execution time: 20_000 nanoseconds. + Weight::from_ref_time(21_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Item (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:0) + // Storage: Nfts ItemPriceOf (r:0 w:1) + fn set_price() -> Weight { + // Minimum execution time: 25_000 nanoseconds. + Weight::from_ref_time(26_000_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Item (r:1 w:1) + // Storage: Nfts ItemPriceOf (r:1 w:1) + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Nfts Account (r:0 w:2) + // Storage: Nfts PendingSwapOf (r:0 w:1) + fn buy_item() -> Weight { + // Minimum execution time: 60_000 nanoseconds. + Weight::from_ref_time(62_000_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// The range of component `n` is `[0, 10]`. + fn pay_tips(n: u32, ) -> Weight { + // Minimum execution time: 3_000 nanoseconds. + Weight::from_ref_time(7_424_228) + // Standard Error: 21_679 + .saturating_add(Weight::from_ref_time(4_176_055).saturating_mul(n.into())) + } + // Storage: Nfts Item (r:2 w:0) + // Storage: Nfts PendingSwapOf (r:0 w:1) + fn create_swap() -> Weight { + // Minimum execution time: 23_000 nanoseconds. + Weight::from_ref_time(24_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts PendingSwapOf (r:1 w:1) + // Storage: Nfts Item (r:1 w:0) + fn cancel_swap() -> Weight { + // Minimum execution time: 26_000 nanoseconds. + Weight::from_ref_time(27_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nfts Item (r:2 w:2) + // Storage: Nfts PendingSwapOf (r:1 w:2) + // Storage: Nfts Collection (r:1 w:0) + // Storage: Nfts CollectionConfigOf (r:1 w:0) + // Storage: Nfts ItemConfigOf (r:2 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Nfts Account (r:0 w:4) + // Storage: Nfts ItemPriceOf (r:0 w:2) + fn claim_swap() -> Weight { + // Minimum execution time: 87_000 nanoseconds. + Weight::from_ref_time(90_000_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(11)) + } +} From ae03892145ee111125099e7bed8c617d7356d79f Mon Sep 17 00:00:00 2001 From: Jegor Sidorenko Date: Wed, 4 Jan 2023 17:56:52 +0200 Subject: [PATCH 2/3] Fmt --- parachains/runtimes/assets/westmint/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parachains/runtimes/assets/westmint/src/lib.rs b/parachains/runtimes/assets/westmint/src/lib.rs index bac0454b7cd..313de006a01 100644 --- a/parachains/runtimes/assets/westmint/src/lib.rs +++ b/parachains/runtimes/assets/westmint/src/lib.rs @@ -57,14 +57,15 @@ use frame_system::{ limits::{BlockLength, BlockWeights}, EnsureRoot, EnsureSigned, }; +use pallet_nfts::PalletFeatures; pub use parachains_common as common; use parachains_common::{ impls::{AssetsToBlockAuthor, DealWithFees}, - opaque, AccountId, AssetId, AuraId, Balance, BlockNumber, DAYS, Hash, Header, Index, Signature, - AVERAGE_ON_INITIALIZE_RATIO, HOURS, MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO, SLOT_DURATION, + opaque, AccountId, AssetId, AuraId, Balance, BlockNumber, Hash, Header, Index, Signature, + AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO, + SLOT_DURATION, }; use xcm_config::{XcmConfig, XcmOriginToTransactDispatchOrigin}; -use pallet_nfts::PalletFeatures; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; @@ -331,8 +332,7 @@ impl InstanceFilter for ProxyType { RuntimeCall::Assets { .. } | RuntimeCall::Utility { .. } | RuntimeCall::Multisig { .. } | - RuntimeCall::Nfts { .. } | - RuntimeCall::Uniques { .. } + RuntimeCall::Nfts { .. } | RuntimeCall::Uniques { .. } ) }, ProxyType::AssetOwner => matches!( From 94efbf0c4f13a8d61cd4e54e8e04b4b9e48fe9b8 Mon Sep 17 00:00:00 2001 From: Jegor Sidorenko Date: Thu, 5 Jan 2023 09:46:40 +0200 Subject: [PATCH 3/3] Use ConstU32 --- parachains/runtimes/assets/westmint/src/lib.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/parachains/runtimes/assets/westmint/src/lib.rs b/parachains/runtimes/assets/westmint/src/lib.rs index 313de006a01..0c9e726cc98 100644 --- a/parachains/runtimes/assets/westmint/src/lib.rs +++ b/parachains/runtimes/assets/westmint/src/lib.rs @@ -562,9 +562,6 @@ impl pallet_uniques::Config for Runtime { parameter_types! { pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); - pub const NftsApprovalsLimit: u32 = 20; - pub const NftsItemAttributesApprovalsLimit: u32 = 30; - pub const NftsMaxTips: u32 = 10; pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; } @@ -584,9 +581,9 @@ impl pallet_nfts::Config for Runtime { type StringLimit = UniquesStringLimit; type KeyLimit = KeyLimit; type ValueLimit = ValueLimit; - type ApprovalsLimit = NftsApprovalsLimit; - type ItemAttributesApprovalsLimit = NftsItemAttributesApprovalsLimit; - type MaxTips = NftsMaxTips; + type ApprovalsLimit = ConstU32<20>; + type ItemAttributesApprovalsLimit = ConstU32<30>; + type MaxTips = ConstU32<10>; type MaxDeadlineDuration = NftsMaxDeadlineDuration; type Features = NftsPalletFeatures; type WeightInfo = weights::pallet_nfts::WeightInfo;