diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f973d5a9f50..2ae4c1182c0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -66,14 +66,11 @@ jobs: - name: Rustup show run: | /home/runner/.cargo/bin/rustup show - - uses: actions/checkout@v2 - name: Run Test (with coverage) run: | - # integration tests can't be compiled with --feature=runtime-benchmarks - # TODO: https://github.com/ComposableFi/composable/issues/535 /home/runner/.cargo/bin/cargo install -f cargo-llvm-cov /home/runner/.cargo/bin/rustup component add llvm-tools-preview --toolchain=nightly-2021-11-08 - SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo +nightly-2021-11-08 llvm-cov --workspace --locked --release --verbose --features=runtime-benchmarks --lcov --output-path lcov.info + SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo +nightly llvm-cov --workspace --locked --release --verbose --features=runtime-benchmarks --lcov --output-path lcov.info - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 with: @@ -131,7 +128,6 @@ jobs: --extrinsic='*' \ --steps=1 \ --repeat=1 \ - --raw \ --log error @@ -194,7 +190,7 @@ jobs: cargo install taplo-cli taplo lint --warn-as-error taplo fmt --warn-as-error - if ! git diff-index --quiet HEAD; then + if ! git diff-index HEAD; then exit 1 else echo "Everything is fine!" diff --git a/.maintain/playbooks/run-integration-tests.yml b/.maintain/playbooks/run-integration-tests.yml index e75431d6796..5d9aefedb33 100644 --- a/.maintain/playbooks/run-integration-tests.yml +++ b/.maintain/playbooks/run-integration-tests.yml @@ -130,7 +130,7 @@ dest: "/home/{{ user }}/basilisk" - url: https://storage.googleapis.com/composable-binaries/testnet-releases/picasso/composable-latest.tar.gz dest: "/home/{{ user }}/composable-latest.tar.gz" - - url: https://github.com/paritytech/polkadot/releases/download/v0.9.16/polkadot + - url: https://github.com/paritytech/polkadot/releases/download/v0.9.17/polkadot dest: "/home/{{ user }}/polkadot" - name: Clone composable repo diff --git a/.maintain/run_benchmarks.sh b/.maintain/run_benchmarks.sh index cc9899c9019..65c53b0f2ed 100755 --- a/.maintain/run_benchmarks.sh +++ b/.maintain/run_benchmarks.sh @@ -35,7 +35,6 @@ run_benchmarks() { --extrinsic='*' \ --steps=$steps \ --repeat=$repeat \ - --raw \ --output="$OUTPUT" \ --log error # ToDO: Setup gpg signing and create a bot account for pushing diff --git a/.maintain/run_simnode.sh b/.maintain/run_simnode.sh index a5d124d3c13..81d7824f6ec 100755 --- a/.maintain/run_simnode.sh +++ b/.maintain/run_simnode.sh @@ -11,7 +11,7 @@ set -e # fail on any error VERSIONS_FILES=( "picasso,picasso" "dali-rococo,dali" - # "composable,composable" # TODO: add simnode suppport for composable + "composable,composable" ) /home/runner/.cargo/bin/rustup update nightly @@ -28,7 +28,7 @@ run_simnode() { GS_BUCKET="$CHAIN-data-store" sudo gsutil cp gs://$GS_BUCKET/"$FILENAME" . sudo unzip -o "$FILENAME" -d /tmp/db - ./target/release/simnode-tests --chain="$CHAIN" --base-path=/tmp/db/var/lib/composable-data/ --pruning=archive --execution=wasm + sudo ./target/release/simnode-tests --chain="$CHAIN" --base-path=/tmp/db/var/lib/composable-data/ --pruning=archive --execution=wasm } # shellcheck disable=SC2039 diff --git a/Cargo.lock b/Cargo.lock index ce324602932..f818064c6e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -159,9 +159,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.55" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "159bb86af3a200e19a068f4224eae4c8bb2d0fa054c7e5d1cacd5cef95e684cd" +checksum = "4361135be9122e0870de935d7c439aef945b9f9ddd4199a553b5270b49c82a27" [[package]] name = "approx" @@ -244,7 +244,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" dependencies = [ "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -284,9 +284,9 @@ dependencies = [ [[package]] name = "async-global-executor" -version = "2.0.2" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9586ec52317f36de58453159d48351bc244bc24ced3effc1fce22f3d48664af6" +checksum = "c026b7e44f1316b567ee750fea85103f87fcb80792b860e979f221259796ca0a" dependencies = [ "async-channel", "async-executor", @@ -416,7 +416,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.7", + "crossbeam-utils 0.8.8", "futures-channel", "futures-core", "futures-io", @@ -449,9 +449,9 @@ dependencies = [ [[package]] name = "async-task" -version = "4.1.0" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d306121baf53310a3fd342d88dc0824f6bbeace68347593658525565abee8" +checksum = "30696a84d817107fc028e049980e09d5e140e8da8f1caeb17e8e950658a3cea9" [[package]] name = "async-trait" @@ -461,7 +461,7 @@ checksum = "061a7acccaa286c011ddc30970520b98fa40e00c9d644633fb26b5fc63a265e3" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -601,7 +601,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "beefy-primitives", "fnv", @@ -630,11 +630,10 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "beefy-gadget", "beefy-primitives", - "derive_more", "futures 0.3.21", "jsonrpc-core", "jsonrpc-core-client", @@ -654,12 +653,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -860,9 +859,9 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "blocking" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046e47d4b2d391b1f6f8b407b1deb8dee56c1852ccd868becf2710f601b5f427" +checksum = "c6ccb65d468978a086b69884437ded69a90faab3bbe6e67f242173ea728acccc" dependencies = [ "async-channel", "async-task", @@ -884,7 +883,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "finality-grandpa", "frame-support", @@ -900,7 +899,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-runtime", "frame-support", @@ -912,7 +911,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitvec", "bp-runtime", @@ -928,7 +927,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-messages", "bp-runtime", @@ -946,7 +945,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -963,7 +962,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-support", "hash-db", @@ -981,7 +980,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -996,7 +995,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1011,7 +1010,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -1085,9 +1084,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.7.3" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439989e6b8c38d1b6570a384ef1e49c8848128f5a97f3914baef02920842712f" +checksum = "0e851ca7c24871e7336801608a4797d7376545b6928a10d32d75685687141ead" [[package]] name = "byteorder" @@ -1289,9 +1288,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.1.2" +version = "3.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5177fac1ab67102d8989464efd043c6ff44191b1557ec1ddd489b4f7e1447e77" +checksum = "d8c93436c21e4698bacadf42917db28b23017027a4deccb35dbe47a7e7840123" dependencies = [ "atty", "bitflags", @@ -1301,20 +1300,20 @@ dependencies = [ "os_str_bytes", "strsim 0.10.0", "termcolor", - "textwrap 0.14.2", + "textwrap 0.15.0", ] [[package]] name = "clap_derive" -version = "3.1.2" +version = "3.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d42c94ce7c2252681b5fed4d3627cc807b13dfc033246bd05d5b252399000e" +checksum = "da95d038ede1a964ce99f49cbe27a7fb538d1da595e4b4f70b8c8f338d17bf16" dependencies = [ "heck 0.4.0", "proc-macro-error", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -1398,7 +1397,7 @@ dependencies = [ [[package]] name = "composable" -version = "1.0.9" +version = "1.0.0" dependencies = [ "color-eyre", "composable-node", @@ -1421,10 +1420,11 @@ dependencies = [ [[package]] name = "composable-node" -version = "1.0.9" +version = "1.0.0" dependencies = [ "assets-rpc", "assets-runtime-api", + "clap 3.1.6", "common", "composable-runtime", "crowdloan-rewards-rpc", @@ -1490,7 +1490,6 @@ dependencies = [ "sp-timestamp", "sp-transaction-pool", "sp-trie", - "structopt", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -1558,6 +1557,7 @@ dependencies = [ "polkadot-parachain", "primitives", "scale-info", + "simnode-runtime-apis", "smallvec 1.8.0", "sp-api", "sp-block-builder", @@ -1856,12 +1856,12 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa" +checksum = "fdbfe11fe19ff083c48923cf179540e8cd0535903dc35e178a1fdeeb59aef51f" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.7", + "crossbeam-utils 0.8.8", ] [[package]] @@ -1872,17 +1872,18 @@ checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" dependencies = [ "cfg-if 1.0.0", "crossbeam-epoch", - "crossbeam-utils 0.8.7", + "crossbeam-utils 0.8.8", ] [[package]] name = "crossbeam-epoch" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c00d6d2ea26e8b151d99093005cb442fb9a37aeaca582a03ec70946f49ab5ed9" +checksum = "1145cf131a2c6ba0615079ab6a638f7e1973ac9c2634fcbeaaad6114246efe8c" dependencies = [ + "autocfg 1.1.0", "cfg-if 1.0.0", - "crossbeam-utils 0.8.7", + "crossbeam-utils 0.8.8", "lazy_static", "memoffset", "scopeguard", @@ -1901,9 +1902,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e5bed1f1c269533fa816a0a5492b3545209a205ca1a54842be180eb63a16a6" +checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38" dependencies = [ "cfg-if 1.0.0", "lazy_static", @@ -1999,7 +2000,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccc0a48a9b826acdf4028595adc9db92caea352f7af011a3034acd172a52a0aa" dependencies = [ "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2034,17 +2035,17 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ + "clap 3.1.6", "sc-cli", "sc-service", - "structopt", ] [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2068,7 +2069,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -2097,7 +2098,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2118,7 +2119,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2126,7 +2127,7 @@ dependencies = [ "futures 0.3.21", "futures-timer", "parity-scale-codec", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "polkadot-node-primitives", "polkadot-parachain", "polkadot-primitives", @@ -2143,7 +2144,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -2167,7 +2168,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", @@ -2175,7 +2176,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", "parity-scale-codec", - "parking_lot 0.10.2", + "parking_lot 0.12.0", "polkadot-overseer", "polkadot-primitives", "sc-chain-spec", @@ -2196,7 +2197,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "frame-executive", "frame-support", @@ -2214,7 +2215,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2232,7 +2233,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -2262,18 +2263,18 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "frame-benchmarking", "frame-support", @@ -2287,7 +2288,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2304,7 +2305,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2322,7 +2323,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "frame-support", "parity-scale-codec", @@ -2338,7 +2339,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2361,7 +2362,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -2372,7 +2373,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2389,13 +2390,13 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "async-trait", "cumulus-primitives-core", "derive_more", "futures 0.3.21", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "polkadot-overseer", "sc-client-api", "sc-service", @@ -2410,14 +2411,14 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-local" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.21", "futures-timer", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "polkadot-client", "polkadot-service", "sc-client-api", @@ -2438,7 +2439,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2605,7 +2606,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" dependencies = [ "data-encoding", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2626,7 +2627,7 @@ checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2639,7 +2640,7 @@ dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", "rustc_version 0.4.0", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2779,7 +2780,7 @@ checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2790,9 +2791,9 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" [[package]] name = "ed25519" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74e1069e39f1454367eb2de793ed062fac4c35c2934b76a81d90dd9abcd28816" +checksum = "eed12bbf7b5312f8da1c2722bc06d8c6b12c2d86a7fb35a194c7f3e6fc2bbe39" dependencies = [ "signature", ] @@ -2828,14 +2829,14 @@ dependencies = [ [[package]] name = "enum-as-inner" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595" +checksum = "570d109b813e904becc80d8d5da38376818a143348413f7149f1340fe04754d4" dependencies = [ - "heck 0.3.3", + "heck 0.4.0", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2861,7 +2862,7 @@ checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2872,7 +2873,7 @@ checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -2946,33 +2947,6 @@ dependencies = [ "version_check 0.9.4", ] -[[package]] -name = "ethbloom" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfb684ac8fa8f6c5759f788862bb22ec6fe3cb392f6bfd08e3c64b603661e3f8" -dependencies = [ - "crunchy", - "fixed-hash", - "impl-rlp", - "impl-serde", - "tiny-keccak", -] - -[[package]] -name = "ethereum-types" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05136f7057fe789f06e6d41d07b34e6f70d8c86e5693b60f97aaa6553553bdaf" -dependencies = [ - "ethbloom", - "fixed-hash", - "impl-rlp", - "impl-serde", - "primitive-types", - "uint", -] - [[package]] name = "event-listener" version = "2.5.2" @@ -3166,7 +3140,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", ] @@ -3184,7 +3158,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -3193,6 +3167,7 @@ dependencies = [ "parity-scale-codec", "paste 1.0.6", "scale-info", + "serde", "sp-api", "sp-application-crypto", "sp-io", @@ -3205,10 +3180,11 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "Inflector", "chrono", + "clap 3.1.6", "frame-benchmarking", "frame-support", "handlebars", @@ -3220,18 +3196,18 @@ dependencies = [ "sc-executor", "sc-service", "serde", + "serde_json", "sp-core", "sp-externalities", "sp-keystore", "sp-runtime", "sp-state-machine", - "structopt", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -3245,7 +3221,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -3273,7 +3249,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "bitflags", "frame-metadata", @@ -3302,41 +3278,41 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "Inflector", "frame-support-procedural-tools", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "log 0.4.14", @@ -3353,7 +3329,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -3368,7 +3344,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "sp-api", @@ -3377,7 +3353,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "sp-api", @@ -3540,7 +3516,7 @@ checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -3708,9 +3684,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.11" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9f1f717ddc7b2ba36df7e871fd88db79326551d3d6f1fc406fbfd28b582ff8e" +checksum = "62eeb471aa3e3c9197aa4bfeabfe02982f6dc96f750486c0bb0009ac58b26d2b" dependencies = [ "bytes 1.1.0", "fnv", @@ -3727,9 +3703,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.2.1" +version = "4.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25546a65e5cf1f471f3438796fc634650b31d7fcde01d444c309aeb28b92e3a8" +checksum = "99d6a30320f094710245150395bc763ad23128d6a1ebbad7594dc4164b62c56b" dependencies = [ "log 0.4.14", "pest", @@ -4149,15 +4125,6 @@ dependencies = [ "parity-scale-codec", ] -[[package]] -name = "impl-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp", -] - [[package]] name = "impl-serde" version = "0.3.2" @@ -4175,7 +4142,7 @@ checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -4263,9 +4230,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.3.1" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" +checksum = "35e70ee094dc02fd9c13fdad4940090f22dbd6ac7c9e7094a46cf0232a50bc7c" [[package]] name = "is_sorted" @@ -4372,7 +4339,7 @@ dependencies = [ "proc-macro-crate 0.1.5", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -4460,7 +4427,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6373a33d987866ccfe1af4bc11b089dce941764313f9fd8b7cf13fcb51b72dc5" dependencies = [ - "jsonrpsee-proc-macros 0.4.1", "jsonrpsee-types 0.4.1", "jsonrpsee-utils", "jsonrpsee-ws-client 0.4.1", @@ -4573,19 +4539,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d802063f7a3c867456955f9d2f15eb3ee0edb5ec9ec2b5526324756759221c0f" -dependencies = [ - "log 0.4.14", - "proc-macro-crate 1.1.3", - "proc-macro2 1.0.36", - "quote 1.0.15", - "syn 1.0.86", -] - [[package]] name = "jsonrpsee-proc-macros" version = "0.8.0" @@ -4595,7 +4548,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -4607,7 +4560,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -4721,8 +4674,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "beefy-primitives", "bitvec", @@ -4809,8 +4762,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-support", "polkadot-primitives", @@ -4887,9 +4840,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.119" +version = "0.2.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" +checksum = "ad5c14e80759d0939d013e6ca49930e59fc53dd8e5009132f76240c179380c09" [[package]] name = "libloading" @@ -5283,7 +5236,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log 0.4.14", - "lru 0.7.2", + "lru 0.7.3", "rand 0.7.3", "smallvec 1.8.0", "unsigned-varint 0.7.1", @@ -5313,7 +5266,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "072c290f727d39bdc4e9d6d1c847978693d25a673bd757813681e33e5f6c00c2" dependencies = [ "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -5452,9 +5405,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" +checksum = "6f35facd4a5673cb5a48822be2be1d4236c1c99cb4113cab7061ac720d5bf859" dependencies = [ "cc", "pkg-config", @@ -5510,88 +5463,6 @@ dependencies = [ "paste 0.1.18", ] -[[package]] -name = "local-integration-tests" -version = "0.1.0" -dependencies = [ - "common", - "composable-traits", - "cumulus-pallet-aura-ext", - "cumulus-pallet-dmp-queue", - "cumulus-pallet-parachain-system", - "cumulus-pallet-session-benchmarking", - "cumulus-pallet-xcm", - "cumulus-pallet-xcmp-queue", - "cumulus-primitives-core", - "cumulus-primitives-timestamp", - "cumulus-primitives-utility", - "dali-runtime", - "env_logger 0.9.0", - "frame-benchmarking", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "hex-literal", - "kusama-runtime", - "num-traits", - "orml-tokens", - "orml-traits", - "orml-xtokens", - "pallet-assets", - "pallet-assets-registry", - "pallet-aura", - "pallet-authorship", - "pallet-balances", - "pallet-call-filter", - "pallet-collator-selection", - "pallet-collective", - "pallet-currency-factory", - "pallet-democracy 4.0.0-dev", - "pallet-governance-registry", - "pallet-indices", - "pallet-membership", - "pallet-oracle", - "pallet-randomness-collective-flip", - "pallet-scheduler", - "pallet-session", - "pallet-sudo", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vault", - "pallet-xcm", - "parachain-info", - "parity-scale-codec", - "paste 1.0.6", - "polkadot-core-primitives", - "polkadot-parachain", - "polkadot-primitives", - "polkadot-runtime-parachains", - "primitives", - "scale-info", - "smallvec 1.8.0", - "sp-api", - "sp-block-builder", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-std", - "sp-transaction-pool", - "sp-version", - "xcm", - "xcm-builder", - "xcm-emulator", - "xcm-executor", -] - [[package]] name = "lock_api" version = "0.3.4" @@ -5640,9 +5511,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "274353858935c992b13c0ca408752e2121da852d07dec7ce5f108c77dfa14d1f" +checksum = "fcb87f3080f6d1d69e8c564c0fcfde1d7aa8cc451ce40cae89479111f03bc0eb" dependencies = [ "hashbrown 0.11.2", ] @@ -5658,9 +5529,9 @@ dependencies = [ [[package]] name = "lz4" -version = "1.23.2" +version = "1.23.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aac20ed6991e01bf6a2e68cc73df2b389707403662a8ba89f68511fb340f724c" +checksum = "4edcb94251b1c375c459e5abe9fb0168c1c826c3370172684844f8f3f8d1a885" dependencies = [ "libc", "lz4-sys", @@ -5668,9 +5539,9 @@ dependencies = [ [[package]] name = "lz4-sys" -version = "1.9.2" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca79aa95d8b3226213ad454d328369853be3a1382d89532a854f4d69640acae" +checksum = "d7be8908e2ed6f31c02db8a9fa962f03e36c53fbfde437363eae3306b85d7e17" dependencies = [ "cc", "libc", @@ -5800,8 +5671,8 @@ dependencies = [ [[package]] name = "metered-channel" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "derive_more", "futures 0.3.21", @@ -5812,9 +5683,9 @@ dependencies = [ [[package]] name = "mick-jaeger" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd2c2cc134e57461f0898b0e921f0a7819b5e3f3a4335b9aa390ce81a5f36fb9" +checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures 0.3.21", "rand 0.8.5", @@ -5892,14 +5763,15 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2" +checksum = "7ba42135c6a5917b9db9cd7b293e5409e1c6b041e6f9825e92e55a894c63b6f8" dependencies = [ "libc", "log 0.4.14", "miow 0.3.7", "ntapi", + "wasi 0.11.0+wasi-snapshot-preview1", "winapi 0.3.9", ] @@ -6011,7 +5883,7 @@ dependencies = [ "proc-macro-error", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", "synstructure", ] @@ -6079,7 +5951,7 @@ checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -6134,13 +6006,12 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" [[package]] name = "nom" -version = "7.1.0" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109" +checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36" dependencies = [ "memchr", "minimal-lexical", - "version_check 0.9.4", ] [[package]] @@ -6260,9 +6131,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" +checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" [[package]] name = "opaque-debug" @@ -6296,7 +6167,7 @@ checksum = "a15c83b586f00268c619c1cb3340ec1a6f59dd9ba1d9833a273a68e6d5cd8ffc" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -6344,7 +6215,7 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=9e041dc9d213f843b18b3008f32f3acabb287dcb#9e041dc9d213f843b18b3008f32f3acabb287dcb" dependencies = [ "frame-support", "frame-system", @@ -6359,7 +6230,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=9e041dc9d213f843b18b3008f32f3acabb287dcb#9e041dc9d213f843b18b3008f32f3acabb287dcb" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -6377,7 +6248,7 @@ dependencies = [ [[package]] name = "orml-unknown-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=9e041dc9d213f843b18b3008f32f3acabb287dcb#9e041dc9d213f843b18b3008f32f3acabb287dcb" dependencies = [ "frame-support", "frame-system", @@ -6392,7 +6263,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=9e041dc9d213f843b18b3008f32f3acabb287dcb#9e041dc9d213f843b18b3008f32f3acabb287dcb" dependencies = [ "frame-support", "parity-scale-codec", @@ -6406,7 +6277,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=9e041dc9d213f843b18b3008f32f3acabb287dcb#9e041dc9d213f843b18b3008f32f3acabb287dcb" dependencies = [ "frame-support", "orml-traits", @@ -6420,7 +6291,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=9e041dc9d213f843b18b3008f32f3acabb287dcb#9e041dc9d213f843b18b3008f32f3acabb287dcb" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -6508,7 +6379,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -6524,7 +6395,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -6540,7 +6411,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -6555,7 +6426,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6579,7 +6450,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6599,7 +6470,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6614,7 +6485,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "beefy-primitives", "frame-support", @@ -6630,7 +6501,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -6681,7 +6552,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6699,7 +6570,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -6716,7 +6587,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bp-header-chain", "bp-runtime", @@ -6738,7 +6609,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitvec", "bp-message-dispatch", @@ -6777,7 +6648,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "frame-benchmarking", "frame-support", @@ -6786,7 +6657,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", "sp-runtime", @@ -6797,7 +6668,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6911,7 +6782,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6980,7 +6851,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6997,14 +6868,13 @@ dependencies = [ "sp-runtime", "sp-std", "static_assertions", - "strum 0.22.0", - "strum_macros 0.23.1", + "strum", ] [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7022,7 +6892,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7055,7 +6925,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7078,7 +6948,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7094,7 +6964,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7114,7 +6984,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7223,7 +7093,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7240,7 +7110,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -7258,7 +7128,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7274,7 +7144,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7316,7 +7186,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7331,7 +7201,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7345,7 +7215,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7362,7 +7232,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7451,7 +7321,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7484,7 +7354,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7499,7 +7369,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7513,7 +7383,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7527,7 +7397,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7543,7 +7413,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7564,7 +7434,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7580,7 +7450,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7594,7 +7464,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7617,18 +7487,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "log 0.4.14", "sp-arithmetic", @@ -7637,7 +7507,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7651,7 +7521,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7669,7 +7539,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7688,7 +7558,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-support", "frame-system", @@ -7705,7 +7575,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7722,7 +7592,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7733,7 +7603,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7777,7 +7647,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7841,7 +7711,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7855,8 +7725,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-support", "frame-system", @@ -7873,8 +7743,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-benchmarking", "frame-support", @@ -7891,7 +7761,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#86f76c5619c64d1300315612695ad4b4fcd0f562" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.17#db11baacc325537be74ad34517fcb28ed9ded6c6" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -7931,9 +7801,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09aa6c5bb8070cf0456d9fc228b3022e900aae9092c48c9c45facf97422efc1d" +checksum = "865edee5b792f537356d9e55cbc138e7f4718dc881a7ea45a18b37bf61c21e3d" dependencies = [ "blake2-rfc", "crc32fast", @@ -7971,7 +7841,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -8001,10 +7871,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f4cb4e169446179cbc6b8b6320cc9fca49bd2e94e8db25f25f200a8ea774770" dependencies = [ "cfg-if 1.0.0", - "ethereum-types", "hashbrown 0.11.2", "impl-trait-for-tuples", - "lru 0.6.6", "parity-util-mem-derive", "parking_lot 0.11.2", "primitive-types", @@ -8019,7 +7887,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ "proc-macro2 1.0.36", - "syn 1.0.86", + "syn 1.0.88", "synstructure", ] @@ -8142,7 +8010,7 @@ dependencies = [ "cfg-if 1.0.0", "instant", "libc", - "redox_syscall 0.2.10", + "redox_syscall 0.2.11", "smallvec 1.8.0", "winapi 0.3.9", ] @@ -8155,7 +8023,7 @@ checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.2.10", + "redox_syscall 0.2.11", "smallvec 1.8.0", "windows-sys", ] @@ -8269,7 +8137,7 @@ dependencies = [ "pest_meta", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -8401,7 +8269,7 @@ checksum = "044964427019eed9d49d9d5bbce6047ef18f37100ea400912a9fa4a3523ab12a" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -8412,7 +8280,7 @@ checksum = "744b6f092ba29c3650faf274db506afd39944f48420f6c86b17cfe0ee1cb36bb" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -8505,8 +8373,8 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", @@ -8519,8 +8387,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", @@ -8532,12 +8400,12 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "derive_more", "futures 0.3.21", - "lru 0.7.2", + "lru 0.7.3", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8554,11 +8422,11 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", - "lru 0.7.2", + "lru 0.7.3", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8574,9 +8442,10 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ + "clap 3.1.6", "frame-benchmarking-cli", "futures 0.3.21", "log 0.4.14", @@ -8589,7 +8458,6 @@ dependencies = [ "sc-tracing", "sp-core", "sp-trie", - "structopt", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -8597,8 +8465,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -8628,8 +8496,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "always-assert", "derive_more", @@ -8649,8 +8517,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -8662,12 +8530,12 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "derive_more", "futures 0.3.21", - "lru 0.7.2", + "lru 0.7.3", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8684,8 +8552,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8698,8 +8566,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8718,8 +8586,8 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-trait", "futures 0.3.21", @@ -8737,8 +8605,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "parity-scale-codec", @@ -8755,15 +8623,15 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitvec", "derive_more", "futures 0.3.21", "futures-timer", "kvdb", - "lru 0.7.2", + "lru 0.7.3", "merlin", "parity-scale-codec", "polkadot-node-jaeger", @@ -8783,8 +8651,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitvec", "futures 0.3.21", @@ -8803,8 +8671,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitvec", "futures 0.3.21", @@ -8821,8 +8689,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -8836,8 +8704,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-trait", "futures 0.3.21", @@ -8854,8 +8722,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -8869,8 +8737,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8886,12 +8754,12 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "kvdb", - "lru 0.7.2", + "lru 0.7.3", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8904,8 +8772,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-trait", "futures 0.3.21", @@ -8921,8 +8789,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitvec", "futures 0.3.21", @@ -8938,8 +8806,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "always-assert", "assert_matches", @@ -8968,8 +8836,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "polkadot-node-primitives", @@ -8984,8 +8852,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "memory-lru", @@ -9002,8 +8870,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-std", "lazy_static", @@ -9020,8 +8888,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bs58", "futures 0.3.21", @@ -9039,8 +8907,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-trait", "derive_more", @@ -9051,14 +8919,14 @@ dependencies = [ "polkadot-primitives", "sc-authority-discovery", "sc-network", - "strum 0.23.0", + "strum", "thiserror", ] [[package]] name = "polkadot-node-primitives" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bounded-vec", "futures 0.3.21", @@ -9079,8 +8947,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9089,8 +8957,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "derive_more", "futures 0.3.21", @@ -9108,14 +8976,14 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-trait", "derive_more", "futures 0.3.21", "itertools", - "lru 0.7.2", + "lru 0.7.3", "metered-channel", "parity-scale-codec", "pin-project 1.0.10", @@ -9136,12 +9004,12 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "futures 0.3.21", "futures-timer", - "lru 0.7.2", + "lru 0.7.3", "parity-util-mem", "parking_lot 0.11.2", "polkadot-node-metrics", @@ -9157,8 +9025,8 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-trait", "futures 0.3.21", @@ -9174,19 +9042,19 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "polkadot-parachain" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "derive_more", "frame-support", @@ -9202,8 +9070,8 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -9217,8 +9085,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitvec", "frame-system", @@ -9247,8 +9115,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -9278,8 +9146,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "beefy-primitives", "bitvec", @@ -9362,8 +9230,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "beefy-primitives", "bitvec", @@ -9409,8 +9277,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-support", "polkadot-primitives", @@ -9421,8 +9289,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bs58", "parity-scale-codec", @@ -9433,8 +9301,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "bitflags", "bitvec", @@ -9468,14 +9336,15 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "static_assertions", "xcm", "xcm-executor", ] [[package]] name = "polkadot-service" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "async-trait", "beefy-gadget", @@ -9486,7 +9355,7 @@ dependencies = [ "kusama-runtime", "kvdb", "kvdb-rocksdb", - "lru 0.7.2", + "lru 0.7.3", "pallet-babe", "pallet-im-online", "pallet-mmr-primitives", @@ -9575,8 +9444,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "arrayvec 0.5.2", "derive_more", @@ -9596,8 +9465,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9663,7 +9532,7 @@ version = "0.1.0" dependencies = [ "binance", "chrono", - "clap 3.1.2", + "clap 3.1.6", "custom_derive", "enum_derive", "env_logger 0.9.0", @@ -9690,7 +9559,6 @@ checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" dependencies = [ "fixed-hash", "impl-codec", - "impl-rlp", "impl-serde", "scale-info", "uint", @@ -9737,7 +9605,7 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", "version_check 0.9.4", ] @@ -9861,7 +9729,7 @@ dependencies = [ "itertools", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -10162,7 +10030,7 @@ checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" dependencies = [ "crossbeam-channel", "crossbeam-deque", - "crossbeam-utils 0.8.7", + "crossbeam-utils 0.8.8", "lazy_static", "num_cpus", ] @@ -10184,9 +10052,9 @@ checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "redox_syscall" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" +checksum = "8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c" dependencies = [ "bitflags", ] @@ -10198,7 +10066,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ "getrandom 0.2.5", - "redox_syscall 0.2.10", + "redox_syscall 0.2.11", ] [[package]] @@ -10231,7 +10099,7 @@ checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -10247,9 +10115,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.4" +version = "1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286" dependencies = [ "aho-corasick", "memchr", @@ -10286,10 +10154,10 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "env_logger 0.9.0", - "jsonrpsee 0.4.1", + "jsonrpsee 0.8.0", "log 0.4.14", "parity-scale-codec", "serde", @@ -10311,9 +10179,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.9" +version = "0.11.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f242f1488a539a79bac6dbe7c8609ae43b7914b7736210f239a37cccb32525" +checksum = "46a1f7aa4f35e5e8b4160449f51afc758f0ce6454315a9fa7d0d113e958c41eb" dependencies = [ "base64 0.13.0", "bytes 1.1.0", @@ -10342,7 +10210,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "winreg 0.7.0", + "winreg 0.10.1", ] [[package]] @@ -10376,16 +10244,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "rlp" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" -dependencies = [ - "bytes 1.1.0", - "rustc-hex", -] - [[package]] name = "rocksdb" version = "0.17.0" @@ -10398,8 +10256,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "beefy-primitives", "bp-messages", @@ -10473,8 +10331,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-support", "polkadot-primitives", @@ -10697,7 +10555,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "log 0.4.14", "sp-core", @@ -10708,10 +10566,9 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", - "derive_more", "futures 0.3.21", "futures-timer", "ip_network", @@ -10730,12 +10587,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", + "thiserror", ] [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10758,7 +10616,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10774,7 +10632,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.3", @@ -10791,20 +10649,21 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "chrono", + "clap 3.1.6", "fdlimit", "futures 0.3.21", "hex", @@ -10831,7 +10690,6 @@ dependencies = [ "sp-panic-handler", "sp-runtime", "sp-version", - "structopt", "thiserror", "tiny-bip39", "tokio", @@ -10840,7 +10698,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "fnv", "futures 0.3.21", @@ -10868,7 +10726,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "hash-db", "kvdb", @@ -10893,7 +10751,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "futures 0.3.21", @@ -10917,10 +10775,9 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", - "derive_more", "futures 0.3.21", "log 0.4.14", "parity-scale-codec", @@ -10941,15 +10798,15 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", + "thiserror", ] [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", - "derive_more", "fork-tree", "futures 0.3.21", "log 0.4.14", @@ -10984,14 +10841,14 @@ dependencies = [ "sp-runtime", "sp-version", "substrate-prometheus-endpoint", + "thiserror", ] [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ - "derive_more", "futures 0.3.21", "jsonrpc-core", "jsonrpc-core-client", @@ -11008,12 +10865,13 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", + "thiserror", ] [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11026,11 +10884,10 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "assert_matches", "async-trait", - "derive_more", "futures 0.3.21", "jsonrpc-core", "jsonrpc-core-client", @@ -11057,12 +10914,13 @@ dependencies = [ "sp-runtime", "sp-timestamp", "substrate-prometheus-endpoint", + "thiserror", ] [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "futures 0.3.21", @@ -11087,7 +10945,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "sc-client-api", "sp-authorship", @@ -11098,7 +10956,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "lazy_static", "libsecp256k1", @@ -11126,9 +10984,8 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ - "derive_more", "environmental", "parity-scale-codec", "sc-allocator", @@ -11144,7 +11001,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "log 0.4.14", "parity-scale-codec", @@ -11160,7 +11017,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "cfg-if 1.0.0", "libc", @@ -11178,10 +11035,9 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", - "derive_more", "dyn-clone", "finality-grandpa", "fork-tree", @@ -11211,14 +11067,14 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", + "thiserror", ] [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ - "derive_more", "finality-grandpa", "futures 0.3.21", "jsonrpc-core", @@ -11235,12 +11091,13 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-runtime", + "thiserror", ] [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "ansi_term", "futures 0.3.21", @@ -11257,22 +11114,22 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", - "derive_more", "hex", "parking_lot 0.11.2", "serde_json", "sp-application-crypto", "sp-core", "sp-keystore", + "thiserror", ] [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-std", "async-trait", @@ -11280,7 +11137,6 @@ dependencies = [ "bitflags", "bytes 1.1.0", "cid", - "derive_more", "either", "fnv", "fork-tree", @@ -11292,7 +11148,7 @@ dependencies = [ "linked-hash-map", "linked_hash_set", "log 0.4.14", - "lru 0.7.2", + "lru 0.7.3", "parity-scale-codec", "parking_lot 0.11.2", "pin-project 1.0.10", @@ -11323,13 +11179,13 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "futures-timer", "libp2p", "log 0.4.14", - "lru 0.7.2", + "lru 0.7.3", "sc-network", "sp-runtime", "substrate-prometheus-endpoint", @@ -11339,7 +11195,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "bytes 1.1.0", "fnv", @@ -11367,7 +11223,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "libp2p", @@ -11380,7 +11236,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "log 0.4.14", "substrate-prometheus-endpoint", @@ -11389,7 +11245,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "hash-db", @@ -11420,7 +11276,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -11445,7 +11301,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -11462,7 +11318,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "directories", @@ -11526,7 +11382,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "log 0.4.14", "parity-scale-codec", @@ -11540,7 +11396,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -11562,7 +11418,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "chrono", "futures 0.3.21", @@ -11580,7 +11436,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "ansi_term", "atty", @@ -11611,18 +11467,18 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "futures-timer", @@ -11649,9 +11505,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ - "derive_more", "futures 0.3.21", "log 0.4.14", "serde", @@ -11663,7 +11518,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "futures-timer", @@ -11695,7 +11550,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -11858,7 +11713,7 @@ checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -12085,11 +11940,14 @@ version = "0.1.0" dependencies = [ "common", "composable-node", + "composable-runtime", "cumulus-primitives-parachain-inherent", "dali-runtime", "derive_more", "frame-benchmarking", + "frame-system", "jsonrpc-core", + "pallet-transaction-payment", "picasso-runtime", "sc-cli", "sc-consensus", @@ -12119,7 +11977,7 @@ dependencies = [ [[package]] name = "simnode-runtime-apis" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-simnode?branch=master#7e2453df89dac7ae6800186a121d2d0c335728f6" +source = "git+https://github.com/polytope-labs/substrate-simnode?branch=master#a5bc46c664884bac71ab13aa1669693e62fd99fd" dependencies = [ "parity-scale-codec", "sp-api", @@ -12132,6 +11990,7 @@ version = "0.1.0" dependencies = [ "common", "composable-node", + "composable-runtime", "cumulus-pallet-parachain-system", "dali-runtime", "frame-benchmarking", @@ -12175,8 +12034,8 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "enumn", "parity-scale-codec", @@ -12279,7 +12138,7 @@ checksum = "4210e1a17d165a0c1d4a233af1e3b36fb21b1359042767a4d2c73554f5f8c2aa" [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "hash-db", "log 0.4.14", @@ -12296,19 +12155,19 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sp-application-crypto" -version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12321,7 +12180,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "integer-sqrt", "num-traits", @@ -12336,7 +12195,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12349,7 +12208,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "parity-scale-codec", @@ -12361,7 +12220,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "sp-api", @@ -12373,11 +12232,11 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "log 0.4.14", - "lru 0.7.2", + "lru 0.7.3", "parity-scale-codec", "parking_lot 0.11.2", "sp-api", @@ -12391,7 +12250,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "futures 0.3.21", @@ -12410,7 +12269,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "parity-scale-codec", @@ -12428,7 +12287,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "merlin", @@ -12451,7 +12310,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12463,7 +12322,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -12474,8 +12333,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "4.1.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "base58", "bitflags", @@ -12523,7 +12382,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "blake2-rfc", "byteorder", @@ -12536,18 +12395,18 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", "sp-core-hashing", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "kvdb", "parking_lot 0.11.2", @@ -12556,17 +12415,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sp-externalities" -version = "0.10.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "0.11.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "environmental", "parity-scale-codec", @@ -12577,7 +12436,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "finality-grandpa", "log 0.4.14", @@ -12595,7 +12454,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12608,8 +12467,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "futures 0.3.21", "hash-db", @@ -12632,22 +12491,21 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "4.1.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "lazy_static", "sp-core", "sp-runtime", - "strum 0.22.0", + "strum", ] [[package]] name = "sp-keystore" -version = "0.10.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "0.11.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", - "derive_more", "futures 0.3.21", "merlin", "parity-scale-codec", @@ -12656,20 +12514,22 @@ dependencies = [ "serde", "sp-core", "sp-externalities", + "thiserror", ] [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ + "thiserror", "zstd", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12684,18 +12544,18 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "sp-api", "sp-core", @@ -12705,7 +12565,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "backtrace", "lazy_static", @@ -12714,8 +12574,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "rustc-hash", "serde", @@ -12724,8 +12584,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "4.1.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "either", "hash256-std-hasher", @@ -12746,8 +12606,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "4.1.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12764,19 +12624,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "serde", "serde_json", @@ -12785,7 +12645,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12799,7 +12659,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12809,8 +12669,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.10.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "0.11.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "hash-db", "log 0.4.14", @@ -12833,12 +12693,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" [[package]] name = "sp-storage" -version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12851,7 +12711,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "log 0.4.14", "sp-core", @@ -12864,7 +12724,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "futures-timer", @@ -12880,7 +12740,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "sp-std", @@ -12892,7 +12752,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "sp-api", "sp-runtime", @@ -12901,7 +12761,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-trait", "log 0.4.14", @@ -12916,8 +12776,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "4.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "hash-db", "memory-db", @@ -12932,7 +12792,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12949,18 +12809,18 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "parity-scale-codec", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "sp-wasm-interface" -version = "4.1.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "impl-trait-for-tuples", "log 0.4.14", @@ -13033,7 +12893,7 @@ dependencies = [ "memchr", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -13073,7 +12933,7 @@ dependencies = [ "quote 1.0.15", "serde", "serde_derive", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -13089,7 +12949,7 @@ dependencies = [ "serde_derive", "serde_json", "sha1", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -13131,16 +12991,7 @@ dependencies = [ "proc-macro-error", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", -] - -[[package]] -name = "strum" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7ac893c7d471c8a21f31cfe213ec4f6d9afeed25537c772e08ef3f005f8729e" -dependencies = [ - "strum_macros 0.22.0", + "syn 1.0.88", ] [[package]] @@ -13149,19 +13000,7 @@ version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb" dependencies = [ - "strum_macros 0.23.1", -] - -[[package]] -name = "strum_macros" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "339f799d8b549e3744c7ac7feb216383e4005d94bdb22561b3ab8f3b808ae9fb" -dependencies = [ - "heck 0.3.3", - "proc-macro2 1.0.36", - "quote 1.0.15", - "syn 1.0.86", + "strum_macros", ] [[package]] @@ -13174,7 +13013,7 @@ dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", "rustversion", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -13193,7 +13032,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "platforms", ] @@ -13201,7 +13040,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -13223,22 +13062,23 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "async-std", - "derive_more", "futures-util", "hyper 0.14.17", "log 0.4.14", "prometheus", + "thiserror", "tokio", ] [[package]] name = "substrate-simnode" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-simnode?branch=master#7e2453df89dac7ae6800186a121d2d0c335728f6" +source = "git+https://github.com/polytope-labs/substrate-simnode?branch=master#a5bc46c664884bac71ab13aa1669693e62fd99fd" dependencies = [ + "clap 3.1.6", "cumulus-pallet-parachain-system", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", @@ -13291,12 +13131,13 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ "ansi_term", "build-helper", "cargo_metadata", "sp-maybe-compressed-blob", + "strum", "tempfile", "toml", "walkdir", @@ -13306,7 +13147,7 @@ dependencies = [ [[package]] name = "substrate-xt" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-xt?branch=master#469a280526cac9a32a4bdae8280a0664080eb853" +source = "git+https://github.com/polytope-labs/substrate-xt?branch=master#0f174b36742c22431ee673dbdc4cc4aea8c9de77" dependencies = [ "frame-system", "futures 0.3.21", @@ -13349,9 +13190,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.86" +version = "1.0.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b" +checksum = "ebd69e719f31e88618baa1eaa6ee2de5c9a1c004f1e9ecdb58e8352a13f20a01" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", @@ -13366,7 +13207,7 @@ checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", "unicode-xid 0.2.2", ] @@ -13391,16 +13232,16 @@ dependencies = [ "cfg-if 1.0.0", "fastrand", "libc", - "redox_syscall 0.2.10", + "redox_syscall 0.2.11", "remove_dir_all", "winapi 0.3.9", ] [[package]] name = "termcolor" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" +checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" dependencies = [ "winapi-util", ] @@ -13416,9 +13257,9 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.14.2" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80" +checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" [[package]] name = "thiserror" @@ -13437,7 +13278,7 @@ checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -13540,7 +13381,7 @@ dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", "standback", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -13595,7 +13436,7 @@ dependencies = [ "bytes 1.1.0", "libc", "memchr", - "mio 0.8.0", + "mio 0.8.1", "num_cpus", "once_cell", "parking_lot 0.12.0", @@ -13646,7 +13487,7 @@ checksum = "b557f72f448c511a979e2564e55d74e6c4432fc96ff4f6241bc6bded342643b7" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -13791,9 +13632,9 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6c650a8ef0cd2dd93736f033d21cbd1224c5a967aa0c258d00fcf7dafef9b9f" +checksum = "4a1bdf54a7c28a2bbf701e1d2233f6c77f473486b94bee4f9678da5a148dca7f" dependencies = [ "cfg-if 1.0.0", "log 0.4.14", @@ -13804,20 +13645,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8276d9a4a3a558d7b7ad5303ad50b53d58264641b82914b7ada36bd762e7a716" +checksum = "2e65ce065b4b5c53e73bb28912318cb8c9e9ad3921f1d669eb0e68b4c8143a2b" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] name = "tracing-core" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03cfcb51380632a72d3111cb8d3447a8d908e577d31beeac006f836383d29a23" +checksum = "aa31669fa42c09c34d94d8165dd2012e8ff3c66aca50f3bb226b68f216f2706c" dependencies = [ "lazy_static", "valuable", @@ -13957,8 +13798,9 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/composableFi/substrate?branch=polkadot-v0.9.16#d78e92de5aeaea1b4df48c639eb88d5b93cf19ef" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e" dependencies = [ + "clap 3.1.6", "jsonrpsee 0.4.1", "log 0.4.14", "parity-scale-codec", @@ -13975,7 +13817,6 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-version", - "structopt", "zstd", ] @@ -14338,6 +14179,12 @@ version = "0.10.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + [[package]] name = "wasm-bindgen" version = "0.2.79" @@ -14361,7 +14208,7 @@ dependencies = [ "log 0.4.14", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", "wasm-bindgen-shared", ] @@ -14395,7 +14242,7 @@ checksum = "bfa8a30d46208db204854cadbb5d4baf5fcf8071ba5bf48190c3e59937962ebc" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -14730,8 +14577,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "beefy-primitives", "bitvec", @@ -14816,8 +14663,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-support", "polkadot-primitives", @@ -14940,9 +14787,9 @@ dependencies = [ [[package]] name = "winreg" -version = "0.7.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" +checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" dependencies = [ "winapi 0.3.9", ] @@ -14985,8 +14832,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -14998,8 +14845,8 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-support", "frame-system", @@ -15016,34 +14863,10 @@ dependencies = [ "xcm-executor", ] -[[package]] -name = "xcm-emulator" -version = "0.1.0" -source = "git+https://github.com/shaunxw/xcm-simulator?rev=a250ffc998bac4831c5692c591dee7bc13f3aead#a250ffc998bac4831c5692c591dee7bc13f3aead" -dependencies = [ - "cumulus-pallet-dmp-queue", - "cumulus-pallet-parachain-system", - "cumulus-pallet-xcmp-queue", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "cumulus-test-relay-sproof-builder", - "frame-support", - "frame-system", - "parachain-info", - "parity-scale-codec", - "paste 1.0.6", - "polkadot-primitives", - "polkadot-runtime-parachains", - "sp-io", - "sp-std", - "xcm", - "xcm-executor", -] - [[package]] name = "xcm-executor" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "frame-benchmarking", "frame-support", @@ -15061,12 +14884,12 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" dependencies = [ "Inflector", "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", ] [[package]] @@ -15085,9 +14908,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.5.2" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c88870063c39ee00ec285a2f8d6a966e5b6fb2becc4e8dac77ed0d370ed6006" +checksum = "50344758e2f40e3a1fcfc8f6f91aa57b5f8ebd8d27919fe6451f15aaaf9ee608" dependencies = [ "zeroize_derive", ] @@ -15100,7 +14923,7 @@ checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" dependencies = [ "proc-macro2 1.0.36", "quote 1.0.15", - "syn 1.0.86", + "syn 1.0.88", "synstructure", ] @@ -15132,3 +14955,103 @@ dependencies = [ "cc", "libc", ] + +[[patch.unused]] +name = "polkadot" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "polkadot-node-subsystem-test-helpers" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "polkadot-primitives-test-helpers" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "polkadot-test-client" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "polkadot-test-malus" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "polkadot-test-runtime" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "polkadot-test-service" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "polkadot-voter-bags" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "remote-ext-tests-bags-list" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "staking-miner" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "test-parachain-adder" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "test-parachain-adder-collator" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "test-parachain-halt" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "test-parachains" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "test-runtime-constants" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "xcm-executor-integration-tests" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "xcm-simulator" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "xcm-simulator-example" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "xcm-simulator-fuzzer" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" + +[[patch.unused]] +name = "zombienet-backchannel" +version = "0.9.17" +source = "git+https://github.com/composableFi/polkadot?branch=release-v0.9.17#1db48fed44a2b28648b464e6c3696fb40604dba0" diff --git a/Cargo.toml b/Cargo.toml index 2455336ed81..1c0a145c459 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ -[[bin]] -name = "composable" -path = "src/main.rs" - [package] authors = ["Composable Developers"] edition = "2018" homepage = "https://composable.finance" name = "composable" -version = '1.0.9' +version = "1.0.0" + +[[bin]] +name = "composable" +path = "src/main.rs" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] @@ -25,7 +25,7 @@ std = ["composable-node/std"] exclude = ["frame/transaction-fee"] members = [ "frame/*", - "integration-tests/local-integration-tests", + # "integration-tests/local-integration-tests", "node", "runtime/common", @@ -37,175 +37,111 @@ members = [ "utils/parachain-utils", "utils/price-feed", "utils/collator-sidecar", - "integration-tests/simnode/simnode-node", - "integration-tests/simnode/simnode-tests", - "integration-tests/simnode/common", + "simnode/simnode-node", + "simnode/simnode-tests", + "simnode/common", ] [profile.release] # Polkadot runtime requires unwinding. +lto = false panic = "unwind" [profile.production] inherits = "release" lto = true - -[patch."https://github.com/paritytech/substrate"] -beefy-gadget = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -beefy-gadget-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -beefy-merkle-tree = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -beefy-primitives = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -fork-tree = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-benchmarking = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-benchmarking-cli = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-election-provider-support = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-executive = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-support = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-support-procedural = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-support-procedural-tools = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-support-procedural-tools-derive = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-system = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-system-benchmarking = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-system-rpc-runtime-api = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -frame-try-runtime = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-aura = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-authority-discovery = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-authorship = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-babe = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-bags-list = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-balances = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-beefy = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-beefy-mmr = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-bounties = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-collective = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-democracy = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-election-provider-multi-phase = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-gilt = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-grandpa = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-identity = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-im-online = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-indices = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-membership = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-mmr = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-mmr-primitives = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-mmr-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-multisig = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-nicks = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-offences = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-offences-benchmarking = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-preimage = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-proxy = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-randomness-collective-flip = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-recovery = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-scheduler = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-session = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-session-benchmarking = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-society = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-staking = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-staking-reward-curve = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-staking-reward-fn = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-sudo = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-timestamp = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-tips = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-transaction-payment = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-transaction-payment-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-treasury = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-utility = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -pallet-vesting = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -remote-externalities = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-allocator = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-authority-discovery = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-basic-authorship = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-block-builder = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-chain-spec = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-chain-spec-derive = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-cli = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-client-api = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-client-db = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-aura = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-babe = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-babe-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-epochs = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-manual-seal = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-slots = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-uncles = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-executor = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-executor-common = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-executor-wasmi = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-executor-wasmtime = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-finality-grandpa = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-finality-grandpa-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-informant = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-keystore = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-network = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-network-gossip = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-offchain = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-peerset = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-proposer-metrics = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-rpc-api = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-rpc-server = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-service = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-state-db = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-sync-state-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-telemetry = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-tracing = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-tracing-proc-macro = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-transaction-pool = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-transaction-pool-api = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sc-utils = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-api = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-api-proc-macro = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-application-crypto = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-arithmetic = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-authority-discovery = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-authorship = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-block-builder = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-blockchain = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-consensus = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-consensus-aura = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-consensus-babe = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-consensus-slots = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-consensus-vrf = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-core = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-core-hashing = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-core-hashing-proc-macro = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-database = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-debug-derive = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-externalities = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-finality-grandpa = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-inherents = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-io = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-keyring = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-keystore = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-maybe-compressed-blob = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-npos-elections = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-npos-elections-solution-type = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-offchain = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-panic-handler = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-rpc = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-runtime-interface = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-runtime-interface-proc-macro = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-serializer = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-session = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-staking = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-state-machine = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-std = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-storage = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-tasks = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-timestamp = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-tracing = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-transaction-pool = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-transaction-storage-proof = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-trie = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-version = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-version-proc-macro = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -sp-wasm-interface = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -substrate-build-script-utils = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -substrate-frame-rpc-system = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -substrate-prometheus-endpoint = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -substrate-wasm-builder = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } -try-runtime-cli = { git = "https://github.com/composableFi/substrate", branch = "polkadot-v0.9.16" } +[patch."https://github.com/paritytech/polkadot"] +polkadot-cli ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-pvf ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-core-primitives ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-subsystem-util ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +metered-channel ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-jaeger ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-primitives ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-parachain ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-primitives ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-erasure-coding ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-metrics ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-test-service ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-subsystem ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-subsystem-types ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-network-protocol ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-overseer-gen ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-overseer-gen-proc-macro ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-statement-table ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-overseer ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-primitives-test-helpers ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-rpc ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-runtime-common ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-runtime-parachains ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-runtime-metrics ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm-procedural ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm-executor ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +slot-range-helper ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-service ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +kusama-runtime ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +kusama-runtime-constants ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +pallet-xcm ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm-builder ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-approval-distribution ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-subsystem-test-helpers ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-availability-bitfield-distribution ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-availability-distribution ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-availability-recovery ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-client ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-runtime ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-runtime-constants ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +rococo-runtime ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-messages ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-runtime ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-rococo ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-polkadot-core ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-wococo ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bridge-runtime-common ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-message-dispatch ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +pallet-bridge-dispatch ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +pallet-bridge-grandpa ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-header-chain ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +bp-test-utils ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +pallet-bridge-messages ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +rococo-runtime-constants ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +westend-runtime ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +pallet-xcm-benchmarks ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +westend-runtime-constants ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-collator-protocol ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-dispute-distribution ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-gossip-support ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-network-bridge ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-collation-generation ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-approval-voting ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-av-store ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-backing ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-bitfield-signing ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-candidate-validation ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-chain-api ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-chain-selection ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-dispute-coordinator ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-parachains-inherent ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-provisioner ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-pvf-checker ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-node-core-runtime-api ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-statement-distribution ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-test-client ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-test-runtime ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +test-runtime-constants ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +test-parachain-adder ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +test-parachain-halt ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-performance-test ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm-executor-integration-tests ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm-simulator ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm-simulator-example ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +xcm-simulator-fuzzer ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-test-malus ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +zombienet-backchannel ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +test-parachains ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +test-parachain-adder-collator ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +staking-miner ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +remote-ext-tests-bags-list ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot-voter-bags ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } +polkadot ={git = "https://github.com/composableFi/polkadot" ,branch = "release-v0.9.17" } diff --git a/Makefile.toml b/Makefile.toml index 378b97fae38..d7648133a45 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -15,7 +15,7 @@ workspace = false [tasks.polkadot] script = ''' if [ ! -d "../polkadot" ] ; then - git clone -b v0.9.16 https://github.com/paritytech/polkadot ../polkadot + git clone -b v0.9.17 https://github.com/paritytech/polkadot ../polkadot fi cd ../polkadot && cargo build --release ''' diff --git a/docker/composable-sandbox.docker b/docker/composable-sandbox.docker index 38177b282c0..e0b4df7a08d 100644 --- a/docker/composable-sandbox.docker +++ b/docker/composable-sandbox.docker @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends apt-utils ca-ce # ===== SECOND STAGE ====== -FROM andor/mmr-polkadot:v0.9.16 as mmr-polkadot +FROM andor/mmr-polkadot:v0.9.17 as mmr-polkadot FROM debian:11-slim diff --git a/docker/mmr-polkadot.docker b/docker/mmr-polkadot.docker index 9d7926d3c0a..cf49fc6df71 100644 --- a/docker/mmr-polkadot.docker +++ b/docker/mmr-polkadot.docker @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends apt-utils build rustup update && \ rustup update ${NIGHTLY_VERSION} && \ rustup target add wasm32-unknown-unknown --toolchain ${NIGHTLY_VERSION} && \ - git clone -b mmr-polkadot-v0.9.16 https://github.com/composableFi/polkadot + git clone -b mmr-polkadot-v0.9.17 https://github.com/composableFi/polkadot WORKDIR /polkadot diff --git a/docs/benchmarking.md b/docs/benchmarking.md index b1ef6230233..b6d9f2fef99 100644 --- a/docs/benchmarking.md +++ b/docs/benchmarking.md @@ -170,7 +170,7 @@ add_benchmark!(params, batches, balances, Balances); // ... ``` -or [define_benchmarks](https://github.com/paritytech/substrate/blob/master/frame/benchmarking/src/lib.rs#L1834-L1869) macro (it's available starting with `polkadot-v0.9.16` branch): +or [define_benchmarks](https://github.com/paritytech/substrate/blob/master/frame/benchmarking/src/lib.rs#L1834-L1869) macro (it's available starting with `polkadot-v0.9.17` branch): ```rust define_benchmarks!( @@ -185,7 +185,7 @@ https://github.com/paritytech/substrate/blob/master/frame/benchmarking/src/lib.r https://crates.io/crates/frame-benchmarking Extra: -If we are running the latest version of the frame-benchmarking dependency we can also add our pallet to the [benchmark_metadata](https://github.com/paritytech/substrate/blob/polkadot-v0.9.16/frame/benchmarking/src/utils.rs#L150) function. +If we are running the latest version of the frame-benchmarking dependency we can also add our pallet to the [benchmark_metadata](https://github.com/paritytech/substrate/blob/polkadot-v0.9.17/frame/benchmarking/src/utils.rs#L150) function. diff --git a/docs/custom-rpcs.md b/docs/custom-rpcs.md index 1c3432c45da..5db30c00f42 100644 --- a/docs/custom-rpcs.md +++ b/docs/custom-rpcs.md @@ -32,7 +32,7 @@ rust-version = "1.56" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "2.0.0" } # ...any other dependencies, as per usual @@ -80,10 +80,10 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] # substrate primitives -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # SCALE scale-info = { version = "1.0", features = ["derive"] } diff --git a/frame/assets-registry/Cargo.toml b/frame/assets-registry/Cargo.toml index 699afed1351..cd7b3246a23 100644 --- a/frame/assets-registry/Cargo.toml +++ b/frame/assets-registry/Cargo.toml @@ -21,15 +21,15 @@ version = "2.0.0" [dependencies] composable-traits = { path = "../composable-traits", default-features = false } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -xcm = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +xcm = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17" } log = { version = "0.4.14", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ @@ -37,7 +37,7 @@ scale-info = { version = "1.0", default-features = false, features = [ ] } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/frame/assets/Cargo.toml b/frame/assets/Cargo.toml index 492c4d8a7c6..203d1d44861 100644 --- a/frame/assets/Cargo.toml +++ b/frame/assets/Cargo.toml @@ -9,21 +9,21 @@ version = "0.0.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # local composable-traits = { path = "../composable-traits", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } @@ -37,8 +37,8 @@ num-traits = { version = "0.2.14", default-features = false } [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } governance-registry = { package = "pallet-governance-registry", path = "../governance-registry" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } proptest = "1.0" [package.metadata.cargo-udeps.ignore] diff --git a/frame/assets/rpc/Cargo.toml b/frame/assets/rpc/Cargo.toml index 8febc4ac687..d0618f8130c 100644 --- a/frame/assets/rpc/Cargo.toml +++ b/frame/assets/rpc/Cargo.toml @@ -11,10 +11,10 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] # substrate primitives -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # local assets-runtime-api = { path = "../runtime-api" } diff --git a/frame/assets/runtime-api/Cargo.toml b/frame/assets/runtime-api/Cargo.toml index 5fb378b2f6c..26a28fabd30 100644 --- a/frame/assets/runtime-api/Cargo.toml +++ b/frame/assets/runtime-api/Cargo.toml @@ -14,7 +14,7 @@ codec = { default-features = false, features = [ "derive", ], package = "parity-scale-codec", version = "2.0.0" } composable-support = { path = "../../composable-support", default-features = false } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/frame/bonded-finance/Cargo.toml b/frame/bonded-finance/Cargo.toml index 8cebec8b5cd..dc1b9f536e5 100644 --- a/frame/bonded-finance/Cargo.toml +++ b/frame/bonded-finance/Cargo.toml @@ -16,27 +16,27 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-support = { default-features = false, path = "../composable-support" } composable-traits = { path = "../../frame/composable-traits", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } composable-traits = { path = "../../frame/composable-traits" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } pallet-vesting = { path = "../../frame/vesting" } proptest = "1.0" proptest-derive = "0.3" diff --git a/frame/bonded-finance/src/lib.rs b/frame/bonded-finance/src/lib.rs index 9150962fec0..b49c0393620 100644 --- a/frame/bonded-finance/src/lib.rs +++ b/frame/bonded-finance/src/lib.rs @@ -188,6 +188,7 @@ pub mod pallet { #[pallet::pallet] #[pallet::generate_store(pub(super) trait Store)] + #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::type_value] diff --git a/frame/call-filter/Cargo.toml b/frame/call-filter/Cargo.toml index f2ffee1e024..f6fc932a6b1 100644 --- a/frame/call-filter/Cargo.toml +++ b/frame/call-filter/Cargo.toml @@ -13,17 +13,17 @@ scale-info = { version = "1.0.0", features = [ "derive", ], default-features = false } serde = { version = "1.0.130", optional = true } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } smallvec = "1.4.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/frame/composable-maths/Cargo.toml b/frame/composable-maths/Cargo.toml index 27ebb2ac8a3..83cf896b5b0 100644 --- a/frame/composable-maths/Cargo.toml +++ b/frame/composable-maths/Cargo.toml @@ -9,12 +9,12 @@ version = "0.0.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } codec = { version = "2.0.0", package = "parity-scale-codec", default-features = false, features = [ "derive", diff --git a/frame/composable-support/Cargo.toml b/frame/composable-support/Cargo.toml index 8c6df2a0faf..1f3fb22bcd4 100644 --- a/frame/composable-support/Cargo.toml +++ b/frame/composable-support/Cargo.toml @@ -10,12 +10,12 @@ version = "0.0.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } codec = { version = "2.0.0", package = "parity-scale-codec", default-features = false, features = [ "derive", diff --git a/frame/composable-tests-helpers/Cargo.toml b/frame/composable-tests-helpers/Cargo.toml index b3f75c948e4..8bdced2f2b0 100644 --- a/frame/composable-tests-helpers/Cargo.toml +++ b/frame/composable-tests-helpers/Cargo.toml @@ -9,14 +9,14 @@ version = "0.0.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } serde = { version = "1", optional = true } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [dependencies.codec] diff --git a/frame/composable-tests-helpers/src/test/proptest.rs b/frame/composable-tests-helpers/src/test/proptest.rs index 43328df5146..1859ea33ab7 100644 --- a/frame/composable-tests-helpers/src/test/proptest.rs +++ b/frame/composable-tests-helpers/src/test/proptest.rs @@ -41,9 +41,12 @@ macro_rules! prop_assert_noop { $x:expr, $y:expr $(,)? ) => { - let h = frame_support::storage_root(); + let h = frame_support::storage_root(sp_core::storage::StateVersion::V0); composable_tests_helpers::prop_assert_err!($x, $y); - proptest::prop_assert_eq!(h, frame_support::storage_root()); + proptest::prop_assert_eq!( + h, + frame_support::storage_root(sp_core::storage::StateVersion::V0) + ); }; } diff --git a/frame/composable-traits/Cargo.toml b/frame/composable-traits/Cargo.toml index 0b15225b5bb..29434821ebb 100644 --- a/frame/composable-traits/Cargo.toml +++ b/frame/composable-traits/Cargo.toml @@ -9,12 +9,12 @@ version = "0.0.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -xcm = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +xcm = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17" } bitflags = "1.3.2" composable-support = { default-features = false, path = "../composable-support" } diff --git a/frame/crowdloan-rewards/Cargo.toml b/frame/crowdloan-rewards/Cargo.toml index 700441dad62..95382909324 100644 --- a/frame/crowdloan-rewards/Cargo.toml +++ b/frame/crowdloan-rewards/Cargo.toml @@ -18,31 +18,31 @@ version = "2.0.0" [dev-dependencies] hex-literal = "0.3.3" libsecp256k1 = { version = "0.7.0" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } serde = "1.0.130" -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [dependencies] # Benchmarking -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } hex-literal = { version = "0.3.3", optional = true } libsecp256k1 = { version = "0.7.0", default-features = false, optional = true, features = [ "hmac", "static-context", ] } -sp-application-crypto = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-application-crypto = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # FRAME -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # substrate primitives -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # SCALE scale-info = { version = "1.0", default-features = false, features = [ diff --git a/frame/crowdloan-rewards/rpc/Cargo.toml b/frame/crowdloan-rewards/rpc/Cargo.toml index 91ba20365a6..251ba03cba7 100644 --- a/frame/crowdloan-rewards/rpc/Cargo.toml +++ b/frame/crowdloan-rewards/rpc/Cargo.toml @@ -11,13 +11,13 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] # FRAME -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # substrate primitives -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # local composable-support = { path = "../../composable-support" } diff --git a/frame/crowdloan-rewards/runtime-api/Cargo.toml b/frame/crowdloan-rewards/runtime-api/Cargo.toml index 588fb703c31..32abb649ba9 100644 --- a/frame/crowdloan-rewards/runtime-api/Cargo.toml +++ b/frame/crowdloan-rewards/runtime-api/Cargo.toml @@ -14,7 +14,7 @@ codec = { default-features = false, features = [ "derive", ], package = "parity-scale-codec", version = "2.0.0" } composable-support = { path = "../../composable-support", default-features = false } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # REVIEW: Does the runtime API need features? diff --git a/frame/crowdloan-rewards/src/tests.rs b/frame/crowdloan-rewards/src/tests.rs index 46a2af6a449..c9941ebdf3c 100644 --- a/frame/crowdloan-rewards/src/tests.rs +++ b/frame/crowdloan-rewards/src/tests.rs @@ -8,11 +8,10 @@ use crate::{ models::{EcdsaSignature, EthereumAddress, Proof, RemoteAccount}, Error, RemoteAccountOf, RewardAmountOf, VestingPeriodOf, }; - use codec::Encode; use frame_support::{assert_noop, assert_ok, traits::Currency}; use hex_literal::hex; -use sp_core::{ed25519, Pair}; +use sp_core::{ed25519, storage::StateVersion, Pair}; fn with_rewards( count: u128, @@ -116,11 +115,11 @@ fn test_populate_ok() { // Try to repopulate using the same generated accounts // In this case, the total shouldn't change as its duplicate // No error will be yield but the process should be = identity - let s = frame_support::storage_root(); + let s = frame_support::storage_root(StateVersion::V1); let expected_total_rewards = 100 * DEFAULT_REWARD; Balances::make_free_balance_be(&CrowdloanRewards::account_id(), expected_total_rewards); assert_ok!(CrowdloanRewards::populate(Origin::root(), gen(100, DEFAULT_REWARD))); - assert_eq!(s, frame_support::storage_root()); + assert_eq!(s, frame_support::storage_root(StateVersion::V1)); assert_eq!(CrowdloanRewards::total_rewards(), expected_total_rewards); assert_eq!(CrowdloanRewards::claimed_rewards(), 0); diff --git a/frame/currency-factory/Cargo.toml b/frame/currency-factory/Cargo.toml index 70129f737ef..5323b99b1c5 100644 --- a/frame/currency-factory/Cargo.toml +++ b/frame/currency-factory/Cargo.toml @@ -17,26 +17,26 @@ version = "2.0.0" [dependencies] # FRAME -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # substrate primitives scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # local composable-traits = { path = "../composable-traits", default-features = false } [dev-dependencies] composable-tests-helpers = { version = "0.0.1", path = "../composable-tests-helpers" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } proptest = "1.0.0" [features] diff --git a/frame/curve-amm/Cargo.toml b/frame/curve-amm/Cargo.toml index c3e02f180cf..bf54570d769 100644 --- a/frame/curve-amm/Cargo.toml +++ b/frame/curve-amm/Cargo.toml @@ -19,15 +19,15 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } pallet-oracle = { default-features = false, optional = true, version = "1.0.0", path = "../oracle" } pallet-vault = { default-features = false, version = "0.0.1", path = "../vault", optional = true } @@ -43,8 +43,8 @@ serde = { version = '1', optional = true } [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } pallet-currency-factory = { version = "0.0.1", path = "../currency-factory" } proptest = "1.0" diff --git a/frame/curve-amm/src/benchmarking.rs b/frame/curve-amm/src/benchmarking.rs index ef112af7fad..54fa3e78ada 100644 --- a/frame/curve-amm/src/benchmarking.rs +++ b/frame/curve-amm/src/benchmarking.rs @@ -22,6 +22,57 @@ benchmarks! { let protocol_fee = Permill::from_percent(1); } : _(RawOrigin::Signed(owner), pair, amplification_factor, fee, protocol_fee) + add_liquidity { + let usdc: T::AssetId = 100.into(); + let usdt: T::AssetId = 101.into(); + let owner = whitelisted_caller(); + let pool_id = StableSwap::::do_create_pool( + &owner, + CurrencyPair::new(usdc, usdt), + 1000_u16, + Permill::from_percent(1), + Permill::from_percent(1), + ) .expect("impossible; qed;"); + let unit = 1_000_000_000_000; + // 100_000_000 USDC , 100_000_000 USDT + let initial_usdc: T::Balance = (100_000_000_u128 * unit).into(); + let initial_usdt: T::Balance = (100_000_000_u128 * unit).into(); + // Mint the tokens + assert_ok!(T::Assets::mint_into(usdc, &owner, initial_usdc)); + assert_ok!(T::Assets::mint_into(usdt, &owner, initial_usdt)); + }: _(RawOrigin::Signed(owner), pool_id, initial_usdc, initial_usdt, 0.into(), false) + + remove_liquidity { + let usdc: T::AssetId = 100.into(); + let usdt: T::AssetId = 101.into(); + let owner = whitelisted_caller(); + let pool_id = StableSwap::::do_create_pool( + &owner, + CurrencyPair::new(usdc, usdt), + 1000_u16, + Permill::from_percent(1), + Permill::from_percent(1), + ) .expect("impossible; qed;"); + let unit = 1_000_000_000_000; + // 100_000_000 USDC , 100_000_000 USDT + let initial_usdc: T::Balance = (100_000_000_u128 * unit).into(); + let initial_usdt: T::Balance = (100_000_000_u128 * unit).into(); + // Mint the tokens + assert_ok!(T::Assets::mint_into(usdc, &owner, initial_usdc)); + assert_ok!(T::Assets::mint_into(usdt, &owner, initial_usdt)); + // Add the liquidity + assert_ok!( as Amm>::add_liquidity( + &owner, + pool_id, + initial_usdc, + initial_usdt, + 0.into(), + false + )); + let pool_info = StableSwap::::get_pool(pool_id).expect("impossible; qed;"); + let lp_amount = T::Assets::balance(pool_info.lp_token, &owner); + }: _(RawOrigin::Signed(owner), pool_id, lp_amount, (0_u128).into(), (0_u128).into()) + buy { let usdc: T::AssetId = 100.into(); let usdt: T::AssetId = 101.into(); diff --git a/frame/democracy/Cargo.toml b/frame/democracy/Cargo.toml index b0dd8c631d4..f0852fa91db 100644 --- a/frame/democracy/Cargo.toml +++ b/frame/democracy/Cargo.toml @@ -16,25 +16,25 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = "derive", ] } composable-traits = { default-features = false, path = "../composable-traits" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } serde = { version = "1.0.130", optional = true, features = ["derive"] } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } pallet-governance-registry = { path = "../governance-registry" } -pallet-preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/frame/dex-router/Cargo.toml b/frame/dex-router/Cargo.toml index b3f7e8b3f34..4365fe9de57 100644 --- a/frame/dex-router/Cargo.toml +++ b/frame/dex-router/Cargo.toml @@ -10,17 +10,17 @@ version = "0.0.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-traits = { path = "../composable-traits", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } pallet-curve-amm = { path = "../curve-amm", default-features = false } pallet-uniswap-v2 = { path = "../uniswap-v2", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ @@ -36,8 +36,8 @@ version = "2.0.0" [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } pallet-currency-factory = { version = "0.0.1", path = "../currency-factory" } [features] diff --git a/frame/dutch-auction/Cargo.toml b/frame/dutch-auction/Cargo.toml index ea59fa8f610..1b6bee2c931 100644 --- a/frame/dutch-auction/Cargo.toml +++ b/frame/dutch-auction/Cargo.toml @@ -17,30 +17,30 @@ version = "2.0.0" [dependencies] composable-traits = { path = "../composable-traits", default-features = false } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } num-traits = { version = "0.2.14", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } serde = { version = "1.0.130", optional = true } smallvec = "1.7.0" -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } hex-literal = { version = "0.3.3" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } pallet-assets = { path = '../assets' } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } pallet-currency-factory = { path = "../currency-factory" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } proptest = "1.0" [package.metadata.cargo-udeps.ignore] diff --git a/frame/governance-registry/Cargo.toml b/frame/governance-registry/Cargo.toml index 60a71ce8ad8..1cd13a66e65 100644 --- a/frame/governance-registry/Cargo.toml +++ b/frame/governance-registry/Cargo.toml @@ -10,17 +10,17 @@ version = "0.0.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-traits = { path = "../composable-traits", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } @@ -32,7 +32,7 @@ package = "parity-scale-codec" version = "2.0.0" [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/frame/lending/Cargo.toml b/frame/lending/Cargo.toml index 5aa03862404..f1f8155c893 100644 --- a/frame/lending/Cargo.toml +++ b/frame/lending/Cargo.toml @@ -19,17 +19,17 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", optional = true } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", optional = true } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", optional = true } +pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", optional = true } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-support = { default-features = false, path = "../composable-support" } composable-traits = { default-features = false, path = "../composable-traits" } @@ -45,17 +45,17 @@ scale-info = { version = "1.0", default-features = false, features = [ [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } hex-literal = "0.3.3" once_cell = "1.8.0" -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } pallet-assets = { path = "../assets" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } pallet-currency-factory = { path = "../currency-factory" } pallet-dutch-auction = { path = "../dutch-auction" } pallet-liquidations = { path = "../liquidations" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } proptest = "1.0" serde = { version = "1.0.130" } smallvec = "1.7.0" diff --git a/frame/liquidations/Cargo.toml b/frame/liquidations/Cargo.toml index 8153db4968b..fccbea16e2e 100644 --- a/frame/liquidations/Cargo.toml +++ b/frame/liquidations/Cargo.toml @@ -16,15 +16,15 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-traits = { path = "../composable-traits", default-features = false } @@ -36,13 +36,13 @@ scale-info = { version = "1.0", default-features = false, features = [ [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } hex-literal = { version = "0.3.3" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } pallet-assets = { path = "../assets" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } pallet-currency-factory = { path = "../currency-factory" } pallet-dutch-auction = { path = "../dutch-auction" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } proptest = "1.0" smallvec = "1.7.0" diff --git a/frame/liquidity-bootstrapping/Cargo.toml b/frame/liquidity-bootstrapping/Cargo.toml index cdcd7eda9f4..56f07060f08 100644 --- a/frame/liquidity-bootstrapping/Cargo.toml +++ b/frame/liquidity-bootstrapping/Cargo.toml @@ -16,17 +16,17 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } rust_decimal = { version = "1", default-features = false, features = ["maths"] } @@ -38,8 +38,8 @@ plotters = { version = "0.3", optional = true } [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } pallet-currency-factory = { path = "../currency-factory" } proptest = { version = "1.0" } diff --git a/frame/mosaic/Cargo.toml b/frame/mosaic/Cargo.toml index 6ab36a354f3..0c37d8de6f8 100644 --- a/frame/mosaic/Cargo.toml +++ b/frame/mosaic/Cargo.toml @@ -24,15 +24,15 @@ version = "2.0.0" [dependencies] composable-traits = { path = "../composable-traits", default-features = false } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } composable-support = { path = "../composable-support", default-features = false } log = { version = "0.4.14", default-features = false } @@ -44,8 +44,8 @@ scale-info = { version = "1.0", default-features = false, features = [ [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } proptest = "1.0" [features] diff --git a/frame/mosaic/src/lib.rs b/frame/mosaic/src/lib.rs index 2c4b5a8dcba..a67e90da369 100644 --- a/frame/mosaic/src/lib.rs +++ b/frame/mosaic/src/lib.rs @@ -102,6 +102,7 @@ pub mod pallet { #[pallet::pallet] #[pallet::generate_store(pub(super) trait Store)] + #[pallet::without_storage_info] pub struct Pallet(_); /// Convenience identifiers emitted by the pallet for relayer bookkeeping. diff --git a/frame/oracle/Cargo.toml b/frame/oracle/Cargo.toml index 27fffe33ae6..73a054d7cf3 100644 --- a/frame/oracle/Cargo.toml +++ b/frame/oracle/Cargo.toml @@ -17,13 +17,13 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } lite-json = { version = "0.1", default-features = false } log = { version = "0.4.14", default-features = false } @@ -31,7 +31,7 @@ serde_json = { version = "1.0.45", default-features = false, features = [ "alloc", ] } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-support = { path = "../composable-support", default-features = false } composable-traits = { path = "../composable-traits", default-features = false } @@ -40,10 +40,10 @@ scale-info = { version = "1.0", default-features = false, features = [ ] } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } parking_lot = "0.11.2" serde = "1.0.130" -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/frame/pablo/Cargo.toml b/frame/pablo/Cargo.toml index f76bf1c84b3..ce5bb3cb852 100644 --- a/frame/pablo/Cargo.toml +++ b/frame/pablo/Cargo.toml @@ -16,17 +16,17 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } rust_decimal = { version = "1", default-features = false, features = ["maths"] } @@ -38,8 +38,8 @@ plotters = { version = "0.3", optional = true } [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } pallet-currency-factory = { path = "../currency-factory" } proptest = { version = "1.0" } diff --git a/frame/ping/Cargo.toml b/frame/ping/Cargo.toml index 9512e152f05..f13687fa7c2 100644 --- a/frame/ping/Cargo.toml +++ b/frame/ping/Cargo.toml @@ -15,15 +15,15 @@ scale-info = { version = "1.0.0", default-features = false, features = [ ] } serde = { version = "1.0.130", optional = true, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.16" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.16" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.16" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.17" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.17" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.17" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.17" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.16" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.17" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } [features] default = ["std"] diff --git a/frame/privilege/Cargo.toml b/frame/privilege/Cargo.toml index d12f11655e0..704e9dbc609 100644 --- a/frame/privilege/Cargo.toml +++ b/frame/privilege/Cargo.toml @@ -15,17 +15,17 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } bitflags = "1.3.2" composable-traits = { version = "0.0.1", path = "../composable-traits", default-features = false } diff --git a/frame/transaction-fee/Cargo.lock b/frame/transaction-fee/Cargo.lock index eddd11f9834..a4794ea2308 100644 --- a/frame/transaction-fee/Cargo.lock +++ b/frame/transaction-fee/Cargo.lock @@ -537,7 +537,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "bitflags", "frame-metadata", @@ -566,7 +566,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -578,7 +578,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -590,7 +590,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro2", "quote", @@ -600,7 +600,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "log", @@ -1142,7 +1142,7 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=aac79b3b31953381669a2ffa9b3e9bfe48e87f38#aac79b3b31953381669a2ffa9b3e9bfe48e87f38" dependencies = [ "frame-support", "frame-system", @@ -1156,7 +1156,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=aac79b3b31953381669a2ffa9b3e9bfe48e87f38#aac79b3b31953381669a2ffa9b3e9bfe48e87f38" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1173,7 +1173,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6#2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=aac79b3b31953381669a2ffa9b3e9bfe48e87f38#aac79b3b31953381669a2ffa9b3e9bfe48e87f38" dependencies = [ "frame-support", "parity-scale-codec", @@ -1206,7 +1206,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -1223,7 +1223,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -1791,7 +1791,7 @@ checksum = "4210e1a17d165a0c1d4a233af1e3b36fb21b1359042767a4d2c73554f5f8c2aa" [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "hash-db", "log", @@ -1808,7 +1808,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -1820,7 +1820,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -1833,7 +1833,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "integer-sqrt", "num-traits", @@ -1848,7 +1848,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "base58", "bitflags", @@ -1896,7 +1896,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "blake2-rfc", "byteorder", @@ -1909,7 +1909,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro2", "quote", @@ -1920,7 +1920,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro2", "quote", @@ -1930,7 +1930,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "environmental", "parity-scale-codec", @@ -1941,7 +1941,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -1955,7 +1955,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures", "hash-db", @@ -1979,7 +1979,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "derive_more", @@ -1995,7 +1995,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "backtrace", "lazy_static", @@ -2005,7 +2005,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "either", "hash256-std-hasher", @@ -2027,7 +2027,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -2044,7 +2044,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "Inflector", "proc-macro-crate", @@ -2056,7 +2056,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -2067,7 +2067,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "hash-db", "log", @@ -2090,12 +2090,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" [[package]] name = "sp-storage" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -2108,7 +2108,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "sp-std", @@ -2120,7 +2120,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "hash-db", "memory-db", @@ -2135,7 +2135,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -2152,7 +2152,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -2163,7 +2163,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.17#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-trait-for-tuples", "log", @@ -2611,8 +2611,8 @@ checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" [[package]] name = "xcm" -version = "0.9.16" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +version = "0.9.17" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -2625,7 +2625,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#41ab002d7451766324a9f314fee11c9c53314350" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "Inflector", "proc-macro2", diff --git a/frame/transaction-fee/Cargo.toml b/frame/transaction-fee/Cargo.toml index 8b656928bef..2a101b8021b 100644 --- a/frame/transaction-fee/Cargo.toml +++ b/frame/transaction-fee/Cargo.toml @@ -12,22 +12,22 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false } composable-traits = { path = "../composable-traits", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } primitives = { path = "../../runtime/primitives", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } [dev-dependencies] -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } smallvec = "1.6.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/frame/uniswap-v2/Cargo.toml b/frame/uniswap-v2/Cargo.toml index 4e2c5107fbd..534003d9bfc 100644 --- a/frame/uniswap-v2/Cargo.toml +++ b/frame/uniswap-v2/Cargo.toml @@ -15,15 +15,15 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-maths = { path = "../composable-maths", default-features = false } composable-traits = { path = "../composable-traits", default-features = false } @@ -37,8 +37,8 @@ serde = { version = "1.0.130", optional = true } [dev-dependencies] composable-tests-helpers = { path = "../composable-tests-helpers" } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } pallet-currency-factory = { path = "../currency-factory" } proptest = { version = "1.0" } diff --git a/frame/uniswap-v2/src/benchmarking.rs b/frame/uniswap-v2/src/benchmarking.rs index ea0255e0a1d..8344ffccadf 100644 --- a/frame/uniswap-v2/src/benchmarking.rs +++ b/frame/uniswap-v2/src/benchmarking.rs @@ -22,8 +22,8 @@ benchmarks! { }: _(RawOrigin::Signed(owner), pair, fee, owner_fee) add_liquidity { - let btc: T::AssetId = 0.into(); - let usdt: T::AssetId = 1.into(); + let btc: T::AssetId = 100.into(); + let usdt: T::AssetId = 101.into(); let owner = whitelisted_caller(); let pool_id = Uni::::do_create_pool( &owner, @@ -43,8 +43,8 @@ benchmarks! { }: _(RawOrigin::Signed(owner), pool_id, initial_btc, initial_usdt, 0.into(), false) remove_liquidity { - let btc: T::AssetId = 0.into(); - let usdt: T::AssetId = 1.into(); + let btc: T::AssetId = 100.into(); + let usdt: T::AssetId = 101.into(); let owner = whitelisted_caller(); let pool_id = Uni::::do_create_pool( &owner, @@ -108,82 +108,70 @@ benchmarks! { // buy 1 btc }: _(RawOrigin::Signed(user), pool_id, btc, unit.into(), false) -// TODO: Fix this benchmark -// -// Error: -// 0: Invalid input: ExistentialDeposit -// -// -// sell { -// let btc: T::AssetId = 100.into(); -// let usdt: T::AssetId = 101.into(); -// let owner = whitelisted_caller(); -// let pool_id = Uni::::do_create_pool( -// &owner, -// CurrencyPair::new(btc, usdt), -// Permill::from_percent(1), -// Permill::from_percent(1), -// ) .expect("impossible; qed;"); -// let unit = 1_000_000_000_000; -// let btc_price = 45_000; -// let nb_of_btc = 100; -// // 100 btc/4.5M usdt -// let initial_btc: T::Balance = (nb_of_btc * unit).into(); -// let initial_usdt: T::Balance = (nb_of_btc * btc_price * unit).into(); -// // Mint the tokens -// assert_ok!(T::Assets::mint_into(btc, &owner, initial_btc)); -// assert_ok!(T::Assets::mint_into(usdt, &owner, initial_usdt)); -// // Add the liquidity -// assert_ok!( as CurveAmm>::add_liquidity( -// &owner, -// pool_id, -// initial_btc, -// initial_usdt, -// 0.into(), -// false -// )); -// let user = account("user", 0, 0); -// assert_ok!(T::Assets::mint_into(btc, &user, unit.into())); -// }: _(RawOrigin::Signed(user), pool_id, btc, unit.into(), false) + sell { + let btc: T::AssetId = 100.into(); + let usdt: T::AssetId = 101.into(); + let owner = whitelisted_caller(); + let pool_id = Uni::::do_create_pool( + &owner, + CurrencyPair::new(btc, usdt), + Permill::from_percent(1), + Permill::from_percent(1), + ) .expect("impossible; qed;"); + let unit = 1_000_000_000_000; + let btc_price = 45_000; + let nb_of_btc = 100; + // 100 btc/4.5M usdt + let initial_btc: T::Balance = (nb_of_btc * unit).into(); + let initial_usdt: T::Balance = (nb_of_btc * btc_price * unit).into(); + // Mint the tokens + assert_ok!(T::Assets::mint_into(btc, &owner, initial_btc)); + assert_ok!(T::Assets::mint_into(usdt, &owner, initial_usdt)); + // Add the liquidity + assert_ok!( as Amm>::add_liquidity( + &owner, + pool_id, + initial_btc, + initial_usdt, + 0.into(), + false + )); + let user = account("user", 0, 0); + assert_ok!(T::Assets::mint_into(btc, &user, unit.into())); + }: _(RawOrigin::Signed(user), pool_id, btc, unit.into(), false) -// TODO: Fix this benchmark -// -// Error: -// 0: Invalid input: ExistentialDeposit -// -// -// swap { -// let btc: T::AssetId = 100.into(); -// let usdt: T::AssetId = 101.into(); -// let owner = whitelisted_caller(); -// let pair = CurrencyPair::new(btc, usdt); -// let pool_id = Uni::::do_create_pool( -// &owner, -// pair, -// Permill::from_percent(1), -// Permill::from_percent(1), -// ) .expect("impossible; qed;"); -// let unit = 1_000_000_000_000; -// let btc_price = 45_000; -// let nb_of_btc = 100; -// // 100 btc/4.5M usdt -// let initial_btc: T::Balance = (nb_of_btc * unit).into(); -// let initial_usdt: T::Balance = (nb_of_btc * btc_price * unit).into(); -// // Mint the tokens -// assert_ok!(T::Assets::mint_into(btc, &owner, initial_btc)); -// assert_ok!(T::Assets::mint_into(usdt, &owner, initial_usdt)); -// // Add the liquidity -// assert_ok!( as CurveAmm>::add_liquidity( -// &owner, -// pool_id, -// initial_btc, -// initial_usdt, -// 0.into(), -// false -// )); -// let user = account("user", 0, 0); -// assert_ok!(T::Assets::mint_into(btc, &user, unit.into())); -// }: _(RawOrigin::Signed(user), pool_id, pair.swap(), unit.into(), 0.into(), false) + swap { + let btc: T::AssetId = 100.into(); + let usdt: T::AssetId = 101.into(); + let owner = whitelisted_caller(); + let pair = CurrencyPair::new(btc, usdt); + let pool_id = Uni::::do_create_pool( + &owner, + pair, + Permill::from_percent(1), + Permill::from_percent(1), + ) .expect("impossible; qed;"); + let unit = 1_000_000_000_000; + let btc_price = 45_000; + let nb_of_btc = 100; + // 100 btc/4.5M usdt + let initial_btc: T::Balance = (nb_of_btc * unit).into(); + let initial_usdt: T::Balance = (nb_of_btc * btc_price * unit).into(); + // Mint the tokens + assert_ok!(T::Assets::mint_into(btc, &owner, initial_btc)); + assert_ok!(T::Assets::mint_into(usdt, &owner, initial_usdt)); + // Add the liquidity + assert_ok!( as Amm>::add_liquidity( + &owner, + pool_id, + initial_btc, + initial_usdt, + 0.into(), + false + )); + let user = account("user", 0, 0); + assert_ok!(T::Assets::mint_into(btc, &user, unit.into())); + }: _(RawOrigin::Signed(user), pool_id, pair.swap(), unit.into(), 0.into(), false) } impl_benchmark_test_suite!(Uni, crate::mock::new_test_ext(), crate::mock::Test); diff --git a/frame/vault/Cargo.toml b/frame/vault/Cargo.toml index 29070bc7aaa..c02612e0270 100644 --- a/frame/vault/Cargo.toml +++ b/frame/vault/Cargo.toml @@ -16,15 +16,15 @@ package = "parity-scale-codec" version = "2.0.0" [dependencies] -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } composable-support = { path = "../composable-support", default-features = false } composable-traits = { path = "../composable-traits", default-features = false } @@ -39,9 +39,9 @@ scale-info = { version = "1.0", default-features = false, features = [ [dev-dependencies] composable-tests-helpers = { version = "0.0.1", path = "../composable-tests-helpers" } once_cell = "1.8.0" -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } proptest = "1.0" serde = "1.0.130" diff --git a/frame/vesting/Cargo.toml b/frame/vesting/Cargo.toml index 649f80ac128..e4a88ef7641 100644 --- a/frame/vesting/Cargo.toml +++ b/frame/vesting/Cargo.toml @@ -15,21 +15,21 @@ scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } serde = { version = "1.0.130", optional = true } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } composable-traits = { version = "0.0.1", path = "../../frame/composable-traits", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } [dev-dependencies] -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/integration-tests/local-integration-tests/Cargo.toml b/integration-tests/local-integration-tests/Cargo.toml index 10cce4277be..a171e715c16 100644 --- a/integration-tests/local-integration-tests/Cargo.toml +++ b/integration-tests/local-integration-tests/Cargo.toml @@ -19,44 +19,44 @@ normal = [ ] [dependencies] -executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } num-traits = { version = "0.2.14", default-features = false } -support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # primitives -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # modules -aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } smallvec = "1.6.1" -sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # local modules assets = { package = "pallet-assets", path = "../../frame/assets", default-features = false, optional = true } @@ -71,47 +71,47 @@ primitives = { path = "../../runtime/primitives", default-features = false } vault = { package = "pallet-vault", path = "../../frame/vault", default-features = false } # Used for the node template's RPCs -system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # Used for runtime benchmarking -benchmarking = { package = "frame-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +benchmarking = { package = "frame-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [ "derive", ] } hex-literal = { version = "0.3.3", optional = true } -system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } # Parachain Utilities -collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } # added on top of runtime for emulation of network dali-runtime = { package = "dali-runtime", path = "../../runtime/dali", default-features = false } -kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } paste = "1.0.6" -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "a250ffc998bac4831c5692c591dee7bc13f3aead", default-features = false } [dev-dependencies] diff --git a/integration-tests/local-integration-tests/src/cross_chain_transfer.rs b/integration-tests/local-integration-tests/src/cross_chain_transfer.rs index 0b87a6b555f..5af2bee9e80 100644 --- a/integration-tests/local-integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/local-integration-tests/src/cross_chain_transfer.rs @@ -25,7 +25,7 @@ use primitives::currency::*; use sp_runtime::{assert_eq_error_rate, traits::AccountIdConversion, MultiAddress}; use support::{assert_ok, log}; use xcm::latest::prelude::*; -use xcm_builder::ParentIsDefault; +use xcm_builder::ParentIsPreset; use xcm_emulator::TestExt; use xcm_executor::{traits::Convert, XcmExecutor}; @@ -948,7 +948,7 @@ fn trap_assets_lower_than_existential_deposit_works() { let any_asset = CurrencyId::KSM; let this_native_asset = CurrencyId::PICA; - let parent_account: AccountId = ParentIsDefault::::convert(Parent.into()).unwrap(); + let parent_account: AccountId = ParentIsPreset::::convert(Parent.into()).unwrap(); let (this_treasury_amount, other_treasury_amount) = Picasso::execute_with(|| { assert_ok!(Assets::deposit(any_asset, &parent_account, other_non_native_amount)); diff --git a/nix/devnet.json b/nix/devnet.json index f83d3e6a4e6..df28048a241 100644 --- a/nix/devnet.json +++ b/nix/devnet.json @@ -1 +1 @@ -{ "composable": { "name": "picasso", "version": "68d0c38b8c3e65021a99888f35cd5d58238cfa07", "hash": "0qj4hrsvxcblmf8xfq46bg345sq733ay9mywd11q3l8cb6w464vd" }, "polkadot": { "version": "0.9.16", "hash": "sha256-zDu0Tj7cSCER/ASxQmt+JCjoxLZc8UI8nYkrqXtveRU=" } } +{ "composable": { "name": "picasso", "version": "68d0c38b8c3e65021a99888f35cd5d58238cfa07", "hash": "0qj4hrsvxcblmf8xfq46bg345sq733ay9mywd11q3l8cb6w464vd" }, "polkadot": { "version": "0.9.17", "hash": "sha256-zDu0Tj7cSCER/ASxQmt+JCjoxLZc8UI8nYkrqXtveRU=" } } diff --git a/node/Cargo.toml b/node/Cargo.toml index 583cdff9ea7..cb93a7a5283 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -4,17 +4,17 @@ build = "build.rs" edition = "2018" homepage = "https://composable.finance" name = "composable-node" -version = '1.0.9' +version = "1.0.0" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] +clap = "3.1.6" codec = { package = "parity-scale-codec", version = "2.0.0" } jsonrpc-core = "18" log = "0.4.14" serde = { version = "1.0.130", features = ["derive"] } -structopt = "0.3.8" # Local Dependencies common = { path = "../runtime/common" } @@ -32,74 +32,74 @@ crowdloan-rewards-rpc = { path = "../frame/crowdloan-rewards/rpc" } crowdloan-rewards-runtime-api = { path = "../frame/crowdloan-rewards/runtime-api" } # FRAME Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } ## Substrate Client Dependencies -grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", features = [ +grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", features = [ "wasmtime", ] } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } ## Substrate Primitive Dependencies -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } # Polkadot dependencies -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", features = [ +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", features = [ "rococo-native", ] } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [dev-dependencies] hex = "0.4.3" diff --git a/node/src/cli.rs b/node/src/cli.rs index d92b2daffe6..3a2adeaf303 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -1,16 +1,16 @@ use crate::chain_spec; +use clap::Parser; use std::path::PathBuf; -use structopt::StructOpt; /// Sub-commands supported by the collator. -#[derive(Debug, StructOpt)] +#[derive(Debug, Parser)] pub enum Subcommand { /// Export the genesis state of the parachain. - #[structopt(name = "export-genesis-state")] + #[clap(name = "export-genesis-state")] ExportGenesisState(ExportGenesisStateCommand), /// Export the genesis wasm of the parachain. - #[structopt(name = "export-genesis-wasm")] + #[clap(name = "export-genesis-wasm")] ExportGenesisWasm(ExportGenesisWasmCommand), /// Build a chain specification. @@ -35,66 +35,63 @@ pub enum Subcommand { Revert(sc_cli::RevertCmd), /// Key management cli utilities + #[clap(subcommand)] Key(sc_cli::KeySubcommand), /// The custom benchmark subcommmand benchmarking runtime pallets. - #[structopt(name = "benchmark", about = "Benchmark runtime pallets.")] + #[clap(name = "benchmark", about = "Benchmark runtime pallets.")] Benchmark(frame_benchmarking_cli::BenchmarkCmd), } /// Command for exporting the genesis state of the parachain -#[derive(Debug, StructOpt)] +#[derive(Debug, Parser)] pub struct ExportGenesisStateCommand { /// Output file name or stdout if unspecified. - #[structopt(parse(from_os_str))] + #[clap(parse(from_os_str))] pub output: Option, /// Id of the parachain this state is for. /// /// Default: 100 - #[structopt(long, conflicts_with = "chain")] + #[clap(long, conflicts_with = "chain")] pub parachain_id: Option, /// Write output in binary. Default is to write in hex. - #[structopt(short, long)] + #[clap(short, long)] pub raw: bool, /// The name of the chain for that the genesis state should be exported. - #[structopt(long, conflicts_with = "parachain-id")] + #[clap(long, conflicts_with = "parachain-id")] pub chain: Option, } /// Command for exporting the genesis wasm file. -#[derive(Debug, StructOpt)] +#[derive(Debug, Parser)] pub struct ExportGenesisWasmCommand { /// Output file name or stdout if unspecified. - #[structopt(parse(from_os_str))] + #[clap(parse(from_os_str))] pub output: Option, /// Write output in binary. Default is to write in hex. - #[structopt(short, long)] + #[clap(short, long)] pub raw: bool, /// The name of the chain for that the genesis wasm file should be exported. - #[structopt(long)] + #[clap(long)] pub chain: Option, } -#[derive(Debug, StructOpt)] -#[structopt(settings = &[ - structopt::clap::AppSettings::GlobalVersion, - structopt::clap::AppSettings::ArgsNegateSubcommands, - structopt::clap::AppSettings::SubcommandsNegateReqs, -])] +#[derive(Debug, Parser)] +#[clap()] pub struct Cli { - #[structopt(subcommand)] + #[clap(subcommand)] pub subcommand: Option, - #[structopt(flatten)] + #[clap(flatten)] pub run: cumulus_client_cli::RunCmd, /// Relaychain arguments - #[structopt(raw = true)] + #[clap(raw = true)] pub relaychain_args: Vec, } @@ -119,6 +116,6 @@ impl RelayChainCli { let extension = chain_spec::Extensions::try_get(&*para_config.chain_spec); let chain_id = extension.map(|e| e.relay_chain.clone()); let base_path = para_config.base_path.as_ref().map(|x| x.path().join("polkadot")); - Self { base_path, chain_id, base: polkadot_cli::RunCmd::from_iter(relay_chain_args) } + Self { base_path, chain_id, base: polkadot_cli::RunCmd::parse_from(relay_chain_args) } } } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 1805fa9fb7d..71ee854e43c 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -15,33 +15,33 @@ normal = ["prrimitives"] codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [ "derive", ] } -frame-support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } -balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } composable-traits = { path = "../../frame/composable-traits", default-features = false } num-traits = { version = "0.2.14", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } primitives = { path = "../primitives", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } [dev-dependencies] -authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } serde = { version = "1.0.130" } -sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } [features] default = ["std"] diff --git a/runtime/common/src/impls.rs b/runtime/common/src/impls.rs index f8d15dd9ba2..9abda8db8d4 100644 --- a/runtime/common/src/impls.rs +++ b/runtime/common/src/impls.rs @@ -147,7 +147,7 @@ mod tests { where I: 'a, { - Some(Default::default()) + Some(AccountId::from([0u8; 32])) } } @@ -260,8 +260,6 @@ mod tests { let fee = Balances::issue(10); let tip = Balances::issue(20); - assert_eq!(Balances::free_balance(AccountId::default()), 0); - DealWithFees::on_unbalanceds(vec![fee, tip].into_iter()); // Author gets 50% of tip and 50% of fee = 15 @@ -277,8 +275,6 @@ mod tests { let fee = Balances::issue(0); let tip = Balances::issue(0); - assert_eq!(Balances::free_balance(AccountId::default()), 0); - DealWithFees::on_unbalanceds(vec![fee, tip].into_iter()); // Author gets 50% of tip and 50% of fee = 15 @@ -293,8 +289,6 @@ mod tests { let fee = Balances::issue(1); let tip = Balances::issue(1); - assert_eq!(Balances::free_balance(AccountId::default()), 0); - DealWithFees::on_unbalanceds(vec![fee, tip].into_iter()); // Author gets 50% of tip and 50% of fee = 15 diff --git a/runtime/composable/Cargo.toml b/runtime/composable/Cargo.toml index 5c82f5c4934..556c8f4b7d6 100644 --- a/runtime/composable/Cargo.toml +++ b/runtime/composable/Cargo.toml @@ -25,44 +25,44 @@ normal = [ ] [dependencies] -executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # primitives -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # modules -aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } crowdloan-rewards = { package = "pallet-crowdloan-rewards", path = '../../frame/crowdloan-rewards', default-features = false } -democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } smallvec = "1.6.1" -sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # local modules assets = { package = "pallet-assets", path = '../../frame/assets', default-features = false } @@ -79,8 +79,8 @@ primitives = { path = "../primitives", default-features = false } vault = { package = "pallet-vault", path = "../../frame/vault", default-features = false, optional = true } # Used for the node template's RPCs -system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # local RPCs assets-runtime-api = { path = '../../frame/assets/runtime-api', default-features = false } @@ -90,39 +90,42 @@ crowdloan-rewards-runtime-api = { path = '../../frame/crowdloan-rewards/runtime- codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [ "derive", ] } -frame-benchmarking = { package = "frame-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +frame-benchmarking = { package = "frame-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } hex-literal = { version = "0.3.3", optional = true } -system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } # Parachain Utilities -collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } + +# simnode support +simnode-apis = { package = "simnode-runtime-apis", git = "https://github.com/polytope-labs/substrate-simnode", default-features = false, branch = "master" } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] diff --git a/runtime/composable/src/lib.rs b/runtime/composable/src/lib.rs index 62cbfee7358..32e8d292adf 100644 --- a/runtime/composable/src/lib.rs +++ b/runtime/composable/src/lib.rs @@ -956,6 +956,35 @@ impl_runtime_apis! { } } + + impl simnode_apis::CreateTransactionApi for Runtime { + fn create_transaction(call: Call, signer: AccountId) -> Vec { + use sp_runtime::{ + generic::Era, MultiSignature, + traits::StaticLookup, + }; + use sp_core::sr25519; + + let nonce = frame_system::Pallet::::account_nonce(signer.clone()); + let extra = ( + system::CheckNonZeroSender::::new(), + system::CheckSpecVersion::::new(), + system::CheckTxVersion::::new(), + system::CheckGenesis::::new(), + system::CheckEra::::from(Era::Immortal), + system::CheckNonce::::from(nonce), + system::CheckWeight::::new(), + transaction_payment::ChargeTransactionPayment::::from(0), + ); + + let signature = MultiSignature::from(sr25519::Signature([0_u8;64])); + let address = AccountIdLookup::unlookup(signer); + let ext = UncheckedExtrinsic::new_signed(call, address, signature, extra); + + ext.encode() + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata(extra: bool) -> ( diff --git a/runtime/composable/src/weights/balances.rs b/runtime/composable/src/weights/balances.rs index 01150622a95..a5593448f12 100644 --- a/runtime/composable/src/weights/balances.rs +++ b/runtime/composable/src/weights/balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -32,43 +31,43 @@ pub struct WeightInfo(PhantomData); impl balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - (92_442_000 as Weight) + (97_708_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (56_754_000 as Weight) + (59_179_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (34_850_000 as Weight) + (35_330_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (41_435_000 as Weight) + (42_008_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - (93_270_000 as Weight) + (98_561_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (68_345_000 as Weight) + (71_214_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (31_661_000 as Weight) + (32_176_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/composable/src/weights/collator_selection.rs b/runtime/composable/src/weights/collator_selection.rs index bf4f98aef26..685ff0c2c9b 100644 --- a/runtime/composable/src/weights/collator_selection.rs +++ b/runtime/composable/src/weights/collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -30,21 +29,23 @@ use sp_std::marker::PhantomData; /// Weight functions for `collator_selection`. pub struct WeightInfo(PhantomData); impl collator_selection::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (18_956_000 as Weight) - // Standard Error: 0 - .saturating_add((48_000 as Weight).saturating_mul(b as Weight)) + (18_597_000 as Weight) + // Standard Error: 7_000 + .saturating_add((6_973_000 as Weight).saturating_mul(b as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (16_783_000 as Weight) + (17_774_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (17_118_000 as Weight) + (18_019_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -54,18 +55,18 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: CollatorSelection CandidacyBond (r:1 w:0) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (119_805_000 as Weight) - // Standard Error: 4_000 - .saturating_add((300_000 as Weight).saturating_mul(c as Weight)) + (109_348_000 as Weight) + // Standard Error: 1_000 + .saturating_add((309_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn leave_intent(c: u32, ) -> Weight { - (135_089_000 as Weight) - // Standard Error: 5_000 - .saturating_add((360_000 as Weight).saturating_mul(c as Weight)) + (125_679_000 as Weight) + // Standard Error: 4_000 + .saturating_add((359_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -73,7 +74,7 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (68_840_000 as Weight) + (71_906_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -84,10 +85,10 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 5_934_000 - .saturating_add((30_358_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 5_934_000 - .saturating_add((156_046_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 5_695_000 + .saturating_add((29_149_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 5_695_000 + .saturating_add((150_451_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) diff --git a/runtime/composable/src/weights/collective.rs b/runtime/composable/src/weights/collective.rs index e77bb0c7b88..2d1a1449526 100644 --- a/runtime/composable/src/weights/collective.rs +++ b/runtime/composable/src/weights/collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -36,12 +35,12 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Prime (r:0 w:1) fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 90_000 - .saturating_add((29_716_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 90_000 - .saturating_add((382_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 90_000 - .saturating_add((35_691_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 47_000 + .saturating_add((25_271_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 47_000 + .saturating_add((158_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 47_000 + .saturating_add((31_219_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -49,21 +48,21 @@ impl collective::WeightInfo for WeightInfo { } // Storage: Council Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (24_400_000 as Weight) + (25_549_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((135_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((120_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (29_542_000 as Weight) + (29_904_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((250_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((229_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -72,22 +71,22 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (30_914_000 as Weight) + (33_895_000 as Weight) // Standard Error: 0 - .saturating_add((17_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((15_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 3_000 - .saturating_add((159_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((175_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((580_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((546_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (59_121_000 as Weight) + (58_371_000 as Weight) // Standard Error: 3_000 - .saturating_add((340_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((312_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -96,11 +95,11 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (48_464_000 as Weight) + (51_647_000 as Weight) // Standard Error: 3_000 - .saturating_add((278_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((260_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((468_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((428_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -109,13 +108,13 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (51_095_000 as Weight) + (51_171_000 as Weight) // Standard Error: 0 - .saturating_add((15_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 4_000 - .saturating_add((304_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 3_000 + .saturating_add((325_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((605_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((562_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -125,11 +124,11 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (49_315_000 as Weight) + (56_576_000 as Weight) // Standard Error: 3_000 - .saturating_add((326_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((277_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((498_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((427_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -139,13 +138,13 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (58_360_000 as Weight) + (54_862_000 as Weight) // Standard Error: 0 - .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((11_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 3_000 - .saturating_add((320_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((362_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((600_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((580_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -153,9 +152,9 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (28_728_000 as Weight) + (30_884_000 as Weight) // Standard Error: 2_000 - .saturating_add((555_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((493_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/composable/src/weights/democracy.rs b/runtime/composable/src/weights/democracy.rs index 948753aaabf..5beb2c1ddff 100644 --- a/runtime/composable/src/weights/democracy.rs +++ b/runtime/composable/src/weights/democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -35,15 +34,15 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (92_133_000 as Weight) + (92_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) fn second(s: u32, ) -> Weight { - (53_400_000 as Weight) - // Standard Error: 4_000 - .saturating_add((321_000 as Weight).saturating_mul(s as Weight)) + (55_364_000 as Weight) + // Standard Error: 3_000 + .saturating_add((299_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -51,9 +50,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (67_015_000 as Weight) + (70_497_000 as Weight) // Standard Error: 3_000 - .saturating_add((326_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((285_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,16 +60,16 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (67_694_000 as Weight) + (68_724_000 as Weight) // Standard Error: 3_000 - .saturating_add((316_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((342_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (31_529_000 as Weight) + (32_015_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,45 +80,45 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32, ) -> Weight { - (102_559_000 as Weight) + (107_482_000 as Weight) // Standard Error: 8_000 - .saturating_add((695_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((705_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose(v: u32, ) -> Weight { - (16_232_000 as Weight) + (16_501_000 as Weight) // Standard Error: 0 - .saturating_add((126_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((119_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (3_279_000 as Weight) + (3_300_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (3_311_000 as Weight) + (3_300_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (32_146_000 as Weight) + (32_390_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external(v: u32, ) -> Weight { - (35_135_000 as Weight) - // Standard Error: 3_000 - .saturating_add((157_000 as Weight).saturating_mul(v as Weight)) + (34_799_000 as Weight) + // Standard Error: 1_000 + .saturating_add((152_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -127,23 +126,23 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32, ) -> Weight { - (75_642_000 as Weight) - // Standard Error: 4_000 - .saturating_add((678_000 as Weight).saturating_mul(p as Weight)) + (79_057_000 as Weight) + // Standard Error: 3_000 + .saturating_add((675_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (19_948_000 as Weight) + (20_195_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_queued(r: u32, ) -> Weight { - (38_848_000 as Weight) + (40_616_000 as Weight) // Standard Error: 4_000 - .saturating_add((1_865_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_724_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -151,9 +150,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base(r: u32, ) -> Weight { - (5_451_000 as Weight) - // Standard Error: 7_000 - .saturating_add((6_851_000 as Weight).saturating_mul(r as Weight)) + (5_138_000 as Weight) + // Standard Error: 6_000 + .saturating_add((6_752_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -165,9 +164,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - (16_316_000 as Weight) - // Standard Error: 6_000 - .saturating_add((6_825_000 as Weight).saturating_mul(r as Weight)) + (14_900_000 as Weight) + // Standard Error: 5_000 + .saturating_add((6_766_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -176,9 +175,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (60_501_000 as Weight) - // Standard Error: 14_000 - .saturating_add((8_952_000 as Weight).saturating_mul(r as Weight)) + (65_710_000 as Weight) + // Standard Error: 8_000 + .saturating_add((8_824_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -187,9 +186,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (25_728_000 as Weight) - // Standard Error: 12_000 - .saturating_add((8_992_000 as Weight).saturating_mul(r as Weight)) + (32_492_000 as Weight) + // Standard Error: 7_000 + .saturating_add((8_792_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -197,12 +196,12 @@ impl democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (3_308_000 as Weight) + (3_635_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_preimage(b: u32, ) -> Weight { - (47_649_000 as Weight) + (48_556_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -210,7 +209,7 @@ impl democracy::WeightInfo for WeightInfo { } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (32_164_000 as Weight) + (32_534_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -219,7 +218,7 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (47_524_000 as Weight) + (48_760_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -229,9 +228,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (42_674_000 as Weight) + (45_433_000 as Weight) // Standard Error: 2_000 - .saturating_add((148_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((144_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -239,27 +238,27 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (41_605_000 as Weight) - // Standard Error: 2_000 - .saturating_add((250_000 as Weight).saturating_mul(r as Weight)) + (47_977_000 as Weight) + // Standard Error: 11_000 + .saturating_add((211_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32, ) -> Weight { - (24_646_000 as Weight) + (25_369_000 as Weight) // Standard Error: 2_000 - .saturating_add((242_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((231_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32, ) -> Weight { - (25_059_000 as Weight) + (25_845_000 as Weight) // Standard Error: 2_000 - .saturating_add((245_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((226_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/composable/src/weights/frame_system.rs b/runtime/composable/src/weights/frame_system.rs index 5ff37c44008..0347e22d01e 100644 --- a/runtime/composable/src/weights/frame_system.rs +++ b/runtime/composable/src/weights/frame_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -43,7 +42,7 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_896_000 as Weight) + (6_229_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -51,21 +50,21 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((955_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((963_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { - (2_748_000 as Weight) + (0 as Weight) // Standard Error: 1_000 - .saturating_add((635_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((649_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 2_000 - .saturating_add((1_380_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 22_000 + .saturating_add((1_450_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/composable/src/weights/indices.rs b/runtime/composable/src/weights/indices.rs index 9e822fc3518..fd5dcdc84b9 100644 --- a/runtime/composable/src/weights/indices.rs +++ b/runtime/composable/src/weights/indices.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -32,33 +31,33 @@ pub struct WeightInfo(PhantomData); impl indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - (43_914_000 as Weight) + (45_816_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (53_873_000 as Weight) + (56_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - (44_842_000 as Weight) + (45_793_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (46_470_000 as Weight) + (47_487_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - (51_139_000 as Weight) + (52_908_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/composable/src/weights/membership.rs b/runtime/composable/src/weights/membership.rs index 8818d5ca75a..6ee950c0fd8 100644 --- a/runtime/composable/src/weights/membership.rs +++ b/runtime/composable/src/weights/membership.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -35,9 +34,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (26_798_000 as Weight) - // Standard Error: 10_000 - .saturating_add((212_000 as Weight).saturating_mul(m as Weight)) + (27_659_000 as Weight) + // Standard Error: 11_000 + .saturating_add((210_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -47,9 +46,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (33_853_000 as Weight) - // Standard Error: 1_000 - .saturating_add((158_000 as Weight).saturating_mul(m as Weight)) + (35_052_000 as Weight) + // Standard Error: 0 + .saturating_add((147_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -59,9 +58,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (34_341_000 as Weight) - // Standard Error: 1_000 - .saturating_add((179_000 as Weight).saturating_mul(m as Weight)) + (35_482_000 as Weight) + // Standard Error: 0 + .saturating_add((164_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -71,9 +70,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (34_387_000 as Weight) + (35_778_000 as Weight) // Standard Error: 1_000 - .saturating_add((363_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((353_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -83,9 +82,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (35_549_000 as Weight) - // Standard Error: 1_000 - .saturating_add((180_000 as Weight).saturating_mul(m as Weight)) + (36_770_000 as Weight) + // Standard Error: 0 + .saturating_add((158_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -93,16 +92,16 @@ impl membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (9_540_000 as Weight) + (9_744_000 as Weight) // Standard Error: 0 - .saturating_add((119_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((115_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - (3_420_000 as Weight) + (3_566_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/composable/src/weights/scheduler.rs b/runtime/composable/src/weights/scheduler.rs index 6217e728775..782332fcd4e 100644 --- a/runtime/composable/src/weights/scheduler.rs +++ b/runtime/composable/src/weights/scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -35,9 +34,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (9_141_000 as Weight) - // Standard Error: 54_000 - .saturating_add((45_452_000 as Weight).saturating_mul(s as Weight)) + (15_391_000 as Weight) + // Standard Error: 30_000 + .saturating_add((45_750_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -48,9 +47,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_resolved(s: u32, ) -> Weight { - (8_889_000 as Weight) - // Standard Error: 30_000 - .saturating_add((35_030_000 as Weight).saturating_mul(s as Weight)) + (11_487_000 as Weight) + // Standard Error: 31_000 + .saturating_add((35_345_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -60,9 +59,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (19_850_000 as Weight) - // Standard Error: 71_000 - .saturating_add((38_466_000 as Weight).saturating_mul(s as Weight)) + (12_396_000 as Weight) + // Standard Error: 33_000 + .saturating_add((39_056_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -72,9 +71,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_resolved(s: u32, ) -> Weight { - (9_686_000 as Weight) - // Standard Error: 29_000 - .saturating_add((32_188_000 as Weight).saturating_mul(s as Weight)) + (10_525_000 as Weight) + // Standard Error: 33_000 + .saturating_add((32_566_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -84,9 +83,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:0) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_aborted(s: u32, ) -> Weight { - (14_953_000 as Weight) - // Standard Error: 36_000 - .saturating_add((14_914_000 as Weight).saturating_mul(s as Weight)) + (12_392_000 as Weight) + // Standard Error: 16_000 + .saturating_add((14_933_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -95,9 +94,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (14_658_000 as Weight) - // Standard Error: 13_000 - .saturating_add((8_604_000 as Weight).saturating_mul(s as Weight)) + (13_858_000 as Weight) + // Standard Error: 15_000 + .saturating_add((8_631_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -105,9 +104,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named(s: u32, ) -> Weight { - (22_110_000 as Weight) - // Standard Error: 32_000 - .saturating_add((22_698_000 as Weight).saturating_mul(s as Weight)) + (24_702_000 as Weight) + // Standard Error: 24_000 + .saturating_add((22_868_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -115,9 +114,9 @@ impl scheduler::WeightInfo for WeightInfo { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (22_503_000 as Weight) - // Standard Error: 21_000 - .saturating_add((16_214_000 as Weight).saturating_mul(s as Weight)) + (21_732_000 as Weight) + // Standard Error: 17_000 + .saturating_add((16_584_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -126,53 +125,53 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named(s: u32, ) -> Weight { - (16_190_000 as Weight) - // Standard Error: 29_000 - .saturating_add((13_143_000 as Weight).saturating_mul(s as Weight)) + (22_252_000 as Weight) + // Standard Error: 12_000 + .saturating_add((12_766_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Scheduler Agenda (r:1 w:1) fn on_initialize(s: u32, ) -> Weight { - (19_078_000 as Weight) - // Standard Error: 29_000 - .saturating_add((10_446_000 as Weight).saturating_mul(s as Weight)) + (20_696_000 as Weight) + // Standard Error: 12_000 + .saturating_add((10_193_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32, ) -> Weight { - (29_755_000 as Weight) - // Standard Error: 3_000 - .saturating_add((167_000 as Weight).saturating_mul(s as Weight)) + (30_422_000 as Weight) + // Standard Error: 2_000 + .saturating_add((145_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32, ) -> Weight { - (30_741_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_739_000 as Weight).saturating_mul(s as Weight)) + (30_538_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_676_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32, ) -> Weight { - (36_331_000 as Weight) + (37_029_000 as Weight) // Standard Error: 4_000 - .saturating_add((212_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((205_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32, ) -> Weight { - (33_968_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_818_000 as Weight).saturating_mul(s as Weight)) + (34_392_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_681_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/composable/src/weights/session.rs b/runtime/composable/src/weights/session.rs index a452eb5df77..f09473a8403 100644 --- a/runtime/composable/src/weights/session.rs +++ b/runtime/composable/src/weights/session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -33,14 +32,14 @@ impl session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (28_640_000 as Weight) + (31_320_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (21_360_000 as Weight) + (22_060_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/composable/src/weights/timestamp.rs b/runtime/composable/src/weights/timestamp.rs index a59849ea235..68b6288f318 100644 --- a/runtime/composable/src/weights/timestamp.rs +++ b/runtime/composable/src/weights/timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -33,11 +32,11 @@ impl timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - (11_851_000 as Weight) + (12_545_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (5_600_000 as Weight) + (5_859_000 as Weight) } } diff --git a/runtime/composable/src/weights/treasury.rs b/runtime/composable/src/weights/treasury.rs index 9612066816a..1843564e7be 100644 --- a/runtime/composable/src/weights/treasury.rs +++ b/runtime/composable/src/weights/treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -33,23 +32,23 @@ impl treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (46_324_000 as Weight) + (47_659_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { - (69_771_000 as Weight) + (72_917_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (12_934_000 as Weight) - // Standard Error: 42_000 - .saturating_add((1_337_000 as Weight).saturating_mul(p as Weight)) + (15_436_000 as Weight) + // Standard Error: 5_000 + .saturating_add((256_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -57,9 +56,9 @@ impl treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:1 w:1) fn on_initialize_proposals(p: u32, ) -> Weight { - (67_165_000 as Weight) - // Standard Error: 136_000 - .saturating_add((64_434_000 as Weight).saturating_mul(p as Weight)) + (64_463_000 as Weight) + // Standard Error: 44_000 + .saturating_add((66_372_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/composable/src/weights/utility.rs b/runtime/composable/src/weights/utility.rs index 1fd44e83dc3..278e285b20b 100644 --- a/runtime/composable/src/weights/utility.rs +++ b/runtime/composable/src/weights/utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/composable/src/weights // --log // error @@ -31,19 +30,19 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (30_601_000 as Weight) - // Standard Error: 3_000 - .saturating_add((6_125_000 as Weight).saturating_mul(c as Weight)) + (21_114_000 as Weight) + // Standard Error: 2_000 + .saturating_add((6_303_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (4_311_000 as Weight) + (4_762_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (18_780_000 as Weight) - // Standard Error: 7_000 - .saturating_add((6_732_000 as Weight).saturating_mul(c as Weight)) + (24_604_000 as Weight) + // Standard Error: 4_000 + .saturating_add((6_880_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (17_664_000 as Weight) + (18_765_000 as Weight) } } diff --git a/runtime/composable/src/xcmp.rs b/runtime/composable/src/xcmp.rs index 266b85515ec..75091fb3495 100644 --- a/runtime/composable/src/xcmp.rs +++ b/runtime/composable/src/xcmp.rs @@ -5,10 +5,13 @@ use super::*; // recursive dependency onto runtime use codec::{Decode, Encode}; use composable_traits::assets::{RemoteAssetRegistry, XcmAssetLocation}; -use cumulus_primitives_core::ParaId; +use core::marker::PhantomData; +use cumulus_primitives_core::{IsSystem, ParaId}; use frame_support::{ construct_runtime, log, match_type, parameter_types, - traits::{Contains, Everything, KeyOwnerProofSystem, Nothing, Randomness, StorageInfo}, + traits::{ + Contains, Everything, KeyOwnerProofSystem, Nothing, OriginTrait, Randomness, StorageInfo, + }, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, DispatchClass, IdentityFee, Weight, WeightToFeeCoefficient, WeightToFeeCoefficients, @@ -16,31 +19,27 @@ use frame_support::{ }, PalletId, }; - +use orml_traits::parameter_type_with_key; use orml_xcm_support::{IsNativeConcrete, MultiCurrencyAdapter, MultiNativeAsset}; - +use pallet_xcm::XcmPassthrough; +use polkadot_parachain::primitives::Sibling; +use sp_api::impl_runtime_apis; +use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; use sp_runtime::{ traits::{AccountIdLookup, BlakeTwo256, Convert, ConvertInto, Zero}, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, }; - -use orml_traits::parameter_type_with_key; -use sp_api::impl_runtime_apis; -use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; - -use pallet_xcm::XcmPassthrough; -use polkadot_parachain::primitives::Sibling; use sp_std::prelude::*; use xcm::latest::{prelude::*, Error}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, LocationInverter, - ParentIsDefault, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, }; use xcm_executor::{ - traits::{TransactAsset, WeightTrader}, + traits::{ConvertOrigin, TransactAsset, WeightTrader}, Assets, Config, XcmExecutor, }; @@ -86,8 +85,8 @@ pub type XcmRouter = ( /// when determining ownership of accounts for asset transacting and when attempting to use XCM /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( - // The parent (Relay-chain) origin converts to the default `AccountId`. - ParentIsDefault, + // The parent (Relay-chain) origin converts to the parent `AccountId`. + ParentIsPreset, // Sibling parachain origins convert to AccountId via the `ParaId::into`. SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. @@ -201,11 +200,13 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type XcmExecutor = XcmExecutor; type VersionWrapper = (); type ChannelInfo = ParachainSystem; - type ExecuteOverweightOrigin = EnsureRoot; + type ExecuteOverweightOrigin = EnsureRootOrHalfCouncil; + type ControllerOrigin = EnsureRootOrHalfCouncil; + type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; } impl cumulus_pallet_dmp_queue::Config for Runtime { type Event = Event; type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = system::EnsureRoot; + type ExecuteOverweightOrigin = EnsureRootOrHalfCouncil; } diff --git a/runtime/dali/Cargo.toml b/runtime/dali/Cargo.toml index e15a4cd7ce8..12035313ee1 100644 --- a/runtime/dali/Cargo.toml +++ b/runtime/dali/Cargo.toml @@ -25,45 +25,45 @@ normal = [ ] [dependencies] -executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # primitives -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # modules -aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -identity = { package = "pallet-identity", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +identity = { package = "pallet-identity", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } smallvec = "1.6.1" -sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # local modules assets = { package = "pallet-assets", path = '../../frame/assets', default-features = false } @@ -89,8 +89,8 @@ vault = { package = "pallet-vault", path = "../../frame/vault", default-features vesting = { package = "pallet-vesting", path = "../../frame/vesting", default-features = false } # Used for the node template's RPCs -system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # local RPCs assets-runtime-api = { path = '../../frame/assets/runtime-api', default-features = false } @@ -100,42 +100,42 @@ crowdloan-rewards-runtime-api = { path = '../../frame/crowdloan-rewards/runtime- codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [ "derive", ] } -frame-benchmarking = { package = "frame-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +frame-benchmarking = { package = "frame-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } hex-literal = { version = "0.3.3", optional = true } -system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } # Parachain Utilities -collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } # simnode support simnode-apis = { package = "simnode-runtime-apis", git = "https://github.com/polytope-labs/substrate-simnode", default-features = false, branch = "master" } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std", "wasm-builder"] @@ -181,7 +181,6 @@ runtime-benchmarks = [ "curve-amm/runtime-benchmarks", "liquidity-bootstrapping/runtime-benchmarks", ] -sim-node = [] std = [ "codec/std", "sp-api/std", diff --git a/runtime/dali/src/lib.rs b/runtime/dali/src/lib.rs index e03858b9493..268c7caa889 100644 --- a/runtime/dali/src/lib.rs +++ b/runtime/dali/src/lib.rs @@ -1273,7 +1273,7 @@ impl_runtime_apis! { TransactionPayment::query_fee_details(uxt, len) } } - #[cfg(feature = "sim-node")] + impl simnode_apis::CreateTransactionApi for Runtime { fn create_transaction(call: Call, signer: AccountId) -> Vec { use sp_runtime::{ @@ -1294,7 +1294,7 @@ impl_runtime_apis! { transaction_payment::ChargeTransactionPayment::::from(0), ); - let signature = MultiSignature::from(sr25519::Signature([0u8;64])); + let signature = MultiSignature::from(sr25519::Signature([0_u8;64])); let address = AccountIdLookup::unlookup(signer); let ext = UncheckedExtrinsic::new_signed(call, address, signature, extra); diff --git a/runtime/dali/src/weights/balances.rs b/runtime/dali/src/weights/balances.rs index 06a9bb6105f..06fd70382ae 100644 --- a/runtime/dali/src/weights/balances.rs +++ b/runtime/dali/src/weights/balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -32,43 +31,43 @@ pub struct WeightInfo(PhantomData); impl balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - (101_289_000 as Weight) + (103_863_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (61_433_000 as Weight) + (63_168_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (37_741_000 as Weight) + (39_912_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (44_358_000 as Weight) + (45_411_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - (103_702_000 as Weight) + (102_137_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (73_777_000 as Weight) + (74_729_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (35_013_000 as Weight) + (35_160_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/dali/src/weights/bonded_finance.rs b/runtime/dali/src/weights/bonded_finance.rs index 34d4c9e0602..b72a72f9485 100644 --- a/runtime/dali/src/weights/bonded_finance.rs +++ b/runtime/dali/src/weights/bonded_finance.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `bonded_finance` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -35,7 +34,7 @@ impl bonded_finance::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: BondedFinance BondOffers (r:0 w:1) fn offer() -> Weight { - (122_077_000 as Weight) + (125_622_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -45,14 +44,14 @@ impl bonded_finance::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Tokens Locks (r:2 w:2) fn bond() -> Weight { - (187_746_000 as Weight) + (185_810_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } // Storage: BondedFinance BondOffers (r:1 w:1) // Storage: System Account (r:1 w:1) fn cancel() -> Weight { - (74_306_000 as Weight) + (76_181_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/collator_selection.rs b/runtime/dali/src/weights/collator_selection.rs index b863d1e59f0..8ed5f07dd5f 100644 --- a/runtime/dali/src/weights/collator_selection.rs +++ b/runtime/dali/src/weights/collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -30,21 +29,23 @@ use sp_std::marker::PhantomData; /// Weight functions for `collator_selection`. pub struct WeightInfo(PhantomData); impl collator_selection::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (21_497_000 as Weight) - // Standard Error: 1_000 - .saturating_add((47_000 as Weight).saturating_mul(b as Weight)) + (19_109_000 as Weight) + // Standard Error: 8_000 + .saturating_add((7_186_000 as Weight).saturating_mul(b as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (19_007_000 as Weight) + (19_402_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (19_872_000 as Weight) + (19_744_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -54,18 +55,18 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: CollatorSelection CandidacyBond (r:1 w:0) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (125_656_000 as Weight) - // Standard Error: 2_000 - .saturating_add((305_000 as Weight).saturating_mul(c as Weight)) + (124_015_000 as Weight) + // Standard Error: 3_000 + .saturating_add((293_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn leave_intent(c: u32, ) -> Weight { - (142_451_000 as Weight) - // Standard Error: 5_000 - .saturating_add((365_000 as Weight).saturating_mul(c as Weight)) + (138_101_000 as Weight) + // Standard Error: 4_000 + .saturating_add((344_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -73,7 +74,7 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (74_033_000 as Weight) + (75_906_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -84,10 +85,10 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 5_884_000 - .saturating_add((29_884_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 5_884_000 - .saturating_add((155_298_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 5_594_000 + .saturating_add((28_312_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 5_594_000 + .saturating_add((147_683_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) diff --git a/runtime/dali/src/weights/collective.rs b/runtime/dali/src/weights/collective.rs index c686fe99e51..b647edeaab1 100644 --- a/runtime/dali/src/weights/collective.rs +++ b/runtime/dali/src/weights/collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -36,12 +35,12 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Prime (r:0 w:1) fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 85_000 - .saturating_add((28_822_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 85_000 - .saturating_add((453_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 85_000 - .saturating_add((34_765_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 57_000 + .saturating_add((24_507_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 57_000 + .saturating_add((148_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 57_000 + .saturating_add((30_896_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -50,22 +49,22 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Members (r:1 w:0) // Storage: CallFilter DisabledCalls (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (32_656_000 as Weight) + (33_528_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((132_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((126_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:0) // Storage: CallFilter DisabledCalls (r:1 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (37_289_000 as Weight) + (38_469_000 as Weight) // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((245_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((229_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -74,22 +73,22 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (36_430_000 as Weight) - // Standard Error: 1_000 - .saturating_add((18_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 11_000 - .saturating_add((203_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 11_000 - .saturating_add((532_000 as Weight).saturating_mul(p as Weight)) + (40_282_000 as Weight) + // Standard Error: 0 + .saturating_add((16_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 3_000 + .saturating_add((124_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 3_000 + .saturating_add((530_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (60_895_000 as Weight) - // Standard Error: 4_000 - .saturating_add((333_000 as Weight).saturating_mul(m as Weight)) + (61_729_000 as Weight) + // Standard Error: 3_000 + .saturating_add((304_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -98,11 +97,11 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (52_862_000 as Weight) + (54_174_000 as Weight) // Standard Error: 3_000 - .saturating_add((271_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((270_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((455_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((429_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -112,13 +111,13 @@ impl collective::WeightInfo for WeightInfo { // Storage: CallFilter DisabledCalls (r:1 w:0) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (59_072_000 as Weight) + (62_266_000 as Weight) // Standard Error: 0 - .saturating_add((15_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((13_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 4_000 - .saturating_add((335_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((330_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000 - .saturating_add((620_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((623_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -128,11 +127,11 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (54_884_000 as Weight) - // Standard Error: 3_000 - .saturating_add((311_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 3_000 - .saturating_add((472_000 as Weight).saturating_mul(p as Weight)) + (54_214_000 as Weight) + // Standard Error: 11_000 + .saturating_add((299_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 10_000 + .saturating_add((507_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -143,13 +142,13 @@ impl collective::WeightInfo for WeightInfo { // Storage: CallFilter DisabledCalls (r:1 w:0) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (104_841_000 as Weight) - // Standard Error: 1_000 - .saturating_add((8_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 16_000 - .saturating_add((22_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 15_000 - .saturating_add((572_000 as Weight).saturating_mul(p as Weight)) + (61_250_000 as Weight) + // Standard Error: 0 + .saturating_add((14_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 4_000 + .saturating_add((378_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 4_000 + .saturating_add((623_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -157,9 +156,9 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (31_883_000 as Weight) + (34_050_000 as Weight) // Standard Error: 2_000 - .saturating_add((534_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((484_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/dali/src/weights/currency_factory.rs b/runtime/dali/src/weights/currency_factory.rs index 389fcb31236..1c71ac40843 100644 --- a/runtime/dali/src/weights/currency_factory.rs +++ b/runtime/dali/src/weights/currency_factory.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `currency_factory` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -32,7 +31,7 @@ pub struct WeightInfo(PhantomData); impl currency_factory::WeightInfo for WeightInfo { // Storage: CurrencyFactory AssetIdRanges (r:1 w:1) fn add_range() -> Weight { - (24_099_000 as Weight) + (24_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/dali/src/weights/curve_amm.rs b/runtime/dali/src/weights/curve_amm.rs index 1025c828656..fe79c881302 100644 --- a/runtime/dali/src/weights/curve_amm.rs +++ b/runtime/dali/src/weights/curve_amm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `curve_amm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-06, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -34,7 +33,7 @@ impl curve_amm::WeightInfo for WeightInfo { // Storage: StableSwapDex PoolCount (r:1 w:1) // Storage: StableSwapDex Pools (r:0 w:1) fn create() -> Weight { - (33_055_000 as Weight) + (34_602_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -43,7 +42,7 @@ impl curve_amm::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn add_liquidity() -> Weight { - (176_969_000 as Weight) + (181_998_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -52,7 +51,7 @@ impl curve_amm::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:0) fn remove_liquidity() -> Weight { - (121_423_000 as Weight) + (125_519_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -60,7 +59,7 @@ impl curve_amm::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:2 w:1) fn buy() -> Weight { - (302_804_000 as Weight) + (334_669_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -68,7 +67,7 @@ impl curve_amm::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:2 w:1) fn sell() -> Weight { - (218_115_000 as Weight) + (237_375_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -76,7 +75,7 @@ impl curve_amm::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:2 w:1) fn swap() -> Weight { - (214_854_000 as Weight) + (230_983_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/runtime/dali/src/weights/democracy.rs b/runtime/dali/src/weights/democracy.rs index b6a4e3552d7..ed12b669ce5 100644 --- a/runtime/dali/src/weights/democracy.rs +++ b/runtime/dali/src/weights/democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -35,15 +34,15 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (94_828_000 as Weight) + (98_718_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) fn second(s: u32, ) -> Weight { - (55_395_000 as Weight) + (59_009_000 as Weight) // Standard Error: 3_000 - .saturating_add((346_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((296_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -51,9 +50,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (71_408_000 as Weight) + (73_265_000 as Weight) // Standard Error: 3_000 - .saturating_add((299_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((304_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,16 +60,16 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (70_412_000 as Weight) + (72_923_000 as Weight) // Standard Error: 3_000 - .saturating_add((304_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((320_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (33_999_000 as Weight) + (34_456_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,45 +80,45 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32, ) -> Weight { - (107_121_000 as Weight) + (112_568_000 as Weight) // Standard Error: 8_000 - .saturating_add((722_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((671_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose(v: u32, ) -> Weight { - (17_453_000 as Weight) + (17_247_000 as Weight) // Standard Error: 0 - .saturating_add((123_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (3_284_000 as Weight) + (3_320_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (3_193_000 as Weight) + (3_253_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (34_410_000 as Weight) + (35_310_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external(v: u32, ) -> Weight { - (36_577_000 as Weight) + (37_249_000 as Weight) // Standard Error: 1_000 - .saturating_add((165_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((147_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -127,23 +126,23 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32, ) -> Weight { - (80_658_000 as Weight) + (84_272_000 as Weight) // Standard Error: 4_000 - .saturating_add((679_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((660_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (21_365_000 as Weight) + (21_652_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_queued(r: u32, ) -> Weight { - (41_763_000 as Weight) - // Standard Error: 5_000 - .saturating_add((3_084_000 as Weight).saturating_mul(r as Weight)) + (42_865_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_198_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -151,9 +150,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base(r: u32, ) -> Weight { - (6_446_000 as Weight) + (5_361_000 as Weight) // Standard Error: 6_000 - .saturating_add((6_847_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((6_903_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -165,9 +164,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - (14_354_000 as Weight) + (14_800_000 as Weight) // Standard Error: 7_000 - .saturating_add((6_890_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((6_930_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -176,9 +175,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 237_000 - .saturating_add((11_339_000 as Weight).saturating_mul(r as Weight)) + (69_073_000 as Weight) + // Standard Error: 9_000 + .saturating_add((9_157_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -187,9 +186,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (29_864_000 as Weight) - // Standard Error: 8_000 - .saturating_add((8_995_000 as Weight).saturating_mul(r as Weight)) + (29_953_000 as Weight) + // Standard Error: 9_000 + .saturating_add((9_192_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -197,12 +196,12 @@ impl democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (3_695_000 as Weight) + (3_557_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_preimage(b: u32, ) -> Weight { - (51_161_000 as Weight) + (52_590_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -210,7 +209,7 @@ impl democracy::WeightInfo for WeightInfo { } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (34_026_000 as Weight) + (36_115_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -219,7 +218,7 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (51_154_000 as Weight) + (52_309_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -229,9 +228,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (44_738_000 as Weight) - // Standard Error: 2_000 - .saturating_add((156_000 as Weight).saturating_mul(r as Weight)) + (47_802_000 as Weight) + // Standard Error: 3_000 + .saturating_add((161_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -239,27 +238,27 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (42_860_000 as Weight) + (45_639_000 as Weight) // Standard Error: 3_000 - .saturating_add((279_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((288_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32, ) -> Weight { - (25_328_000 as Weight) - // Standard Error: 2_000 - .saturating_add((242_000 as Weight).saturating_mul(r as Weight)) + (24_957_000 as Weight) + // Standard Error: 3_000 + .saturating_add((302_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32, ) -> Weight { - (25_908_000 as Weight) - // Standard Error: 2_000 - .saturating_add((227_000 as Weight).saturating_mul(r as Weight)) + (26_602_000 as Weight) + // Standard Error: 3_000 + .saturating_add((290_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/dutch_auction.rs b/runtime/dali/src/weights/dutch_auction.rs index d4307a40a88..c514465a469 100644 --- a/runtime/dali/src/weights/dutch_auction.rs +++ b/runtime/dali/src/weights/dutch_auction.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `dutch_auction` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -36,7 +35,7 @@ impl dutch_auction::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:1 w:1) // Storage: DutchAuction SellOrders (r:0 w:1) fn ask() -> Weight { - (90_159_000 as Weight) + (93_997_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -45,7 +44,7 @@ impl dutch_auction::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:1 w:1) // Storage: DutchAuction Takes (r:1 w:1) fn take() -> Weight { - (52_931_000 as Weight) + (54_697_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -53,7 +52,7 @@ impl dutch_auction::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn liquidate() -> Weight { - (79_266_000 as Weight) + (81_026_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,7 +60,7 @@ impl dutch_auction::WeightInfo for WeightInfo { // Storage: DutchAuction SellOrders (r:1 w:1) // Storage: Tokens Accounts (r:2 w:2) fn known_overhead_for_on_finalize() -> Weight { - (87_003_000 as Weight) + (88_983_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } diff --git a/runtime/dali/src/weights/frame_system.rs b/runtime/dali/src/weights/frame_system.rs index 039706d8b49..3d829008d28 100644 --- a/runtime/dali/src/weights/frame_system.rs +++ b/runtime/dali/src/weights/frame_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -38,34 +37,34 @@ impl frame_system::WeightInfo for WeightInfo { fn remark_with_event(b: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (6_466_000 as Weight) + (6_660_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn set_storage(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 16_000 - .saturating_add((1_047_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 1_000 + .saturating_add((955_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { - (94_804_000 as Weight) - // Standard Error: 9_000 - .saturating_add((538_000 as Weight).saturating_mul(i as Weight)) + (1_368_000 as Weight) + // Standard Error: 1_000 + .saturating_add((642_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 4_000 - .saturating_add((1_414_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 2_000 + .saturating_add((1_380_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/dali/src/weights/identity.rs b/runtime/dali/src/weights/identity.rs index f99278abe26..8c7e79b9c26 100644 --- a/runtime/dali/src/weights/identity.rs +++ b/runtime/dali/src/weights/identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -32,19 +31,19 @@ pub struct WeightInfo(PhantomData); impl identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) fn add_registrar(r: u32, ) -> Weight { - (26_778_000 as Weight) - // Standard Error: 24_000 - .saturating_add((682_000 as Weight).saturating_mul(r as Weight)) + (28_463_000 as Weight) + // Standard Error: 61_000 + .saturating_add((516_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity IdentityOf (r:1 w:1) fn set_identity(r: u32, x: u32, ) -> Weight { - (57_681_000 as Weight) - // Standard Error: 121_000 - .saturating_add((617_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 20_000 - .saturating_add((946_000 as Weight).saturating_mul(x as Weight)) + (59_832_000 as Weight) + // Standard Error: 118_000 + .saturating_add((757_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 19_000 + .saturating_add((951_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -52,9 +51,9 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:1 w:1) fn set_subs_new(s: u32, ) -> Weight { - (49_495_000 as Weight) - // Standard Error: 12_000 - .saturating_add((6_932_000 as Weight).saturating_mul(s as Weight)) + (51_345_000 as Weight) + // Standard Error: 15_000 + .saturating_add((7_130_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -64,9 +63,9 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:1) fn set_subs_old(p: u32, ) -> Weight { - (50_388_000 as Weight) - // Standard Error: 15_000 - .saturating_add((2_204_000 as Weight).saturating_mul(p as Weight)) + (52_576_000 as Weight) + // Standard Error: 13_000 + .saturating_add((2_165_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) @@ -75,13 +74,13 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:32) fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (62_484_000 as Weight) - // Standard Error: 89_000 - .saturating_add((541_000 as Weight).saturating_mul(r as Weight)) + (71_386_000 as Weight) + // Standard Error: 86_000 + .saturating_add((175_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 13_000 - .saturating_add((2_183_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_083_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 13_000 - .saturating_add((448_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((396_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -89,56 +88,56 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) fn request_judgement(r: u32, x: u32, ) -> Weight { - (61_980_000 as Weight) - // Standard Error: 86_000 - .saturating_add((958_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 14_000 - .saturating_add((971_000 as Weight).saturating_mul(x as Weight)) + (65_864_000 as Weight) + // Standard Error: 57_000 + .saturating_add((664_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 9_000 + .saturating_add((968_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity IdentityOf (r:1 w:1) fn cancel_request(r: u32, x: u32, ) -> Weight { - (57_839_000 as Weight) - // Standard Error: 34_000 - .saturating_add((400_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 5_000 - .saturating_add((960_000 as Weight).saturating_mul(x as Weight)) + (59_058_000 as Weight) + // Standard Error: 45_000 + .saturating_add((559_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_000 + .saturating_add((976_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_fee(r: u32, ) -> Weight { - (10_825_000 as Weight) - // Standard Error: 22_000 - .saturating_add((340_000 as Weight).saturating_mul(r as Weight)) + (10_595_000 as Weight) + // Standard Error: 10_000 + .saturating_add((534_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_account_id(r: u32, ) -> Weight { - (10_287_000 as Weight) - // Standard Error: 19_000 - .saturating_add((483_000 as Weight).saturating_mul(r as Weight)) + (11_002_000 as Weight) + // Standard Error: 14_000 + .saturating_add((487_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_fields(r: u32, ) -> Weight { - (10_190_000 as Weight) - // Standard Error: 18_000 - .saturating_add((457_000 as Weight).saturating_mul(r as Weight)) + (10_978_000 as Weight) + // Standard Error: 13_000 + .saturating_add((452_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) fn provide_judgement(r: u32, x: u32, ) -> Weight { - (43_977_000 as Weight) - // Standard Error: 44_000 - .saturating_add((424_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 6_000 - .saturating_add((920_000 as Weight).saturating_mul(x as Weight)) + (44_812_000 as Weight) + // Standard Error: 51_000 + .saturating_add((596_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_000 + .saturating_add((921_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -146,12 +145,14 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: System Account (r:2 w:2) // Storage: Identity SuperOf (r:0 w:32) - fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight { - (94_098_000 as Weight) - // Standard Error: 75_000 - .saturating_add((232_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 11_000 - .saturating_add((2_116_000 as Weight).saturating_mul(s as Weight)) + fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { + (92_665_000 as Weight) + // Standard Error: 64_000 + .saturating_add((488_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 9_000 + .saturating_add((2_169_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 9_000 + .saturating_add((12_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -160,18 +161,18 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn add_sub(s: u32, ) -> Weight { - (65_299_000 as Weight) - // Standard Error: 14_000 - .saturating_add((404_000 as Weight).saturating_mul(s as Weight)) + (67_444_000 as Weight) + // Standard Error: 10_000 + .saturating_add((389_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) fn rename_sub(s: u32, ) -> Weight { - (21_436_000 as Weight) - // Standard Error: 6_000 - .saturating_add((114_000 as Weight).saturating_mul(s as Weight)) + (21_204_000 as Weight) + // Standard Error: 4_000 + .saturating_add((144_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -179,18 +180,18 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn remove_sub(s: u32, ) -> Weight { - (67_899_000 as Weight) - // Standard Error: 8_000 - .saturating_add((375_000 as Weight).saturating_mul(s as Weight)) + (68_780_000 as Weight) + // Standard Error: 7_000 + .saturating_add((410_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn quit_sub(s: u32, ) -> Weight { - (44_079_000 as Weight) + (44_787_000 as Weight) // Standard Error: 8_000 - .saturating_add((373_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((404_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/indices.rs b/runtime/dali/src/weights/indices.rs index c35da80587d..e3b2e5a3f10 100644 --- a/runtime/dali/src/weights/indices.rs +++ b/runtime/dali/src/weights/indices.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -32,33 +31,33 @@ pub struct WeightInfo(PhantomData); impl indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - (46_860_000 as Weight) + (48_118_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (57_718_000 as Weight) + (60_406_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - (49_255_000 as Weight) + (49_534_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (49_830_000 as Weight) + (50_337_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - (55_697_000 as Weight) + (55_672_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/dali/src/weights/liquidations.rs b/runtime/dali/src/weights/liquidations.rs index 57eac1fc320..3e598c0d79a 100644 --- a/runtime/dali/src/weights/liquidations.rs +++ b/runtime/dali/src/weights/liquidations.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `liquidations` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -33,7 +32,7 @@ impl liquidations::WeightInfo for WeightInfo { // Storage: Liquidations DefaultStrategyIndex (r:1 w:0) // Storage: Liquidations Strategies (r:1 w:0) fn add_liquidation_strategy() -> Weight { - (7_089_000 as Weight) + (7_733_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } } diff --git a/runtime/dali/src/weights/liquidity_bootstrapping.rs b/runtime/dali/src/weights/liquidity_bootstrapping.rs index 926493ed0d4..ce74eec776a 100644 --- a/runtime/dali/src/weights/liquidity_bootstrapping.rs +++ b/runtime/dali/src/weights/liquidity_bootstrapping.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `liquidity_bootstrapping` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -33,7 +32,7 @@ impl liquidity_bootstrapping::WeightInfo for WeightInfo // Storage: LiquidityBootstrapping PoolCount (r:1 w:1) // Storage: LiquidityBootstrapping Pools (r:0 w:1) fn create() -> Weight { - (25_846_000 as Weight) + (26_548_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -41,7 +40,7 @@ impl liquidity_bootstrapping::WeightInfo for WeightInfo // Storage: Tokens Accounts (r:4 w:4) // Storage: System Account (r:2 w:1) fn buy() -> Weight { - (136_009_000 as Weight) + (141_276_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -49,7 +48,7 @@ impl liquidity_bootstrapping::WeightInfo for WeightInfo // Storage: Tokens Accounts (r:4 w:4) // Storage: System Account (r:2 w:1) fn sell() -> Weight { - (123_850_000 as Weight) + (125_048_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -57,7 +56,7 @@ impl liquidity_bootstrapping::WeightInfo for WeightInfo // Storage: Tokens Accounts (r:4 w:4) // Storage: System Account (r:2 w:1) fn swap() -> Weight { - (133_368_000 as Weight) + (137_164_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -65,7 +64,7 @@ impl liquidity_bootstrapping::WeightInfo for WeightInfo // Storage: Tokens Accounts (r:4 w:4) // Storage: System Account (r:1 w:1) fn add_liquidity() -> Weight { - (120_018_000 as Weight) + (124_353_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -73,7 +72,7 @@ impl liquidity_bootstrapping::WeightInfo for WeightInfo // Storage: Tokens Accounts (r:4 w:4) // Storage: System Account (r:1 w:1) fn remove_liquidity() -> Weight { - (117_341_000 as Weight) + (121_854_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/runtime/dali/src/weights/membership.rs b/runtime/dali/src/weights/membership.rs index 31b40154519..9c9ebfacf65 100644 --- a/runtime/dali/src/weights/membership.rs +++ b/runtime/dali/src/weights/membership.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -35,9 +34,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (30_438_000 as Weight) - // Standard Error: 11_000 - .saturating_add((209_000 as Weight).saturating_mul(m as Weight)) + (30_242_000 as Weight) + // Standard Error: 13_000 + .saturating_add((216_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -47,9 +46,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (36_816_000 as Weight) + (38_308_000 as Weight) // Standard Error: 0 - .saturating_add((157_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((142_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -59,9 +58,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (37_392_000 as Weight) - // Standard Error: 1_000 - .saturating_add((193_000 as Weight).saturating_mul(m as Weight)) + (38_928_000 as Weight) + // Standard Error: 0 + .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -71,7 +70,7 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (37_934_000 as Weight) + (38_786_000 as Weight) // Standard Error: 1_000 .saturating_add((366_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -83,9 +82,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (39_155_000 as Weight) + (40_083_000 as Weight) // Standard Error: 1_000 - .saturating_add((175_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -93,18 +92,18 @@ impl membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (10_315_000 as Weight) + (10_696_000 as Weight) // Standard Error: 0 - .saturating_add((124_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((113_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - (3_746_000 as Weight) + (3_883_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/dali/src/weights/mosaic.rs b/runtime/dali/src/weights/mosaic.rs index 602afc11ab4..25addead1c3 100644 --- a/runtime/dali/src/weights/mosaic.rs +++ b/runtime/dali/src/weights/mosaic.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `mosaic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -32,25 +31,25 @@ pub struct WeightInfo(PhantomData); impl mosaic::WeightInfo for WeightInfo { // Storage: Mosaic Relayer (r:0 w:1) fn set_relayer() -> Weight { - (20_614_000 as Weight) + (21_397_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Mosaic Relayer (r:1 w:1) fn rotate_relayer() -> Weight { - (26_580_000 as Weight) + (28_152_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Mosaic Relayer (r:1 w:0) // Storage: Mosaic NetworkInfos (r:0 w:1) fn set_network() -> Weight { - (27_182_000 as Weight) + (28_786_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Mosaic AssetsInfo (r:1 w:1) fn set_budget() -> Weight { - (27_109_000 as Weight) + (28_365_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -62,7 +61,7 @@ impl mosaic::WeightInfo for WeightInfo { // Storage: Mosaic OutgoingTransactions (r:1 w:1) // Storage: Mosaic Nonce (r:1 w:1) fn transfer_to() -> Weight { - (118_321_000 as Weight) + (121_755_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -71,14 +70,14 @@ impl mosaic::WeightInfo for WeightInfo { // Storage: Mosaic OutgoingTransactions (r:1 w:1) // Storage: System Account (r:1 w:1) fn accept_transfer() -> Weight { - (82_663_000 as Weight) + (84_714_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Mosaic OutgoingTransactions (r:1 w:1) // Storage: System Account (r:2 w:2) fn claim_stale_to() -> Weight { - (92_352_000 as Weight) + (92_729_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -88,13 +87,13 @@ impl mosaic::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Mosaic IncomingTransactions (r:1 w:1) fn timelocked_mint() -> Weight { - (90_830_000 as Weight) + (94_022_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Mosaic TimeLockPeriod (r:0 w:1) fn set_timelock_duration() -> Weight { - (2_819_000 as Weight) + (2_993_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Mosaic Relayer (r:1 w:0) @@ -102,14 +101,14 @@ impl mosaic::WeightInfo for WeightInfo { // Storage: Mosaic IncomingTransactions (r:1 w:1) // Storage: System Account (r:1 w:1) fn rescind_timelocked_mint() -> Weight { - (79_810_000 as Weight) + (82_887_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Mosaic IncomingTransactions (r:1 w:1) // Storage: System Account (r:2 w:2) fn claim_to() -> Weight { - (87_188_000 as Weight) + (89_408_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -117,7 +116,7 @@ impl mosaic::WeightInfo for WeightInfo { // Storage: Mosaic LocalToRemoteAsset (r:1 w:1) // Storage: Mosaic RemoteToLocalAsset (r:0 w:1) fn update_asset_mapping() -> Weight { - (35_468_000 as Weight) + (37_094_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/multisig.rs b/runtime/dali/src/weights/multisig.rs index 8f3c8d04e37..5f21aa01f07 100644 --- a/runtime/dali/src/weights/multisig.rs +++ b/runtime/dali/src/weights/multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -32,7 +31,7 @@ pub struct WeightInfo(PhantomData); impl multisig::WeightInfo for WeightInfo { // Storage: CallFilter DisabledCalls (r:1 w:0) fn as_multi_threshold_1(z: u32, ) -> Weight { - (12_623_000 as Weight) + (14_179_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -40,9 +39,9 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (56_004_000 as Weight) - // Standard Error: 126_000 - .saturating_add((1_185_000 as Weight).saturating_mul(s as Weight)) + (66_174_000 as Weight) + // Standard Error: 148_000 + .saturating_add((170_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -52,9 +51,9 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (64_559_000 as Weight) - // Standard Error: 171_000 - .saturating_add((1_065_000 as Weight).saturating_mul(s as Weight)) + (70_281_000 as Weight) + // Standard Error: 187_000 + .saturating_add((933_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -62,9 +61,9 @@ impl multisig::WeightInfo for WeightInfo { } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (34_811_000 as Weight) - // Standard Error: 126_000 - .saturating_add((879_000 as Weight).saturating_mul(s as Weight)) + (39_856_000 as Weight) + // Standard Error: 143_000 + .saturating_add((493_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -73,9 +72,9 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (65_029_000 as Weight) - // Standard Error: 149_000 - .saturating_add((374_000 as Weight).saturating_mul(s as Weight)) + (64_849_000 as Weight) + // Standard Error: 192_000 + .saturating_add((1_125_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -85,8 +84,10 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) // Storage: CallFilter DisabledCalls (r:1 w:0) - fn as_multi_complete(_s: u32, z: u32, ) -> Weight { - (99_562_000 as Weight) + fn as_multi_complete(s: u32, z: u32, ) -> Weight { + (91_728_000 as Weight) + // Standard Error: 191_000 + .saturating_add((771_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) @@ -95,16 +96,16 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (56_668_000 as Weight) - // Standard Error: 55_000 - .saturating_add((1_039_000 as Weight).saturating_mul(s as Weight)) + (59_779_000 as Weight) + // Standard Error: 182_000 + .saturating_add((1_228_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(_s: u32, ) -> Weight { - (40_675_000 as Weight) + (42_316_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -113,18 +114,16 @@ impl multisig::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: CallFilter DisabledCalls (r:1 w:0) fn approve_as_multi_complete(s: u32, ) -> Weight { - (119_993_000 as Weight) - // Standard Error: 281_000 - .saturating_add((1_533_000 as Weight).saturating_mul(s as Weight)) + (122_994_000 as Weight) + // Standard Error: 268_000 + .saturating_add((743_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) - fn cancel_as_multi(s: u32, ) -> Weight { - (93_723_000 as Weight) - // Standard Error: 329_000 - .saturating_add((596_000 as Weight).saturating_mul(s as Weight)) + fn cancel_as_multi(_s: u32, ) -> Weight { + (100_068_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/oracle.rs b/runtime/dali/src/weights/oracle.rs index 0ef40a058e1..048ca08f34e 100644 --- a/runtime/dali/src/weights/oracle.rs +++ b/runtime/dali/src/weights/oracle.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `oracle` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -33,7 +32,7 @@ impl oracle::WeightInfo for WeightInfo { // Storage: Oracle AssetsCount (r:1 w:1) // Storage: Oracle AssetsInfo (r:1 w:1) fn add_asset_and_info() -> Weight { - (29_951_000 as Weight) + (37_232_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -41,7 +40,7 @@ impl oracle::WeightInfo for WeightInfo { // Storage: Oracle SignerToController (r:1 w:1) // Storage: Oracle OracleStake (r:1 w:1) fn set_signer() -> Weight { - (107_875_000 as Weight) + (139_863_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -49,7 +48,7 @@ impl oracle::WeightInfo for WeightInfo { // Storage: Oracle OracleStake (r:1 w:1) // Storage: System Account (r:1 w:1) fn add_stake() -> Weight { - (94_337_000 as Weight) + (100_526_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -57,7 +56,7 @@ impl oracle::WeightInfo for WeightInfo { // Storage: Oracle OracleStake (r:1 w:1) // Storage: Oracle DeclaredWithdraws (r:0 w:1) fn remove_stake() -> Weight { - (36_080_000 as Weight) + (45_847_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -66,7 +65,7 @@ impl oracle::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Oracle SignerToController (r:0 w:1) fn reclaim_stake() -> Weight { - (44_380_000 as Weight) + (52_625_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -75,19 +74,17 @@ impl oracle::WeightInfo for WeightInfo { // Storage: Oracle AssetsInfo (r:1 w:0) // Storage: Oracle AnswerInTransit (r:1 w:1) // Storage: Oracle PrePrices (r:1 w:1) - fn submit_price(p: u32, ) -> Weight { - (54_824_000 as Weight) - // Standard Error: 12_000 - .saturating_add((355_000 as Weight).saturating_mul(p as Weight)) + fn submit_price(_p: u32, ) -> Weight { + (68_939_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Oracle PrePrices (r:1 w:1) // Storage: Oracle AnswerInTransit (r:1 w:1) fn update_pre_prices(p: u32, ) -> Weight { - (15_119_000 as Weight) + (15_330_000 as Weight) // Standard Error: 3_000 - .saturating_add((268_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((233_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -97,9 +94,9 @@ impl oracle::WeightInfo for WeightInfo { // Storage: Oracle Prices (r:0 w:1) // Storage: Oracle PrePrices (r:0 w:1) fn update_price(p: u32, ) -> Weight { - (41_080_000 as Weight) - // Standard Error: 25_000 - .saturating_add((13_258_000 as Weight).saturating_mul(p as Weight)) + (40_806_000 as Weight) + // Standard Error: 23_000 + .saturating_add((13_904_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } diff --git a/runtime/dali/src/weights/scheduler.rs b/runtime/dali/src/weights/scheduler.rs index f29bf494357..81ce97944d8 100644 --- a/runtime/dali/src/weights/scheduler.rs +++ b/runtime/dali/src/weights/scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -35,9 +34,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (18_331_000 as Weight) - // Standard Error: 51_000 - .saturating_add((48_612_000 as Weight).saturating_mul(s as Weight)) + (20_506_000 as Weight) + // Standard Error: 46_000 + .saturating_add((49_240_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -48,9 +47,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_resolved(s: u32, ) -> Weight { - (5_637_000 as Weight) - // Standard Error: 86_000 - .saturating_add((39_101_000 as Weight).saturating_mul(s as Weight)) + (16_350_000 as Weight) + // Standard Error: 36_000 + .saturating_add((38_287_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -60,9 +59,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (13_838_000 as Weight) - // Standard Error: 61_000 - .saturating_add((42_328_000 as Weight).saturating_mul(s as Weight)) + (14_110_000 as Weight) + // Standard Error: 38_000 + .saturating_add((42_376_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -72,9 +71,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_resolved(s: u32, ) -> Weight { - (13_504_000 as Weight) - // Standard Error: 33_000 - .saturating_add((35_633_000 as Weight).saturating_mul(s as Weight)) + (17_631_000 as Weight) + // Standard Error: 29_000 + .saturating_add((35_336_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -84,9 +83,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:0) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_aborted(s: u32, ) -> Weight { - (13_647_000 as Weight) - // Standard Error: 14_000 - .saturating_add((16_876_000 as Weight).saturating_mul(s as Weight)) + (17_289_000 as Weight) + // Standard Error: 22_000 + .saturating_add((16_487_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -95,9 +94,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (14_998_000 as Weight) - // Standard Error: 15_000 - .saturating_add((10_852_000 as Weight).saturating_mul(s as Weight)) + (0 as Weight) + // Standard Error: 321_000 + .saturating_add((13_544_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -105,9 +104,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named(s: u32, ) -> Weight { - (34_240_000 as Weight) - // Standard Error: 44_000 - .saturating_add((25_779_000 as Weight).saturating_mul(s as Weight)) + (486_847_000 as Weight) + // Standard Error: 782_000 + .saturating_add((16_794_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -115,9 +114,9 @@ impl scheduler::WeightInfo for WeightInfo { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (22_057_000 as Weight) - // Standard Error: 17_000 - .saturating_add((19_715_000 as Weight).saturating_mul(s as Weight)) + (24_662_000 as Weight) + // Standard Error: 21_000 + .saturating_add((18_928_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -126,53 +125,53 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named(s: u32, ) -> Weight { - (23_413_000 as Weight) - // Standard Error: 33_000 - .saturating_add((15_953_000 as Weight).saturating_mul(s as Weight)) + (23_749_000 as Weight) + // Standard Error: 22_000 + .saturating_add((15_239_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Scheduler Agenda (r:1 w:1) fn on_initialize(s: u32, ) -> Weight { - (25_866_000 as Weight) - // Standard Error: 32_000 - .saturating_add((13_185_000 as Weight).saturating_mul(s as Weight)) + (25_096_000 as Weight) + // Standard Error: 15_000 + .saturating_add((12_539_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32, ) -> Weight { - (33_599_000 as Weight) + (33_788_000 as Weight) // Standard Error: 3_000 - .saturating_add((137_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((152_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32, ) -> Weight { - (31_858_000 as Weight) + (34_019_000 as Weight) // Standard Error: 6_000 - .saturating_add((2_893_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_082_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32, ) -> Weight { - (39_900_000 as Weight) + (40_230_000 as Weight) // Standard Error: 3_000 - .saturating_add((169_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((212_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32, ) -> Weight { - (36_457_000 as Weight) - // Standard Error: 8_000 - .saturating_add((2_921_000 as Weight).saturating_mul(s as Weight)) + (37_345_000 as Weight) + // Standard Error: 9_000 + .saturating_add((2_117_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/session.rs b/runtime/dali/src/weights/session.rs index 378c4b87a7e..04d6bf83c4c 100644 --- a/runtime/dali/src/weights/session.rs +++ b/runtime/dali/src/weights/session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -33,14 +32,14 @@ impl session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (29_412_000 as Weight) + (30_129_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (22_083_000 as Weight) + (22_940_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/timestamp.rs b/runtime/dali/src/weights/timestamp.rs index 569f667edda..7de27f943b4 100644 --- a/runtime/dali/src/weights/timestamp.rs +++ b/runtime/dali/src/weights/timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -33,11 +32,11 @@ impl timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - (12_614_000 as Weight) + (12_782_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (5_784_000 as Weight) + (5_896_000 as Weight) } } diff --git a/runtime/dali/src/weights/treasury.rs b/runtime/dali/src/weights/treasury.rs index f19567f8b74..ae0d78581b9 100644 --- a/runtime/dali/src/weights/treasury.rs +++ b/runtime/dali/src/weights/treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -33,23 +32,23 @@ impl treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (49_732_000 as Weight) + (51_555_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { - (75_108_000 as Weight) + (77_003_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (16_239_000 as Weight) - // Standard Error: 4_000 - .saturating_add((268_000 as Weight).saturating_mul(p as Weight)) + (16_755_000 as Weight) + // Standard Error: 5_000 + .saturating_add((320_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -57,9 +56,9 @@ impl treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:1 w:1) fn on_initialize_proposals(p: u32, ) -> Weight { - (72_144_000 as Weight) - // Standard Error: 74_000 - .saturating_add((66_781_000 as Weight).saturating_mul(p as Weight)) + (74_483_000 as Weight) + // Standard Error: 62_000 + .saturating_add((68_266_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/dali/src/weights/uniswap_v2.rs b/runtime/dali/src/weights/uniswap_v2.rs index fdb37413547..3dc948315ba 100644 --- a/runtime/dali/src/weights/uniswap_v2.rs +++ b/runtime/dali/src/weights/uniswap_v2.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `uniswap_v2` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-06, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -34,7 +33,7 @@ impl uniswap_v2::WeightInfo for WeightInfo { // Storage: ConstantProductDex PoolCount (r:1 w:1) // Storage: ConstantProductDex Pools (r:0 w:1) fn create() -> Weight { - (33_288_000 as Weight) + (36_522_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -43,7 +42,7 @@ impl uniswap_v2::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn add_liquidity() -> Weight { - (153_650_000 as Weight) + (160_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -52,7 +51,7 @@ impl uniswap_v2::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:0) fn remove_liquidity() -> Weight { - (119_939_000 as Weight) + (125_618_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -60,7 +59,7 @@ impl uniswap_v2::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:2 w:1) fn buy() -> Weight { - (146_773_000 as Weight) + (153_762_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -68,7 +67,7 @@ impl uniswap_v2::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:2 w:1) fn sell() -> Weight { - (138_343_000 as Weight) + (148_585_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -76,7 +75,7 @@ impl uniswap_v2::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:2 w:1) fn swap() -> Weight { - (134_091_000 as Weight) + (140_868_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/runtime/dali/src/weights/utility.rs b/runtime/dali/src/weights/utility.rs index a7e7c7601f0..1f09fff9de6 100644 --- a/runtime/dali/src/weights/utility.rs +++ b/runtime/dali/src/weights/utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -32,24 +31,24 @@ pub struct WeightInfo(PhantomData); impl utility::WeightInfo for WeightInfo { // Storage: CallFilter DisabledCalls (r:1 w:0) fn batch(c: u32, ) -> Weight { - (24_361_000 as Weight) - // Standard Error: 5_000 - .saturating_add((9_107_000 as Weight).saturating_mul(c as Weight)) + (36_534_000 as Weight) + // Standard Error: 3_000 + .saturating_add((9_411_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: CallFilter DisabledCalls (r:1 w:0) fn as_derivative() -> Weight { - (9_533_000 as Weight) + (10_436_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: CallFilter DisabledCalls (r:1 w:0) fn batch_all(c: u32, ) -> Weight { - (28_287_000 as Weight) - // Standard Error: 3_000 - .saturating_add((9_672_000 as Weight).saturating_mul(c as Weight)) + (31_088_000 as Weight) + // Standard Error: 4_000 + .saturating_add((9_983_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn dispatch_as() -> Weight { - (20_751_000 as Weight) + (21_317_000 as Weight) } } diff --git a/runtime/dali/src/weights/vault.rs b/runtime/dali/src/weights/vault.rs index ff0d2e68bdd..4f52211728f 100644 --- a/runtime/dali/src/weights/vault.rs +++ b/runtime/dali/src/weights/vault.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `vault` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-06, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -36,7 +35,7 @@ impl vault::WeightInfo for WeightInfo { // Storage: Vault LpTokensToVaults (r:0 w:1) // Storage: Vault Vaults (r:0 w:1) fn create() -> Weight { - (133_245_000 as Weight) + (139_294_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -46,7 +45,7 @@ impl vault::WeightInfo for WeightInfo { // Storage: Vault CapitalStructure (r:2 w:0) // Storage: System Account (r:1 w:1) fn deposit() -> Weight { - (142_090_000 as Weight) + (147_991_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -55,33 +54,33 @@ impl vault::WeightInfo for WeightInfo { // Storage: Vault CapitalStructure (r:2 w:0) // Storage: Tokens TotalIssuance (r:2 w:1) fn withdraw() -> Weight { - (117_873_000 as Weight) + (123_658_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Vault Vaults (r:1 w:1) fn emergency_shutdown() -> Weight { - (27_873_000 as Weight) + (29_271_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Vault Vaults (r:1 w:1) fn start_() -> Weight { - (26_849_000 as Weight) + (28_442_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Vault Vaults (r:1 w:1) // Storage: System Account (r:1 w:1) fn add_surcharge() -> Weight { - (75_702_000 as Weight) + (77_949_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Vault Vaults (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_surcharge() -> Weight { - (71_934_000 as Weight) + (72_802_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -89,7 +88,7 @@ impl vault::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Vault LpTokensToVaults (r:0 w:1) fn delete_tombstoned() -> Weight { - (24_915_000 as Weight) + (26_520_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/dali/src/weights/vesting.rs b/runtime/dali/src/weights/vesting.rs index c9a97c985a6..625677d4d87 100644 --- a/runtime/dali/src/weights/vesting.rs +++ b/runtime/dali/src/weights/vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dali-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/dali/src/weights // --log // error @@ -33,9 +32,11 @@ impl vesting::WeightInfo for WeightInfo { // Storage: Vesting VestingSchedules (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) - fn claim(_s: u32, ) -> Weight { - (63_282_000 as Weight) + // Storage: Timestamp Now (r:1 w:0) + fn claim(s: u32, ) -> Weight { + (64_097_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Vesting VestingSchedules (r:1 w:1) @@ -43,7 +44,7 @@ impl vesting::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:1) // Storage: Tokens Locks (r:1 w:1) fn vested_transfer() -> Weight { - (107_183_000 as Weight) + (109_503_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -52,7 +53,7 @@ impl vesting::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Vesting VestingSchedules (r:0 w:1) fn update_vesting_schedules(_s: u32, ) -> Weight { - (58_459_000 as Weight) + (60_538_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -60,8 +61,11 @@ impl vesting::WeightInfo for WeightInfo { // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) - fn claim_for(_s: u32, ) -> Weight { - (63_187_000 as Weight) + // Storage: Timestamp Now (r:1 w:0) + fn claim_for(s: u32, ) -> Weight { + (66_733_000 as Weight) + // Standard Error: 1_351_000 + .saturating_add((5_893_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } diff --git a/runtime/dali/src/xcmp.rs b/runtime/dali/src/xcmp.rs index f0338ea354f..04d9728089a 100644 --- a/runtime/dali/src/xcmp.rs +++ b/runtime/dali/src/xcmp.rs @@ -9,10 +9,12 @@ use composable_traits::{ defi::Ratio, oracle::MinimalOracle, }; -use cumulus_primitives_core::ParaId; +use cumulus_primitives_core::{IsSystem, ParaId}; use frame_support::{ construct_runtime, ensure, log, match_type, parameter_types, - traits::{Contains, Everything, KeyOwnerProofSystem, Nothing, Randomness, StorageInfo}, + traits::{ + Contains, Everything, KeyOwnerProofSystem, Nothing, OriginTrait, Randomness, StorageInfo, + }, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, DispatchClass, IdentityFee, Weight, WeightToFeeCoefficient, WeightToFeeCoefficients, @@ -20,33 +22,32 @@ use frame_support::{ }, PalletId, RuntimeDebug, }; +use orml_traits::{location::Reserve, parameter_type_with_key, MultiCurrency}; use orml_xcm_support::{ DepositToAlternative, IsNativeConcrete, MultiCurrencyAdapter, MultiNativeAsset, OnDepositFail, }; - +use pallet_xcm::XcmPassthrough; +use polkadot_parachain::primitives::Sibling; +use sp_api::impl_runtime_apis; +use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; use sp_runtime::{ traits::{AccountIdLookup, BlakeTwo256, Convert, ConvertInto, Zero}, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, DispatchError, }; - -use orml_traits::{location::Reserve, parameter_type_with_key, MultiCurrency}; -use sp_api::impl_runtime_apis; -use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; - -use pallet_xcm::XcmPassthrough; -use polkadot_parachain::primitives::Sibling; use sp_std::{marker::PhantomData, prelude::*}; use xcm::latest::{prelude::*, Error}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, - LocationInverter, ParentIsDefault, RelayChainAsNative, SiblingParachainAsNative, + LocationInverter, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; use xcm_executor::{ - traits::{DropAssets, FilterAssetLocation, ShouldExecute, TransactAsset, WeightTrader}, + traits::{ + ConvertOrigin, DropAssets, FilterAssetLocation, ShouldExecute, TransactAsset, WeightTrader, + }, Assets, Config, XcmExecutor, }; @@ -130,8 +131,8 @@ pub type XcmRouter = ( /// when determining ownership of accounts for asset transacting and when attempting to use XCM /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( - // The parent (Relay-chain) origin converts to the default `AccountId`. - ParentIsDefault, + // The parent (Relay-chain) origin converts to the parent `AccountId`. + ParentIsPreset, // Sibling parachain origins convert to AccountId via the `ParaId::into`. SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. @@ -411,6 +412,16 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 1; } +parameter_type_with_key! { + pub ParachainMinFee: |location: MultiLocation| -> u128 { + #[allow(clippy::match_ref_pats)] // false positive + match (location.parents, location.first_interior()) { + // (1, Some(Parachain(2))) => 40, + _ => 0, + } + }; +} + impl orml_xtokens::Config for Runtime { type Event = Event; type Balance = Balance; @@ -421,6 +432,7 @@ impl orml_xtokens::Config for Runtime { type XcmExecutor = XcmExecutor; type Weigher = FixedWeightBounds; type BaseXcmWeight = BaseXcmWeight; + type MinXcmFee = ParachainMinFee; type LocationInverter = LocationInverter; type MaxAssetsForTransfer = MaxAssetsForTransfer; } @@ -575,12 +587,13 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type XcmExecutor = XcmExecutor; type VersionWrapper = (); type ChannelInfo = ParachainSystem; - // NOTE: we could consider allowance for some chains (see Acala tests ports PRs) - type ExecuteOverweightOrigin = EnsureRoot; + type ExecuteOverweightOrigin = EnsureRootOrHalfCouncil; + type ControllerOrigin = EnsureRootOrHalfCouncil; + type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; } impl cumulus_pallet_dmp_queue::Config for Runtime { type Event = Event; type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = system::EnsureRoot; + type ExecuteOverweightOrigin = EnsureRootOrHalfCouncil; } diff --git a/runtime/picasso/Cargo.toml b/runtime/picasso/Cargo.toml index e03a19b633c..336888b63b6 100644 --- a/runtime/picasso/Cargo.toml +++ b/runtime/picasso/Cargo.toml @@ -26,45 +26,45 @@ normal = [ ] [dependencies] -executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # primitives -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # modules -aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -identity = { package = "pallet-identity", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +aura = { package = "pallet-aura", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +identity = { package = "pallet-identity", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +preimage = { package = "pallet-preimage", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } smallvec = "1.6.1" -sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # local modules assets = { package = "pallet-assets", path = '../../frame/assets', default-features = false } @@ -80,8 +80,8 @@ primitives = { path = "../primitives", default-features = false } vesting = { package = "pallet-vesting", path = "../../frame/vesting", default-features = false } # Used for the node template's RPCs -system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } # local RPCs assets-runtime-api = { path = '../../frame/assets/runtime-api', default-features = false } @@ -91,41 +91,41 @@ crowdloan-rewards-runtime-api = { path = '../../frame/crowdloan-rewards/runtime- codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [ "derive", ] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } hex-literal = { version = "0.3.3", optional = true } -system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +system-benchmarking = { package = "frame-system-benchmarking", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true } # Parachain Utilities -collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +collator-selection = { package = "pallet-collator-selection", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } -session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +session-benchmarking = { package = "cumulus-pallet-session-benchmarking", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6", default-features = false } +orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "9e041dc9d213f843b18b3008f32f3acabb287dcb", default-features = false } # simnode support simnode-apis = { package = "simnode-runtime-apis", git = "https://github.com/polytope-labs/substrate-simnode", default-features = false, branch = "master" } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } [features] default = ["std"] @@ -227,4 +227,3 @@ runtime-benchmarks = [ "vesting/runtime-benchmarks", "bonded-finance/runtime-benchmarks", ] -sim-node = [] diff --git a/runtime/picasso/src/lib.rs b/runtime/picasso/src/lib.rs index 9fad0dee88a..6743fc9b3a9 100644 --- a/runtime/picasso/src/lib.rs +++ b/runtime/picasso/src/lib.rs @@ -1022,7 +1022,7 @@ impl_runtime_apis! { } } - #[cfg(feature = "sim-node")] + impl simnode_apis::CreateTransactionApi for Runtime { fn create_transaction(call: Call, signer: AccountId) -> Vec { use sp_runtime::{ @@ -1041,7 +1041,7 @@ impl_runtime_apis! { system::CheckWeight::::new(), transaction_payment::ChargeTransactionPayment::::from(0), ); - let signature = MultiSignature::from(sr25519::Signature([0u8;64])); + let signature = MultiSignature::from(sr25519::Signature([0_u8;64])); let address = AccountIdLookup::unlookup(signer); let ext = UncheckedExtrinsic::new_signed(call, address, signature, extra); ext.encode() diff --git a/runtime/picasso/src/weights/balances.rs b/runtime/picasso/src/weights/balances.rs index c3eed37ce13..98daaace9b5 100644 --- a/runtime/picasso/src/weights/balances.rs +++ b/runtime/picasso/src/weights/balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -32,43 +31,43 @@ pub struct WeightInfo(PhantomData); impl balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - (96_202_000 as Weight) + (99_324_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (60_167_000 as Weight) + (60_451_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (37_434_000 as Weight) + (36_969_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (43_116_000 as Weight) + (43_261_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - (97_219_000 as Weight) + (99_008_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (71_481_000 as Weight) + (72_352_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (33_124_000 as Weight) + (33_893_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/picasso/src/weights/bonded_finance.rs b/runtime/picasso/src/weights/bonded_finance.rs index 9a94f8859a8..eeaaab389be 100644 --- a/runtime/picasso/src/weights/bonded_finance.rs +++ b/runtime/picasso/src/weights/bonded_finance.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `bonded_finance` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -35,7 +34,7 @@ impl bonded_finance::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: BondedFinance BondOffers (r:0 w:1) fn offer() -> Weight { - (117_103_000 as Weight) + (120_616_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -45,14 +44,14 @@ impl bonded_finance::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Tokens Locks (r:2 w:2) fn bond() -> Weight { - (180_380_000 as Weight) + (187_760_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } // Storage: BondedFinance BondOffers (r:1 w:1) // Storage: System Account (r:1 w:1) fn cancel() -> Weight { - (69_912_000 as Weight) + (72_388_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/picasso/src/weights/collator_selection.rs b/runtime/picasso/src/weights/collator_selection.rs index 0679286efca..f59dcf571ec 100644 --- a/runtime/picasso/src/weights/collator_selection.rs +++ b/runtime/picasso/src/weights/collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -30,21 +29,23 @@ use sp_std::marker::PhantomData; /// Weight functions for `collator_selection`. pub struct WeightInfo(PhantomData); impl collator_selection::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (20_585_000 as Weight) - // Standard Error: 1_000 - .saturating_add((58_000 as Weight).saturating_mul(b as Weight)) + (19_477_000 as Weight) + // Standard Error: 7_000 + .saturating_add((6_873_000 as Weight).saturating_mul(b as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (18_476_000 as Weight) + (19_195_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (19_186_000 as Weight) + (19_407_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -54,18 +55,18 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: CollatorSelection CandidacyBond (r:1 w:0) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (108_512_000 as Weight) - // Standard Error: 4_000 - .saturating_add((328_000 as Weight).saturating_mul(c as Weight)) + (112_779_000 as Weight) + // Standard Error: 1_000 + .saturating_add((308_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn leave_intent(c: u32, ) -> Weight { - (157_858_000 as Weight) - // Standard Error: 4_000 - .saturating_add((327_000 as Weight).saturating_mul(c as Weight)) + (114_941_000 as Weight) + // Standard Error: 2_000 + .saturating_add((367_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -73,7 +74,7 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (71_983_000 as Weight) + (73_446_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -84,10 +85,10 @@ impl collator_selection::WeightInfo for WeightInfo { // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_026_000 - .saturating_add((31_284_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 6_026_000 - .saturating_add((158_529_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 5_583_000 + .saturating_add((29_066_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 5_583_000 + .saturating_add((147_868_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) diff --git a/runtime/picasso/src/weights/collective.rs b/runtime/picasso/src/weights/collective.rs index 45e75e6d42a..df4dc637ab6 100644 --- a/runtime/picasso/src/weights/collective.rs +++ b/runtime/picasso/src/weights/collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -34,14 +33,12 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:0) // Storage: Council Voting (r:100 w:100) // Storage: Council Prime (r:0 w:1) - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 101_000 - .saturating_add((26_996_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 101_000 - .saturating_add((211_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 101_000 - .saturating_add((32_532_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 136_000 + .saturating_add((20_744_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 136_000 + .saturating_add((32_693_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -49,21 +46,21 @@ impl collective::WeightInfo for WeightInfo { } // Storage: Council Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (27_241_000 as Weight) + (27_075_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((129_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((124_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (31_978_000 as Weight) + (31_953_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((247_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((229_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -72,22 +69,22 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (35_389_000 as Weight) + (40_350_000 as Weight) // Standard Error: 0 - .saturating_add((15_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 3_000 - .saturating_add((161_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((152_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((578_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((541_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (61_018_000 as Weight) - // Standard Error: 4_000 - .saturating_add((331_000 as Weight).saturating_mul(m as Weight)) + (61_818_000 as Weight) + // Standard Error: 5_000 + .saturating_add((292_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -96,11 +93,11 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (50_735_000 as Weight) + (50_866_000 as Weight) // Standard Error: 3_000 - .saturating_add((288_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((275_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((465_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((425_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -109,13 +106,13 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (57_227_000 as Weight) + (60_223_000 as Weight) // Standard Error: 0 - .saturating_add((11_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((8_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 4_000 - .saturating_add((319_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 4_000 - .saturating_add((570_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((300_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 3_000 + .saturating_add((582_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -125,11 +122,11 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (27_521_000 as Weight) - // Standard Error: 21_000 - .saturating_add((501_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 21_000 - .saturating_add((679_000 as Weight).saturating_mul(p as Weight)) + (53_584_000 as Weight) + // Standard Error: 3_000 + .saturating_add((322_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 3_000 + .saturating_add((464_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -139,11 +136,11 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (54_456_000 as Weight) + (57_962_000 as Weight) // Standard Error: 0 - .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((15_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 4_000 - .saturating_add((362_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((329_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000 .saturating_add((619_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -153,9 +150,9 @@ impl collective::WeightInfo for WeightInfo { // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (31_336_000 as Weight) - // Standard Error: 2_000 - .saturating_add((521_000 as Weight).saturating_mul(p as Weight)) + (32_249_000 as Weight) + // Standard Error: 3_000 + .saturating_add((533_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/picasso/src/weights/currency_factory.rs b/runtime/picasso/src/weights/currency_factory.rs index ea40e7f14e5..8e84f9a80b5 100644 --- a/runtime/picasso/src/weights/currency_factory.rs +++ b/runtime/picasso/src/weights/currency_factory.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `currency_factory` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -32,7 +31,7 @@ pub struct WeightInfo(PhantomData); impl currency_factory::WeightInfo for WeightInfo { // Storage: CurrencyFactory AssetIdRanges (r:1 w:1) fn add_range() -> Weight { - (22_988_000 as Weight) + (23_953_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/picasso/src/weights/democracy.rs b/runtime/picasso/src/weights/democracy.rs index a04db677f77..5db234eab67 100644 --- a/runtime/picasso/src/weights/democracy.rs +++ b/runtime/picasso/src/weights/democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -35,15 +34,15 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (92_565_000 as Weight) + (100_560_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) fn second(s: u32, ) -> Weight { - (56_362_000 as Weight) + (56_523_000 as Weight) // Standard Error: 3_000 - .saturating_add((306_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((327_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -51,9 +50,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (70_201_000 as Weight) - // Standard Error: 3_000 - .saturating_add((289_000 as Weight).saturating_mul(r as Weight)) + (72_199_000 as Weight) + // Standard Error: 4_000 + .saturating_add((310_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,16 +60,16 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (71_712_000 as Weight) + (71_789_000 as Weight) // Standard Error: 3_000 - .saturating_add((282_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((319_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (33_383_000 as Weight) + (33_787_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,45 +80,45 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32, ) -> Weight { - (106_105_000 as Weight) - // Standard Error: 7_000 - .saturating_add((690_000 as Weight).saturating_mul(p as Weight)) + (108_976_000 as Weight) + // Standard Error: 8_000 + .saturating_add((727_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose(v: u32, ) -> Weight { - (16_508_000 as Weight) + (16_965_000 as Weight) // Standard Error: 0 - .saturating_add((129_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (3_109_000 as Weight) + (3_391_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (3_083_000 as Weight) + (3_383_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (33_439_000 as Weight) + (34_308_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external(v: u32, ) -> Weight { - (35_125_000 as Weight) + (35_651_000 as Weight) // Standard Error: 1_000 - .saturating_add((161_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((157_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -127,23 +126,23 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32, ) -> Weight { - (79_493_000 as Weight) - // Standard Error: 52_000 - .saturating_add((1_052_000 as Weight).saturating_mul(p as Weight)) + (81_708_000 as Weight) + // Standard Error: 4_000 + .saturating_add((685_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (21_113_000 as Weight) + (21_552_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_queued(r: u32, ) -> Weight { - (41_469_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_958_000 as Weight).saturating_mul(r as Weight)) + (41_533_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_835_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -151,9 +150,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base(r: u32, ) -> Weight { - (8_109_000 as Weight) - // Standard Error: 8_000 - .saturating_add((6_882_000 as Weight).saturating_mul(r as Weight)) + (4_173_000 as Weight) + // Standard Error: 6_000 + .saturating_add((6_784_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -165,9 +164,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - (14_218_000 as Weight) + (14_407_000 as Weight) // Standard Error: 7_000 - .saturating_add((6_920_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((6_797_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -176,9 +175,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (63_874_000 as Weight) - // Standard Error: 12_000 - .saturating_add((8_930_000 as Weight).saturating_mul(r as Weight)) + (68_205_000 as Weight) + // Standard Error: 9_000 + .saturating_add((8_926_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -187,9 +186,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (30_936_000 as Weight) - // Standard Error: 8_000 - .saturating_add((8_982_000 as Weight).saturating_mul(r as Weight)) + (33_261_000 as Weight) + // Standard Error: 7_000 + .saturating_add((8_885_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -197,29 +196,29 @@ impl democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (3_420_000 as Weight) + (3_656_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_preimage(b: u32, ) -> Weight { - (49_121_000 as Weight) + (45_602_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (33_487_000 as Weight) + (71_845_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (49_424_000 as Weight) + (100_867_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -229,9 +228,9 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (44_593_000 as Weight) - // Standard Error: 2_000 - .saturating_add((130_000 as Weight).saturating_mul(r as Weight)) + (56_463_000 as Weight) + // Standard Error: 10_000 + .saturating_add((6_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -239,27 +238,27 @@ impl democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (41_108_000 as Weight) - // Standard Error: 2_000 - .saturating_add((318_000 as Weight).saturating_mul(r as Weight)) + (43_657_000 as Weight) + // Standard Error: 3_000 + .saturating_add((281_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32, ) -> Weight { - (24_961_000 as Weight) + (25_167_000 as Weight) // Standard Error: 2_000 - .saturating_add((227_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((249_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32, ) -> Weight { - (25_198_000 as Weight) - // Standard Error: 2_000 - .saturating_add((239_000 as Weight).saturating_mul(r as Weight)) + (11_938_000 as Weight) + // Standard Error: 17_000 + .saturating_add((750_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/picasso/src/weights/frame_system.rs b/runtime/picasso/src/weights/frame_system.rs index 6a6245b2860..0317af352a9 100644 --- a/runtime/picasso/src/weights/frame_system.rs +++ b/runtime/picasso/src/weights/frame_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -38,12 +37,12 @@ impl frame_system::WeightInfo for WeightInfo { fn remark_with_event(b: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (6_084_000 as Weight) + (6_378_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -51,21 +50,21 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((941_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((1_006_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_000 - .saturating_add((649_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 2_000 + .saturating_add((652_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 3_000 - .saturating_add((1_388_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 2_000 + .saturating_add((1_348_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/picasso/src/weights/identity.rs b/runtime/picasso/src/weights/identity.rs index 64b4f573f89..5312d553849 100644 --- a/runtime/picasso/src/weights/identity.rs +++ b/runtime/picasso/src/weights/identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -32,19 +31,19 @@ pub struct WeightInfo(PhantomData); impl identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) fn add_registrar(r: u32, ) -> Weight { - (26_410_000 as Weight) - // Standard Error: 128_000 - .saturating_add((1_098_000 as Weight).saturating_mul(r as Weight)) + (25_949_000 as Weight) + // Standard Error: 52_000 + .saturating_add((926_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity IdentityOf (r:1 w:1) fn set_identity(r: u32, x: u32, ) -> Weight { - (56_495_000 as Weight) - // Standard Error: 135_000 - .saturating_add((832_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 22_000 - .saturating_add((969_000 as Weight).saturating_mul(x as Weight)) + (57_654_000 as Weight) + // Standard Error: 121_000 + .saturating_add((800_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 20_000 + .saturating_add((967_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -52,9 +51,9 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:1 w:1) fn set_subs_new(s: u32, ) -> Weight { - (50_786_000 as Weight) - // Standard Error: 23_000 - .saturating_add((7_068_000 as Weight).saturating_mul(s as Weight)) + (50_183_000 as Weight) + // Standard Error: 19_000 + .saturating_add((7_082_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -64,9 +63,9 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:1) fn set_subs_old(p: u32, ) -> Weight { - (49_852_000 as Weight) - // Standard Error: 10_000 - .saturating_add((2_257_000 as Weight).saturating_mul(p as Weight)) + (50_969_000 as Weight) + // Standard Error: 13_000 + .saturating_add((2_189_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) @@ -75,13 +74,13 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:32) fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (58_799_000 as Weight) - // Standard Error: 84_000 - .saturating_add((499_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 12_000 - .saturating_add((2_214_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 12_000 - .saturating_add((553_000 as Weight).saturating_mul(x as Weight)) + (68_353_000 as Weight) + // Standard Error: 74_000 + .saturating_add((174_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 11_000 + .saturating_add((2_083_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 11_000 + .saturating_add((413_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -89,56 +88,56 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) fn request_judgement(r: u32, x: u32, ) -> Weight { - (63_860_000 as Weight) - // Standard Error: 96_000 - .saturating_add((856_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 16_000 - .saturating_add((953_000 as Weight).saturating_mul(x as Weight)) + (62_824_000 as Weight) + // Standard Error: 63_000 + .saturating_add((917_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 10_000 + .saturating_add((978_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity IdentityOf (r:1 w:1) fn cancel_request(r: u32, x: u32, ) -> Weight { - (62_010_000 as Weight) - // Standard Error: 58_000 - .saturating_add((235_000 as Weight).saturating_mul(r as Weight)) + (60_035_000 as Weight) + // Standard Error: 57_000 + .saturating_add((323_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 9_000 - .saturating_add((896_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((936_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_fee(r: u32, ) -> Weight { - (10_482_000 as Weight) - // Standard Error: 25_000 - .saturating_add((448_000 as Weight).saturating_mul(r as Weight)) + (10_485_000 as Weight) + // Standard Error: 22_000 + .saturating_add((496_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_account_id(r: u32, ) -> Weight { - (10_440_000 as Weight) - // Standard Error: 22_000 - .saturating_add((458_000 as Weight).saturating_mul(r as Weight)) + (10_684_000 as Weight) + // Standard Error: 13_000 + .saturating_add((489_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_fields(r: u32, ) -> Weight { - (10_111_000 as Weight) - // Standard Error: 13_000 - .saturating_add((514_000 as Weight).saturating_mul(r as Weight)) + (10_869_000 as Weight) + // Standard Error: 20_000 + .saturating_add((434_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) fn provide_judgement(r: u32, x: u32, ) -> Weight { - (41_392_000 as Weight) - // Standard Error: 59_000 - .saturating_add((839_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 8_000 - .saturating_add((939_000 as Weight).saturating_mul(x as Weight)) + (42_172_000 as Weight) + // Standard Error: 51_000 + .saturating_add((735_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_000 + .saturating_add((954_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -146,14 +145,12 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: System Account (r:2 w:2) // Storage: Identity SuperOf (r:0 w:32) - fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - (85_968_000 as Weight) - // Standard Error: 70_000 - .saturating_add((555_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 10_000 - .saturating_add((2_154_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 10_000 - .saturating_add((19_000 as Weight).saturating_mul(x as Weight)) + fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight { + (95_041_000 as Weight) + // Standard Error: 82_000 + .saturating_add((189_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 12_000 + .saturating_add((2_091_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -162,18 +159,18 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn add_sub(s: u32, ) -> Weight { - (65_807_000 as Weight) - // Standard Error: 16_000 - .saturating_add((413_000 as Weight).saturating_mul(s as Weight)) + (65_993_000 as Weight) + // Standard Error: 8_000 + .saturating_add((371_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) fn rename_sub(s: u32, ) -> Weight { - (21_897_000 as Weight) - // Standard Error: 6_000 - .saturating_add((95_000 as Weight).saturating_mul(s as Weight)) + (20_678_000 as Weight) + // Standard Error: 4_000 + .saturating_add((151_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -181,18 +178,18 @@ impl identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn remove_sub(s: u32, ) -> Weight { - (66_458_000 as Weight) + (68_134_000 as Weight) // Standard Error: 11_000 - .saturating_add((442_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((396_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn quit_sub(s: u32, ) -> Weight { - (45_232_000 as Weight) - // Standard Error: 10_000 - .saturating_add((307_000 as Weight).saturating_mul(s as Weight)) + (44_255_000 as Weight) + // Standard Error: 6_000 + .saturating_add((368_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/picasso/src/weights/indices.rs b/runtime/picasso/src/weights/indices.rs index ce33574a833..87af677a609 100644 --- a/runtime/picasso/src/weights/indices.rs +++ b/runtime/picasso/src/weights/indices.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -32,33 +31,33 @@ pub struct WeightInfo(PhantomData); impl indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - (49_532_000 as Weight) + (46_678_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (56_868_000 as Weight) + (57_966_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - (47_230_000 as Weight) + (49_541_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (47_980_000 as Weight) + (50_083_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - (53_721_000 as Weight) + (55_277_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/picasso/src/weights/membership.rs b/runtime/picasso/src/weights/membership.rs index 232633dbb2d..0c4e5947798 100644 --- a/runtime/picasso/src/weights/membership.rs +++ b/runtime/picasso/src/weights/membership.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -35,9 +34,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (28_002_000 as Weight) - // Standard Error: 11_000 - .saturating_add((224_000 as Weight).saturating_mul(m as Weight)) + (29_159_000 as Weight) + // Standard Error: 10_000 + .saturating_add((193_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -47,9 +46,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (35_436_000 as Weight) - // Standard Error: 0 - .saturating_add((154_000 as Weight).saturating_mul(m as Weight)) + (35_888_000 as Weight) + // Standard Error: 1_000 + .saturating_add((152_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -59,9 +58,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (35_944_000 as Weight) - // Standard Error: 0 - .saturating_add((172_000 as Weight).saturating_mul(m as Weight)) + (36_469_000 as Weight) + // Standard Error: 1_000 + .saturating_add((175_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -71,9 +70,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (35_365_000 as Weight) + (36_889_000 as Weight) // Standard Error: 1_000 - .saturating_add((379_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((358_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -83,9 +82,9 @@ impl membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (39_765_000 as Weight) - // Standard Error: 1_000 - .saturating_add((134_000 as Weight).saturating_mul(m as Weight)) + (38_015_000 as Weight) + // Standard Error: 0 + .saturating_add((166_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -93,16 +92,16 @@ impl membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (9_398_000 as Weight) + (9_860_000 as Weight) // Standard Error: 0 - .saturating_add((129_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((113_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - (3_424_000 as Weight) + (3_614_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/picasso/src/weights/multisig.rs b/runtime/picasso/src/weights/multisig.rs index 23906c1740a..406b2ca5c92 100644 --- a/runtime/picasso/src/weights/multisig.rs +++ b/runtime/picasso/src/weights/multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -31,16 +30,16 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { - (6_248_000 as Weight) + (7_146_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (60_474_000 as Weight) - // Standard Error: 161_000 - .saturating_add((357_000 as Weight).saturating_mul(s as Weight)) + (62_549_000 as Weight) + // Standard Error: 98_000 + .saturating_add((205_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -50,9 +49,9 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (65_629_000 as Weight) - // Standard Error: 277_000 - .saturating_add((806_000 as Weight).saturating_mul(s as Weight)) + (71_396_000 as Weight) + // Standard Error: 121_000 + .saturating_add((88_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -60,9 +59,9 @@ impl multisig::WeightInfo for WeightInfo { } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (38_689_000 as Weight) - // Standard Error: 173_000 - .saturating_add((166_000 as Weight).saturating_mul(s as Weight)) + (39_888_000 as Weight) + // Standard Error: 179_000 + .saturating_add((256_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -71,9 +70,9 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (60_435_000 as Weight) - // Standard Error: 270_000 - .saturating_add((1_050_000 as Weight).saturating_mul(s as Weight)) + (61_497_000 as Weight) + // Standard Error: 193_000 + .saturating_add((1_205_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -83,7 +82,7 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn as_multi_complete(_s: u32, z: u32, ) -> Weight { - (84_749_000 as Weight) + (86_685_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -92,16 +91,16 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (56_518_000 as Weight) - // Standard Error: 52_000 - .saturating_add((812_000 as Weight).saturating_mul(s as Weight)) + (56_785_000 as Weight) + // Standard Error: 109_000 + .saturating_add((1_454_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(_s: u32, ) -> Weight { - (39_939_000 as Weight) + (42_991_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -109,18 +108,18 @@ impl multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn approve_as_multi_complete(s: u32, ) -> Weight { - (117_209_000 as Weight) - // Standard Error: 138_000 - .saturating_add((499_000 as Weight).saturating_mul(s as Weight)) + (109_966_000 as Weight) + // Standard Error: 166_000 + .saturating_add((1_432_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn cancel_as_multi(s: u32, ) -> Weight { - (94_435_000 as Weight) - // Standard Error: 260_000 - .saturating_add((722_000 as Weight).saturating_mul(s as Weight)) + (92_113_000 as Weight) + // Standard Error: 128_000 + .saturating_add((528_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/picasso/src/weights/scheduler.rs b/runtime/picasso/src/weights/scheduler.rs index f2ce01c2a4a..12e648b7c60 100644 --- a/runtime/picasso/src/weights/scheduler.rs +++ b/runtime/picasso/src/weights/scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -35,9 +34,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (11_273_000 as Weight) - // Standard Error: 69_000 - .saturating_add((45_580_000 as Weight).saturating_mul(s as Weight)) + (16_580_000 as Weight) + // Standard Error: 37_000 + .saturating_add((45_845_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -48,9 +47,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_resolved(s: u32, ) -> Weight { - (17_322_000 as Weight) - // Standard Error: 36_000 - .saturating_add((34_887_000 as Weight).saturating_mul(s as Weight)) + (12_290_000 as Weight) + // Standard Error: 38_000 + .saturating_add((35_711_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -60,9 +59,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (11_851_000 as Weight) - // Standard Error: 43_000 - .saturating_add((38_625_000 as Weight).saturating_mul(s as Weight)) + (115_000 as Weight) + // Standard Error: 105_000 + .saturating_add((40_181_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -72,9 +71,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_resolved(s: u32, ) -> Weight { - (12_022_000 as Weight) - // Standard Error: 59_000 - .saturating_add((32_318_000 as Weight).saturating_mul(s as Weight)) + (13_036_000 as Weight) + // Standard Error: 35_000 + .saturating_add((32_687_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -84,9 +83,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:0) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_aborted(s: u32, ) -> Weight { - (11_031_000 as Weight) - // Standard Error: 17_000 - .saturating_add((15_168_000 as Weight).saturating_mul(s as Weight)) + (10_946_000 as Weight) + // Standard Error: 22_000 + .saturating_add((14_992_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -95,9 +94,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (13_061_000 as Weight) - // Standard Error: 12_000 - .saturating_add((8_901_000 as Weight).saturating_mul(s as Weight)) + (14_015_000 as Weight) + // Standard Error: 17_000 + .saturating_add((8_818_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -105,9 +104,9 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named(s: u32, ) -> Weight { - (23_531_000 as Weight) - // Standard Error: 17_000 - .saturating_add((22_971_000 as Weight).saturating_mul(s as Weight)) + (23_108_000 as Weight) + // Standard Error: 24_000 + .saturating_add((22_927_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -115,9 +114,9 @@ impl scheduler::WeightInfo for WeightInfo { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (29_389_000 as Weight) - // Standard Error: 37_000 - .saturating_add((16_507_000 as Weight).saturating_mul(s as Weight)) + (24_516_000 as Weight) + // Standard Error: 28_000 + .saturating_add((16_626_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -126,53 +125,53 @@ impl scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named(s: u32, ) -> Weight { - (22_468_000 as Weight) - // Standard Error: 10_000 - .saturating_add((13_000_000 as Weight).saturating_mul(s as Weight)) + (25_088_000 as Weight) + // Standard Error: 16_000 + .saturating_add((12_961_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Scheduler Agenda (r:1 w:1) fn on_initialize(s: u32, ) -> Weight { - (22_385_000 as Weight) - // Standard Error: 11_000 - .saturating_add((10_396_000 as Weight).saturating_mul(s as Weight)) + (24_452_000 as Weight) + // Standard Error: 15_000 + .saturating_add((10_352_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32, ) -> Weight { - (31_598_000 as Weight) - // Standard Error: 2_000 - .saturating_add((143_000 as Weight).saturating_mul(s as Weight)) + (31_968_000 as Weight) + // Standard Error: 4_000 + .saturating_add((174_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32, ) -> Weight { - (30_463_000 as Weight) + (31_956_000 as Weight) // Standard Error: 5_000 - .saturating_add((1_877_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_727_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32, ) -> Weight { - (41_272_000 as Weight) - // Standard Error: 6_000 - .saturating_add((140_000 as Weight).saturating_mul(s as Weight)) + (38_626_000 as Weight) + // Standard Error: 3_000 + .saturating_add((189_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32, ) -> Weight { - (34_513_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_906_000 as Weight).saturating_mul(s as Weight)) + (35_607_000 as Weight) + // Standard Error: 8_000 + .saturating_add((1_782_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/picasso/src/weights/session.rs b/runtime/picasso/src/weights/session.rs index de342fa7166..f0d1e5f1d3f 100644 --- a/runtime/picasso/src/weights/session.rs +++ b/runtime/picasso/src/weights/session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -33,14 +32,14 @@ impl session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (29_515_000 as Weight) + (29_779_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (21_972_000 as Weight) + (22_599_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/picasso/src/weights/timestamp.rs b/runtime/picasso/src/weights/timestamp.rs index 4e04c853e22..4f545757793 100644 --- a/runtime/picasso/src/weights/timestamp.rs +++ b/runtime/picasso/src/weights/timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -33,11 +32,11 @@ impl timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - (12_373_000 as Weight) + (12_624_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (5_513_000 as Weight) + (5_880_000 as Weight) } } diff --git a/runtime/picasso/src/weights/treasury.rs b/runtime/picasso/src/weights/treasury.rs index 94cad87ebeb..d30566262ca 100644 --- a/runtime/picasso/src/weights/treasury.rs +++ b/runtime/picasso/src/weights/treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -33,23 +32,23 @@ impl treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (48_499_000 as Weight) + (49_066_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { - (72_669_000 as Weight) + (74_800_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (14_884_000 as Weight) - // Standard Error: 4_000 - .saturating_add((268_000 as Weight).saturating_mul(p as Weight)) + (15_284_000 as Weight) + // Standard Error: 5_000 + .saturating_add((279_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -57,9 +56,9 @@ impl treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:1 w:1) fn on_initialize_proposals(p: u32, ) -> Weight { - (65_340_000 as Weight) - // Standard Error: 53_000 - .saturating_add((65_041_000 as Weight).saturating_mul(p as Weight)) + (72_988_000 as Weight) + // Standard Error: 68_000 + .saturating_add((66_126_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/picasso/src/weights/utility.rs b/runtime/picasso/src/weights/utility.rs index 80bc3100468..0a822464bd6 100644 --- a/runtime/picasso/src/weights/utility.rs +++ b/runtime/picasso/src/weights/utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -31,19 +30,19 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (24_789_000 as Weight) - // Standard Error: 6_000 - .saturating_add((6_100_000 as Weight).saturating_mul(c as Weight)) + (29_183_000 as Weight) + // Standard Error: 2_000 + .saturating_add((6_310_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (4_360_000 as Weight) + (4_905_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (14_444_000 as Weight) - // Standard Error: 5_000 - .saturating_add((6_667_000 as Weight).saturating_mul(c as Weight)) + (0 as Weight) + // Standard Error: 102_000 + .saturating_add((7_141_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (19_225_000 as Weight) + (19_840_000 as Weight) } } diff --git a/runtime/picasso/src/weights/vesting.rs b/runtime/picasso/src/weights/vesting.rs index 271d4a8258c..f12cc08fa70 100644 --- a/runtime/picasso/src/weights/vesting.rs +++ b/runtime/picasso/src/weights/vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("picasso-dev"), DB CACHE: 1024 // Executed Command: @@ -15,7 +15,6 @@ // --extrinsic=* // --steps=50 // --repeat=20 -// --raw // --output=runtime/picasso/src/weights // --log // error @@ -33,11 +32,12 @@ impl vesting::WeightInfo for WeightInfo { // Storage: Vesting VestingSchedules (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) + // Storage: Timestamp Now (r:1 w:0) fn claim(s: u32, ) -> Weight { - (56_088_000 as Weight) + (59_519_000 as Weight) // Standard Error: 5_000 - .saturating_add((405_000 as Weight).saturating_mul(s as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add((2_419_000 as Weight).saturating_mul(s as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Vesting VestingSchedules (r:1 w:1) @@ -45,7 +45,7 @@ impl vesting::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:1) // Storage: Tokens Locks (r:1 w:1) fn vested_transfer() -> Weight { - (108_826_000 as Weight) + (106_166_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -54,9 +54,9 @@ impl vesting::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Vesting VestingSchedules (r:0 w:1) fn update_vesting_schedules(s: u32, ) -> Weight { - (57_889_000 as Weight) + (58_886_000 as Weight) // Standard Error: 2_000 - .saturating_add((112_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((138_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -64,11 +64,12 @@ impl vesting::WeightInfo for WeightInfo { // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) + // Storage: Timestamp Now (r:1 w:0) fn claim_for(s: u32, ) -> Weight { - (56_088_000 as Weight) + (58_437_000 as Weight) // Standard Error: 3_000 - .saturating_add((172_000 as Weight).saturating_mul(s as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add((2_178_000 as Weight).saturating_mul(s as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } } diff --git a/runtime/picasso/src/xcmp.rs b/runtime/picasso/src/xcmp.rs index 4c33b24b41c..506ede36893 100644 --- a/runtime/picasso/src/xcmp.rs +++ b/runtime/picasso/src/xcmp.rs @@ -3,13 +3,15 @@ #![allow(unused_imports)] // allow until v2 xcm released (instead creating 2 runtimes) use super::*; // recursive dependency onto runtime - use codec::{Decode, Encode}; use composable_traits::assets::{RemoteAssetRegistry, XcmAssetLocation}; -use cumulus_primitives_core::ParaId; +use core::marker::PhantomData; +use cumulus_primitives_core::{IsSystem, ParaId}; use frame_support::{ construct_runtime, log, match_type, parameter_types, - traits::{Contains, Everything, KeyOwnerProofSystem, Nothing, Randomness, StorageInfo}, + traits::{ + Contains, Everything, KeyOwnerProofSystem, Nothing, OriginTrait, Randomness, StorageInfo, + }, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, DispatchClass, IdentityFee, Weight, WeightToFeeCoefficient, WeightToFeeCoefficients, @@ -17,31 +19,27 @@ use frame_support::{ }, PalletId, }; - +use orml_traits::parameter_type_with_key; use orml_xcm_support::{IsNativeConcrete, MultiCurrencyAdapter, MultiNativeAsset}; - +use pallet_xcm::XcmPassthrough; +use polkadot_parachain::primitives::Sibling; +use sp_api::impl_runtime_apis; +use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; use sp_runtime::{ traits::{AccountIdLookup, BlakeTwo256, Convert, ConvertInto, Zero}, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, }; - -use orml_traits::parameter_type_with_key; -use sp_api::impl_runtime_apis; -use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; - -use pallet_xcm::XcmPassthrough; -use polkadot_parachain::primitives::Sibling; use sp_std::prelude::*; use xcm::latest::{prelude::*, Error}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, LocationInverter, - ParentIsDefault, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, }; use xcm_executor::{ - traits::{TransactAsset, WeightTrader}, + traits::{ConvertOrigin, TransactAsset, WeightTrader}, Assets, Config, XcmExecutor, }; @@ -90,8 +88,8 @@ pub type XcmRouter = ( /// when determining ownership of accounts for asset transacting and when attempting to use XCM /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( - // The parent (Relay-chain) origin converts to the default `AccountId`. - ParentIsDefault, + // The parent (Relay-chain) origin converts to the parent `AccountId`. + ParentIsPreset, // Sibling parachain origins convert to AccountId via the `ParaId::into`. SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. @@ -338,16 +336,40 @@ impl cumulus_pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; } +pub struct SystemParachainAsSuperuser(PhantomData); +impl ConvertOrigin for SystemParachainAsSuperuser { + fn convert_origin( + origin: impl Into, + kind: OriginKind, + ) -> Result { + let origin = origin.into(); + if kind == OriginKind::Superuser && + matches!( + origin, + MultiLocation { + parents: 1, + interior: X1(Parachain(id)), + } if ParaId::from(id).is_system(), + ) { + Ok(Origin::root()) + } else { + Err(origin) + } + } +} + impl cumulus_pallet_xcmp_queue::Config for Runtime { type Event = Event; type XcmExecutor = XcmExecutor; type VersionWrapper = (); type ChannelInfo = ParachainSystem; - type ExecuteOverweightOrigin = EnsureRoot; + type ExecuteOverweightOrigin = EnsureRootOrHalfCouncil; + type ControllerOrigin = EnsureRootOrHalfCouncil; + type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; } impl cumulus_pallet_dmp_queue::Config for Runtime { type Event = Event; type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = system::EnsureRoot; + type ExecuteOverweightOrigin = EnsureRootOrHalfCouncil; } diff --git a/runtime/primitives/Cargo.toml b/runtime/primitives/Cargo.toml index f5483c314e0..1a45fd83238 100644 --- a/runtime/primitives/Cargo.toml +++ b/runtime/primitives/Cargo.toml @@ -18,8 +18,8 @@ scale-info = { version = "1.0", default-features = false, features = [ "derive", ] } serde = { version = '1.0.130', features = ['derive'], optional = true } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false, optional = true } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17", default-features = false, optional = true } [features] diff --git a/scripts/polkadot-launch/README.md b/scripts/polkadot-launch/README.md index 4ef0ed79d0d..5e25aa7cc8a 100644 --- a/scripts/polkadot-launch/README.md +++ b/scripts/polkadot-launch/README.md @@ -16,7 +16,7 @@ Need to do to run 4 relay chain nodes and 1 Composable's collator: ```bash mkdir -p ../../../polkadot/target/release - curl https://github.com/paritytech/polkadot/releases/download/v0.9.16/polkadot -Lo ../../../polkadot/target/release/polkadot + curl https://github.com/paritytech/polkadot/releases/download/v0.9.17/polkadot -Lo ../../../polkadot/target/release/polkadot ../../../polkadot/target/release/polkadot -- version ``` @@ -54,7 +54,7 @@ Need to do to run 4 relay chain nodes, 2 Composable's collators and 2 Basilisk's ```bash mkdir -p ../../../polkadot/target/release - curl https://github.com/paritytech/polkadot/releases/download/v0.9.16/polkadot -Lo ../../../polkadot/target/release/polkadot + curl https://github.com/paritytech/polkadot/releases/download/v0.9.17/polkadot -Lo ../../../polkadot/target/release/polkadot ../../../polkadot/target/release/polkadot -- version ``` diff --git a/scripts/polkadot-launch/composable.json b/scripts/polkadot-launch/composable.json index a8b2d6fce25..650ddc6fdac 100644 --- a/scripts/polkadot-launch/composable.json +++ b/scripts/polkadot-launch/composable.json @@ -8,7 +8,7 @@ "wsPort": 9944, "basePath": "/tmp/polkadot-launch/relaychains/alice", "port": 30444, - "flags": ["--beefy"] + "flags": ["--rpc-cors=all", "--beefy", "--enable-offchain-indexing=true"] }, { "name": "bob", diff --git a/integration-tests/simnode/common/Cargo.toml b/simnode/common/Cargo.toml similarity index 57% rename from integration-tests/simnode/common/Cargo.toml rename to simnode/common/Cargo.toml index 18007471a83..716d8b74d10 100644 --- a/integration-tests/simnode/common/Cargo.toml +++ b/simnode/common/Cargo.toml @@ -7,28 +7,28 @@ version = "0.1.0" simnode-apis = { package = "simnode-runtime-apis", git = "https://github.com/polytope-labs/substrate-simnode", default-features = false, branch = "master" } substrate-simnode = { git = "https://github.com/polytope-labs/substrate-simnode", branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } -common = { path = "../../../runtime/common" } -dali-runtime = { path = "../../../runtime/dali", features = ["sim-node"] } -node = { package = "composable-node", path = "../../../node", features = [ - "dali", -] } -parachain-inherent = { package = "cumulus-primitives-parachain-inherent", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -picasso-runtime = { path = "../../../runtime/picasso", features = ["sim-node"] } - -jsonrpc-core = "18.0" +common = { path = "../../runtime/common" } +composable-runtime = { path = "../../runtime/composable" } +dali-runtime = { path = "../../runtime/dali" } +node = { package = "composable-node", path = "../../node", features = ["dali"] } +parachain-inherent = { package = "cumulus-primitives-parachain-inherent", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +picasso-runtime = { path = "../../runtime/picasso" } derive_more = "0.99.17" +jsonrpc-core = "18.0" diff --git a/integration-tests/simnode/simnode-tests/src/chains.rs b/simnode/common/src/chains.rs similarity index 63% rename from integration-tests/simnode/simnode-tests/src/chains.rs rename to simnode/common/src/chains.rs index b10460b13ae..1451cb8de40 100644 --- a/integration-tests/simnode/simnode-tests/src/chains.rs +++ b/simnode/common/src/chains.rs @@ -1,3 +1,5 @@ +/// utilities for composable-runtime +pub mod composable; /// utilities for the dali-runtime pub mod dali; /// utilities for picasso-runtime diff --git a/simnode/common/src/chains/composable.rs b/simnode/common/src/chains/composable.rs new file mode 100644 index 00000000000..dee347235b6 --- /dev/null +++ b/simnode/common/src/chains/composable.rs @@ -0,0 +1,68 @@ +use crate::cli::ComposableCli; +use parachain_inherent::ParachainInherentData; +use sc_consensus_manual_seal::consensus::timestamp::SlotTimestampProvider; +use sc_service::TFullBackend; +use sp_runtime::generic::Era; +use std::sync::Arc; +use substrate_simnode::{FullClientFor, RpcHandlerArgs, SignatureVerificationOverride}; + +/// A unit struct which implements `NativeExecutionDispatch` feeding in the +/// hard-coded runtime. +pub struct ExecutorDispatch; + +impl sc_executor::NativeExecutionDispatch for ExecutorDispatch { + type ExtendHostFunctions = + (frame_benchmarking::benchmarking::HostFunctions, SignatureVerificationOverride); + + fn dispatch(method: &str, data: &[u8]) -> Option> { + composable_runtime::api::dispatch(method, data) + } + + fn native_version() -> sc_executor::NativeVersion { + composable_runtime::native_version() + } +} + +/// ChainInfo implementation. +pub struct ChainInfo; + +impl substrate_simnode::ChainInfo for ChainInfo { + type Block = common::OpaqueBlock; + type ExecutorDispatch = ExecutorDispatch; + type Runtime = composable_runtime::Runtime; + type RuntimeApi = composable_runtime::RuntimeApi; + type SelectChain = sc_consensus::LongestChain, Self::Block>; + type BlockImport = Arc>; + type InherentDataProviders = ( + SlotTimestampProvider, + sp_consensus_aura::inherents::InherentDataProvider, + ParachainInherentData, + ); + type SignedExtras = composable_runtime::SignedExtra; + type Cli = ComposableCli; + + fn create_rpc_io_handler( + deps: RpcHandlerArgs, + ) -> jsonrpc_core::MetaIoHandler { + let full_deps = node::rpc::FullDeps { + client: deps.client, + pool: deps.pool, + deny_unsafe: deps.deny_unsafe, + }; + node::rpc::create::<_, _, Self::Block>(full_deps) + } + + fn signed_extras(from: ::AccountId) -> Self::SignedExtras { + let nonce = system::Pallet::::account_nonce(from); + ( + system::CheckNonZeroSender::::new(), + system::CheckSpecVersion::::new(), + system::CheckTxVersion::::new(), + system::CheckGenesis::::new(), + system::CheckEra::::from(Era::Immortal), + system::CheckNonce::::from(nonce), + system::CheckWeight::::new(), + transaction_payment::ChargeTransactionPayment::::from(0), + ) + } +} diff --git a/integration-tests/simnode/common/src/chains/dali.rs b/simnode/common/src/chains/dali.rs similarity index 68% rename from integration-tests/simnode/common/src/chains/dali.rs rename to simnode/common/src/chains/dali.rs index 46baf3e55af..0503ff8f129 100644 --- a/integration-tests/simnode/common/src/chains/dali.rs +++ b/simnode/common/src/chains/dali.rs @@ -2,6 +2,7 @@ use crate::cli::ComposableCli; use parachain_inherent::ParachainInherentData; use sc_consensus_manual_seal::consensus::timestamp::SlotTimestampProvider; use sc_service::TFullBackend; +use sp_runtime::generic::Era; use std::sync::Arc; use substrate_simnode::{FullClientFor, RpcHandlerArgs, SignatureVerificationOverride}; @@ -37,18 +38,12 @@ impl substrate_simnode::ChainInfo for ChainInfo { sp_consensus_aura::inherents::InherentDataProvider, ParachainInherentData, ); + type SignedExtras = dali_runtime::SignedExtra; type Cli = ComposableCli; fn create_rpc_io_handler( deps: RpcHandlerArgs, - ) -> jsonrpc_core::MetaIoHandler - where - <::RuntimeApi as sp_api::ConstructRuntimeApi< - Self::Block, - FullClientFor, - >>::RuntimeApi: sp_api::Core - + sp_transaction_pool::runtime_api::TaggedTransactionQueue, - { + ) -> jsonrpc_core::MetaIoHandler { let full_deps = node::rpc::FullDeps { client: deps.client, pool: deps.pool, @@ -56,4 +51,18 @@ impl substrate_simnode::ChainInfo for ChainInfo { }; node::rpc::create::<_, _, Self::Block>(full_deps) } + + fn signed_extras(from: ::AccountId) -> Self::SignedExtras { + let nonce = system::Pallet::::account_nonce(from); + ( + system::CheckNonZeroSender::::new(), + system::CheckSpecVersion::::new(), + system::CheckTxVersion::::new(), + system::CheckGenesis::::new(), + system::CheckEra::::from(Era::Immortal), + system::CheckNonce::::from(nonce), + system::CheckWeight::::new(), + transaction_payment::ChargeTransactionPayment::::from(0), + ) + } } diff --git a/integration-tests/simnode/common/src/chains/picasso.rs b/simnode/common/src/chains/picasso.rs similarity index 68% rename from integration-tests/simnode/common/src/chains/picasso.rs rename to simnode/common/src/chains/picasso.rs index 87c37636b76..0fbe79f3ef6 100644 --- a/integration-tests/simnode/common/src/chains/picasso.rs +++ b/simnode/common/src/chains/picasso.rs @@ -2,6 +2,7 @@ use crate::cli::ComposableCli; use parachain_inherent::ParachainInherentData; use sc_consensus_manual_seal::consensus::timestamp::SlotTimestampProvider; use sc_service::TFullBackend; +use sp_runtime::generic::Era; use std::sync::Arc; use substrate_simnode::{FullClientFor, RpcHandlerArgs, SignatureVerificationOverride}; @@ -37,17 +38,11 @@ impl substrate_simnode::ChainInfo for ChainInfo { sp_consensus_aura::inherents::InherentDataProvider, ParachainInherentData, ); + type SignedExtras = picasso_runtime::SignedExtra; type Cli = ComposableCli; fn create_rpc_io_handler( deps: RpcHandlerArgs, - ) -> jsonrpc_core::MetaIoHandler - where - <::RuntimeApi as sp_api::ConstructRuntimeApi< - Self::Block, - FullClientFor, - >>::RuntimeApi: sp_api::Core - + sp_transaction_pool::runtime_api::TaggedTransactionQueue, - { + ) -> jsonrpc_core::MetaIoHandler { let full_deps = node::rpc::FullDeps { client: deps.client, pool: deps.pool, @@ -55,4 +50,18 @@ impl substrate_simnode::ChainInfo for ChainInfo { }; node::rpc::create::<_, _, Self::Block>(full_deps) } + + fn signed_extras(from: ::AccountId) -> Self::SignedExtras { + let nonce = system::Pallet::::account_nonce(from); + ( + system::CheckNonZeroSender::::new(), + system::CheckSpecVersion::::new(), + system::CheckTxVersion::::new(), + system::CheckGenesis::::new(), + system::CheckEra::::from(Era::Immortal), + system::CheckNonce::::from(nonce), + system::CheckWeight::::new(), + transaction_payment::ChargeTransactionPayment::::from(0), + ) + } } diff --git a/integration-tests/simnode/common/src/cli.rs b/simnode/common/src/cli.rs similarity index 100% rename from integration-tests/simnode/common/src/cli.rs rename to simnode/common/src/cli.rs diff --git a/integration-tests/simnode/common/src/events.rs b/simnode/common/src/events.rs similarity index 89% rename from integration-tests/simnode/common/src/events.rs rename to simnode/common/src/events.rs index fa324d2327b..3bb1037e0c1 100644 --- a/integration-tests/simnode/common/src/events.rs +++ b/simnode/common/src/events.rs @@ -6,6 +6,8 @@ pub enum AllRuntimeEvents { Picasso(picasso_runtime::Event), /// Dali runtime events Dali(dali_runtime::Event), + /// Composable runtime events + Composable(composable_runtime::Event), } /// Convenience method to match on [`AllRuntimeEvents`] diff --git a/integration-tests/simnode/common/src/lib.rs b/simnode/common/src/lib.rs similarity index 100% rename from integration-tests/simnode/common/src/lib.rs rename to simnode/common/src/lib.rs diff --git a/integration-tests/simnode/simnode-node/Cargo.toml b/simnode/simnode-node/Cargo.toml similarity index 78% rename from integration-tests/simnode/simnode-node/Cargo.toml rename to simnode/simnode-node/Cargo.toml index fda39a03c4b..2614b7399d0 100644 --- a/integration-tests/simnode/simnode-node/Cargo.toml +++ b/simnode/simnode-node/Cargo.toml @@ -7,10 +7,8 @@ version = "0.1.0" [dependencies] common = { package = "simnode-common", path = "../common" } -node = { package = "composable-node", path = "../../../node", features = [ - "dali", -] } +node = { package = "composable-node", path = "../../node", features = ["dali"] } substrate-simnode = { git = "https://github.com/polytope-labs/substrate-simnode", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } structopt = "0.3.25" diff --git a/integration-tests/simnode/simnode-node/README.md b/simnode/simnode-node/README.md similarity index 100% rename from integration-tests/simnode/simnode-node/README.md rename to simnode/simnode-node/README.md diff --git a/integration-tests/simnode/simnode-node/src/main.rs b/simnode/simnode-node/src/main.rs similarity index 75% rename from integration-tests/simnode/simnode-node/src/main.rs rename to simnode/simnode-node/src/main.rs index 13c84a27017..c6d372d5216 100644 --- a/integration-tests/simnode/simnode-node/src/main.rs +++ b/simnode/simnode-node/src/main.rs @@ -22,6 +22,14 @@ fn main() -> Result<(), Box> { Ok(()) }, )?, + chain if chain.contains("composable") => + substrate_simnode::parachain_node::( + |node| async move { + node.seal_blocks(10).await; + node.until_shutdown().await; + Ok(()) + }, + )?, _ => panic!("Unsupported chain_id: {}", chain_id), }; diff --git a/integration-tests/simnode/simnode-tests/Cargo.toml b/simnode/simnode-tests/Cargo.toml similarity index 66% rename from integration-tests/simnode/simnode-tests/Cargo.toml rename to simnode/simnode-tests/Cargo.toml index 38d6874e845..d981af14df5 100644 --- a/integration-tests/simnode/simnode-tests/Cargo.toml +++ b/simnode/simnode-tests/Cargo.toml @@ -9,35 +9,34 @@ version = "0.1.0" simnode-apis = { package = "simnode-runtime-apis", git = "https://github.com/polytope-labs/substrate-simnode", default-features = false, branch = "master" } substrate-simnode = { git = "https://github.com/polytope-labs/substrate-simnode", branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } -system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } - - -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } - - -parachain-system = { package = "cumulus-pallet-parachain-system", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } - -common = { path = "../../../runtime/common" } -dali-runtime = { path = "../../../runtime/dali", features = ["sim-node"] } -node = { package = "composable-node", path = "../../../node", features = [ - "dali", -] } -picasso-runtime = { path = "../../../runtime/picasso", features = ["sim-node"] } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17", default-features = false } +system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } + + +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } + + +parachain-system = { package = "cumulus-pallet-parachain-system", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.17" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } + +common = { path = "../../runtime/common" } +composable-runtime = { path = "../../runtime/composable" } +dali-runtime = { path = "../../runtime/dali" } +node = { package = "composable-node", path = "../../node", features = ["dali"] } +picasso-runtime = { path = "../../runtime/picasso" } simnode-common = { path = "../common" } codec = { package = "parity-scale-codec", version = "2.0.0" } hex = "0.4.3" num-traits = "0.2.14" structopt = "0.3.25" -sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } diff --git a/integration-tests/simnode/common/src/chains.rs b/simnode/simnode-tests/src/chains.rs similarity index 63% rename from integration-tests/simnode/common/src/chains.rs rename to simnode/simnode-tests/src/chains.rs index b10460b13ae..1451cb8de40 100644 --- a/integration-tests/simnode/common/src/chains.rs +++ b/simnode/simnode-tests/src/chains.rs @@ -1,3 +1,5 @@ +/// utilities for composable-runtime +pub mod composable; /// utilities for the dali-runtime pub mod dali; /// utilities for picasso-runtime diff --git a/simnode/simnode-tests/src/chains/composable.rs b/simnode/simnode-tests/src/chains/composable.rs new file mode 100644 index 00000000000..97ebc3c2584 --- /dev/null +++ b/simnode/simnode-tests/src/chains/composable.rs @@ -0,0 +1,20 @@ +use crate::tests; +use common::DAYS; +use simnode_common::chains::composable::ChainInfo; +use std::error::Error; + +/// run all integration tests +pub fn run() -> Result<(), Box> { + substrate_simnode::parachain_node::(|node| async move { + // test code-substitute for dali, by authoring blocks past the launch period + node.seal_blocks(10).await; + // test runtime upgrades + let code = composable_runtime::WASM_BINARY.ok_or("Composable wasm not available")?.to_vec(); + tests::runtime_upgrade::parachain_runtime_upgrades(&node, code).await?; + + // try to create blocks for a month, if it doesn't panic, all good. + node.seal_blocks((30 * DAYS) as usize).await; + + Ok(()) + }) +} diff --git a/integration-tests/simnode/simnode-tests/src/chains/dali.rs b/simnode/simnode-tests/src/chains/dali.rs similarity index 100% rename from integration-tests/simnode/simnode-tests/src/chains/dali.rs rename to simnode/simnode-tests/src/chains/dali.rs diff --git a/integration-tests/simnode/simnode-tests/src/chains/picasso.rs b/simnode/simnode-tests/src/chains/picasso.rs similarity index 100% rename from integration-tests/simnode/simnode-tests/src/chains/picasso.rs rename to simnode/simnode-tests/src/chains/picasso.rs diff --git a/integration-tests/simnode/simnode-tests/src/main.rs b/simnode/simnode-tests/src/main.rs similarity index 87% rename from integration-tests/simnode/simnode-tests/src/main.rs rename to simnode/simnode-tests/src/main.rs index ffd8d55701d..5ad3e265c0e 100644 --- a/integration-tests/simnode/simnode-tests/src/main.rs +++ b/simnode/simnode-tests/src/main.rs @@ -12,6 +12,7 @@ fn main() -> Result<(), Box> { match &*chain_id { chain if chain.contains("picasso") => picasso::run()?, chain if chain.contains("dali") => dali::run()?, + chain if chain.contains("composable") => composable::run()?, _ => panic!("Unsupported chain_id: {}", chain_id), }; diff --git a/integration-tests/simnode/simnode-tests/src/tests.rs b/simnode/simnode-tests/src/tests.rs similarity index 100% rename from integration-tests/simnode/simnode-tests/src/tests.rs rename to simnode/simnode-tests/src/tests.rs diff --git a/integration-tests/simnode/simnode-tests/src/tests/runtime_upgrade.rs b/simnode/simnode-tests/src/tests/runtime_upgrade.rs similarity index 100% rename from integration-tests/simnode/simnode-tests/src/tests/runtime_upgrade.rs rename to simnode/simnode-tests/src/tests/runtime_upgrade.rs diff --git a/utils/faucet-server/Cargo.toml b/utils/faucet-server/Cargo.toml index a2b5a038a56..fc61ee75512 100644 --- a/utils/faucet-server/Cargo.toml +++ b/utils/faucet-server/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4.14" serde = { version = "1", features = ["derive"] } serde_urlencoded = "0.7.0" sha2 = "0.9.8" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } structopt = "0.3.25" subxt = { git = "https://github.com/composableFi/subxt", branch = "seun-0.9.13" } subxt-clients = { path = "../subxt-clients" } diff --git a/utils/parachain-utils/Cargo.toml b/utils/parachain-utils/Cargo.toml index afbd03817e9..1dbddd093d2 100644 --- a/utils/parachain-utils/Cargo.toml +++ b/utils/parachain-utils/Cargo.toml @@ -13,19 +13,19 @@ codec = { package = "parity-scale-codec", version = "2.2.0", default-features = derive_more = "0.99.16" env_logger = "0.8.4" envy = "0.4.2" -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } log = "0.4.14" -parachain-system = { package = "cumulus-pallet-parachain-system", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +parachain-system = { package = "cumulus-pallet-parachain-system", git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.17" } serde = { version = "1", features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } tokio = { version = "1", features = ["full"] } -transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } url = "1.7.0" jsonrpc-core-client = { version = "18", features = ["ws"] } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" } structopt = "0.3.23" common = { package = "common", path = "../../runtime/common" }