From 2b8e2063580257ef37ef90f2dd35d2a25d011367 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Fri, 10 Jun 2022 14:10:00 +0200 Subject: [PATCH 01/17] adjust telemetry for rococo --- node/res/chain_specs/rococo-170000.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/res/chain_specs/rococo-170000.json b/node/res/chain_specs/rococo-170000.json index 1585ad2320..b0174f7330 100644 --- a/node/res/chain_specs/rococo-170000.json +++ b/node/res/chain_specs/rococo-170000.json @@ -7,7 +7,7 @@ ], "telemetryEndpoints": [ [ - "/dns/telemetry-backend.parachain.litentry.io/tcp/443/x-parity-wss/%2Fsubmit", + "/dns/telemetry.polkadot.io/tcp/443/x-parity-wss/%2Fsubmit%2F", 0 ] ], From 342f81d4a933f4a23204eb0036340a87e5b074ec Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Sun, 12 Jun 2022 00:41:31 +0200 Subject: [PATCH 02/17] fix compile errors and cargo update --- Cargo.lock | 1268 +++++++++++------------- node/Cargo.toml | 106 +- node/src/command.rs | 8 +- node/src/rpc.rs | 12 +- pallets/bridge-transfer/Cargo.toml | 20 +- pallets/bridge-transfer/src/mock.rs | 2 +- pallets/bridge/Cargo.toml | 16 +- pallets/bridge/src/lib.rs | 6 +- pallets/bridge/src/mock.rs | 2 +- pallets/drop3/Cargo.toml | 16 +- pallets/extrinsic-filter/Cargo.toml | 18 +- pallets/identity-management/Cargo.toml | 16 +- pallets/xcm-asset-manager/Cargo.toml | 20 +- pallets/xcm-asset-manager/src/lib.rs | 2 +- primitives/Cargo.toml | 4 +- runtime/litentry/Cargo.toml | 110 +- runtime/litmus/Cargo.toml | 130 +-- runtime/litmus/src/asset_config.rs | 2 +- runtime/litmus/src/xcm_config.rs | 8 +- runtime/moonbase/Cargo.toml | 126 +-- runtime/moonbase/src/asset_config.rs | 2 +- runtime/moonbase/src/xcm_config.rs | 8 +- runtime/rococo/Cargo.toml | 131 ++- runtime/rococo/src/asset_config.rs | 2 +- runtime/rococo/src/xcm_config.rs | 8 +- 25 files changed, 965 insertions(+), 1078 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 92051714d0..caa92e4f19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -417,7 +417,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "beefy-primitives", "fnv", @@ -426,7 +426,7 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-chain-spec", "sc-client-api", "sc-finality-grandpa", @@ -451,7 +451,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -459,7 +459,7 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-rpc", "sc-utils", "serde", @@ -471,12 +471,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -558,17 +558,6 @@ dependencies = [ "constant_time_eq", ] -[[package]] -name = "blake2b_simd" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "constant_time_eq", -] - [[package]] name = "blake2b_simd" version = "1.0.0" @@ -677,7 +666,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-runtime", "finality-grandpa", @@ -694,7 +683,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-runtime", "frame-support", @@ -706,7 +695,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitvec", "bp-runtime", @@ -723,7 +712,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-messages", "bp-runtime", @@ -741,7 +730,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -758,7 +747,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "hash-db", @@ -776,7 +765,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -791,7 +780,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -806,7 +795,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -840,10 +829,7 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" dependencies = [ - "lazy_static", "memchr", - "regex-automata", - "serde", ] [[package]] @@ -857,9 +843,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.9.1" +version = "3.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899" +checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" [[package]] name = "byte-slice-cast" @@ -928,7 +914,7 @@ checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" dependencies = [ "camino", "cargo-platform", - "semver 1.0.9", + "semver 1.0.10", "serde", "serde_json", ] @@ -1100,6 +1086,17 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "comfy-table" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b103d85ca6e209388771bfb7aa6b68a7aeec4afbf6f0a0264bfbf50360e5212e" +dependencies = [ + "strum 0.23.0", + "strum_macros 0.23.1", + "unicode-width", +] + [[package]] name = "concurrent-queue" version = "1.2.2" @@ -1371,37 +1368,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "csv" -version = "1.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" -dependencies = [ - "bstr", - "csv-core", - "itoa 0.4.8", - "ryu", - "serde", -] - -[[package]] -name = "csv-core" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" -dependencies = [ - "memchr", -] - -[[package]] -name = "ct-logs" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8" -dependencies = [ - "sct 0.6.1", -] - [[package]] name = "ctor" version = "0.1.22" @@ -1435,7 +1401,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "clap", "sc-cli", @@ -1446,7 +1412,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1454,7 +1420,7 @@ dependencies = [ "cumulus-relay-chain-interface", "futures 0.3.21", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", @@ -1470,7 +1436,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1499,7 +1465,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1520,14 +1486,14 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.21", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sc-consensus", "sp-api", @@ -1544,7 +1510,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1552,7 +1518,7 @@ dependencies = [ "futures 0.3.21", "futures-timer", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-parachain", "polkadot-primitives", @@ -1569,7 +1535,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -1593,7 +1559,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1602,7 +1568,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-overseer", "polkadot-primitives", "sc-chain-spec", @@ -1623,7 +1589,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "frame-executive", "frame-support", @@ -1641,7 +1607,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1659,7 +1625,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -1689,7 +1655,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1700,7 +1666,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "frame-benchmarking", "frame-support", @@ -1714,7 +1680,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1731,7 +1697,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1750,7 +1716,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "frame-support", "parity-scale-codec", @@ -1766,7 +1732,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1789,7 +1755,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "futures 0.3.21", @@ -1802,7 +1768,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1819,16 +1785,18 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.21", "futures-timer", - "parking_lot 0.12.0", + "parking_lot 0.12.1", + "polkadot-cli", "polkadot-client", "polkadot-service", + "sc-cli", "sc-client-api", "sc-consensus-babe", "sc-network", @@ -1848,7 +1816,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1856,7 +1824,7 @@ dependencies = [ "futures 0.3.21", "jsonrpsee-core", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-overseer", "polkadot-service", "sc-client-api", @@ -1872,7 +1840,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "async-trait", "backoff", @@ -1882,7 +1850,7 @@ dependencies = [ "futures-timer", "jsonrpsee", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-service", "sc-client-api", "sc-rpc-api", @@ -1898,7 +1866,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2054,17 +2022,6 @@ dependencies = [ "dirs-sys-next", ] -[[package]] -name = "dirs" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901" -dependencies = [ - "libc", - "redox_users 0.3.5", - "winapi", -] - [[package]] name = "dirs-sys" version = "0.3.7" @@ -2072,7 +2029,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" dependencies = [ "libc", - "redox_users 0.4.3", + "redox_users", "winapi", ] @@ -2083,7 +2040,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users 0.4.3", + "redox_users", "winapi", ] @@ -2195,12 +2152,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - [[package]] name = "enum-as-inner" version = "0.4.0" @@ -2462,7 +2413,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", ] @@ -2480,7 +2431,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -2502,11 +2453,12 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "Inflector", "chrono", "clap", + "comfy-table", "frame-benchmarking", "frame-support", "frame-system", @@ -2520,7 +2472,6 @@ dependencies = [ "log", "memory-db", "parity-scale-codec", - "prettytable-rs", "rand 0.8.5", "rand_pcg 0.3.1", "sc-block-builder", @@ -2552,7 +2503,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2563,7 +2514,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2579,7 +2530,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -2607,7 +2558,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "bitflags", "frame-metadata", @@ -2637,7 +2588,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2649,7 +2600,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2661,7 +2612,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "proc-macro2", "quote", @@ -2671,7 +2622,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "log", @@ -2688,7 +2639,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -2703,7 +2654,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "sp-api", @@ -2712,7 +2663,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "sp-api", @@ -2848,7 +2799,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e01fe9932a224b72b45336d96040aa86386d674a31d0af27d800ea7bc8ca97fe" dependencies = [ "futures-io", - "rustls 0.20.6", + "rustls", "webpki 0.22.0", ] @@ -2961,9 +2912,9 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "globset" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" +checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a" dependencies = [ "aho-corasick", "bstr", @@ -3016,9 +2967,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.3.0" +version = "4.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d113a9853e5accd30f43003560b5563ffbb007e3f325e8b103fa0d0029c6e6df" +checksum = "b66d0c1b6e3abfd1e72818798925e16e02ed77e1b47f6c25a95a23b377ee4299" dependencies = [ "log", "pest", @@ -3147,9 +3098,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff8670570af52249509a86f5e3e18a08c60b177071826898fde8997cf5f6bfbb" +checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" dependencies = [ "bytes", "fnv", @@ -3211,25 +3162,23 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.22.1" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" +checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" dependencies = [ - "ct-logs", - "futures-util", + "http", "hyper", "log", - "rustls 0.19.1", - "rustls-native-certs 0.5.0", + "rustls", + "rustls-native-certs", "tokio", - "tokio-rustls 0.22.0", - "webpki 0.21.4", + "tokio-rustls", ] [[package]] name = "ias-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.22#575b7e55fd383255edaacb4554a409828ece07b2" +source = "git+https://github.com/litentry/integritee-pallets.git?branch=polkadot-v0.9.23#5a3ef0d53178392e8a1b20e473891db3f87e7145" dependencies = [ "base64", "chrono", @@ -3441,11 +3390,11 @@ dependencies = [ "jsonrpsee-core", "jsonrpsee-types", "pin-project 1.0.10", - "rustls-native-certs 0.6.2", + "rustls-native-certs", "soketto", "thiserror", "tokio", - "tokio-rustls 0.23.4", + "tokio-rustls", "tokio-util", "tracing", "webpki-roots", @@ -3467,7 +3416,7 @@ dependencies = [ "futures-util", "hyper", "jsonrpsee-types", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.8.5", "rustc-hash", "serde", @@ -3571,8 +3520,8 @@ checksum = "f9b7d56ba4a8344d6be9729995e6b06f928af29998cdf79fe390cbf6b1fee838" [[package]] name = "kusama-runtime" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "beefy-primitives", "bitvec", @@ -3664,8 +3613,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "polkadot-primitives", @@ -3701,7 +3650,7 @@ checksum = "ece7e668abd21387aeb6628130a6f4c802787f014fa46bc83221448322250357" dependencies = [ "kvdb", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", ] [[package]] @@ -3716,7 +3665,7 @@ dependencies = [ "num_cpus", "owning_ref", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "regex", "rocksdb", "smallvec", @@ -3805,7 +3754,7 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multiaddr", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project 1.0.10", "rand 0.7.3", "smallvec", @@ -3825,7 +3774,7 @@ dependencies = [ "libp2p-request-response", "libp2p-swarm", "log", - "prost", + "prost 0.9.0", "prost-build", "rand 0.8.5", ] @@ -3850,9 +3799,9 @@ dependencies = [ "multiaddr", "multihash", "multistream-select", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project 1.0.10", - "prost", + "prost 0.9.0", "prost-build", "rand 0.8.5", "ring 0.16.20", @@ -3902,7 +3851,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost", + "prost 0.9.0", "prost-build", "rand 0.7.3", "smallvec", @@ -3926,7 +3875,7 @@ dependencies = [ "libp2p-swarm", "log", "prometheus-client", - "prost", + "prost 0.9.0", "prost-build", "rand 0.7.3", "regex", @@ -3948,7 +3897,7 @@ dependencies = [ "libp2p-swarm", "log", "lru 0.7.6", - "prost", + "prost 0.9.0", "prost-build", "smallvec", ] @@ -3970,7 +3919,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost", + "prost 0.9.0", "prost-build", "rand 0.7.3", "sha2 0.10.2", @@ -4030,7 +3979,7 @@ dependencies = [ "libp2p-core", "log", "nohash-hasher", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "smallvec", "unsigned-varint", @@ -4048,7 +3997,7 @@ dependencies = [ "lazy_static", "libp2p-core", "log", - "prost", + "prost 0.9.0", "prost-build", "rand 0.8.5", "sha2 0.10.2", @@ -4085,7 +4034,7 @@ dependencies = [ "futures 0.3.21", "libp2p-core", "log", - "prost", + "prost 0.9.0", "prost-build", "unsigned-varint", "void", @@ -4121,7 +4070,7 @@ dependencies = [ "libp2p-swarm", "log", "pin-project 1.0.10", - "prost", + "prost 0.9.0", "prost-build", "rand 0.8.5", "smallvec", @@ -4145,7 +4094,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost", + "prost 0.9.0", "prost-build", "rand 0.8.5", "sha2 0.10.2", @@ -4194,9 +4143,9 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.27.1" +version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf2fe8c80b43561355f4d51875273b5b6dfbac37952e8f64b1270769305c9d7" +checksum = "4f693c8c68213034d472cbb93a379c63f4f307d97c06f1c41e4985de481687a5" dependencies = [ "quote", "syn", @@ -4271,7 +4220,7 @@ checksum = "be902ebd89193cd020e89e89107726a38cfc0d16d18f613f4a37d046e92c7517" dependencies = [ "futures 0.3.21", "libp2p-core", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "thiserror", "yamux", ] @@ -4383,7 +4332,7 @@ checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7" [[package]] name = "litentry-collator" -version = "0.9.7-1" +version = "0.9.8" dependencies = [ "async-trait", "clap", @@ -4455,7 +4404,7 @@ dependencies = [ [[package]] name = "litentry-parachain-runtime" -version = "0.9.7" +version = "0.9.8" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -4526,7 +4475,7 @@ dependencies = [ [[package]] name = "litmus-parachain-runtime" -version = "0.9.7-1" +version = "0.9.8" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -4725,6 +4674,15 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +[[package]] +name = "memfd" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6627dc657574b49d6ad27105ed671822be56e0d2547d413bfbf3e8d8fa92e7a" +dependencies = [ + "libc", +] + [[package]] name = "memmap2" version = "0.2.3" @@ -4736,9 +4694,9 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057a3db23999c867821a7a59feb06a578fcb03685e983dff90daf9e7d24ac08f" +checksum = "d5172b50c23043ff43dd53e51392f36519d9b35a8f3a410d30ece5d1aedd58ae" dependencies = [ "libc", ] @@ -4790,21 +4748,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "metered-channel" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" -dependencies = [ - "coarsetime", - "crossbeam-queue", - "derive_more", - "futures 0.3.21", - "futures-timer", - "nanorand", - "thiserror", - "tracing-gum", -] - [[package]] name = "mick-jaeger" version = "0.1.8" @@ -4824,9 +4767,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.5.1" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082" +checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" dependencies = [ "adler", ] @@ -4845,7 +4788,7 @@ dependencies = [ [[package]] name = "moonbase-parachain-runtime" -version = "0.9.7" +version = "0.9.8" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -4964,7 +4907,7 @@ version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3db354f401db558759dfc1e568d010a5d4146f4d3f637be1275ec4a3cf09689" dependencies = [ - "blake2b_simd 1.0.0", + "blake2b_simd", "blake2s_simd", "blake3", "core2", @@ -5280,6 +5223,35 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "orchestra" +version = "0.0.1" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" +dependencies = [ + "async-trait", + "dyn-clonable", + "futures 0.3.21", + "futures-timer", + "orchestra-proc-macro", + "pin-project 1.0.10", + "prioritized-metered-channel", + "thiserror", + "tracing", +] + +[[package]] +name = "orchestra-proc-macro" +version = "0.0.1" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" +dependencies = [ + "expander 0.0.6", + "petgraph", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "ordered-float" version = "1.1.1" @@ -5292,7 +5264,7 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.22#4af3a4568398341816632c0d5523e879e251be3a" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.23#542a9292a414bb8feafebac7284cdf1fe1eb409b" dependencies = [ "frame-support", "frame-system", @@ -5307,7 +5279,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.22#4af3a4568398341816632c0d5523e879e251be3a" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.23#542a9292a414bb8feafebac7284cdf1fe1eb409b" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -5325,7 +5297,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.22#4af3a4568398341816632c0d5523e879e251be3a" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.23#542a9292a414bb8feafebac7284cdf1fe1eb409b" dependencies = [ "frame-support", "parity-scale-codec", @@ -5339,7 +5311,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.22#4af3a4568398341816632c0d5523e879e251be3a" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.23#542a9292a414bb8feafebac7284cdf1fe1eb409b" dependencies = [ "frame-support", "orml-traits", @@ -5353,7 +5325,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.22#4af3a4568398341816632c0d5523e879e251be3a" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.23#542a9292a414bb8feafebac7284cdf1fe1eb409b" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -5410,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -5426,7 +5398,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -5442,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5481,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5501,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5516,7 +5488,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "beefy-primitives", "frame-support", @@ -5532,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5555,7 +5527,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5590,7 +5562,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -5607,7 +5579,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bp-header-chain", "bp-runtime", @@ -5629,7 +5601,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitvec", "bp-message-dispatch", @@ -5671,7 +5643,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5690,7 +5662,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5710,7 +5682,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5727,7 +5699,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5759,7 +5731,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5782,7 +5754,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5795,7 +5767,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5830,7 +5802,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5845,7 +5817,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5868,7 +5840,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5902,7 +5874,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5922,7 +5894,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5939,7 +5911,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -5956,7 +5928,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5974,7 +5946,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5989,7 +5961,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6004,7 +5976,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -6018,10 +5990,11 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -6033,7 +6006,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6052,7 +6025,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -6069,7 +6042,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6092,7 +6065,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6108,7 +6081,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6123,7 +6096,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6138,7 +6111,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6154,7 +6127,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -6175,7 +6148,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6191,7 +6164,7 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.22#575b7e55fd383255edaacb4554a409828ece07b2" +source = "git+https://github.com/litentry/integritee-pallets.git?branch=polkadot-v0.9.23#5a3ef0d53178392e8a1b20e473891db3f87e7145" dependencies = [ "frame-benchmarking", "frame-support", @@ -6216,7 +6189,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -6230,7 +6203,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6253,7 +6226,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6264,7 +6237,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "sp-arithmetic", @@ -6273,7 +6246,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", @@ -6287,7 +6260,7 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.22#575b7e55fd383255edaacb4554a409828ece07b2" +source = "git+https://github.com/litentry/integritee-pallets.git?branch=polkadot-v0.9.23#5a3ef0d53178392e8a1b20e473891db3f87e7145" dependencies = [ "frame-benchmarking", "frame-support", @@ -6311,7 +6284,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6329,7 +6302,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6348,14 +6321,13 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "smallvec", "sp-core", "sp-io", "sp-runtime", @@ -6365,7 +6337,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6380,7 +6352,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.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6391,7 +6363,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6408,7 +6380,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6424,7 +6396,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-benchmarking", "frame-support", @@ -6438,8 +6410,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "frame-system", @@ -6456,8 +6428,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6474,7 +6446,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -6505,9 +6477,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.1.2" +version = "3.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8b44461635bbb1a0300f100a841e571e7d919c81c73075ef5d152ffdb521066" +checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0" dependencies = [ "arrayvec 0.7.2", "bitvec", @@ -6519,9 +6491,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.1.2" +version = "3.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c45ed1f39709f5a89338fab50e59816b2e8815f5bb58276e7ddf9afd495f73f8" +checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6545,7 +6517,7 @@ dependencies = [ "hashbrown 0.12.1", "impl-trait-for-tuples", "parity-util-mem-derive", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "primitive-types", "smallvec", "winapi", @@ -6596,9 +6568,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", "parking_lot_core 0.9.3", @@ -6613,7 +6585,7 @@ dependencies = [ "cfg-if 1.0.0", "instant", "libc", - "redox_syscall 0.2.13", + "redox_syscall", "smallvec", "winapi", ] @@ -6626,7 +6598,7 @@ checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.2.13", + "redox_syscall", "smallvec", "windows-sys", ] @@ -6792,8 +6764,8 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "polkadot-approval-distribution" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", @@ -6807,8 +6779,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", @@ -6821,8 +6793,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "derive_more", "fatality", @@ -6844,8 +6816,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "fatality", "futures 0.3.21", @@ -6865,8 +6837,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "clap", "frame-benchmarking-cli", @@ -6890,8 +6862,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -6930,8 +6902,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "always-assert", "fatality", @@ -6951,8 +6923,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -6964,8 +6936,8 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "derive_more", "fatality", @@ -6987,8 +6959,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -7001,8 +6973,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "futures-timer", @@ -7021,15 +6993,15 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "always-assert", "async-trait", "bytes", "futures 0.3.21", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -7042,8 +7014,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "parity-scale-codec", @@ -7060,8 +7032,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitvec", "derive_more", @@ -7089,8 +7061,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitvec", "futures 0.3.21", @@ -7109,8 +7081,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitvec", "fatality", @@ -7128,8 +7100,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -7143,8 +7115,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "async-trait", "futures 0.3.21", @@ -7161,8 +7133,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -7176,8 +7148,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "futures-timer", @@ -7193,8 +7165,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "fatality", "futures 0.3.21", @@ -7212,8 +7184,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "async-trait", "futures 0.3.21", @@ -7229,8 +7201,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitvec", "fatality", @@ -7247,8 +7219,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "always-assert", "assert_matches", @@ -7272,13 +7244,14 @@ dependencies = [ "sp-maybe-compressed-blob", "sp-tracing", "sp-wasm-interface", + "tempfile", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "polkadot-node-primitives", @@ -7293,8 +7266,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "memory-lru", @@ -7305,21 +7278,20 @@ dependencies = [ "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core", "tracing-gum", ] [[package]] name = "polkadot-node-jaeger" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "async-std", "lazy_static", "log", "mick-jaeger", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-primitives", "sc-network", @@ -7329,16 +7301,16 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bs58", "futures 0.3.21", "futures-timer", "log", - "metered-channel", "parity-scale-codec", "polkadot-primitives", + "prioritized-metered-channel", "sc-cli", "sc-service", "sc-tracing", @@ -7348,8 +7320,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "async-trait", "derive_more", @@ -7364,12 +7336,13 @@ dependencies = [ "sc-network", "strum 0.24.0", "thiserror", + "tracing-gum", ] [[package]] name = "polkadot-node-primitives" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bounded-vec", "futures 0.3.21", @@ -7390,8 +7363,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -7400,15 +7373,15 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "derive_more", "futures 0.3.21", + "orchestra", "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", - "polkadot-overseer-gen", "polkadot-primitives", "polkadot-statement-table", "sc-network", @@ -7419,8 +7392,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "async-trait", "derive_more", @@ -7429,7 +7402,6 @@ dependencies = [ "itertools", "kvdb", "lru 0.7.6", - "metered-channel", "parity-db", "parity-scale-codec", "parity-util-mem", @@ -7442,6 +7414,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", + "prioritized-metered-channel", "rand 0.8.5", "sp-application-crypto", "sp-core", @@ -7452,58 +7425,30 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "futures 0.3.21", "futures-timer", "lru 0.7.6", + "orchestra", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem-types", - "polkadot-overseer-gen", "polkadot-primitives", "sc-client-api", "sp-api", + "sp-core", "tracing-gum", ] -[[package]] -name = "polkadot-overseer-gen" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" -dependencies = [ - "async-trait", - "futures 0.3.21", - "futures-timer", - "metered-channel", - "pin-project 1.0.10", - "polkadot-node-network-protocol", - "polkadot-node-primitives", - "polkadot-overseer-gen-proc-macro", - "thiserror", - "tracing-gum", -] - -[[package]] -name = "polkadot-overseer-gen-proc-macro" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" -dependencies = [ - "expander 0.0.6", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "polkadot-parachain" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "derive_more", "frame-support", @@ -7519,8 +7464,8 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "env_logger", "kusama-runtime", @@ -7534,8 +7479,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitvec", "frame-system", @@ -7564,8 +7509,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -7596,8 +7541,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "beefy-primitives", "bitvec", @@ -7682,8 +7627,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "beefy-primitives", "bitvec", @@ -7729,8 +7674,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "polkadot-primitives", @@ -7741,8 +7686,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bs58", "parity-scale-codec", @@ -7753,8 +7698,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "bitflags", "bitvec", @@ -7796,8 +7741,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "async-trait", "beefy-gadget", @@ -7839,6 +7784,7 @@ dependencies = [ "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-parachain", @@ -7898,8 +7844,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -7919,8 +7865,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -7969,20 +7915,6 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" -[[package]] -name = "prettytable-rs" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e" -dependencies = [ - "atty", - "csv", - "encode_unicode", - "lazy_static", - "term", - "unicode-width", -] - [[package]] name = "primitive-types" version = "0.11.1" @@ -8004,6 +7936,21 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "prioritized-metered-channel" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" +dependencies = [ + "coarsetime", + "crossbeam-queue", + "derive_more", + "futures 0.3.21", + "futures-timer", + "nanorand", + "thiserror", + "tracing", +] + [[package]] name = "proc-macro-crate" version = "1.1.3" @@ -8057,7 +8004,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "thiserror", ] @@ -8091,7 +8038,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.9.0", +] + +[[package]] +name = "prost" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e" +dependencies = [ + "bytes", + "prost-derive 0.10.1", ] [[package]] @@ -8107,7 +8064,7 @@ dependencies = [ "log", "multimap", "petgraph", - "prost", + "prost 0.9.0", "prost-types", "regex", "tempfile", @@ -8127,6 +8084,19 @@ dependencies = [ "syn", ] +[[package]] +name = "prost-derive" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "prost-types" version = "0.9.0" @@ -8134,7 +8104,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" dependencies = [ "bytes", - "prost", + "prost 0.9.0", ] [[package]] @@ -8308,12 +8278,6 @@ dependencies = [ "num_cpus", ] -[[package]] -name = "redox_syscall" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" - [[package]] name = "redox_syscall" version = "0.2.13" @@ -8323,17 +8287,6 @@ dependencies = [ "bitflags", ] -[[package]] -name = "redox_users" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d" -dependencies = [ - "getrandom 0.1.16", - "redox_syscall 0.1.57", - "rust-argon2", -] - [[package]] name = "redox_users" version = "0.4.3" @@ -8341,7 +8294,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ "getrandom 0.2.6", - "redox_syscall 0.2.13", + "redox_syscall", "thiserror", ] @@ -8430,7 +8383,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "env_logger", "jsonrpsee", @@ -8520,7 +8473,7 @@ dependencies = [ [[package]] name = "rococo-parachain-runtime" -version = "0.9.7-1" +version = "0.9.8" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -8603,8 +8556,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -8680,8 +8633,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "polkadot-primitives", @@ -8715,18 +8668,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "rust-argon2" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb" -dependencies = [ - "base64", - "blake2b_simd 0.5.11", - "constant_time_eq", - "crossbeam-utils", -] - [[package]] name = "rustc-demangle" version = "0.1.21" @@ -8751,7 +8692,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.9", + "semver 1.0.10", ] [[package]] @@ -8768,19 +8709,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64", - "log", - "ring 0.16.20", - "sct 0.6.1", - "webpki 0.21.4", -] - [[package]] name = "rustls" version = "0.20.6" @@ -8789,22 +8717,10 @@ checksum = "5aab8ee6c7097ed6057f43c187a62418d0c05a4bd5f18b3571db50ee0f9ce033" dependencies = [ "log", "ring 0.16.20", - "sct 0.7.0", + "sct", "webpki 0.22.0", ] -[[package]] -name = "rustls-native-certs" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" -dependencies = [ - "openssl-probe", - "rustls 0.19.1", - "schannel", - "security-framework", -] - [[package]] name = "rustls-native-certs" version = "0.6.2" @@ -8870,7 +8786,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "sp-core", @@ -8881,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "futures 0.3.21", @@ -8890,7 +8806,7 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "prost", + "prost 0.10.4", "prost-build", "rand 0.7.3", "sc-client-api", @@ -8908,7 +8824,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8931,7 +8847,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8947,10 +8863,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "impl-trait-for-tuples", - "memmap2 0.5.3", + "memmap2 0.5.4", "parity-scale-codec", "sc-chain-spec-derive", "sc-network", @@ -8964,7 +8880,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8975,7 +8891,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "chrono", "clap", @@ -9014,14 +8930,14 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "fnv", "futures 0.3.21", "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -9042,7 +8958,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "hash-db", "kvdb", @@ -9052,7 +8968,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sc-state-db", "sp-arithmetic", @@ -9067,14 +8983,14 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "futures 0.3.21", "futures-timer", "libp2p", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sc-utils", "serde", @@ -9091,7 +9007,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "futures 0.3.21", @@ -9120,7 +9036,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "fork-tree", @@ -9131,7 +9047,7 @@ dependencies = [ "num-rational 0.2.4", "num-traits", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "retain_mut", "sc-client-api", @@ -9163,7 +9079,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9185,7 +9101,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9198,7 +9114,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "futures 0.3.21", @@ -9223,7 +9139,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "sc-client-api", "sp-authorship", @@ -9234,12 +9150,12 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "lazy_static", "lru 0.7.6", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", @@ -9261,7 +9177,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "environmental", "parity-scale-codec", @@ -9278,7 +9194,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "parity-scale-codec", @@ -9293,7 +9209,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9311,7 +9227,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "ahash", "async-trait", @@ -9323,7 +9239,7 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.8.5", "sc-block-builder", "sc-chain-spec", @@ -9351,7 +9267,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9372,7 +9288,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9389,11 +9305,11 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "hex", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "serde_json", "sp-application-crypto", "sp-core", @@ -9404,7 +9320,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "asynchronous-codec", @@ -9424,15 +9340,16 @@ dependencies = [ "log", "lru 0.7.6", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project 1.0.10", - "prost", + "prost 0.10.4", "prost-build", "rand 0.7.3", "sc-block-builder", "sc-client-api", "sc-consensus", "sc-network-common", + "sc-network-light", "sc-network-sync", "sc-peerset", "sc-utils", @@ -9455,7 +9372,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "libp2p", @@ -9468,7 +9385,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "ahash", "futures 0.3.21", @@ -9482,10 +9399,30 @@ dependencies = [ "tracing", ] +[[package]] +name = "sc-network-light" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" +dependencies = [ + "futures 0.3.21", + "libp2p", + "log", + "parity-scale-codec", + "prost 0.10.4", + "prost-build", + "sc-client-api", + "sc-network-common", + "sc-peerset", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "bitflags", "either", @@ -9495,7 +9432,7 @@ dependencies = [ "log", "lru 0.7.6", "parity-scale-codec", - "prost", + "prost 0.10.4", "prost-build", "sc-client-api", "sc-consensus", @@ -9514,7 +9451,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "bytes", "fnv", @@ -9526,7 +9463,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "sc-client-api", "sc-network", @@ -9542,7 +9479,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "libp2p", @@ -9555,7 +9492,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9564,14 +9501,14 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "hash-db", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -9594,13 +9531,13 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-chain-spec", "sc-transaction-pool-api", "scale-info", @@ -9617,7 +9554,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9630,7 +9567,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "directories", @@ -9642,7 +9579,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project 1.0.10", "rand 0.7.3", "sc-block-builder", @@ -9695,13 +9632,13 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "parity-scale-codec", "parity-util-mem", "parity-util-mem-derive", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sp-core", ] @@ -9709,7 +9646,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9728,7 +9665,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "libc", @@ -9747,13 +9684,13 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "chrono", "futures 0.3.21", "libp2p", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project 1.0.10", "rand 0.7.3", "serde", @@ -9765,7 +9702,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "ansi_term", "atty", @@ -9774,7 +9711,7 @@ dependencies = [ "libc", "log", "once_cell", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "regex", "rustc-hash", "sc-client-api", @@ -9796,7 +9733,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9807,7 +9744,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9815,7 +9752,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "retain_mut", "sc-client-api", "sc-transaction-pool-api", @@ -9834,7 +9771,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "log", @@ -9847,13 +9784,13 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "futures-timer", "lazy_static", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "prometheus", ] @@ -9917,16 +9854,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring 0.16.20", - "untrusted", -] - [[package]] name = "sct" version = "0.7.0" @@ -10010,9 +9937,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd" +checksum = "a41d061efea015927ac527063765e73601444cdc344ba855bc7bd44578b25e1c" dependencies = [ "serde", ] @@ -10164,7 +10091,7 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.22#575b7e55fd383255edaacb4554a409828ece07b2" +source = "git+https://github.com/litentry/integritee-pallets.git?branch=polkadot-v0.9.23#5a3ef0d53178392e8a1b20e473891db3f87e7145" dependencies = [ "parity-scale-codec", "scale-info", @@ -10223,8 +10150,8 @@ checksum = "eb703cfe953bccee95685111adeedb76fabe4e97549a58d16f03ea7b9367bb32" [[package]] name = "slot-range-helper" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "enumn", "parity-scale-codec", @@ -10300,7 +10227,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "hash-db", "log", @@ -10317,7 +10244,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "blake2", "proc-macro-crate", @@ -10329,7 +10256,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -10342,7 +10269,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "integer-sqrt", "num-traits", @@ -10357,7 +10284,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -10370,7 +10297,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "parity-scale-codec", @@ -10382,7 +10309,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "sp-api", @@ -10394,13 +10321,13 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "log", "lru 0.7.6", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sp-api", "sp-consensus", "sp-database", @@ -10412,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "futures 0.3.21", @@ -10431,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "parity-scale-codec", @@ -10449,7 +10376,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "merlin", @@ -10472,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -10486,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -10499,7 +10426,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "base58", "bitflags", @@ -10519,7 +10446,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "primitive-types", "rand 0.7.3", "regex", @@ -10545,7 +10472,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "blake2", "byteorder", @@ -10559,7 +10486,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "proc-macro2", "quote", @@ -10570,16 +10497,16 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "kvdb", - "parking_lot 0.12.0", + "parking_lot 0.12.1", ] [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "proc-macro2", "quote", @@ -10589,7 +10516,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "environmental", "parity-scale-codec", @@ -10600,7 +10527,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "finality-grandpa", "log", @@ -10618,7 +10545,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10632,14 +10559,14 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures 0.3.21", "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "secp256k1", "sp-core", "sp-externalities", @@ -10657,7 +10584,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "lazy_static", "sp-core", @@ -10668,13 +10595,13 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "futures 0.3.21", "merlin", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "schnorrkel", "serde", "sp-core", @@ -10685,7 +10612,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "thiserror", "zstd", @@ -10694,7 +10621,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "parity-scale-codec", @@ -10709,7 +10636,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -10723,7 +10650,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "sp-api", "sp-core", @@ -10733,7 +10660,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "backtrace", "lazy_static", @@ -10743,7 +10670,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "rustc-hash", "serde", @@ -10753,7 +10680,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "either", "hash256-std-hasher", @@ -10775,7 +10702,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10792,7 +10719,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "Inflector", "proc-macro-crate", @@ -10804,7 +10731,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "parity-scale-codec", @@ -10818,7 +10745,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "serde", "serde_json", @@ -10827,7 +10754,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -10841,7 +10768,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "scale-info", @@ -10852,13 +10779,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "hash-db", "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "smallvec", "sp-core", @@ -10874,12 +10801,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10892,7 +10819,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "log", "sp-core", @@ -10905,7 +10832,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "futures-timer", @@ -10921,7 +10848,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "sp-std", @@ -10933,7 +10860,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "sp-api", "sp-runtime", @@ -10942,7 +10869,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "async-trait", "log", @@ -10958,7 +10885,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "hash-db", "memory-db", @@ -10974,7 +10901,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10991,7 +10918,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11002,7 +10929,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "impl-trait-for-tuples", "log", @@ -11020,9 +10947,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "ss58-registry" -version = "1.20.0" +version = "1.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e1e7c268f5610088463d23188fc9e764cda491784360e5e4ea3a8ce1e0e2ac9" +checksum = "5d804c8d48aeab838be31570866fce1130d275b563d49af08b4927a0bd561e7c" dependencies = [ "Inflector", "num-format", @@ -11149,7 +11076,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "platforms", ] @@ -11157,7 +11084,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -11178,7 +11105,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "futures-util", "hyper", @@ -11191,7 +11118,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "jsonrpsee", "log", @@ -11212,7 +11139,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "ansi_term", "build-helper", @@ -11290,7 +11217,7 @@ checksum = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1" [[package]] name = "teerex-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.22#575b7e55fd383255edaacb4554a409828ece07b2" +source = "git+https://github.com/litentry/integritee-pallets.git?branch=polkadot-v0.9.23#5a3ef0d53178392e8a1b20e473891db3f87e7145" dependencies = [ "ias-verify", "parity-scale-codec", @@ -11310,22 +11237,11 @@ dependencies = [ "cfg-if 1.0.0", "fastrand", "libc", - "redox_syscall 0.2.13", + "redox_syscall", "remove_dir_all", "winapi", ] -[[package]] -name = "term" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42" -dependencies = [ - "byteorder", - "dirs", - "winapi", -] - [[package]] name = "termcolor" version = "1.1.3" @@ -11338,7 +11254,7 @@ dependencies = [ [[package]] name = "test-utils" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.22#575b7e55fd383255edaacb4554a409828ece07b2" +source = "git+https://github.com/litentry/integritee-pallets.git?branch=polkadot-v0.9.23#5a3ef0d53178392e8a1b20e473891db3f87e7145" dependencies = [ "hex-literal", "log", @@ -11466,9 +11382,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.18.2" +version = "1.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395" +checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" dependencies = [ "bytes", "libc", @@ -11476,7 +11392,7 @@ dependencies = [ "mio", "num_cpus", "once_cell", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project-lite 0.2.9", "signal-hook-registry", "socket2", @@ -11486,42 +11402,31 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b557f72f448c511a979e2564e55d74e6c4432fc96ff4f6241bc6bded342643b7" +checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484" dependencies = [ "proc-macro2", "quote", "syn", ] -[[package]] -name = "tokio-rustls" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" -dependencies = [ - "rustls 0.19.1", - "tokio", - "webpki 0.21.4", -] - [[package]] name = "tokio-rustls" version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls 0.20.6", + "rustls", "tokio", "webpki 0.22.0", ] [[package]] name = "tokio-util" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f988a1a1adc2fb21f9c12aa96441da33a1728193ae0b95d2be22dbd17fcb4e5c" +checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45" dependencies = [ "bytes", "futures-core", @@ -11549,9 +11454,9 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.34" +version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d0ecdcb44a79f0fe9844f0c4f33a342cbcbb5117de8001e6ba0dc2351327d09" +checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160" dependencies = [ "cfg-if 1.0.0", "pin-project-lite 0.2.9", @@ -11572,11 +11477,11 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f54c8ca710e81886d498c2fd3331b56c93aa248d49de2222ad2742247c60072f" +checksum = "7709595b8878a4965ce5e87ebf880a7d39c9afc6837721b21a5a816a8117d921" dependencies = [ - "lazy_static", + "once_cell", "valuable", ] @@ -11592,8 +11497,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -11603,8 +11508,8 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "expander 0.0.6", "proc-macro-crate", @@ -11717,7 +11622,7 @@ dependencies = [ "lazy_static", "log", "lru-cache", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "resolv-conf", "smallvec", "thiserror", @@ -11733,7 +11638,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341" dependencies = [ "clap", "jsonrpsee", @@ -12240,6 +12145,7 @@ dependencies = [ "libc", "log", "mach", + "memfd", "memoffset", "more-asserts", "rand 0.8.5", @@ -12283,16 +12189,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring 0.16.20", - "untrusted", -] - [[package]] name = "webpki" version = "0.22.0" @@ -12323,8 +12219,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "beefy-primitives", "bitvec", @@ -12412,8 +12308,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "polkadot-primitives", @@ -12597,8 +12493,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -12610,8 +12506,8 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "frame-system", @@ -12630,8 +12526,8 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-benchmarking", "frame-support", @@ -12649,7 +12545,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "Inflector", "proc-macro2", @@ -12659,8 +12555,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "0.9.22" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" +version = "0.9.23" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" dependencies = [ "frame-support", "parity-scale-codec", @@ -12683,7 +12579,7 @@ dependencies = [ "futures 0.3.21", "log", "nohash-hasher", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.8.5", "static_assertions", ] diff --git a/node/Cargo.toml b/node/Cargo.toml index 1de19c43fe..c171ac48bc 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -7,7 +7,7 @@ homepage = 'https://litentry.com/' license = 'GPL-3.0' name = 'litentry-collator' repository = 'https://github.com/litentry/litentry-parachain' -version = '0.9.7-1' +version = '0.9.8' [[bin]] name = 'litentry-collator' @@ -26,68 +26,68 @@ hex-literal = "0.3.4" async-trait = "0.1.56" # Substrate dependencies -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } # RPC related dependencies jsonrpsee = { version = "0.13.0", features = ["server"] } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.23" } # Polkadot dependencies -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } # Benchmarking -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } # TryRuntime -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } # Local dependencies litentry-parachain-runtime = { path = "../runtime/litentry" } @@ -97,7 +97,7 @@ moonbase-parachain-runtime = { path = "../runtime/moonbase" } primitives = { path = "../primitives" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.22" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.23" } [features] default = [] diff --git a/node/src/command.rs b/node/src/command.rs index 586bac052c..dd076f18f1 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -29,7 +29,6 @@ use cumulus_client_service::genesis::generate_genesis_block; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use log::info; -use polkadot_parachain::primitives::AccountIdConversion; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli, @@ -39,7 +38,7 @@ use sc_service::{ TaskManager, }; use sp_core::hexdisplay::HexDisplay; -use sp_runtime::traits::Block as BlockT; +use sp_runtime::traits::{AccountIdConversion, Block as BlockT}; use std::{io::Write, net::SocketAddr}; const UNSUPPORTED_CHAIN_MESSAGE: &str = "Unsupported chain spec, please use litmus* or litentry*"; @@ -531,10 +530,9 @@ pub fn run() -> Result<()> { let id = ParaId::from(para_id); let parachain_account = - AccountIdConversion::::into_account(&id); + AccountIdConversion::::into_account_truncating(&id); - let state_version = - RelayChainCli::native_runtime_version(&config.chain_spec).state_version(); + let state_version = Cli::native_runtime_version(&config.chain_spec).state_version(); let block: Block = generate_genesis_block(&config.chain_spec, state_version) .map_err(|e| format!("{:?}", e))?; let genesis_state = format!("0x{:?}", HexDisplay::from(&block.header().encode())); diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 687f62224f..a1df5308dd 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -14,10 +14,12 @@ // You should have received a copy of the GNU General Public License // along with Litentry. If not, see . +#![warn(missing_docs)] #![warn(missing_docs)] use std::sync::Arc; +use primitives::{AccountId, Balance, Block, Index as Nonce}; use sc_client_api::AuxStore; pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; use sc_transaction_pool_api::TransactionPool; @@ -25,8 +27,6 @@ use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; -pub use primitives::{AccountId, Balance, Block, Index as Nonce}; - /// A type representing all RPC extensions. pub type RpcExtension = jsonrpsee::RpcModule<()>; @@ -57,14 +57,14 @@ where C::Api: BlockBuilder, P: TransactionPool + Sync + Send + 'static, { - use frame_rpc_system::{SystemApiServer, SystemRpc}; - use pallet_transaction_payment_rpc::{TransactionPaymentApiServer, TransactionPaymentRpc}; + use frame_rpc_system::{System, SystemApiServer}; + use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; let mut module = RpcExtension::new(()); let FullDeps { client, pool, deny_unsafe } = deps; - module.merge(SystemRpc::new(client.clone(), pool, deny_unsafe).into_rpc())?; - module.merge(TransactionPaymentRpc::new(client).into_rpc())?; + module.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; + module.merge(TransactionPayment::new(client.clone()).into_rpc())?; Ok(module) } diff --git a/pallets/bridge-transfer/Cargo.toml b/pallets/bridge-transfer/Cargo.toml index e8ad36348f..6c5644a3eb 100644 --- a/pallets/bridge-transfer/Cargo.toml +++ b/pallets/bridge-transfer/Cargo.toml @@ -12,24 +12,24 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } # primitives -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } # frame dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false, optional = true } pallet-bridge = { path = "../bridge", default-features = false } hex = { version = "0.4", default-features = false } [dev-dependencies] hex-literal = "0.3" -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } [features] default = ["std"] diff --git a/pallets/bridge-transfer/src/mock.rs b/pallets/bridge-transfer/src/mock.rs index 28af76c502..066919a4ec 100644 --- a/pallets/bridge-transfer/src/mock.rs +++ b/pallets/bridge-transfer/src/mock.rs @@ -149,7 +149,7 @@ pub const RELAYER_C: u64 = 0x4; pub const ENDOWED_BALANCE: u64 = 100_000_000; pub fn new_test_ext() -> sp_io::TestExternalities { - let bridge_id = PalletId(*b"litry/bg").into_account(); + let bridge_id = PalletId(*b"litry/bg").into_account_truncating(); let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(bridge_id, ENDOWED_BALANCE), (RELAYER_A, ENDOWED_BALANCE)], diff --git a/pallets/bridge/Cargo.toml b/pallets/bridge/Cargo.toml index 9433e90b29..75121c1350 100644 --- a/pallets/bridge/Cargo.toml +++ b/pallets/bridge/Cargo.toml @@ -13,17 +13,17 @@ blake2-rfc = { version = "0.2.18", default-features = false } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } # primitives -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } # frame dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false, optional = true } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } [features] default = ["std"] diff --git a/pallets/bridge/src/lib.rs b/pallets/bridge/src/lib.rs index 197b6ef1c5..9c07dbfc6c 100644 --- a/pallets/bridge/src/lib.rs +++ b/pallets/bridge/src/lib.rs @@ -435,7 +435,7 @@ pub mod pallet { /// Provides an AccountId for the pallet. /// This is used both as an origin check and deposit/withdrawal account. pub fn account_id() -> T::AccountId { - MODULE_ID.into_account() + MODULE_ID.into_account_truncating() } /// Asserts if a resource is registered @@ -610,7 +610,7 @@ pub mod pallet { impl EnsureOrigin for EnsureBridge { type Success = T::AccountId; fn try_origin(o: T::Origin) -> Result { - let bridge_id = MODULE_ID.into_account(); + let bridge_id = MODULE_ID.into_account_truncating(); o.into().and_then(|o| match o { system::RawOrigin::Signed(who) if who == bridge_id => Ok(bridge_id), r => Err(T::Origin::from(r)), @@ -619,7 +619,7 @@ pub mod pallet { #[cfg(feature = "runtime-benchmarks")] fn successful_origin() -> T::Origin { - let bridge_id = MODULE_ID.into_account(); + let bridge_id = MODULE_ID.into_account_truncating(); T::Origin::from(system::RawOrigin::Signed(bridge_id)) } } diff --git a/pallets/bridge/src/mock.rs b/pallets/bridge/src/mock.rs index 980d9b40df..9e87210a89 100644 --- a/pallets/bridge/src/mock.rs +++ b/pallets/bridge/src/mock.rs @@ -122,7 +122,7 @@ pub const ENDOWED_BALANCE: u64 = 100_000_000; pub const TEST_THRESHOLD: u32 = 2; pub fn new_test_ext() -> sp_io::TestExternalities { - let bridge_id = PalletId(*b"litry/bg").into_account(); + let bridge_id = PalletId(*b"litry/bg").into_account_truncating(); let mut t = frame_system::GenesisConfig::default().build_storage::().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(bridge_id, ENDOWED_BALANCE)] } .assimilate_storage(&mut t) diff --git a/pallets/drop3/Cargo.toml b/pallets/drop3/Cargo.toml index 393f832edf..6bec69a4ad 100644 --- a/pallets/drop3/Cargo.toml +++ b/pallets/drop3/Cargo.toml @@ -12,18 +12,18 @@ version = '0.1.0' codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false, optional = true } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } [features] default = ["std"] diff --git a/pallets/extrinsic-filter/Cargo.toml b/pallets/extrinsic-filter/Cargo.toml index 081d53700b..60b6c6f54d 100644 --- a/pallets/extrinsic-filter/Cargo.toml +++ b/pallets/extrinsic-filter/Cargo.toml @@ -12,18 +12,18 @@ version = '0.1.0' codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false, optional = true } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } [features] default = ["std"] diff --git a/pallets/identity-management/Cargo.toml b/pallets/identity-management/Cargo.toml index 8cac15294e..70b3b09ba7 100644 --- a/pallets/identity-management/Cargo.toml +++ b/pallets/identity-management/Cargo.toml @@ -12,16 +12,16 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } log = { version = "0.4", default-features = false } # primitives -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } # frame dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false, optional = true } hex = { version = "0.4", default-features = false } [features] diff --git a/pallets/xcm-asset-manager/Cargo.toml b/pallets/xcm-asset-manager/Cargo.toml index 7976b1062f..b61ba85b3f 100644 --- a/pallets/xcm-asset-manager/Cargo.toml +++ b/pallets/xcm-asset-manager/Cargo.toml @@ -14,26 +14,26 @@ smallvec = "1.8.0" # Substrate Dependencies ## Substrate Primitive Dependencies -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } ## Substrate FRAME Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } # Polkadot dependencies -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23", default-features = false } # Orml dependencies -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } # Benchmarks -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", optional = true, default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", optional = true, default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } [features] default = [ "std" ] diff --git a/pallets/xcm-asset-manager/src/lib.rs b/pallets/xcm-asset-manager/src/lib.rs index 64cfd1e9cf..385950b45d 100644 --- a/pallets/xcm-asset-manager/src/lib.rs +++ b/pallets/xcm-asset-manager/src/lib.rs @@ -357,7 +357,7 @@ pub mod pallet { impl Pallet { /// The account ID of AssetManager pub fn account_id() -> T::AccountId { - PALLET_ID.into_account() + PALLET_ID.into_account_truncating() } } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 72512f71ea..86311c6e9f 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -6,8 +6,8 @@ edition = '2021' [dependencies] # Substrate dependencies -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false } [features] default = ["std"] diff --git a/runtime/litentry/Cargo.toml b/runtime/litentry/Cargo.toml index 93c3dd3b9f..bbe797d302 100644 --- a/runtime/litentry/Cargo.toml +++ b/runtime/litentry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'litentry-parachain-runtime' -version = '0.9.7' +version = '0.9.8' authors = ["Litentry Dev"] edition = '2021' @@ -15,69 +15,69 @@ primitives = { path = "../../primitives", default-features = false } # Substrate Dependencies ## Substrate Primitive Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } ## Substrate FRAME Dependencies -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.22" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.23" } ## Substrate Pallet Dependencies -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } # benchmarking -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.22", optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.23", optional = true } # Litentry pallets pallet-bridge = { path = "../../pallets/bridge", default-features = false } @@ -90,7 +90,7 @@ hex-literal = "0.3.4" smallvec = "1.8.0" [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } [features] default = [ "std" ] diff --git a/runtime/litmus/Cargo.toml b/runtime/litmus/Cargo.toml index 1e6ec48044..901de6e43f 100644 --- a/runtime/litmus/Cargo.toml +++ b/runtime/litmus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'litmus-parachain-runtime' -version = '0.9.7-1' +version = '0.9.8' authors = ["Litentry Dev"] edition = '2021' @@ -16,73 +16,73 @@ primitives = { path = "../../primitives", default-features = false } # Substrate Dependencies ## Substrate Primitive Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } ## Substrate FRAME Dependencies -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.22" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.23" } ## Substrate Pallet Dependencies -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.22", optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.23", optional = true } # Litmus pallets pallet-asset-manager = { path = "../../pallets/xcm-asset-manager", default-features = false } @@ -93,19 +93,19 @@ pallet-extrinsic-filter = { path = "../../pallets/extrinsic-filter", default-fea pallet-identity-management = { path = "../../pallets/identity-management", default-features = false } # TEE pallets - TODO: patch it with litentry teerex -pallet-teerex = { git = "https://github.com/integritee-network/pallets.git", default-features = false, branch = "polkadot-v0.9.22" } -pallet-sidechain = { git = "https://github.com/integritee-network/pallets.git", default-features = false, branch = "polkadot-v0.9.22" } +pallet-teerex = { git = "https://github.com/litentry/integritee-pallets.git", default-features = false, branch = "polkadot-v0.9.23" } +pallet-sidechain = { git = "https://github.com/litentry/integritee-pallets.git", default-features = false, branch = "polkadot-v0.9.23" } [dev-dependencies] hex-literal = "0.3.4" -cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = "polkadot-v0.9.22" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22"} +cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = "polkadot-v0.9.23" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23"} [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } [features] default = [ "std" ] diff --git a/runtime/litmus/src/asset_config.rs b/runtime/litmus/src/asset_config.rs index b59205fd19..4574708126 100644 --- a/runtime/litmus/src/asset_config.rs +++ b/runtime/litmus/src/asset_config.rs @@ -13,7 +13,7 @@ pub fn get_all_module_accounts() -> Vec { } parameter_types! { - pub LitTreasuryAccount: AccountId = TreasuryPalletId::get().into_account(); + pub LitTreasuryAccount: AccountId = TreasuryPalletId::get().into_account_truncating(); } pub struct DustRemovalWhitelist; diff --git a/runtime/litmus/src/xcm_config.rs b/runtime/litmus/src/xcm_config.rs index 741a08d2b1..a086b1cbec 100644 --- a/runtime/litmus/src/xcm_config.rs +++ b/runtime/litmus/src/xcm_config.rs @@ -113,7 +113,7 @@ pub type LocalAssetTransactor = CurrencyAdapter< use sp_runtime::traits::AccountIdConversion; parameter_types! { pub const TempPalletId: PalletId = PalletId(*b"py/tempA"); - pub TempAccount: AccountId = TempPalletId::get().into_account(); + pub TempAccount: AccountId = TempPalletId::get().into_account_truncating(); } // The non-reserve fungible transactor type // It will use orml_tokens, and the Id will be CurrencyId::ParachainReserve(MultiLocation) @@ -578,11 +578,9 @@ match_types! { }; } -// Litentry: set this to max. The reason for doing so is to forbid using Fee Asset and Target Asset -// with different reserve chain. parameter_type_with_key! { - pub ParachainMinFee: |_location: MultiLocation| -> u128 { - u128::MAX + pub ParachainMinFee: |_location: MultiLocation| -> Option { + None }; } diff --git a/runtime/moonbase/Cargo.toml b/runtime/moonbase/Cargo.toml index 462280a017..c422ffadec 100644 --- a/runtime/moonbase/Cargo.toml +++ b/runtime/moonbase/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'moonbase-parachain-runtime' -version = '0.9.7' +version = '0.9.8' authors = ["Litentry Dev"] edition = '2021' @@ -16,74 +16,74 @@ primitives = { path = "../../primitives", default-features = false } # Substrate Dependencies ## Substrate Primitive Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } ## Substrate FRAME Dependencies -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.22" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.23" } ## Substrate Pallet Dependencies -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } # benchmarking -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.22", optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.23", optional = true } # Moonbase pallets pallet-asset-manager = { path = "../../pallets/xcm-asset-manager", default-features = false } @@ -94,14 +94,14 @@ pallet-extrinsic-filter = { path = "../../pallets/extrinsic-filter", default-fea [dev-dependencies] hex-literal = "0.3.4" -cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = "polkadot-v0.9.22" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22"} +cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = "polkadot-v0.9.23" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23"} [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } [features] default = [ "std" ] diff --git a/runtime/moonbase/src/asset_config.rs b/runtime/moonbase/src/asset_config.rs index b59205fd19..4574708126 100644 --- a/runtime/moonbase/src/asset_config.rs +++ b/runtime/moonbase/src/asset_config.rs @@ -13,7 +13,7 @@ pub fn get_all_module_accounts() -> Vec { } parameter_types! { - pub LitTreasuryAccount: AccountId = TreasuryPalletId::get().into_account(); + pub LitTreasuryAccount: AccountId = TreasuryPalletId::get().into_account_truncating(); } pub struct DustRemovalWhitelist; diff --git a/runtime/moonbase/src/xcm_config.rs b/runtime/moonbase/src/xcm_config.rs index 6eff822f90..18394a6114 100644 --- a/runtime/moonbase/src/xcm_config.rs +++ b/runtime/moonbase/src/xcm_config.rs @@ -113,7 +113,7 @@ pub type LocalAssetTransactor = CurrencyAdapter< use sp_runtime::traits::AccountIdConversion; parameter_types! { pub const TempPalletId: PalletId = PalletId(*b"py/tempA"); - pub TempAccount: AccountId = TempPalletId::get().into_account(); + pub TempAccount: AccountId = TempPalletId::get().into_account_truncating(); } // The non-reserve fungible transactor type // It will use orml_tokens, and the Id will be CurrencyId::ParachainReserve(MultiLocation) @@ -579,11 +579,9 @@ match_types! { }; } -// Litentry: set this to max. The reason for doing so is to forbid using Fee Asset and Target Asset -// with different reserve chain. parameter_type_with_key! { - pub ParachainMinFee: |_location: MultiLocation| -> u128 { - u128::MAX + pub ParachainMinFee: |_location: MultiLocation| -> Option { + None }; } diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 8248535be0..110fb930fd 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'rococo-parachain-runtime' -version = '0.9.7-1' +version = '0.9.8' authors = ["Litentry Dev"] edition = '2021' @@ -16,74 +16,74 @@ primitives = { path = "../../primitives", default-features = false } # Substrate Dependencies ## Substrate Primitive Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } ## Substrate FRAME Dependencies -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.22" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.23" } ## Substrate Pallet Dependencies -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23" } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.22" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.23" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.22" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.23" } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.22" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.23" } # benchmarking -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.22", optional = true } -cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.22", optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.23", optional = true } +cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/cumulus', default-features = false, branch = "polkadot-v0.9.23", optional = true } # Rococo pallets pallet-asset-manager = { path = "../../pallets/xcm-asset-manager", default-features = false } @@ -94,20 +94,19 @@ pallet-extrinsic-filter = { path = "../../pallets/extrinsic-filter", default-fea pallet-identity-management = { path = "../../pallets/identity-management", default-features = false } # TEE pallets - TODO: patch it with litentry teerex -# TODO: use same branch for both pallets -pallet-teerex = { git = "https://github.com/integritee-network/pallets.git", default-features = false, branch = "polkadot-v0.9.22" } -pallet-sidechain = { git = "https://github.com/integritee-network/pallets.git", default-features = false, branch = "polkadot-v0.9.22" } +pallet-teerex = { git = "https://github.com/litentry/integritee-pallets.git", default-features = false, branch = "polkadot-v0.9.23" } +pallet-sidechain = { git = "https://github.com/litentry/integritee-pallets.git", default-features = false, branch = "polkadot-v0.9.23" } [dev-dependencies] hex-literal = "0.3.4" -cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = "polkadot-v0.9.22" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22"} +cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = "polkadot-v0.9.23" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" } +xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23"} [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" } [features] default = [ "std" ] diff --git a/runtime/rococo/src/asset_config.rs b/runtime/rococo/src/asset_config.rs index b59205fd19..4574708126 100644 --- a/runtime/rococo/src/asset_config.rs +++ b/runtime/rococo/src/asset_config.rs @@ -13,7 +13,7 @@ pub fn get_all_module_accounts() -> Vec { } parameter_types! { - pub LitTreasuryAccount: AccountId = TreasuryPalletId::get().into_account(); + pub LitTreasuryAccount: AccountId = TreasuryPalletId::get().into_account_truncating(); } pub struct DustRemovalWhitelist; diff --git a/runtime/rococo/src/xcm_config.rs b/runtime/rococo/src/xcm_config.rs index 6eff822f90..18394a6114 100644 --- a/runtime/rococo/src/xcm_config.rs +++ b/runtime/rococo/src/xcm_config.rs @@ -113,7 +113,7 @@ pub type LocalAssetTransactor = CurrencyAdapter< use sp_runtime::traits::AccountIdConversion; parameter_types! { pub const TempPalletId: PalletId = PalletId(*b"py/tempA"); - pub TempAccount: AccountId = TempPalletId::get().into_account(); + pub TempAccount: AccountId = TempPalletId::get().into_account_truncating(); } // The non-reserve fungible transactor type // It will use orml_tokens, and the Id will be CurrencyId::ParachainReserve(MultiLocation) @@ -579,11 +579,9 @@ match_types! { }; } -// Litentry: set this to max. The reason for doing so is to forbid using Fee Asset and Target Asset -// with different reserve chain. parameter_type_with_key! { - pub ParachainMinFee: |_location: MultiLocation| -> u128 { - u128::MAX + pub ParachainMinFee: |_location: MultiLocation| -> Option { + None }; } From ab49c20041a35f92d0f077aae04375e2de56709d Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Sun, 12 Jun 2022 10:47:37 +0200 Subject: [PATCH 03/17] fix into_account --- runtime/litmus/src/tests/xcm_parachain/mod.rs | 9 ++++----- runtime/moonbase/src/tests/xcm_parachain/mod.rs | 9 ++++----- runtime/rococo/src/tests/xcm_parachain/mod.rs | 9 ++++----- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/runtime/litmus/src/tests/xcm_parachain/mod.rs b/runtime/litmus/src/tests/xcm_parachain/mod.rs index 556e59ec1e..7daf18eb48 100644 --- a/runtime/litmus/src/tests/xcm_parachain/mod.rs +++ b/runtime/litmus/src/tests/xcm_parachain/mod.rs @@ -30,27 +30,26 @@ use frame_system::RawOrigin; use polkadot_parachain::primitives::{AccountIdConversion, RelayChainBlockNumber, Sibling}; use sp_runtime::{traits::Convert, AccountId32}; use xcm::prelude::*; -// use xcm::latest::prelude::*; use xcm_simulator::TestExt; pub mod relay_sproof_builder; fn para_a_account() -> AccountId32 { - ParaId::from(1).into_account() + ParaId::from(1).into_account_truncating() } fn para_b_account() -> AccountId32 { - ParaId::from(2).into_account() + ParaId::from(2).into_account_truncating() } fn _sibling_a_account() -> AccountId32 { use sp_runtime::traits::AccountIdConversion; - Sibling::from(1).into_account() + Sibling::from(1).into_account_truncating() } fn _sibling_b_account() -> AccountId32 { use sp_runtime::traits::AccountIdConversion; - Sibling::from(2).into_account() + Sibling::from(2).into_account_truncating() } #[test] diff --git a/runtime/moonbase/src/tests/xcm_parachain/mod.rs b/runtime/moonbase/src/tests/xcm_parachain/mod.rs index 556e59ec1e..7daf18eb48 100644 --- a/runtime/moonbase/src/tests/xcm_parachain/mod.rs +++ b/runtime/moonbase/src/tests/xcm_parachain/mod.rs @@ -30,27 +30,26 @@ use frame_system::RawOrigin; use polkadot_parachain::primitives::{AccountIdConversion, RelayChainBlockNumber, Sibling}; use sp_runtime::{traits::Convert, AccountId32}; use xcm::prelude::*; -// use xcm::latest::prelude::*; use xcm_simulator::TestExt; pub mod relay_sproof_builder; fn para_a_account() -> AccountId32 { - ParaId::from(1).into_account() + ParaId::from(1).into_account_truncating() } fn para_b_account() -> AccountId32 { - ParaId::from(2).into_account() + ParaId::from(2).into_account_truncating() } fn _sibling_a_account() -> AccountId32 { use sp_runtime::traits::AccountIdConversion; - Sibling::from(1).into_account() + Sibling::from(1).into_account_truncating() } fn _sibling_b_account() -> AccountId32 { use sp_runtime::traits::AccountIdConversion; - Sibling::from(2).into_account() + Sibling::from(2).into_account_truncating() } #[test] diff --git a/runtime/rococo/src/tests/xcm_parachain/mod.rs b/runtime/rococo/src/tests/xcm_parachain/mod.rs index 556e59ec1e..7daf18eb48 100644 --- a/runtime/rococo/src/tests/xcm_parachain/mod.rs +++ b/runtime/rococo/src/tests/xcm_parachain/mod.rs @@ -30,27 +30,26 @@ use frame_system::RawOrigin; use polkadot_parachain::primitives::{AccountIdConversion, RelayChainBlockNumber, Sibling}; use sp_runtime::{traits::Convert, AccountId32}; use xcm::prelude::*; -// use xcm::latest::prelude::*; use xcm_simulator::TestExt; pub mod relay_sproof_builder; fn para_a_account() -> AccountId32 { - ParaId::from(1).into_account() + ParaId::from(1).into_account_truncating() } fn para_b_account() -> AccountId32 { - ParaId::from(2).into_account() + ParaId::from(2).into_account_truncating() } fn _sibling_a_account() -> AccountId32 { use sp_runtime::traits::AccountIdConversion; - Sibling::from(1).into_account() + Sibling::from(1).into_account_truncating() } fn _sibling_b_account() -> AccountId32 { use sp_runtime::traits::AccountIdConversion; - Sibling::from(2).into_account() + Sibling::from(2).into_account_truncating() } #[test] From 24f0f810a3249dbd15ad993452e8dc850707fbb4 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Sun, 12 Jun 2022 10:52:47 +0200 Subject: [PATCH 04/17] fix clippy --- node/src/rpc.rs | 2 +- runtime/litmus/src/tests/xcm_parachain/mod.rs | 9 +++++---- runtime/moonbase/src/tests/xcm_parachain/mod.rs | 9 +++++---- runtime/rococo/src/tests/xcm_parachain/mod.rs | 9 +++++---- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/node/src/rpc.rs b/node/src/rpc.rs index a1df5308dd..2acb51c74b 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -64,7 +64,7 @@ where let FullDeps { client, pool, deny_unsafe } = deps; module.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; - module.merge(TransactionPayment::new(client.clone()).into_rpc())?; + module.merge(TransactionPayment::new(client).into_rpc())?; Ok(module) } diff --git a/runtime/litmus/src/tests/xcm_parachain/mod.rs b/runtime/litmus/src/tests/xcm_parachain/mod.rs index 7daf18eb48..5c6543e86f 100644 --- a/runtime/litmus/src/tests/xcm_parachain/mod.rs +++ b/runtime/litmus/src/tests/xcm_parachain/mod.rs @@ -27,8 +27,11 @@ use frame_support::{ traits::{Currency, PalletInfoAccess}, }; use frame_system::RawOrigin; -use polkadot_parachain::primitives::{AccountIdConversion, RelayChainBlockNumber, Sibling}; -use sp_runtime::{traits::Convert, AccountId32}; +use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; +use sp_runtime::{ + traits::{AccountIdConversion, Convert}, + AccountId32, +}; use xcm::prelude::*; use xcm_simulator::TestExt; @@ -43,12 +46,10 @@ fn para_b_account() -> AccountId32 { } fn _sibling_a_account() -> AccountId32 { - use sp_runtime::traits::AccountIdConversion; Sibling::from(1).into_account_truncating() } fn _sibling_b_account() -> AccountId32 { - use sp_runtime::traits::AccountIdConversion; Sibling::from(2).into_account_truncating() } diff --git a/runtime/moonbase/src/tests/xcm_parachain/mod.rs b/runtime/moonbase/src/tests/xcm_parachain/mod.rs index 7daf18eb48..5c6543e86f 100644 --- a/runtime/moonbase/src/tests/xcm_parachain/mod.rs +++ b/runtime/moonbase/src/tests/xcm_parachain/mod.rs @@ -27,8 +27,11 @@ use frame_support::{ traits::{Currency, PalletInfoAccess}, }; use frame_system::RawOrigin; -use polkadot_parachain::primitives::{AccountIdConversion, RelayChainBlockNumber, Sibling}; -use sp_runtime::{traits::Convert, AccountId32}; +use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; +use sp_runtime::{ + traits::{AccountIdConversion, Convert}, + AccountId32, +}; use xcm::prelude::*; use xcm_simulator::TestExt; @@ -43,12 +46,10 @@ fn para_b_account() -> AccountId32 { } fn _sibling_a_account() -> AccountId32 { - use sp_runtime::traits::AccountIdConversion; Sibling::from(1).into_account_truncating() } fn _sibling_b_account() -> AccountId32 { - use sp_runtime::traits::AccountIdConversion; Sibling::from(2).into_account_truncating() } diff --git a/runtime/rococo/src/tests/xcm_parachain/mod.rs b/runtime/rococo/src/tests/xcm_parachain/mod.rs index 7daf18eb48..5c6543e86f 100644 --- a/runtime/rococo/src/tests/xcm_parachain/mod.rs +++ b/runtime/rococo/src/tests/xcm_parachain/mod.rs @@ -27,8 +27,11 @@ use frame_support::{ traits::{Currency, PalletInfoAccess}, }; use frame_system::RawOrigin; -use polkadot_parachain::primitives::{AccountIdConversion, RelayChainBlockNumber, Sibling}; -use sp_runtime::{traits::Convert, AccountId32}; +use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; +use sp_runtime::{ + traits::{AccountIdConversion, Convert}, + AccountId32, +}; use xcm::prelude::*; use xcm_simulator::TestExt; @@ -43,12 +46,10 @@ fn para_b_account() -> AccountId32 { } fn _sibling_a_account() -> AccountId32 { - use sp_runtime::traits::AccountIdConversion; Sibling::from(1).into_account_truncating() } fn _sibling_b_account() -> AccountId32 { - use sp_runtime::traits::AccountIdConversion; Sibling::from(2).into_account_truncating() } From b3bb968813ee5280f1dc0617164fe8225ea17564 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Sun, 12 Jun 2022 13:36:46 +0200 Subject: [PATCH 05/17] adjust script to for block detection --- scripts/launch-local-docker.sh | 63 ++++++++++++++-------------------- 1 file changed, 25 insertions(+), 38 deletions(-) diff --git a/scripts/launch-local-docker.sh b/scripts/launch-local-docker.sh index e7323d7fdd..326171036f 100755 --- a/scripts/launch-local-docker.sh +++ b/scripts/launch-local-docker.sh @@ -8,17 +8,12 @@ function usage() { CHAIN=$1 -# wait interval in seconds to check the block import and production of parachain +# interval and rounds to wait to check the block production and finalization of parachain WAIT_INTERVAL_SECONDS=10 +WAIT_ROUNDS=30 -# rounds to wait in `check_block`, in total it's 12 * 10 = 2min -WAIT_ROUNDS=12 - -# restart interval in seconds for restarting relaychains sequentially -RESTART_INTERVAL_SECONDS=20 - -# if the parachain ever produces the first block -HAS_BLOCK=false +# if the parachain has produced the first block +BLOCK_PRODUCED=false function print_divider() { echo "------------------------------------------------------------" @@ -34,44 +29,36 @@ docker-compose up -d --build sleep 10 parachain_service=$(docker-compose ps --services --filter 'status=running' | grep -F 'parachain-') -relaychain_service="$(docker-compose ps --services --filter 'status=running' | grep -F 'relaychain-')" print_divider -function check_block() { - for i in $(seq 1 $WAIT_ROUNDS); do - sleep $WAIT_INTERVAL_SECONDS - if docker-compose logs "$parachain_service" | grep -F '[Parachain]' 2>/dev/null | grep -Fq "best: #1" 2>/dev/null; then - echo "parachain produced #1, all good. Quit now" - exit 0 - fi - done -} +echo "waiting for parachain to produce blocks ..." -echo "waiting for parachain to import blocks ..." - -while : ; do - if docker-compose logs "$parachain_service" | grep -F '[Parachain]' 2>/dev/null | grep -Fq "Imported #" 2>/dev/null; then - echo "parachain imported blocks" +for i in $(seq 1 $WAIT_ROUNDS); do + sleep $WAIT_INTERVAL_SECONDS + if docker-compose logs "$parachain_service" 2>&1 | grep -F '0 peers' 2>/dev/null | grep -Fq "best: #1" 2>/dev/null; then + echo "parachain produced #1" + BLOCK_PRODUCED=true break - else - sleep $WAIT_INTERVAL_SECONDS fi done +if [ "$BLOCK_PRODUCED" = "false" ]; then + echo "no block production detected, you might want to check it manually. Quit now" + exit 1 +fi + print_divider -echo "checking parachain block production ..." -check_block -echo "no parachain blocks detected, restart relaychains ..." -for i in $relaychain_service; do - sleep $RESTART_INTERVAL_SECONDS - docker-compose restart $i -done +echo "waiting for parachain to finalize blocks ..." -print_divider -echo "relaychain restarted" -echo "checking parachain block production again ..." +for i in $(seq 1 $WAIT_ROUNDS); do + sleep $WAIT_INTERVAL_SECONDS + if docker-compose logs "$parachain_service" 2>&1 | grep -F '0 peers' 2>/dev/null | grep -Fq "finalized #1" 2>/dev/null; then + echo "parachain finalized #1, all good. Quit now" + exit 0 + fi +done -check_block -echo "still no blocks detected, you might want to check it manually. Quit now" \ No newline at end of file +echo "no block finalization detected, you might want to check it manually. Quit now" +exit 1 \ No newline at end of file From 94007202b5b8d1e332581f83e56f4bb626743b57 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Tue, 14 Jun 2022 16:04:16 +0200 Subject: [PATCH 06/17] add extra filter check with sudo --- runtime/litentry/src/tests/base_call_filter.rs | 18 ++++++++++++++++++ runtime/litmus/src/tests/base_call_filter.rs | 18 ++++++++++++++++++ runtime/rococo/src/tests/base_call_filter.rs | 18 ++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/runtime/litentry/src/tests/base_call_filter.rs b/runtime/litentry/src/tests/base_call_filter.rs index f0b6a165e5..08d5870e25 100644 --- a/runtime/litentry/src/tests/base_call_filter.rs +++ b/runtime/litentry/src/tests/base_call_filter.rs @@ -64,6 +64,24 @@ fn balance_transfer_disabled() { }) } +#[test] +fn balance_transfer_with_sudo_works() { + ExtBuilder::default() + .balances(vec![(alice(), 10 * UNIT)]) + .build() + .execute_with(|| { + let call: Call = pallet_balances::Call::force_transfer { + source: alice().into(), + dest: bob().into(), + value: 1 * UNIT, + } + .into(); + assert_ok!(call.dispatch(Origin::root()),); + assert_eq!(Balances::free_balance(&alice()), 9 * UNIT); + assert_eq!(Balances::free_balance(&bob()), 1 * UNIT); + }) +} + #[test] fn block_core_call_has_no_effect() { ExtBuilder::default() diff --git a/runtime/litmus/src/tests/base_call_filter.rs b/runtime/litmus/src/tests/base_call_filter.rs index f9a3053c14..5f30143b87 100644 --- a/runtime/litmus/src/tests/base_call_filter.rs +++ b/runtime/litmus/src/tests/base_call_filter.rs @@ -67,6 +67,24 @@ fn balance_transfer_disabled() { }) } +#[test] +fn balance_transfer_with_sudo_works() { + ExtBuilder::default() + .balances(vec![(alice(), 10 * UNIT)]) + .build() + .execute_with(|| { + let call: Call = pallet_balances::Call::force_transfer { + source: alice().into(), + dest: bob().into(), + value: 1 * UNIT, + } + .into(); + assert_ok!(call.dispatch(Origin::root()),); + assert_eq!(Balances::free_balance(&alice()), 9 * UNIT); + assert_eq!(Balances::free_balance(&bob()), 1 * UNIT); + }) +} + #[test] fn block_core_call_has_no_effect() { ExtBuilder::default() diff --git a/runtime/rococo/src/tests/base_call_filter.rs b/runtime/rococo/src/tests/base_call_filter.rs index f9a3053c14..5f30143b87 100644 --- a/runtime/rococo/src/tests/base_call_filter.rs +++ b/runtime/rococo/src/tests/base_call_filter.rs @@ -67,6 +67,24 @@ fn balance_transfer_disabled() { }) } +#[test] +fn balance_transfer_with_sudo_works() { + ExtBuilder::default() + .balances(vec![(alice(), 10 * UNIT)]) + .build() + .execute_with(|| { + let call: Call = pallet_balances::Call::force_transfer { + source: alice().into(), + dest: bob().into(), + value: 1 * UNIT, + } + .into(); + assert_ok!(call.dispatch(Origin::root()),); + assert_eq!(Balances::free_balance(&alice()), 9 * UNIT); + assert_eq!(Balances::free_balance(&bob()), 1 * UNIT); + }) +} + #[test] fn block_core_call_has_no_effect() { ExtBuilder::default() From 57d6bed0adf7cd0adfb5c17784bcabddfbc9ebe3 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Tue, 14 Jun 2022 16:27:30 +0200 Subject: [PATCH 07/17] add an option to benchmark all chains --- .../workflows/benchmark-runtime-weights.yml | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/benchmark-runtime-weights.yml b/.github/workflows/benchmark-runtime-weights.yml index 3d13e1ab6e..8295ca4d88 100644 --- a/.github/workflows/benchmark-runtime-weights.yml +++ b/.github/workflows/benchmark-runtime-weights.yml @@ -5,19 +5,19 @@ on: inputs: chain: type: choice - description: The chain whose runtime is benchmarked + description: The chain whose runtime is benchmarked, all = rococo+litmus+litentry options: + - all - litmus - litentry - rococo - - moonbase pallets: description: pallets to benchmark, * for all, or comma listed (e.g. frame-system,pallet-proxy) default: "*" required: true env: - REMOTE_HOST: parachain-benchmark # remote host to run benchmarking upon, must be ssh reachable + REMOTE_HOST: parachain-benchmark # remote host to run benchmarking upon, must be reachable per ssh jobs: ## build docker image with runtime-benchmarks feature, and then run the benchmarking remotely @@ -43,20 +43,22 @@ jobs: # exit status should propagate through ssh - name: Remotely benchmark pallets ${{ github.event.inputs.pallets }} for ${{ github.event.inputs.chain }} - timeout-minutes: 120 + timeout-minutes: 240 run: | # prepend the asterisk with \ to go through ssh arg="${{ github.event.inputs.pallets }}" - if [ "$arg" = "*" ]; - then arg="\\$arg"; + chain="${{ github.event.inputs.chain }}" + if [ "$arg" = "*" ]; then + arg="\\$arg"; fi - ssh -x "${{ env.REMOTE_HOST }}" 'bash -s' < scripts/benchmark-weight-remote.sh "${{ github.event.inputs.chain }}" "${GITHUB_REF#refs/heads/}" "$arg" - - - name: Copy generated weights files back - run: | - echo "copy generated weights files back ..." - scp "${{ env.REMOTE_HOST }}":/tmp/litentry-parachain/runtime/${{ github.event.inputs.chain }}/src/weights/*.rs runtime/${{ github.event.inputs.chain }}/src/weights/ - echo "done" + if [ "$chain" = "all" ]; then + chain="rococo litmus litentry" + fi + for c in $chain; do + ssh -x "${{ env.REMOTE_HOST }}" 'bash -s' < scripts/benchmark-weight-remote.sh "$c" "${GITHUB_REF#refs/heads/}" "$arg" + echo "copy generated weights files back ..." + scp "${{ env.REMOTE_HOST }}":/tmp/litentry-parachain/runtime/$c/src/weights/*.rs runtime/$c/src/weights/ + done echo "======================" git status @@ -71,11 +73,11 @@ jobs: delete-branch: true title: "[benchmarking bot] Update generated weights files" body: | - This is an automatically created PR. - It updates the weights files under `runtime/${{ github.event.inputs.chain }}/src/weights/*.rs` after running benchmarks on the remote machine: ${{ env.REMOTE_HOST }} + This is an automatically created PR, + It updates the weights files under `runtime/*/src/weights/*.rs` after running benchmarks on the remote machine: ${{ env.REMOTE_HOST }} Pallets: "${{ github.event.inputs.pallets }}" - Chain: "${{ github.event.inputs.chain }}" + Chain: "${{ github.event.inputs.chain }} (all = rococo,litmus,litentry" Github action run: https://github.com/litentry/litentry-parachain/actions/runs/${{ github.run_id }} labels: | S1-pleasereview From 71735d9d76caa83c2b6238197706aaec6bf8a78e Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Tue, 14 Jun 2022 16:37:05 +0200 Subject: [PATCH 08/17] bump version --- Cargo.lock | 2 +- primitives/Cargo.toml | 2 +- runtime/litentry/src/lib.rs | 2 +- runtime/litmus/src/lib.rs | 2 +- runtime/moonbase/src/lib.rs | 2 +- runtime/rococo/src/lib.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index caa92e4f19..4fefef7aa5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7930,7 +7930,7 @@ dependencies = [ [[package]] name = "primitives" -version = "0.9.7" +version = "0.9.8" dependencies = [ "sp-core", "sp-runtime", diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 86311c6e9f..9390877ba7 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'primitives' -version = '0.9.7' +version = '0.9.8' authors = ["Litentry Dev"] edition = '2021' diff --git a/runtime/litentry/src/lib.rs b/runtime/litentry/src/lib.rs index a8f5f9286b..e574c28573 100644 --- a/runtime/litentry/src/lib.rs +++ b/runtime/litentry/src/lib.rs @@ -138,7 +138,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // same versioning-mechanism as polkadot: // last digit is used for minor updates, like 9110 -> 9111 in polkadot - spec_version: 9071, + spec_version: 9080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/litmus/src/lib.rs b/runtime/litmus/src/lib.rs index 9dd32331d3..dcc32193d5 100644 --- a/runtime/litmus/src/lib.rs +++ b/runtime/litmus/src/lib.rs @@ -143,7 +143,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // same versioning-mechanism as polkadot: // last digit is used for minor updates, like 9110 -> 9111 in polkadot - spec_version: 9075, + spec_version: 9080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 5d9a229f28..69a4c51f29 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -144,7 +144,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // same versioning-mechanism as polkadot: // last digit is used for minor updates, like 9110 -> 9111 in polkadot - spec_version: 9070, + spec_version: 9080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 4d4bc1f74a..19872a88e0 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // same versioning-mechanism as polkadot: // last digit is used for minor updates, like 9110 -> 9111 in polkadot - spec_version: 9075, + spec_version: 9080, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From c368ca273495df96063be8f3cc461012bd6f1fd8 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Tue, 14 Jun 2022 20:57:35 +0200 Subject: [PATCH 09/17] temporarily skip pallet-asset-manager for benchmarking --- runtime/litmus/src/lib.rs | 1 - runtime/rococo/src/lib.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/runtime/litmus/src/lib.rs b/runtime/litmus/src/lib.rs index dcc32193d5..f7d78331e5 100644 --- a/runtime/litmus/src/lib.rs +++ b/runtime/litmus/src/lib.rs @@ -914,7 +914,6 @@ extern crate frame_benchmarking; mod benches { define_benchmarks!( [frame_system, SystemBench::] - [pallet_asset_manager, AssetManager] [pallet_balances, Balances] [pallet_timestamp, Timestamp] [pallet_utility, Utility] diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 19872a88e0..04feebf6b8 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -918,7 +918,6 @@ extern crate frame_benchmarking; mod benches { define_benchmarks!( [frame_system, SystemBench::] - [pallet_asset_manager, AssetManager] [pallet_balances, Balances] [pallet_timestamp, Timestamp] [pallet_utility, Utility] From 41a5a0acf87d881568a6348af9de47d31ef64caa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Jun 2022 23:54:37 +0200 Subject: [PATCH 10/17] [benchmarking bot] Auto commit generated weights files (#644) Co-authored-by: Kailai-Wang --- .../src/weights/cumulus_pallet_xcmp_queue.rs | 6 +- runtime/litentry/src/weights/frame_system.rs | 16 +-- .../litentry/src/weights/pallet_balances.rs | 16 +-- .../src/weights/pallet_collator_selection.rs | 34 +++--- .../litentry/src/weights/pallet_collective.rs | 82 ++++++-------- .../litentry/src/weights/pallet_democracy.rs | 104 ++++++++--------- runtime/litentry/src/weights/pallet_drop3.rs | 22 ++-- .../src/weights/pallet_extrinsic_filter.rs | 20 ++-- .../litentry/src/weights/pallet_membership.rs | 26 ++--- .../litentry/src/weights/pallet_multisig.rs | 61 +++++----- .../litentry/src/weights/pallet_preimage.rs | 20 ++-- runtime/litentry/src/weights/pallet_proxy.rs | 74 ++++++------ .../litentry/src/weights/pallet_scheduler.rs | 80 ++++++------- .../litentry/src/weights/pallet_session.rs | 6 +- .../litentry/src/weights/pallet_timestamp.rs | 6 +- .../litentry/src/weights/pallet_treasury.rs | 18 +-- .../litentry/src/weights/pallet_utility.rs | 38 ++----- .../src/weights/cumulus_pallet_xcmp_queue.rs | 6 +- runtime/litmus/src/weights/frame_system.rs | 16 +-- runtime/litmus/src/weights/pallet_balances.rs | 16 +-- .../src/weights/pallet_collator_selection.rs | 34 +++--- .../litmus/src/weights/pallet_collective.rs | 90 +++++++-------- .../litmus/src/weights/pallet_democracy.rs | 100 ++++++++--------- runtime/litmus/src/weights/pallet_drop3.rs | 22 ++-- .../src/weights/pallet_extrinsic_filter.rs | 20 ++-- .../litmus/src/weights/pallet_membership.rs | 32 +++--- runtime/litmus/src/weights/pallet_multisig.rs | 65 +++++------ runtime/litmus/src/weights/pallet_preimage.rs | 20 ++-- runtime/litmus/src/weights/pallet_proxy.rs | 78 +++++++------ .../litmus/src/weights/pallet_scheduler.rs | 76 ++++++------- runtime/litmus/src/weights/pallet_session.rs | 6 +- .../litmus/src/weights/pallet_sidechain.rs | 4 +- runtime/litmus/src/weights/pallet_teerex.rs | 10 +- .../litmus/src/weights/pallet_timestamp.rs | 6 +- runtime/litmus/src/weights/pallet_treasury.rs | 20 ++-- runtime/litmus/src/weights/pallet_utility.rs | 38 ++----- .../src/weights/cumulus_pallet_xcmp_queue.rs | 6 +- runtime/rococo/src/weights/frame_system.rs | 14 +-- runtime/rococo/src/weights/pallet_balances.rs | 16 +-- .../src/weights/pallet_collator_selection.rs | 32 +++--- .../rococo/src/weights/pallet_collective.rs | 106 ++++++++---------- .../rococo/src/weights/pallet_democracy.rs | 104 ++++++++--------- runtime/rococo/src/weights/pallet_drop3.rs | 22 ++-- .../src/weights/pallet_extrinsic_filter.rs | 20 ++-- .../rococo/src/weights/pallet_membership.rs | 30 ++--- runtime/rococo/src/weights/pallet_multisig.rs | 69 +++++------- runtime/rococo/src/weights/pallet_preimage.rs | 20 ++-- runtime/rococo/src/weights/pallet_proxy.rs | 78 +++++++------ .../rococo/src/weights/pallet_scheduler.rs | 82 +++++++------- runtime/rococo/src/weights/pallet_session.rs | 6 +- .../rococo/src/weights/pallet_sidechain.rs | 59 ++++++++++ runtime/rococo/src/weights/pallet_teerex.rs | 74 ++++++++++++ .../rococo/src/weights/pallet_timestamp.rs | 9 +- runtime/rococo/src/weights/pallet_treasury.rs | 24 ++-- runtime/rococo/src/weights/pallet_utility.rs | 34 +++--- 55 files changed, 1071 insertions(+), 1022 deletions(-) create mode 100644 runtime/rococo/src/weights/pallet_sidechain.rs create mode 100644 runtime/rococo/src/weights/pallet_teerex.rs diff --git a/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs index 14a7541b36..871f818a92 100644 --- a/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -48,13 +48,13 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - (3_831_000 as Weight) + (3_748_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - (3_767_000 as Weight) + (3_712_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/litentry/src/weights/frame_system.rs b/runtime/litentry/src/weights/frame_system.rs index bcc8903893..85cc8cc05c 100644 --- a/runtime/litentry/src/weights/frame_system.rs +++ b/runtime/litentry/src/weights/frame_system.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -52,14 +52,14 @@ impl frame_system::WeightInfo for WeightInfo { .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) } fn remark_with_event(b: u32, ) -> Weight { - (0 as Weight) + (50_483_000 as Weight) // Standard Error: 0 .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 { - (3_324_000 as Weight) + (3_208_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -67,21 +67,21 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((626_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((727_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_216_000 as Weight) - // Standard Error: 1_000 - .saturating_add((454_000 as Weight).saturating_mul(i as Weight)) + (940_000 as Weight) + // Standard Error: 0 + .saturating_add((502_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: 1_000 - .saturating_add((1_063_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((1_041_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/litentry/src/weights/pallet_balances.rs b/runtime/litentry/src/weights/pallet_balances.rs index 92898e9478..74e4474940 100644 --- a/runtime/litentry/src/weights/pallet_balances.rs +++ b/runtime/litentry/src/weights/pallet_balances.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -48,43 +48,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (50_720_000 as Weight) + (49_609_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 transfer_keep_alive() -> Weight { - (37_357_000 as Weight) + (36_626_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 { - (22_565_000 as Weight) + (22_098_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 { - (27_141_000 as Weight) + (26_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:2 w:2) fn force_transfer() -> Weight { - (48_615_000 as Weight) + (48_504_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_all() -> Weight { - (44_163_000 as Weight) + (43_970_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 { - (19_784_000 as Weight) + (19_482_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/litentry/src/weights/pallet_collator_selection.rs b/runtime/litentry/src/weights/pallet_collator_selection.rs index 6c4af26970..913148a9b6 100644 --- a/runtime/litentry/src/weights/pallet_collator_selection.rs +++ b/runtime/litentry/src/weights/pallet_collator_selection.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -49,20 +49,20 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (10_261_000 as Weight) - // Standard Error: 7_000 - .saturating_add((4_552_000 as Weight).saturating_mul(b as Weight)) + (7_920_000 as Weight) + // Standard Error: 8_000 + .saturating_add((4_539_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 { - (13_645_000 as Weight) + (11_409_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (11_437_000 as Weight) + (12_032_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -72,18 +72,18 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection CandidacyBond (r:1 w:0) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (54_805_000 as Weight) - // Standard Error: 4_000 - .saturating_add((385_000 as Weight).saturating_mul(c as Weight)) + (57_517_000 as Weight) + // Standard Error: 6_000 + .saturating_add((242_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 { - (40_074_000 as Weight) - // Standard Error: 5_000 - .saturating_add((246_000 as Weight).saturating_mul(c as Weight)) + (39_722_000 as Weight) + // Standard Error: 6_000 + .saturating_add((297_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)) } @@ -91,7 +91,7 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (44_906_000 as Weight) + (44_797_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -102,10 +102,10 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 744_000 - .saturating_add((6_278_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 744_000 - .saturating_add((25_101_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 742_000 + .saturating_add((6_233_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 742_000 + .saturating_add((25_083_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/litentry/src/weights/pallet_collective.rs b/runtime/litentry/src/weights/pallet_collective.rs index b25ab5ee96..824444ebf6 100644 --- a/runtime/litentry/src/weights/pallet_collective.rs +++ b/runtime/litentry/src/weights/pallet_collective.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -53,38 +53,34 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) // Standard Error: 14_000 - .saturating_add((17_257_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((16_589_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 14_000 - .saturating_add((4_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((22_000 as Weight).saturating_mul(n as Weight)) // Standard Error: 14_000 - .saturating_add((20_992_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((20_376_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)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } // Storage: Council Members (r:1 w:0) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (22_784_000 as Weight) + (17_496_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add((49_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) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (26_446_000 as Weight) + (20_720_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((80_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add((83_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:1) @@ -92,22 +88,22 @@ impl pallet_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 { - (27_278_000 as Weight) + (25_437_000 as Weight) // Standard Error: 0 .saturating_add((10_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((34_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((260_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((41_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((257_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 { - (37_269_000 as Weight) + (36_995_000 as Weight) // Standard Error: 3_000 - .saturating_add((132_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((112_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)) } @@ -116,29 +112,27 @@ impl pallet_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 { - (34_016_000 as Weight) + (37_521_000 as Weight) // Standard Error: 3_000 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((52_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((199_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((179_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)) } // Storage: Council Voting (r:1 w:1) // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (44_957_000 as Weight) + (34_393_000 as Weight) // Standard Error: 0 .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((99_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 3_000 - .saturating_add((290_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + // Standard Error: 2_000 + .saturating_add((112_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((274_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)) } // Storage: Council Voting (r:1 w:1) @@ -147,11 +141,11 @@ impl pallet_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 { - (38_244_000 as Weight) + (35_555_000 as Weight) // Standard Error: 3_000 - .saturating_add((84_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((107_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((197_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)) } @@ -159,27 +153,25 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Members (r:1 w:0) // Storage: Council Prime (r:1 w:0) // Storage: Council ProposalOf (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (42_192_000 as Weight) + (33_302_000 as Weight) // Standard Error: 0 - .saturating_add((14_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 2_000 - .saturating_add((127_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((133_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((294_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) + .saturating_add((277_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)) } // Storage: Council Proposals (r:1 w:1) // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (21_505_000 as Weight) - // Standard Error: 2_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + (19_533_000 as Weight) + // Standard Error: 1_000 + .saturating_add((256_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/litentry/src/weights/pallet_democracy.rs b/runtime/litentry/src/weights/pallet_democracy.rs index 3007080c9f..f4d9023223 100644 --- a/runtime/litentry/src/weights/pallet_democracy.rs +++ b/runtime/litentry/src/weights/pallet_democracy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -51,15 +51,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (61_840_000 as Weight) + (59_346_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 { - (35_370_000 as Weight) + (34_210_000 as Weight) // Standard Error: 1_000 - .saturating_add((185_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((181_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)) } @@ -67,9 +67,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (45_957_000 as Weight) - // Standard Error: 1_000 - .saturating_add((265_000 as Weight).saturating_mul(r as Weight)) + (45_285_000 as Weight) + // Standard Error: 2_000 + .saturating_add((257_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)) } @@ -77,16 +77,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (46_841_000 as Weight) + (47_738_000 as Weight) // Standard Error: 3_000 - .saturating_add((218_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((200_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 { - (20_129_000 as Weight) + (20_798_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -97,45 +97,45 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32, ) -> Weight { - (66_745_000 as Weight) + (67_045_000 as Weight) // Standard Error: 11_000 - .saturating_add((398_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((407_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 { - (9_852_000 as Weight) + (9_846_000 as Weight) // Standard Error: 0 - .saturating_add((44_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((43_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 { - (1_524_000 as Weight) + (1_531_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (1_672_000 as Weight) + (1_612_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 { - (20_164_000 as Weight) + (19_895_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 { - (22_832_000 as Weight) - // Standard Error: 2_000 - .saturating_add((76_000 as Weight).saturating_mul(v as Weight)) + (21_245_000 as Weight) + // Standard Error: 0 + .saturating_add((79_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)) } @@ -143,23 +143,23 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32, ) -> Weight { - (51_692_000 as Weight) - // Standard Error: 4_000 - .saturating_add((330_000 as Weight).saturating_mul(p as Weight)) + (50_629_000 as Weight) + // Standard Error: 3_000 + .saturating_add((292_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 { - (12_403_000 as Weight) + (12_017_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 { - (30_604_000 as Weight) - // Standard Error: 13_000 - .saturating_add((1_432_000 as Weight).saturating_mul(r as Weight)) + (26_521_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_194_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)) } @@ -167,9 +167,9 @@ impl pallet_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 { - (3_405_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_429_000 as Weight).saturating_mul(r as Weight)) + (2_742_000 as Weight) + // Standard Error: 5_000 + .saturating_add((4_408_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)) @@ -181,9 +181,9 @@ impl pallet_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 { - (10_960_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_406_000 as Weight).saturating_mul(r as Weight)) + (9_135_000 as Weight) + // Standard Error: 5_000 + .saturating_add((4_425_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)) @@ -192,9 +192,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (47_792_000 as Weight) - // Standard Error: 10_000 - .saturating_add((5_698_000 as Weight).saturating_mul(r as Weight)) + (43_696_000 as Weight) + // Standard Error: 6_000 + .saturating_add((5_727_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)) @@ -203,9 +203,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (20_588_000 as Weight) - // Standard Error: 4_000 - .saturating_add((5_653_000 as Weight).saturating_mul(r as Weight)) + (17_038_000 as Weight) + // Standard Error: 25_000 + .saturating_add((5_862_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)) @@ -213,12 +213,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (2_116_000 as Weight) + (2_190_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 { - (30_163_000 as Weight) + (29_491_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)) @@ -226,7 +226,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (21_233_000 as Weight) + (20_053_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)) @@ -235,9 +235,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (30_728_000 as Weight) + (30_045_000 as Weight) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -245,9 +245,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (29_864_000 as Weight) + (29_083_000 as Weight) // Standard Error: 2_000 - .saturating_add((72_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((70_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)) } @@ -255,27 +255,27 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (28_324_000 as Weight) + (27_530_000 as Weight) // Standard Error: 2_000 - .saturating_add((184_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((177_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 { - (15_901_000 as Weight) + (16_058_000 as Weight) // Standard Error: 2_000 - .saturating_add((179_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((170_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 { - (16_932_000 as Weight) + (16_530_000 as Weight) // Standard Error: 3_000 - .saturating_add((183_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((182_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/litentry/src/weights/pallet_drop3.rs b/runtime/litentry/src/weights/pallet_drop3.rs index 0a7f5f8321..59dc53fede 100644 --- a/runtime/litentry/src/weights/pallet_drop3.rs +++ b/runtime/litentry/src/weights/pallet_drop3.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_drop3` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -48,14 +48,14 @@ pub struct WeightInfo(PhantomData); impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 Admin (r:1 w:1) fn set_admin() -> Weight { - (13_802_000 as Weight) + (13_007_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 Admin (r:1 w:0) // Storage: Drop3 RewardPools (r:1 w:1) fn approve_reward_pool() -> Weight { - (21_365_000 as Weight) + (21_415_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -64,21 +64,21 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn reject_reward_pool() -> Weight { - (61_735_000 as Weight) + (61_363_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn start_reward_pool() -> Weight { - (21_074_000 as Weight) + (21_062_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn stop_reward_pool() -> Weight { - (22_019_000 as Weight) + (21_954_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -87,7 +87,7 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn close_reward_pool() -> Weight { - (39_742_000 as Weight) + (39_447_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -95,17 +95,15 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 CurrentMaxPoolId (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) // Storage: Drop3 RewardPools (r:0 w:1) - fn propose_reward_pool(n: u32, ) -> Weight { - (34_408_000 as Weight) - // Standard Error: 2_000 - .saturating_add((5_000 as Weight).saturating_mul(n as Weight)) + fn propose_reward_pool(_n: u32, ) -> Weight { + (34_407_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: System Account (r:2 w:2) fn send_reward() -> Weight { - (41_409_000 as Weight) + (40_211_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/litentry/src/weights/pallet_extrinsic_filter.rs b/runtime/litentry/src/weights/pallet_extrinsic_filter.rs index c14fcf619a..024328ad57 100644 --- a/runtime/litentry/src/weights/pallet_extrinsic_filter.rs +++ b/runtime/litentry/src/weights/pallet_extrinsic_filter.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_extrinsic_filter` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -46,26 +46,24 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_extrinsic_filter`. pub struct WeightInfo(PhantomData); impl pallet_extrinsic_filter::WeightInfo for WeightInfo { - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn block_extrinsics(p: u32, f: u32, ) -> Weight { - (20_097_000 as Weight) + (18_750_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(f 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().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn unblock_extrinsics(p: u32, f: u32, ) -> Weight { - (20_891_000 as Weight) + (20_299_000 as Weight) // Standard Error: 0 - .saturating_add((10_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((8_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 - .saturating_add((10_000 as Weight).saturating_mul(f as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add((9_000 as Weight).saturating_mul(f as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/litentry/src/weights/pallet_membership.rs b/runtime/litentry/src/weights/pallet_membership.rs index 0b3456ec7e..c5de26ad95 100644 --- a/runtime/litentry/src/weights/pallet_membership.rs +++ b/runtime/litentry/src/weights/pallet_membership.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -51,9 +51,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (19_025_000 as Weight) + (18_669_000 as Weight) // Standard Error: 0 - .saturating_add((72_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((74_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)) } @@ -63,7 +63,7 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (22_448_000 as Weight) + (22_080_000 as Weight) // Standard Error: 0 .saturating_add((69_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -75,9 +75,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (22_612_000 as Weight) + (22_344_000 as Weight) // Standard Error: 0 - .saturating_add((87_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((82_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)) } @@ -87,9 +87,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (22_486_000 as Weight) - // Standard Error: 1_000 - .saturating_add((246_000 as Weight).saturating_mul(m as Weight)) + (21_849_000 as Weight) + // Standard Error: 0 + .saturating_add((232_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)) } @@ -99,8 +99,8 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (23_862_000 as Weight) - // Standard Error: 1_000 + (22_980_000 as Weight) + // Standard Error: 0 .saturating_add((82_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)) @@ -109,7 +109,7 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (6_260_000 as Weight) + (5_977_000 as Weight) // Standard Error: 0 .saturating_add((42_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -118,7 +118,7 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - (2_137_000 as Weight) + (2_165_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/litentry/src/weights/pallet_multisig.rs b/runtime/litentry/src/weights/pallet_multisig.rs index af3f04e0d0..9a39720038 100644 --- a/runtime/litentry/src/weights/pallet_multisig.rs +++ b/runtime/litentry/src/weights/pallet_multisig.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -46,20 +46,17 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_threshold_1(z: u32, ) -> Weight { - (26_238_000 as Weight) + (17_071_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) - .saturating_add(T::DbWeight::get().reads(3 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 { - (43_132_000 as Weight) + (41_158_000 as Weight) // Standard Error: 1_000 - .saturating_add((142_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((150_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)) @@ -69,9 +66,9 @@ impl pallet_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 { - (48_412_000 as Weight) - // Standard Error: 1_000 - .saturating_add((133_000 as Weight).saturating_mul(s as Weight)) + (47_040_000 as Weight) + // Standard Error: 2_000 + .saturating_add((121_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(3 as Weight)) @@ -79,9 +76,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (26_216_000 as Weight) + (26_647_000 as Weight) // Standard Error: 1_000 - .saturating_add((135_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((118_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)) @@ -90,64 +87,60 @@ impl pallet_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 { - (44_828_000 as Weight) + (44_746_000 as Weight) // Standard Error: 2_000 - .saturating_add((137_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (59_711_000 as Weight) - // Standard Error: 6_000 - .saturating_add((258_000 as Weight).saturating_mul(s as Weight)) + (52_598_000 as Weight) + // Standard Error: 2_000 + .saturating_add((213_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(6 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: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (42_604_000 as Weight) - // Standard Error: 3_000 - .saturating_add((150_000 as Weight).saturating_mul(s as Weight)) + (39_606_000 as Weight) + // Standard Error: 2_000 + .saturating_add((130_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 { - (24_324_000 as Weight) + (23_077_000 as Weight) // Standard Error: 1_000 - .saturating_add((137_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((143_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: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn approve_as_multi_complete(s: u32, ) -> Weight { - (93_757_000 as Weight) + (84_536_000 as Weight) // Standard Error: 2_000 - .saturating_add((236_000 as Weight).saturating_mul(s as Weight)) - .saturating_add(T::DbWeight::get().reads(6 as Weight)) + .saturating_add((235_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 { - (66_347_000 as Weight) - // Standard Error: 2_000 - .saturating_add((156_000 as Weight).saturating_mul(s as Weight)) + (64_325_000 as Weight) + // Standard Error: 1_000 + .saturating_add((170_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/litentry/src/weights/pallet_preimage.rs b/runtime/litentry/src/weights/pallet_preimage.rs index 49f0491cea..1098d179b6 100644 --- a/runtime/litentry/src/weights/pallet_preimage.rs +++ b/runtime/litentry/src/weights/pallet_preimage.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -76,58 +76,58 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (66_645_000 as Weight) + (60_478_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (47_040_000 as Weight) + (40_094_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (62_006_000 as Weight) + (55_675_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (42_926_000 as Weight) + (38_574_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (26_137_000 as Weight) + (22_126_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (8_836_000 as Weight) + (8_466_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (43_966_000 as Weight) + (39_476_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (26_359_000 as Weight) + (22_235_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (7_829_000 as Weight) + (7_084_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/litentry/src/weights/pallet_proxy.rs b/runtime/litentry/src/weights/pallet_proxy.rs index 580f91d8ca..9424c3f4ce 100644 --- a/runtime/litentry/src/weights/pallet_proxy.rs +++ b/runtime/litentry/src/weights/pallet_proxy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -47,45 +47,43 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn proxy(p: u32, ) -> Weight { - (24_815_000 as Weight) + (17_036_000 as Weight) // Standard Error: 1_000 - .saturating_add((116_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add((115_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) - fn proxy_announced(a: u32, _p: u32, ) -> Weight { - (56_587_000 as Weight) - // Standard Error: 10_000 - .saturating_add((142_000 as Weight).saturating_mul(a as Weight)) - .saturating_add(T::DbWeight::get().reads(6 as Weight)) + fn proxy_announced(a: u32, p: u32, ) -> Weight { + (38_412_000 as Weight) + // Standard Error: 1_000 + .saturating_add((273_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 2_000 + .saturating_add((124_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32, ) -> Weight { - (27_225_000 as Weight) + (26_794_000 as Weight) // Standard Error: 1_000 - .saturating_add((284_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((269_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((16_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((18_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)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, p: u32, ) -> Weight { - (27_082_000 as Weight) + (26_945_000 as Weight) // Standard Error: 1_000 - .saturating_add((290_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((266_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((22_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((16_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)) } @@ -93,52 +91,52 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn announce(a: u32, p: u32, ) -> Weight { - (38_209_000 as Weight) - // Standard Error: 1_000 - .saturating_add((255_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 1_000 - .saturating_add((104_000 as Weight).saturating_mul(p as Weight)) + (36_587_000 as Weight) + // Standard Error: 2_000 + .saturating_add((252_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 2_000 + .saturating_add((129_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32, ) -> Weight { - (30_794_000 as Weight) - // Standard Error: 3_000 - .saturating_add((225_000 as Weight).saturating_mul(p as Weight)) + (30_366_000 as Weight) + // Standard Error: 1_000 + .saturating_add((160_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32, ) -> Weight { - (31_639_000 as Weight) + (30_053_000 as Weight) // Standard Error: 3_000 - .saturating_add((168_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((192_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxies(p: u32, ) -> Weight { - (25_150_000 as Weight) - // Standard Error: 1_000 - .saturating_add((131_000 as Weight).saturating_mul(p as Weight)) + (25_285_000 as Weight) + // Standard Error: 2_000 + .saturating_add((97_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32, ) -> Weight { - (34_499_000 as Weight) - // Standard Error: 1_000 - .saturating_add((62_000 as Weight).saturating_mul(p as Weight)) + (34_079_000 as Weight) + // Standard Error: 2_000 + .saturating_add((49_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)) } // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32, ) -> Weight { - (29_020_000 as Weight) - // Standard Error: 9_000 - .saturating_add((78_000 as Weight).saturating_mul(p as Weight)) + (26_437_000 as Weight) + // Standard Error: 1_000 + .saturating_add((112_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/litentry/src/weights/pallet_scheduler.rs b/runtime/litentry/src/weights/pallet_scheduler.rs index 2e021fa89f..9e0e6f9dc6 100644 --- a/runtime/litentry/src/weights/pallet_scheduler.rs +++ b/runtime/litentry/src/weights/pallet_scheduler.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -51,9 +51,9 @@ impl pallet_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_623_000 as Weight) - // Standard Error: 19_000 - .saturating_add((30_798_000 as Weight).saturating_mul(s as Weight)) + (10_514_000 as Weight) + // Standard Error: 18_000 + .saturating_add((28_699_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)) @@ -64,9 +64,9 @@ impl pallet_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 { - (10_324_000 as Weight) - // Standard Error: 13_000 - .saturating_add((24_203_000 as Weight).saturating_mul(s as Weight)) + (7_088_000 as Weight) + // Standard Error: 16_000 + .saturating_add((22_731_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)) @@ -76,9 +76,9 @@ impl pallet_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 { - (9_080_000 as Weight) - // Standard Error: 15_000 - .saturating_add((26_731_000 as Weight).saturating_mul(s as Weight)) + (7_704_000 as Weight) + // Standard Error: 18_000 + .saturating_add((25_104_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)) @@ -88,9 +88,9 @@ impl pallet_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 { - (4_677_000 as Weight) - // Standard Error: 165_000 - .saturating_add((23_191_000 as Weight).saturating_mul(s as Weight)) + (6_672_000 as Weight) + // Standard Error: 15_000 + .saturating_add((21_052_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)) @@ -100,9 +100,9 @@ impl pallet_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 { - (5_036_000 as Weight) - // Standard Error: 8_000 - .saturating_add((6_101_000 as Weight).saturating_mul(s as Weight)) + (4_824_000 as Weight) + // Standard Error: 7_000 + .saturating_add((5_388_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)) @@ -111,9 +111,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (2_715_000 as Weight) - // Standard Error: 24_000 - .saturating_add((4_943_000 as Weight).saturating_mul(s as Weight)) + (5_556_000 as Weight) + // Standard Error: 5_000 + .saturating_add((4_084_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)) @@ -121,9 +121,9 @@ impl pallet_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_273_000 as Weight) - // Standard Error: 40_000 - .saturating_add((16_083_000 as Weight).saturating_mul(s as Weight)) + (14_029_000 as Weight) + // Standard Error: 10_000 + .saturating_add((14_627_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)) @@ -131,9 +131,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (12_313_000 as Weight) - // Standard Error: 8_000 - .saturating_add((12_399_000 as Weight).saturating_mul(s as Weight)) + (12_229_000 as Weight) + // Standard Error: 10_000 + .saturating_add((11_045_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)) @@ -142,53 +142,53 @@ impl pallet_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 { - (20_582_000 as Weight) - // Standard Error: 27_000 - .saturating_add((9_627_000 as Weight).saturating_mul(s as Weight)) + (14_134_000 as Weight) + // Standard Error: 7_000 + .saturating_add((8_587_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 { - (13_443_000 as Weight) + (12_708_000 as Weight) // Standard Error: 6_000 - .saturating_add((8_272_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((7_179_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 { - (20_453_000 as Weight) - // Standard Error: 4_000 - .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) + (18_321_000 as Weight) + // Standard Error: 1_000 + .saturating_add((137_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 { - (19_760_000 as Weight) + (18_795_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_553_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_256_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 { - (23_939_000 as Weight) - // Standard Error: 2_000 - .saturating_add((145_000 as Weight).saturating_mul(s as Weight)) + (22_221_000 as Weight) + // Standard Error: 1_000 + .saturating_add((155_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 { - (22_081_000 as Weight) + (21_249_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_560_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_267_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/litentry/src/weights/pallet_session.rs b/runtime/litentry/src/weights/pallet_session.rs index 8ae9ff3314..73ee09c9fa 100644 --- a/runtime/litentry/src/weights/pallet_session.rs +++ b/runtime/litentry/src/weights/pallet_session.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -49,14 +49,14 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (17_137_000 as Weight) + (17_192_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 { - (13_300_000 as Weight) + (13_008_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/litentry/src/weights/pallet_timestamp.rs b/runtime/litentry/src/weights/pallet_timestamp.rs index 1ad0bd9aee..19412d4a09 100644 --- a/runtime/litentry/src/weights/pallet_timestamp.rs +++ b/runtime/litentry/src/weights/pallet_timestamp.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -48,11 +48,11 @@ pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (5_556_000 as Weight) + (5_497_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (3_354_000 as Weight) + (3_298_000 as Weight) } } diff --git a/runtime/litentry/src/weights/pallet_treasury.rs b/runtime/litentry/src/weights/pallet_treasury.rs index 5113e01a88..9934fc92cb 100644 --- a/runtime/litentry/src/weights/pallet_treasury.rs +++ b/runtime/litentry/src/weights/pallet_treasury.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -49,29 +49,29 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (29_871_000 as Weight) + (31_297_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:1 w:1) fn reject_proposal() -> Weight { - (34_991_000 as Weight) + (35_042_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (10_324_000 as Weight) + (10_988_000 as Weight) // Standard Error: 0 - .saturating_add((148_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((145_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)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - (5_663_000 as Weight) + (6_242_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -79,9 +79,9 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:5 w:5) fn on_initialize_proposals(p: u32, ) -> Weight { - (18_592_000 as Weight) - // Standard Error: 32_000 - .saturating_add((43_246_000 as Weight).saturating_mul(p as Weight)) + (53_156_000 as Weight) + // Standard Error: 57_000 + .saturating_add((41_612_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/litentry/src/weights/pallet_utility.rs b/runtime/litentry/src/weights/pallet_utility.rs index 00b938f1d4..9e9be96c73 100644 --- a/runtime/litentry/src/weights/pallet_utility.rs +++ b/runtime/litentry/src/weights/pallet_utility.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: @@ -46,39 +46,25 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch(c: u32, ) -> Weight { - (19_204_000 as Weight) - // Standard Error: 1_000 - .saturating_add((6_709_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (15_216_000 as Weight) + // Standard Error: 7_000 + .saturating_add((4_203_000 as Weight).saturating_mul(c as Weight)) } - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_derivative() -> Weight { - (8_644_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + (2_231_000 as Weight) } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch_all(c: u32, ) -> Weight { - (76_818_000 as Weight) - // Standard Error: 34_000 - .saturating_add((7_135_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (1_066_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_656_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (11_587_000 as Weight) + (12_442_000 as Weight) } - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn force_batch(c: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 28_000 - .saturating_add((6_977_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (19_778_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_207_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs index 62ccd9509a..a48bd44e30 100644 --- a/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -48,13 +48,13 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - (3_670_000 as Weight) + (3_692_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - (3_746_000 as Weight) + (3_594_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/litmus/src/weights/frame_system.rs b/runtime/litmus/src/weights/frame_system.rs index 9acc8abf19..8ce68e644c 100644 --- a/runtime/litmus/src/weights/frame_system.rs +++ b/runtime/litmus/src/weights/frame_system.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -59,29 +59,29 @@ 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 { - (3_310_000 as Weight) + (3_401_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: 1_000 - .saturating_add((623_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 0 + .saturating_add((621_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) + (3_436_000 as Weight) // Standard Error: 1_000 - .saturating_add((455_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((441_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_076_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 1_000 + .saturating_add((1_033_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/litmus/src/weights/pallet_balances.rs b/runtime/litmus/src/weights/pallet_balances.rs index e82f69d94a..0716a96864 100644 --- a/runtime/litmus/src/weights/pallet_balances.rs +++ b/runtime/litmus/src/weights/pallet_balances.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -48,43 +48,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (49_464_000 as Weight) + (50_254_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 transfer_keep_alive() -> Weight { - (36_884_000 as Weight) + (37_046_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 { - (22_380_000 as Weight) + (22_586_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 { - (26_252_000 as Weight) + (26_809_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:2 w:2) fn force_transfer() -> Weight { - (48_852_000 as Weight) + (49_051_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_all() -> Weight { - (43_909_000 as Weight) + (44_382_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 { - (19_264_000 as Weight) + (19_962_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/litmus/src/weights/pallet_collator_selection.rs b/runtime/litmus/src/weights/pallet_collator_selection.rs index 4193e8c2c7..52aef631bf 100644 --- a/runtime/litmus/src/weights/pallet_collator_selection.rs +++ b/runtime/litmus/src/weights/pallet_collator_selection.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -49,20 +49,20 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (9_407_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_617_000 as Weight).saturating_mul(b as Weight)) + (10_794_000 as Weight) + // Standard Error: 5_000 + .saturating_add((4_556_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 { - (13_713_000 as Weight) + (11_458_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (11_553_000 as Weight) + (10_974_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -72,18 +72,18 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection CandidacyBond (r:1 w:0) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (52_879_000 as Weight) - // Standard Error: 5_000 - .saturating_add((399_000 as Weight).saturating_mul(c as Weight)) + (57_948_000 as Weight) + // Standard Error: 6_000 + .saturating_add((227_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 { - (38_859_000 as Weight) - // Standard Error: 5_000 - .saturating_add((301_000 as Weight).saturating_mul(c as Weight)) + (38_933_000 as Weight) + // Standard Error: 6_000 + .saturating_add((266_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)) } @@ -91,7 +91,7 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (45_032_000 as Weight) + (43_895_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -102,10 +102,10 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 746_000 - .saturating_add((6_300_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 746_000 - .saturating_add((25_383_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 753_000 + .saturating_add((6_462_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 753_000 + .saturating_add((25_369_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/litmus/src/weights/pallet_collective.rs b/runtime/litmus/src/weights/pallet_collective.rs index 73ae256768..786989d486 100644 --- a/runtime/litmus/src/weights/pallet_collective.rs +++ b/runtime/litmus/src/weights/pallet_collective.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -53,38 +53,34 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) // Standard Error: 14_000 - .saturating_add((17_550_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((16_304_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 14_000 - .saturating_add((100_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((96_000 as Weight).saturating_mul(n as Weight)) // Standard Error: 14_000 - .saturating_add((21_423_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((20_307_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)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } // Storage: Council Members (r:1 w:0) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (22_868_000 as Weight) + (16_329_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((52_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + // Standard Error: 0 + .saturating_add((50_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) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (26_804_000 as Weight) + (19_248_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((87_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add((82_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:1) @@ -92,22 +88,22 @@ impl pallet_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 { - (23_631_000 as Weight) + (23_971_000 as Weight) // Standard Error: 0 .saturating_add((11_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 + // Standard Error: 2_000 .saturating_add((60_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 3_000 - .saturating_add((266_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 2_000 + .saturating_add((270_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 { - (36_577_000 as Weight) + (37_141_000 as Weight) // Standard Error: 4_000 - .saturating_add((139_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((123_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)) } @@ -116,29 +112,27 @@ impl pallet_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 { - (35_422_000 as Weight) - // Standard Error: 3_000 - .saturating_add((73_000 as Weight).saturating_mul(m as Weight)) + (38_997_000 as Weight) // Standard Error: 2_000 - .saturating_add((191_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((55_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((170_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)) } // Storage: Council Voting (r:1 w:1) // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (37_850_000 as Weight) + (40_097_000 as Weight) // Standard Error: 0 - .saturating_add((11_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 2_000 - .saturating_add((124_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((102_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((314_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add((254_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)) } // Storage: Council Voting (r:1 w:1) @@ -147,11 +141,11 @@ impl pallet_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 { - (36_627_000 as Weight) - // Standard Error: 2_000 - .saturating_add((95_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 2_000 - .saturating_add((201_000 as Weight).saturating_mul(p as Weight)) + (42_798_000 as Weight) + // Standard Error: 4_000 + .saturating_add((59_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 4_000 + .saturating_add((177_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)) } @@ -159,27 +153,25 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Members (r:1 w:0) // Storage: Council Prime (r:1 w:0) // Storage: Council ProposalOf (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (37_791_000 as Weight) + (38_157_000 as Weight) // Standard Error: 0 - .saturating_add((14_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((153_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 3_000 - .saturating_add((329_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) + .saturating_add((11_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 2_000 + .saturating_add((109_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((274_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)) } // Storage: Council Proposals (r:1 w:1) // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (21_083_000 as Weight) + (20_024_000 as Weight) // Standard Error: 2_000 - .saturating_add((241_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((295_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/litmus/src/weights/pallet_democracy.rs b/runtime/litmus/src/weights/pallet_democracy.rs index 30f9b5b9d3..fb798b33d3 100644 --- a/runtime/litmus/src/weights/pallet_democracy.rs +++ b/runtime/litmus/src/weights/pallet_democracy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -51,15 +51,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (61_105_000 as Weight) + (60_472_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 { - (35_109_000 as Weight) + (34_563_000 as Weight) // Standard Error: 1_000 - .saturating_add((188_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((185_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)) } @@ -67,9 +67,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (46_246_000 as Weight) - // Standard Error: 2_000 - .saturating_add((258_000 as Weight).saturating_mul(r as Weight)) + (45_152_000 as Weight) + // Standard Error: 1_000 + .saturating_add((246_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)) } @@ -77,16 +77,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (46_507_000 as Weight) + (46_202_000 as Weight) // Standard Error: 3_000 - .saturating_add((222_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((181_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 { - (20_423_000 as Weight) + (19_403_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -97,44 +97,44 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32, ) -> Weight { - (65_619_000 as Weight) - // Standard Error: 10_000 - .saturating_add((411_000 as Weight).saturating_mul(p as Weight)) + (66_221_000 as Weight) + // Standard Error: 11_000 + .saturating_add((382_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 { - (10_389_000 as Weight) - // Standard Error: 1_000 - .saturating_add((49_000 as Weight).saturating_mul(v as Weight)) + (9_544_000 as Weight) + // Standard Error: 0 + .saturating_add((56_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 { - (1_930_000 as Weight) + (1_614_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (1_696_000 as Weight) + (1_800_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 { - (21_000_000 as Weight) + (19_961_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 { - (22_174_000 as Weight) - // Standard Error: 0 + (22_374_000 as Weight) + // Standard Error: 1_000 .saturating_add((67_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)) @@ -143,23 +143,23 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32, ) -> Weight { - (53_580_000 as Weight) - // Standard Error: 6_000 - .saturating_add((294_000 as Weight).saturating_mul(p as Weight)) + (51_556_000 as Weight) + // Standard Error: 4_000 + .saturating_add((281_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 { - (12_624_000 as Weight) + (12_258_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 { - (26_639_000 as Weight) + (26_371_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_283_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_222_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)) } @@ -167,9 +167,9 @@ impl pallet_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 { - (2_873_000 as Weight) - // Standard Error: 11_000 - .saturating_add((4_439_000 as Weight).saturating_mul(r as Weight)) + (2_557_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_434_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)) @@ -181,9 +181,9 @@ impl pallet_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 { - (11_590_000 as Weight) + (9_485_000 as Weight) // Standard Error: 4_000 - .saturating_add((4_364_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((4_432_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)) @@ -192,9 +192,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (44_903_000 as Weight) - // Standard Error: 5_000 - .saturating_add((5_768_000 as Weight).saturating_mul(r as Weight)) + (40_650_000 as Weight) + // Standard Error: 15_000 + .saturating_add((5_770_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)) @@ -203,9 +203,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (21_109_000 as Weight) - // Standard Error: 6_000 - .saturating_add((5_755_000 as Weight).saturating_mul(r as Weight)) + (19_492_000 as Weight) + // Standard Error: 8_000 + .saturating_add((5_682_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)) @@ -213,12 +213,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (2_314_000 as Weight) + (2_140_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 { - (29_797_000 as Weight) + (29_146_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)) @@ -226,7 +226,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (20_633_000 as Weight) + (20_280_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)) @@ -235,9 +235,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (30_897_000 as Weight) + (30_024_000 as Weight) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -245,9 +245,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (29_130_000 as Weight) + (29_021_000 as Weight) // Standard Error: 2_000 - .saturating_add((84_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((71_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)) } @@ -255,7 +255,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (28_479_000 as Weight) + (27_483_000 as Weight) // Standard Error: 2_000 .saturating_add((168_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -264,18 +264,18 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32, ) -> Weight { - (16_759_000 as Weight) + (16_526_000 as Weight) // Standard Error: 2_000 - .saturating_add((167_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((166_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 { - (16_361_000 as Weight) + (16_728_000 as Weight) // Standard Error: 2_000 - .saturating_add((194_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((167_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/litmus/src/weights/pallet_drop3.rs b/runtime/litmus/src/weights/pallet_drop3.rs index f7ec463bae..996da24b41 100644 --- a/runtime/litmus/src/weights/pallet_drop3.rs +++ b/runtime/litmus/src/weights/pallet_drop3.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_drop3` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -48,14 +48,14 @@ pub struct WeightInfo(PhantomData); impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 Admin (r:1 w:1) fn set_admin() -> Weight { - (13_327_000 as Weight) + (13_445_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 Admin (r:1 w:0) // Storage: Drop3 RewardPools (r:1 w:1) fn approve_reward_pool() -> Weight { - (21_133_000 as Weight) + (21_084_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -64,21 +64,21 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn reject_reward_pool() -> Weight { - (60_249_000 as Weight) + (60_699_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn start_reward_pool() -> Weight { - (21_247_000 as Weight) + (21_197_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn stop_reward_pool() -> Weight { - (22_643_000 as Weight) + (22_249_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -87,7 +87,7 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn close_reward_pool() -> Weight { - (40_009_000 as Weight) + (39_700_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -95,15 +95,17 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 CurrentMaxPoolId (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) // Storage: Drop3 RewardPools (r:0 w:1) - fn propose_reward_pool(_n: u32, ) -> Weight { - (33_880_000 as Weight) + fn propose_reward_pool(n: u32, ) -> Weight { + (34_068_000 as Weight) + // Standard Error: 2_000 + .saturating_add((5_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: System Account (r:2 w:2) fn send_reward() -> Weight { - (41_080_000 as Weight) + (40_356_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/litmus/src/weights/pallet_extrinsic_filter.rs b/runtime/litmus/src/weights/pallet_extrinsic_filter.rs index 83aad6cda3..485dfb0b08 100644 --- a/runtime/litmus/src/weights/pallet_extrinsic_filter.rs +++ b/runtime/litmus/src/weights/pallet_extrinsic_filter.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_extrinsic_filter` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -46,26 +46,24 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_extrinsic_filter`. pub struct WeightInfo(PhantomData); impl pallet_extrinsic_filter::WeightInfo for WeightInfo { - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn block_extrinsics(p: u32, f: u32, ) -> Weight { - (21_435_000 as Weight) + (19_627_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(f 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().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn unblock_extrinsics(p: u32, f: u32, ) -> Weight { - (22_083_000 as Weight) + (20_894_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((8_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 - .saturating_add((10_000 as Weight).saturating_mul(f as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add((9_000 as Weight).saturating_mul(f as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/litmus/src/weights/pallet_membership.rs b/runtime/litmus/src/weights/pallet_membership.rs index 047aac5250..338b787be0 100644 --- a/runtime/litmus/src/weights/pallet_membership.rs +++ b/runtime/litmus/src/weights/pallet_membership.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -51,9 +51,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (18_946_000 as Weight) + (19_114_000 as Weight) // Standard Error: 0 - .saturating_add((68_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((73_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)) } @@ -63,9 +63,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (22_262_000 as Weight) + (22_991_000 as Weight) // Standard Error: 0 - .saturating_add((63_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((66_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)) } @@ -75,9 +75,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (21_984_000 as Weight) + (23_153_000 as Weight) // Standard Error: 0 - .saturating_add((87_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((81_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)) } @@ -87,9 +87,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (21_540_000 as Weight) + (22_824_000 as Weight) // Standard Error: 0 - .saturating_add((234_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((236_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)) } @@ -99,9 +99,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (22_897_000 as Weight) - // Standard Error: 1_000 - .saturating_add((92_000 as Weight).saturating_mul(m as Weight)) + (24_237_000 as Weight) + // Standard Error: 0 + .saturating_add((77_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)) } @@ -109,18 +109,18 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (6_046_000 as Weight) + (6_330_000 as Weight) // Standard Error: 0 - .saturating_add((42_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((44_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 { - (2_100_000 as Weight) + (2_176_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/litmus/src/weights/pallet_multisig.rs b/runtime/litmus/src/weights/pallet_multisig.rs index dc0184d725..dbdba95ce6 100644 --- a/runtime/litmus/src/weights/pallet_multisig.rs +++ b/runtime/litmus/src/weights/pallet_multisig.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -46,20 +46,17 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_threshold_1(z: u32, ) -> Weight { - (26_302_000 as Weight) + (17_116_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) - .saturating_add(T::DbWeight::get().reads(3 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 { - (42_780_000 as Weight) - // Standard Error: 1_000 - .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) + (41_060_000 as Weight) + // Standard Error: 0 + .saturating_add((154_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)) @@ -69,19 +66,19 @@ impl pallet_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 { - (48_161_000 as Weight) - // Standard Error: 1_000 - .saturating_add((106_000 as Weight).saturating_mul(s as Weight)) + (49_063_000 as Weight) + // Standard Error: 2_000 + .saturating_add((122_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (30_960_000 as Weight) + (26_807_000 as Weight) // Standard Error: 1_000 - .saturating_add((106_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((114_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)) @@ -90,9 +87,9 @@ impl pallet_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 { - (47_541_000 as Weight) + (46_161_000 as Weight) // Standard Error: 2_000 - .saturating_add((118_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((125_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)) @@ -101,53 +98,49 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (62_853_000 as Weight) - // Standard Error: 1_000 - .saturating_add((226_000 as Weight).saturating_mul(s as Weight)) + (54_843_000 as Weight) + // Standard Error: 2_000 + .saturating_add((199_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(6 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: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (39_853_000 as Weight) + (37_451_000 as Weight) // Standard Error: 1_000 - .saturating_add((147_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((156_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 { - (25_067_000 as Weight) - // Standard Error: 1_000 - .saturating_add((130_000 as Weight).saturating_mul(s as Weight)) + (24_539_000 as Weight) + // Standard Error: 2_000 + .saturating_add((118_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: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn approve_as_multi_complete(s: u32, ) -> Weight { - (91_279_000 as Weight) - // Standard Error: 1_000 - .saturating_add((257_000 as Weight).saturating_mul(s as Weight)) - .saturating_add(T::DbWeight::get().reads(6 as Weight)) + (85_482_000 as Weight) + // Standard Error: 2_000 + .saturating_add((230_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 { - (65_111_000 as Weight) - // Standard Error: 1_000 - .saturating_add((171_000 as Weight).saturating_mul(s as Weight)) + (64_442_000 as Weight) + // Standard Error: 2_000 + .saturating_add((162_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/litmus/src/weights/pallet_preimage.rs b/runtime/litmus/src/weights/pallet_preimage.rs index 047f34cad0..6146a0e7b1 100644 --- a/runtime/litmus/src/weights/pallet_preimage.rs +++ b/runtime/litmus/src/weights/pallet_preimage.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -76,58 +76,58 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (65_839_000 as Weight) + (61_249_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (46_055_000 as Weight) + (38_262_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (62_958_000 as Weight) + (55_653_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (44_635_000 as Weight) + (37_135_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (27_601_000 as Weight) + (21_104_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (8_821_000 as Weight) + (7_951_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (45_488_000 as Weight) + (38_859_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (27_911_000 as Weight) + (22_310_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (8_536_000 as Weight) + (7_398_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/litmus/src/weights/pallet_proxy.rs b/runtime/litmus/src/weights/pallet_proxy.rs index 89850ea37c..69de88e265 100644 --- a/runtime/litmus/src/weights/pallet_proxy.rs +++ b/runtime/litmus/src/weights/pallet_proxy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -47,98 +47,96 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn proxy(p: u32, ) -> Weight { - (24_946_000 as Weight) + (17_201_000 as Weight) // Standard Error: 1_000 - .saturating_add((119_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add((107_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn proxy_announced(a: u32, p: u32, ) -> Weight { - (48_098_000 as Weight) - // Standard Error: 5_000 - .saturating_add((290_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 5_000 - .saturating_add((93_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(6 as Weight)) + (39_038_000 as Weight) + // Standard Error: 1_000 + .saturating_add((270_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((117_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32, ) -> Weight { - (27_286_000 as Weight) + (27_095_000 as Weight) // Standard Error: 1_000 - .saturating_add((264_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((271_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((13_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((19_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)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, p: u32, ) -> Weight { - (26_166_000 as Weight) - // Standard Error: 2_000 - .saturating_add((289_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((41_000 as Weight).saturating_mul(p as Weight)) + (27_147_000 as Weight) + // Standard Error: 1_000 + .saturating_add((274_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((17_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)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn announce(_a: u32, p: u32, ) -> Weight { - (46_093_000 as Weight) - // Standard Error: 28_000 - .saturating_add((61_000 as Weight).saturating_mul(p as Weight)) + fn announce(a: u32, p: u32, ) -> Weight { + (37_706_000 as Weight) + // Standard Error: 2_000 + .saturating_add((236_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 3_000 + .saturating_add((118_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32, ) -> Weight { - (32_279_000 as Weight) - // Standard Error: 6_000 - .saturating_add((123_000 as Weight).saturating_mul(p as Weight)) + (30_673_000 as Weight) + // Standard Error: 1_000 + .saturating_add((169_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32, ) -> Weight { - (31_185_000 as Weight) - // Standard Error: 3_000 - .saturating_add((189_000 as Weight).saturating_mul(p as Weight)) + (30_456_000 as Weight) + // Standard Error: 1_000 + .saturating_add((182_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxies(p: u32, ) -> Weight { - (27_825_000 as Weight) - // Standard Error: 9_000 - .saturating_add((21_000 as Weight).saturating_mul(p as Weight)) + (25_222_000 as Weight) + // Standard Error: 1_000 + .saturating_add((122_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32, ) -> Weight { - (34_646_000 as Weight) + (34_375_000 as Weight) // Standard Error: 1_000 - .saturating_add((54_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((59_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)) } // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32, ) -> Weight { - (26_556_000 as Weight) - // Standard Error: 2_000 - .saturating_add((125_000 as Weight).saturating_mul(p as Weight)) + (25_814_000 as Weight) + // Standard Error: 31_000 + .saturating_add((221_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/litmus/src/weights/pallet_scheduler.rs b/runtime/litmus/src/weights/pallet_scheduler.rs index f5df64430f..dd3b9023a4 100644 --- a/runtime/litmus/src/weights/pallet_scheduler.rs +++ b/runtime/litmus/src/weights/pallet_scheduler.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -51,9 +51,9 @@ impl pallet_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_453_000 as Weight) - // Standard Error: 15_000 - .saturating_add((29_717_000 as Weight).saturating_mul(s as Weight)) + (10_558_000 as Weight) + // Standard Error: 18_000 + .saturating_add((29_208_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)) @@ -64,9 +64,9 @@ impl pallet_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 { - (44_810_000 as Weight) - // Standard Error: 111_000 - .saturating_add((22_514_000 as Weight).saturating_mul(s as Weight)) + (8_826_000 as Weight) + // Standard Error: 14_000 + .saturating_add((22_909_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)) @@ -76,9 +76,9 @@ impl pallet_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 { - (9_494_000 as Weight) - // Standard Error: 18_000 - .saturating_add((25_789_000 as Weight).saturating_mul(s as Weight)) + (10_668_000 as Weight) + // Standard Error: 33_000 + .saturating_add((25_393_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)) @@ -88,9 +88,9 @@ impl pallet_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 { - (7_745_000 as Weight) + (7_836_000 as Weight) // Standard Error: 14_000 - .saturating_add((21_689_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((21_361_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)) @@ -100,9 +100,9 @@ impl pallet_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 { - (5_125_000 as Weight) - // Standard Error: 7_000 - .saturating_add((5_626_000 as Weight).saturating_mul(s as Weight)) + (5_506_000 as Weight) + // Standard Error: 6_000 + .saturating_add((5_440_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)) @@ -111,9 +111,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (5_349_000 as Weight) + (5_252_000 as Weight) // Standard Error: 5_000 - .saturating_add((4_317_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((4_210_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)) @@ -121,9 +121,9 @@ impl pallet_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 { - (13_864_000 as Weight) - // Standard Error: 13_000 - .saturating_add((15_039_000 as Weight).saturating_mul(s as Weight)) + (15_278_000 as Weight) + // Standard Error: 7_000 + .saturating_add((14_640_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)) @@ -131,9 +131,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (13_036_000 as Weight) - // Standard Error: 6_000 - .saturating_add((11_340_000 as Weight).saturating_mul(s as Weight)) + (12_743_000 as Weight) + // Standard Error: 4_000 + .saturating_add((11_135_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)) @@ -142,53 +142,53 @@ impl pallet_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 { - (7_341_000 as Weight) - // Standard Error: 103_000 - .saturating_add((9_301_000 as Weight).saturating_mul(s as Weight)) + (14_424_000 as Weight) + // Standard Error: 5_000 + .saturating_add((8_690_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 { - (13_900_000 as Weight) - // Standard Error: 5_000 - .saturating_add((7_289_000 as Weight).saturating_mul(s as Weight)) + (13_939_000 as Weight) + // Standard Error: 4_000 + .saturating_add((7_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)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32, ) -> Weight { - (19_440_000 as Weight) + (18_845_000 as Weight) // Standard Error: 1_000 - .saturating_add((124_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((130_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 { - (19_640_000 as Weight) + (18_976_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_312_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_271_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 { - (23_267_000 as Weight) - // Standard Error: 2_000 - .saturating_add((156_000 as Weight).saturating_mul(s as Weight)) + (22_708_000 as Weight) + // Standard Error: 1_000 + .saturating_add((149_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 { - (22_100_000 as Weight) + (21_338_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_319_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_290_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/litmus/src/weights/pallet_session.rs b/runtime/litmus/src/weights/pallet_session.rs index d36dfaed31..00c3286d36 100644 --- a/runtime/litmus/src/weights/pallet_session.rs +++ b/runtime/litmus/src/weights/pallet_session.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -49,14 +49,14 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (17_077_000 as Weight) + (17_028_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 { - (13_229_000 as Weight) + (12_769_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/litmus/src/weights/pallet_sidechain.rs b/runtime/litmus/src/weights/pallet_sidechain.rs index 42e738d60f..cdd9d09fc4 100644 --- a/runtime/litmus/src/weights/pallet_sidechain.rs +++ b/runtime/litmus/src/weights/pallet_sidechain.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_sidechain` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -52,7 +52,7 @@ impl pallet_sidechain::WeightInfo for WeightInfo { // Storage: Sidechain SidechainHeaderQueue (r:1 w:0) // Storage: Sidechain WorkerForShard (r:0 w:1) fn confirm_proposed_sidechain_block() -> Weight { - (34_018_000 as Weight) + (32_430_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/litmus/src/weights/pallet_teerex.rs b/runtime/litmus/src/weights/pallet_teerex.rs index 747f6efcdf..253e456b31 100644 --- a/runtime/litmus/src/weights/pallet_teerex.rs +++ b/runtime/litmus/src/weights/pallet_teerex.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_teerex` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -51,7 +51,7 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Storage: Teerex EnclaveIndex (r:1 w:0) // Storage: Teerex EnclaveRegistry (r:0 w:1) fn register_enclave() -> Weight { - (2_001_537_000 as Weight) + (2_007_332_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -59,16 +59,16 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Storage: Teerex EnclaveCount (r:1 w:1) // Storage: Teerex EnclaveRegistry (r:1 w:2) fn unregister_enclave() -> Weight { - (31_792_000 as Weight) + (30_553_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } fn call_worker() -> Weight { - (14_113_000 as Weight) + (12_347_000 as Weight) } // Storage: Teerex EnclaveIndex (r:1 w:0) fn confirm_processed_parentchain_block() -> Weight { - (15_513_000 as Weight) + (14_795_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } } diff --git a/runtime/litmus/src/weights/pallet_timestamp.rs b/runtime/litmus/src/weights/pallet_timestamp.rs index 56ffc473b2..d8fd88a61a 100644 --- a/runtime/litmus/src/weights/pallet_timestamp.rs +++ b/runtime/litmus/src/weights/pallet_timestamp.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -49,11 +49,11 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Teerex EnclaveRegistry (r:1 w:0) fn set() -> Weight { - (9_834_000 as Weight) + (9_225_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 { - (3_382_000 as Weight) + (3_428_000 as Weight) } } diff --git a/runtime/litmus/src/weights/pallet_treasury.rs b/runtime/litmus/src/weights/pallet_treasury.rs index f1bedbf59f..e471ff6f58 100644 --- a/runtime/litmus/src/weights/pallet_treasury.rs +++ b/runtime/litmus/src/weights/pallet_treasury.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -49,29 +49,29 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (29_825_000 as Weight) + (30_326_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:1 w:1) fn reject_proposal() -> Weight { - (34_405_000 as Weight) + (35_120_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (10_347_000 as Weight) - // Standard Error: 0 - .saturating_add((140_000 as Weight).saturating_mul(p as Weight)) + (10_711_000 as Weight) + // Standard Error: 1_000 + .saturating_add((153_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)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - (5_484_000 as Weight) + (5_752_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -79,9 +79,9 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:5 w:5) fn on_initialize_proposals(p: u32, ) -> Weight { - (18_580_000 as Weight) - // Standard Error: 22_000 - .saturating_add((41_898_000 as Weight).saturating_mul(p as Weight)) + (20_150_000 as Weight) + // Standard Error: 30_000 + .saturating_add((42_801_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/litmus/src/weights/pallet_utility.rs b/runtime/litmus/src/weights/pallet_utility.rs index 2693c36d23..0c97be9051 100644 --- a/runtime/litmus/src/weights/pallet_utility.rs +++ b/runtime/litmus/src/weights/pallet_utility.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-28, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: @@ -46,39 +46,25 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch(c: u32, ) -> Weight { - (25_972_000 as Weight) - // Standard Error: 2_000 - .saturating_add((6_421_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (23_802_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_091_000 as Weight).saturating_mul(c as Weight)) } - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_derivative() -> Weight { - (8_621_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + (2_275_000 as Weight) } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch_all(c: u32, ) -> Weight { - (29_777_000 as Weight) - // Standard Error: 1_000 - .saturating_add((6_791_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (94_547_000 as Weight) + // Standard Error: 62_000 + .saturating_add((4_494_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (11_659_000 as Weight) + (11_371_000 as Weight) } - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn force_batch(c: u32, ) -> Weight { - (21_917_000 as Weight) - // Standard Error: 17_000 - .saturating_add((6_519_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (20_927_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_116_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs index 057c04a50b..ff73cf8106 100644 --- a/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -48,13 +48,13 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - (4_741_000 as Weight) + (3_861_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - (4_697_000 as Weight) + (3_820_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/rococo/src/weights/frame_system.rs b/runtime/rococo/src/weights/frame_system.rs index 7c5f50fbeb..932d2c7166 100644 --- a/runtime/rococo/src/weights/frame_system.rs +++ b/runtime/rococo/src/weights/frame_system.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -59,7 +59,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 { - (3_175_000 as Weight) + (3_373_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -67,21 +67,21 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((622_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((623_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_070_000 as Weight) + (0 as Weight) // Standard Error: 1_000 - .saturating_add((445_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((447_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_089_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 1_000 + .saturating_add((1_048_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/rococo/src/weights/pallet_balances.rs b/runtime/rococo/src/weights/pallet_balances.rs index 5f752f6b63..fa3a000023 100644 --- a/runtime/rococo/src/weights/pallet_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -48,43 +48,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (52_716_000 as Weight) + (49_713_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 transfer_keep_alive() -> Weight { - (38_680_000 as Weight) + (37_306_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 { - (23_831_000 as Weight) + (22_494_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 { - (28_403_000 as Weight) + (26_735_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:2 w:2) fn force_transfer() -> Weight { - (52_292_000 as Weight) + (49_038_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_all() -> Weight { - (46_730_000 as Weight) + (43_760_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 { - (21_324_000 as Weight) + (19_402_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/rococo/src/weights/pallet_collator_selection.rs b/runtime/rococo/src/weights/pallet_collator_selection.rs index f714225414..c8c0b5f80b 100644 --- a/runtime/rococo/src/weights/pallet_collator_selection.rs +++ b/runtime/rococo/src/weights/pallet_collator_selection.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -49,20 +49,20 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (11_305_000 as Weight) - // Standard Error: 5_000 - .saturating_add((4_644_000 as Weight).saturating_mul(b as Weight)) + (9_841_000 as Weight) + // Standard Error: 8_000 + .saturating_add((4_621_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 { - (13_036_000 as Weight) + (12_666_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (11_177_000 as Weight) + (12_082_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -72,18 +72,18 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection CandidacyBond (r:1 w:0) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (52_483_000 as Weight) - // Standard Error: 1_000 - .saturating_add((446_000 as Weight).saturating_mul(c as Weight)) + (57_521_000 as Weight) + // Standard Error: 6_000 + .saturating_add((265_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 { - (38_437_000 as Weight) + (39_580_000 as Weight) // Standard Error: 6_000 - .saturating_add((320_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((309_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)) } @@ -91,7 +91,7 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (44_116_000 as Weight) + (45_658_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -102,10 +102,10 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 737_000 - .saturating_add((6_258_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 737_000 - .saturating_add((25_068_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 751_000 + .saturating_add((5_908_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 751_000 + .saturating_add((25_204_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/rococo/src/weights/pallet_collective.rs b/runtime/rococo/src/weights/pallet_collective.rs index 2eedc52415..5c38683e8b 100644 --- a/runtime/rococo/src/weights/pallet_collective.rs +++ b/runtime/rococo/src/weights/pallet_collective.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -50,41 +50,35 @@ impl pallet_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: 18_000 - .saturating_add((17_146_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 18_000 - .saturating_add((59_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 18_000 - .saturating_add((20_953_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 14_000 + .saturating_add((17_979_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 14_000 + .saturating_add((21_733_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)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } // Storage: Council Members (r:1 w:0) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (20_918_000 as Weight) + (15_573_000 as Weight) // Standard Error: 0 - .saturating_add((5_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((59_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((52_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) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (27_170_000 as Weight) + (19_285_000 as Weight) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((87_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((89_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:1) @@ -92,22 +86,22 @@ impl pallet_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 { - (13_266_000 as Weight) + (24_655_000 as Weight) // Standard Error: 0 - .saturating_add((16_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((87_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 3_000 - .saturating_add((331_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((8_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 2_000 + .saturating_add((64_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((271_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 { - (38_573_000 as Weight) - // Standard Error: 4_000 - .saturating_add((111_000 as Weight).saturating_mul(m as Weight)) + (36_168_000 as Weight) + // Standard Error: 3_000 + .saturating_add((154_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)) } @@ -116,29 +110,27 @@ impl pallet_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 { - (35_516_000 as Weight) + (35_995_000 as Weight) // Standard Error: 3_000 - .saturating_add((70_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((77_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((190_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)) } // Storage: Council Voting (r:1 w:1) // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (32_565_000 as Weight) + (35_653_000 as Weight) // Standard Error: 0 - .saturating_add((16_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((129_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 3_000 - .saturating_add((353_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add((8_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 2_000 + .saturating_add((113_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((279_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)) } // Storage: Council Voting (r:1 w:1) @@ -147,11 +139,11 @@ impl pallet_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 { - (38_726_000 as Weight) - // Standard Error: 4_000 - .saturating_add((101_000 as Weight).saturating_mul(m as Weight)) + (38_759_000 as Weight) // Standard Error: 3_000 - .saturating_add((195_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((81_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((190_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)) } @@ -159,27 +151,25 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Members (r:1 w:0) // Storage: Council Prime (r:1 w:0) // Storage: Council ProposalOf (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (42_634_000 as Weight) + (32_853_000 as Weight) // Standard Error: 0 - .saturating_add((14_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((107_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 2_000 + .saturating_add((134_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((348_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) + .saturating_add((293_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)) } // Storage: Council Proposals (r:1 w:1) // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (21_441_000 as Weight) - // Standard Error: 4_000 - .saturating_add((256_000 as Weight).saturating_mul(p as Weight)) + (20_031_000 as Weight) + // Standard Error: 2_000 + .saturating_add((242_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/rococo/src/weights/pallet_democracy.rs b/runtime/rococo/src/weights/pallet_democracy.rs index 133efb6741..963dedd353 100644 --- a/runtime/rococo/src/weights/pallet_democracy.rs +++ b/runtime/rococo/src/weights/pallet_democracy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -51,15 +51,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (61_682_000 as Weight) + (62_775_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 { - (35_961_000 as Weight) + (35_511_000 as Weight) // Standard Error: 1_000 - .saturating_add((181_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((182_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)) } @@ -67,9 +67,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (46_474_000 as Weight) + (45_695_000 as Weight) // Standard Error: 1_000 - .saturating_add((265_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((241_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)) } @@ -77,16 +77,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (45_336_000 as Weight) - // Standard Error: 4_000 - .saturating_add((310_000 as Weight).saturating_mul(r as Weight)) + (45_933_000 as Weight) + // Standard Error: 2_000 + .saturating_add((213_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 { - (20_448_000 as Weight) + (19_877_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -97,45 +97,45 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32, ) -> Weight { - (68_522_000 as Weight) - // Standard Error: 12_000 - .saturating_add((383_000 as Weight).saturating_mul(p as Weight)) + (65_445_000 as Weight) + // Standard Error: 11_000 + .saturating_add((401_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 { - (10_231_000 as Weight) + (9_682_000 as Weight) // Standard Error: 0 - .saturating_add((40_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((45_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 { - (1_761_000 as Weight) + (1_485_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (1_942_000 as Weight) + (1_658_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 { - (20_955_000 as Weight) + (20_482_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 { - (23_248_000 as Weight) - // Standard Error: 2_000 - .saturating_add((62_000 as Weight).saturating_mul(v as Weight)) + (21_546_000 as Weight) + // Standard Error: 0 + .saturating_add((75_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)) } @@ -143,23 +143,23 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32, ) -> Weight { - (53_081_000 as Weight) - // Standard Error: 5_000 - .saturating_add((317_000 as Weight).saturating_mul(p as Weight)) + (50_798_000 as Weight) + // Standard Error: 3_000 + .saturating_add((321_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 { - (12_257_000 as Weight) + (12_356_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 { - (28_492_000 as Weight) + (26_379_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_480_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_284_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)) } @@ -167,9 +167,9 @@ impl pallet_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 { - (3_017_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_444_000 as Weight).saturating_mul(r as Weight)) + (2_520_000 as Weight) + // Standard Error: 6_000 + .saturating_add((4_485_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)) @@ -181,9 +181,9 @@ impl pallet_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 { - (9_762_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_434_000 as Weight).saturating_mul(r as Weight)) + (9_897_000 as Weight) + // Standard Error: 6_000 + .saturating_add((4_475_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)) @@ -192,9 +192,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (50_662_000 as Weight) - // Standard Error: 12_000 - .saturating_add((5_697_000 as Weight).saturating_mul(r as Weight)) + (46_303_000 as Weight) + // Standard Error: 8_000 + .saturating_add((5_731_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)) @@ -203,9 +203,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (9_043_000 as Weight) - // Standard Error: 40_000 - .saturating_add((6_224_000 as Weight).saturating_mul(r as Weight)) + (20_827_000 as Weight) + // Standard Error: 6_000 + .saturating_add((5_788_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)) @@ -213,12 +213,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (2_279_000 as Weight) + (2_167_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 { - (30_047_000 as Weight) + (29_414_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)) @@ -226,7 +226,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (21_789_000 as Weight) + (20_555_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)) @@ -235,9 +235,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (31_901_000 as Weight) + (29_950_000 as Weight) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -245,9 +245,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (29_947_000 as Weight) + (29_004_000 as Weight) // Standard Error: 2_000 - .saturating_add((81_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((76_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)) } @@ -255,16 +255,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (29_457_000 as Weight) + (27_918_000 as Weight) // Standard Error: 2_000 - .saturating_add((166_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((173_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 { - (17_117_000 as Weight) + (15_967_000 as Weight) // Standard Error: 2_000 .saturating_add((166_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -273,9 +273,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32, ) -> Weight { - (17_049_000 as Weight) - // Standard Error: 2_000 - .saturating_add((178_000 as Weight).saturating_mul(r as Weight)) + (16_451_000 as Weight) + // Standard Error: 3_000 + .saturating_add((163_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/rococo/src/weights/pallet_drop3.rs b/runtime/rococo/src/weights/pallet_drop3.rs index 6ad7e57cea..0f8bf15c49 100644 --- a/runtime/rococo/src/weights/pallet_drop3.rs +++ b/runtime/rococo/src/weights/pallet_drop3.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_drop3` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -48,14 +48,14 @@ pub struct WeightInfo(PhantomData); impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 Admin (r:1 w:1) fn set_admin() -> Weight { - (13_828_000 as Weight) + (13_410_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 Admin (r:1 w:0) // Storage: Drop3 RewardPools (r:1 w:1) fn approve_reward_pool() -> Weight { - (21_739_000 as Weight) + (21_220_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -64,21 +64,21 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn reject_reward_pool() -> Weight { - (62_340_000 as Weight) + (62_101_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn start_reward_pool() -> Weight { - (21_352_000 as Weight) + (21_098_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn stop_reward_pool() -> Weight { - (22_506_000 as Weight) + (21_886_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -87,7 +87,7 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn close_reward_pool() -> Weight { - (40_951_000 as Weight) + (39_811_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -95,15 +95,17 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 CurrentMaxPoolId (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) // Storage: Drop3 RewardPools (r:0 w:1) - fn propose_reward_pool(_n: u32, ) -> Weight { - (35_186_000 as Weight) + fn propose_reward_pool(n: u32, ) -> Weight { + (34_313_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: System Account (r:2 w:2) fn send_reward() -> Weight { - (42_093_000 as Weight) + (41_196_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_extrinsic_filter.rs b/runtime/rococo/src/weights/pallet_extrinsic_filter.rs index b329998210..5091fb5bbe 100644 --- a/runtime/rococo/src/weights/pallet_extrinsic_filter.rs +++ b/runtime/rococo/src/weights/pallet_extrinsic_filter.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_extrinsic_filter` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -46,26 +46,24 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_extrinsic_filter`. pub struct WeightInfo(PhantomData); impl pallet_extrinsic_filter::WeightInfo for WeightInfo { - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn block_extrinsics(p: u32, f: u32, ) -> Weight { - (19_526_000 as Weight) + (19_522_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(f 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().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn unblock_extrinsics(p: u32, f: u32, ) -> Weight { - (20_049_000 as Weight) + (20_624_000 as Weight) // Standard Error: 0 - .saturating_add((11_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((9_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 - .saturating_add((10_000 as Weight).saturating_mul(f as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add((9_000 as Weight).saturating_mul(f as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/rococo/src/weights/pallet_membership.rs b/runtime/rococo/src/weights/pallet_membership.rs index f46f77a63c..0c6ff87f85 100644 --- a/runtime/rococo/src/weights/pallet_membership.rs +++ b/runtime/rococo/src/weights/pallet_membership.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -51,9 +51,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (18_823_000 as Weight) + (19_180_000 as Weight) // Standard Error: 0 - .saturating_add((71_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((69_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)) } @@ -63,9 +63,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (21_933_000 as Weight) + (22_730_000 as Weight) // Standard Error: 0 - .saturating_add((67_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((70_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)) } @@ -75,9 +75,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (22_041_000 as Weight) + (22_945_000 as Weight) // Standard Error: 0 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((85_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)) } @@ -87,9 +87,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (21_606_000 as Weight) - // Standard Error: 1_000 - .saturating_add((262_000 as Weight).saturating_mul(m as Weight)) + (22_506_000 as Weight) + // Standard Error: 0 + .saturating_add((231_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)) } @@ -99,8 +99,8 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (24_038_000 as Weight) - // Standard Error: 1_000 + (23_927_000 as Weight) + // Standard Error: 0 .saturating_add((78_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)) @@ -109,16 +109,16 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (6_229_000 as Weight) + (6_302_000 as Weight) // Standard Error: 0 - .saturating_add((38_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((46_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 { - (2_119_000 as Weight) + (2_197_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/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index 8d5208b998..47db679e3e 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -46,20 +46,17 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_threshold_1(z: u32, ) -> Weight { - (26_452_000 as Weight) + (17_096_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) - .saturating_add(T::DbWeight::get().reads(3 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 { - (39_739_000 as Weight) + (44_021_000 as Weight) // Standard Error: 1_000 - .saturating_add((167_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((122_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)) @@ -69,19 +66,19 @@ impl pallet_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 { - (40_112_000 as Weight) - // Standard Error: 5_000 - .saturating_add((172_000 as Weight).saturating_mul(s as Weight)) + (49_920_000 as Weight) + // Standard Error: 3_000 + .saturating_add((102_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (27_269_000 as Weight) - // Standard Error: 1_000 - .saturating_add((137_000 as Weight).saturating_mul(s as Weight)) + (27_921_000 as Weight) + // Standard Error: 2_000 + .saturating_add((101_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)) @@ -90,9 +87,9 @@ impl pallet_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 { - (46_115_000 as Weight) - // Standard Error: 3_000 - .saturating_add((124_000 as Weight).saturating_mul(s as Weight)) + (44_578_000 as Weight) + // Standard Error: 2_000 + .saturating_add((127_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)) @@ -101,53 +98,49 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (65_022_000 as Weight) - // Standard Error: 3_000 - .saturating_add((212_000 as Weight).saturating_mul(s as Weight)) + (61_333_000 as Weight) + // Standard Error: 4_000 + .saturating_add((132_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(6 as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z 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: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (37_700_000 as Weight) - // Standard Error: 3_000 - .saturating_add((178_000 as Weight).saturating_mul(s as Weight)) + (38_083_000 as Weight) + // Standard Error: 1_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)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32, ) -> Weight { - (23_984_000 as Weight) - // Standard Error: 3_000 - .saturating_add((141_000 as Weight).saturating_mul(s as Weight)) + (23_692_000 as Weight) + // Standard Error: 1_000 + .saturating_add((131_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: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn approve_as_multi_complete(s: u32, ) -> Weight { - (90_883_000 as Weight) + (84_794_000 as Weight) // Standard Error: 1_000 - .saturating_add((267_000 as Weight).saturating_mul(s as Weight)) - .saturating_add(T::DbWeight::get().reads(6 as Weight)) + .saturating_add((240_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 { - (65_553_000 as Weight) - // Standard Error: 3_000 - .saturating_add((164_000 as Weight).saturating_mul(s as Weight)) + (65_067_000 as Weight) + // Standard Error: 1_000 + .saturating_add((159_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/rococo/src/weights/pallet_preimage.rs b/runtime/rococo/src/weights/pallet_preimage.rs index 379381204c..2f31e2f912 100644 --- a/runtime/rococo/src/weights/pallet_preimage.rs +++ b/runtime/rococo/src/weights/pallet_preimage.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -76,58 +76,58 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (72_644_000 as Weight) + (65_287_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (49_828_000 as Weight) + (44_987_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (66_795_000 as Weight) + (61_613_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (48_239_000 as Weight) + (44_399_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (31_281_000 as Weight) + (24_870_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (9_633_000 as Weight) + (9_081_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (48_368_000 as Weight) + (44_068_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (28_957_000 as Weight) + (26_153_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (9_060_000 as Weight) + (7_723_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/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index daddc97a6f..b72d289e3d 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -47,98 +47,96 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn proxy(p: u32, ) -> Weight { - (24_787_000 as Weight) + (17_090_000 as Weight) // Standard Error: 1_000 - .saturating_add((114_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn proxy_announced(a: u32, p: u32, ) -> Weight { - (47_152_000 as Weight) - // Standard Error: 5_000 - .saturating_add((343_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 5_000 - .saturating_add((127_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(6 as Weight)) + (40_066_000 as Weight) + // Standard Error: 2_000 + .saturating_add((242_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 2_000 + .saturating_add((114_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32, ) -> Weight { - (28_906_000 as Weight) - // Standard Error: 3_000 - .saturating_add((226_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 3_000 - .saturating_add((9_000 as Weight).saturating_mul(p as Weight)) + (27_294_000 as Weight) + // Standard Error: 1_000 + .saturating_add((255_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 2_000 + .saturating_add((26_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)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, p: u32, ) -> Weight { - (29_412_000 as Weight) - // Standard Error: 3_000 - .saturating_add((209_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 4_000 - .saturating_add((10_000 as Weight).saturating_mul(p as Weight)) + (26_419_000 as Weight) + // Standard Error: 1_000 + .saturating_add((273_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((35_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)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn announce(a: u32, _p: u32, ) -> Weight { - (41_567_000 as Weight) - // Standard Error: 5_000 - .saturating_add((251_000 as Weight).saturating_mul(a as Weight)) + fn announce(a: u32, p: u32, ) -> Weight { + (37_846_000 as Weight) + // Standard Error: 1_000 + .saturating_add((235_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((104_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32, ) -> Weight { - (32_444_000 as Weight) - // Standard Error: 7_000 - .saturating_add((155_000 as Weight).saturating_mul(p as Weight)) + (30_275_000 as Weight) + // Standard Error: 3_000 + .saturating_add((201_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32, ) -> Weight { - (30_726_000 as Weight) + (30_707_000 as Weight) // Standard Error: 2_000 - .saturating_add((189_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((171_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxies(p: u32, ) -> Weight { - (25_151_000 as Weight) + (25_160_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((122_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32, ) -> Weight { - (34_552_000 as Weight) + (34_059_000 as Weight) // Standard Error: 1_000 - .saturating_add((56_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((55_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)) } // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32, ) -> Weight { - (25_220_000 as Weight) - // Standard Error: 5_000 - .saturating_add((263_000 as Weight).saturating_mul(p as Weight)) + (26_678_000 as Weight) + // Standard Error: 1_000 + .saturating_add((123_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_scheduler.rs b/runtime/rococo/src/weights/pallet_scheduler.rs index c4750abd45..c7a4f572e7 100644 --- a/runtime/rococo/src/weights/pallet_scheduler.rs +++ b/runtime/rococo/src/weights/pallet_scheduler.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -51,9 +51,9 @@ impl pallet_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 { - (12_022_000 as Weight) - // Standard Error: 28_000 - .saturating_add((30_148_000 as Weight).saturating_mul(s as Weight)) + (11_030_000 as Weight) + // Standard Error: 18_000 + .saturating_add((28_915_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)) @@ -64,9 +64,9 @@ impl pallet_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 { - (1_983_000 as Weight) - // Standard Error: 138_000 - .saturating_add((25_074_000 as Weight).saturating_mul(s as Weight)) + (9_150_000 as Weight) + // Standard Error: 14_000 + .saturating_add((22_783_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)) @@ -76,9 +76,9 @@ impl pallet_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 { - (8_403_000 as Weight) - // Standard Error: 17_000 - .saturating_add((26_399_000 as Weight).saturating_mul(s as Weight)) + (23_821_000 as Weight) + // Standard Error: 209_000 + .saturating_add((25_840_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)) @@ -88,9 +88,9 @@ impl pallet_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 { - (8_676_000 as Weight) - // Standard Error: 19_000 - .saturating_add((22_365_000 as Weight).saturating_mul(s as Weight)) + (6_383_000 as Weight) + // Standard Error: 17_000 + .saturating_add((21_333_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)) @@ -100,9 +100,9 @@ impl pallet_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 { - (5_573_000 as Weight) - // Standard Error: 10_000 - .saturating_add((5_977_000 as Weight).saturating_mul(s as Weight)) + (4_606_000 as Weight) + // Standard Error: 7_000 + .saturating_add((5_409_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)) @@ -111,9 +111,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (4_815_000 as Weight) + (5_101_000 as Weight) // Standard Error: 7_000 - .saturating_add((4_686_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((4_144_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)) @@ -121,9 +121,9 @@ impl pallet_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 { - (726_000 as Weight) - // Standard Error: 173_000 - .saturating_add((17_369_000 as Weight).saturating_mul(s as Weight)) + (17_173_000 as Weight) + // Standard Error: 18_000 + .saturating_add((14_534_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)) @@ -131,9 +131,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (12_791_000 as Weight) - // Standard Error: 234_000 - .saturating_add((13_172_000 as Weight).saturating_mul(s as Weight)) + (12_960_000 as Weight) + // Standard Error: 8_000 + .saturating_add((11_065_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)) @@ -142,53 +142,53 @@ impl pallet_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 { - (13_155_000 as Weight) - // Standard Error: 9_000 - .saturating_add((9_722_000 as Weight).saturating_mul(s as Weight)) + (13_645_000 as Weight) + // Standard Error: 6_000 + .saturating_add((8_638_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 { - (28_417_000 as Weight) - // Standard Error: 87_000 - .saturating_add((7_938_000 as Weight).saturating_mul(s as Weight)) + (13_255_000 as Weight) + // Standard Error: 6_000 + .saturating_add((7_133_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 { - (18_959_000 as Weight) + (18_720_000 as Weight) // Standard Error: 1_000 - .saturating_add((143_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((146_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 { - (19_027_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_549_000 as Weight).saturating_mul(s as Weight)) + (18_816_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_324_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 { - (23_356_000 as Weight) - // Standard Error: 3_000 - .saturating_add((167_000 as Weight).saturating_mul(s as Weight)) + (22_629_000 as Weight) + // Standard Error: 2_000 + .saturating_add((161_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 { - (20_766_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_611_000 as Weight).saturating_mul(s as Weight)) + (21_049_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_335_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/rococo/src/weights/pallet_session.rs b/runtime/rococo/src/weights/pallet_session.rs index 7dfe15187e..ae835da056 100644 --- a/runtime/rococo/src/weights/pallet_session.rs +++ b/runtime/rococo/src/weights/pallet_session.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -49,14 +49,14 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (18_244_000 as Weight) + (16_738_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 { - (14_237_000 as Weight) + (13_061_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/rococo/src/weights/pallet_sidechain.rs b/runtime/rococo/src/weights/pallet_sidechain.rs new file mode 100644 index 0000000000..f75fbbca9a --- /dev/null +++ b/runtime/rococo/src/weights/pallet_sidechain.rs @@ -0,0 +1,59 @@ +// Copyright 2020-2022 Litentry Technologies GmbH. +// This file is part of Litentry. +// +// Litentry is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Litentry is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Litentry. If not, see . + +//! Autogenerated weights for `pallet_sidechain` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 + +// Executed Command: +// ./litentry-collator +// benchmark +// pallet +// --chain=rococo-dev +// --execution=wasm +// --db-cache=20 +// --wasm-execution=compiled +// --pallet=pallet_sidechain +// --extrinsic=* +// --heap-pages=4096 +// --steps=20 +// --repeat=50 +// --header=./LICENSE_HEADER +// --output=./runtime/rococo/src/weights/pallet_sidechain.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_sidechain`. +pub struct WeightInfo(PhantomData); +impl pallet_sidechain::WeightInfo for WeightInfo { + // Storage: Teerex EnclaveIndex (r:1 w:0) + // Storage: Teerex EnclaveRegistry (r:1 w:0) + // Storage: Sidechain LatestSidechainHeader (r:1 w:1) + // Storage: Sidechain SidechainHeaderQueue (r:1 w:0) + // Storage: Sidechain WorkerForShard (r:0 w:1) + fn confirm_proposed_sidechain_block() -> Weight { + (33_044_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } +} diff --git a/runtime/rococo/src/weights/pallet_teerex.rs b/runtime/rococo/src/weights/pallet_teerex.rs new file mode 100644 index 0000000000..30461d5921 --- /dev/null +++ b/runtime/rococo/src/weights/pallet_teerex.rs @@ -0,0 +1,74 @@ +// Copyright 2020-2022 Litentry Technologies GmbH. +// This file is part of Litentry. +// +// Litentry is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Litentry is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Litentry. If not, see . + +//! Autogenerated weights for `pallet_teerex` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 + +// Executed Command: +// ./litentry-collator +// benchmark +// pallet +// --chain=rococo-dev +// --execution=wasm +// --db-cache=20 +// --wasm-execution=compiled +// --pallet=pallet_teerex +// --extrinsic=* +// --heap-pages=4096 +// --steps=20 +// --repeat=50 +// --header=./LICENSE_HEADER +// --output=./runtime/rococo/src/weights/pallet_teerex.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_teerex`. +pub struct WeightInfo(PhantomData); +impl pallet_teerex::WeightInfo for WeightInfo { + // Storage: Timestamp Now (r:1 w:0) + // Storage: Teerex AllowSGXDebugMode (r:1 w:0) + // Storage: Teerex EnclaveIndex (r:1 w:0) + // Storage: Teerex EnclaveRegistry (r:0 w:1) + fn register_enclave() -> Weight { + (2_000_175_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + // Storage: Teerex EnclaveIndex (r:1 w:2) + // Storage: Teerex EnclaveCount (r:1 w:1) + // Storage: Teerex EnclaveRegistry (r:1 w:2) + fn unregister_enclave() -> Weight { + (31_380_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) + } + fn call_worker() -> Weight { + (12_905_000 as Weight) + } + // Storage: Teerex EnclaveIndex (r:1 w:0) + fn confirm_processed_parentchain_block() -> Weight { + (15_259_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + } +} diff --git a/runtime/rococo/src/weights/pallet_timestamp.rs b/runtime/rococo/src/weights/pallet_timestamp.rs index 0f73ea252c..b842605e2f 100644 --- a/runtime/rococo/src/weights/pallet_timestamp.rs +++ b/runtime/rococo/src/weights/pallet_timestamp.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -47,12 +47,13 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) + // Storage: Teerex EnclaveRegistry (r:1 w:0) fn set() -> Weight { - (5_608_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) + (9_651_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 { - (3_316_000 as Weight) + (3_518_000 as Weight) } } diff --git a/runtime/rococo/src/weights/pallet_treasury.rs b/runtime/rococo/src/weights/pallet_treasury.rs index 52a739fe38..b95aad67e9 100644 --- a/runtime/rococo/src/weights/pallet_treasury.rs +++ b/runtime/rococo/src/weights/pallet_treasury.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -49,33 +49,39 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (29_744_000 as Weight) + (30_352_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:1 w:1) fn reject_proposal() -> Weight { - (34_628_000 as Weight) + (34_729_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (10_373_000 as Weight) - // Standard Error: 0 - .saturating_add((147_000 as Weight).saturating_mul(p as Weight)) + (11_013_000 as Weight) + // Standard Error: 1_000 + .saturating_add((152_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)) } + // Storage: Treasury Approvals (r:1 w:1) + fn remove_approval() -> Weight { + (5_874_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:0) // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:5 w:5) fn on_initialize_proposals(p: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 59_000 - .saturating_add((43_967_000 as Weight).saturating_mul(p as Weight)) + (19_572_000 as Weight) + // Standard Error: 93_000 + .saturating_add((42_458_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/rococo/src/weights/pallet_utility.rs b/runtime/rococo/src/weights/pallet_utility.rs index f95dca2964..9e837e004a 100644 --- a/runtime/rococo/src/weights/pallet_utility.rs +++ b/runtime/rococo/src/weights/pallet_utility.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-10, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-14, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: @@ -46,31 +46,25 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch(c: u32, ) -> Weight { - (16_412_000 as Weight) - // Standard Error: 2_000 - .saturating_add((6_787_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (12_670_000 as Weight) + // Standard Error: 0 + .saturating_add((4_072_000 as Weight).saturating_mul(c as Weight)) } - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_derivative() -> Weight { - (8_511_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + (2_257_000 as Weight) } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: ExtrinsicFilter Mode (r:1 w:0) - // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch_all(c: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 131_000 - .saturating_add((7_974_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (20_641_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_357_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (11_373_000 as Weight) + (11_028_000 as Weight) + } + fn force_batch(c: u32, ) -> Weight { + (13_629_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_063_000 as Weight).saturating_mul(c as Weight)) } } From a364a1a664bd138d7c04876fa9e1a27ed2273660 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Tue, 14 Jun 2022 23:56:00 +0200 Subject: [PATCH 11/17] small update of PR body --- .github/workflows/benchmark-runtime-weights.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark-runtime-weights.yml b/.github/workflows/benchmark-runtime-weights.yml index 8295ca4d88..e7c2da5b2e 100644 --- a/.github/workflows/benchmark-runtime-weights.yml +++ b/.github/workflows/benchmark-runtime-weights.yml @@ -73,11 +73,11 @@ jobs: delete-branch: true title: "[benchmarking bot] Update generated weights files" body: | - This is an automatically created PR, + This is an automatically created PR. It updates the weights files under `runtime/*/src/weights/*.rs` after running benchmarks on the remote machine: ${{ env.REMOTE_HOST }} Pallets: "${{ github.event.inputs.pallets }}" - Chain: "${{ github.event.inputs.chain }} (all = rococo,litmus,litentry" + Chain: "${{ github.event.inputs.chain }}" [all = rococo,litmus,litentry] Github action run: https://github.com/litentry/litentry-parachain/actions/runs/${{ github.run_id }} labels: | S1-pleasereview From 0885afa9ae13f0ce46667ed7d6ab42ddf60bb5eb Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Wed, 15 Jun 2022 11:22:01 +0200 Subject: [PATCH 12/17] activate xtokens filter for moonbase --- runtime/moonbase/src/lib.rs | 47 +++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 5d9a229f28..335c83fd83 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -144,7 +144,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // same versioning-mechanism as polkadot: // last digit is used for minor updates, like 9110 -> 9111 in polkadot - spec_version: 9070, + spec_version: 9075, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -238,7 +238,7 @@ impl frame_system::Config for Runtime { /// The weight of database operations that the runtime can invoke. type DbWeight = RocksDbWeight; /// The basic call filter to use in dispatchable. - type BaseCallFilter = ExtrinsicFilter; + type BaseCallFilter = BaseCallFilter; /// Weight information for the extrinsics of this pallet. type SystemWeightInfo = weights::frame_system::WeightInfo; /// Block & extrinsics weights: base values and limits. @@ -830,17 +830,29 @@ construct_runtime! { } } -pub struct SafeModeFilter; -impl Contains for SafeModeFilter { +pub struct BaseCallFilter; +impl Contains for BaseCallFilter { fn contains(call: &Call) -> bool { - matches!( + if matches!( call, Call::Sudo(_) | - // System - Call::System(_) | Call::Timestamp(_) | Call::ParachainSystem(_) | - // ExtrinsicFilter - Call::ExtrinsicFilter(_) - ) + Call::System(_) | Call::Timestamp(_) | + Call::ParachainSystem(_) | + Call::ExtrinsicFilter(_) | + Call::Multisig(_) + ) { + // always allow core calls + return true + } + + pallet_extrinsic_filter::Pallet::::contains(call) + } +} + +pub struct SafeModeFilter; +impl Contains for SafeModeFilter { + fn contains(_call: &Call) -> bool { + false } } @@ -849,13 +861,14 @@ impl Contains for NormalModeFilter { fn contains(call: &Call) -> bool { matches!( call, - Call::Sudo(_) | - // System - Call::System(_) | Call::Timestamp(_) | Call::ParachainSystem(_) | - // ExtrinsicFilter - Call::ExtrinsicFilter(_) | - // Vesting - only enable vest() call function - Call::Vesting(pallet_vesting::Call::vest { .. }) + // Vesting::vest + Call::Vesting(pallet_vesting::Call::vest { .. }) | + // ChainBridge + Call::ChainBridge(_) | + // BridgeTransfer + Call::BridgeTransfer(_) | + // XTokens::transfer for normal users + Call::XTokens(orml_xtokens::Call::transfer { .. }) ) } } From b981bc9cf52fd4e73877a10f4729230d497fd038 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Wed, 15 Jun 2022 16:25:53 +0200 Subject: [PATCH 13/17] align integration-test of moonbase with other chains --- runtime/moonbase/src/lib.rs | 4 +- .../moonbase/src/tests/base_call_filter.rs | 129 +++++++++++++++++ runtime/moonbase/src/tests/mod.rs | 2 +- runtime/moonbase/src/tests/setup/mod.rs | 36 ++++- .../moonbase/src/tests/transaction_payment.rs | 130 ++++++++++-------- 5 files changed, 236 insertions(+), 65 deletions(-) create mode 100644 runtime/moonbase/src/tests/base_call_filter.rs diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 335c83fd83..749c0eb5f8 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -42,7 +42,9 @@ use sp_runtime::{ use xcm_config::{XcmConfig, XcmOriginToTransactDispatchOrigin}; mod transaction_payment; -use transaction_payment::{DealWithFees, SlowAdjustingFeeUpdate}; +pub use transaction_payment::{ + DealWithFees, MinimumMultiplier, SlowAdjustingFeeUpdate, TargetBlockFullness, +}; #[cfg(test)] mod tests; diff --git a/runtime/moonbase/src/tests/base_call_filter.rs b/runtime/moonbase/src/tests/base_call_filter.rs new file mode 100644 index 0000000000..f9a3053c14 --- /dev/null +++ b/runtime/moonbase/src/tests/base_call_filter.rs @@ -0,0 +1,129 @@ +// Copyright 2020-2022 Litentry Technologies GmbH. +// This file is part of Litentry. +// +// Litentry is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Litentry is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Litentry. If not, see . + +use super::setup::*; +use codec::Encode; +use frame_support::{ + assert_noop, assert_ok, + traits::{VestingSchedule, WrapperKeepOpaque}, +}; +use sp_runtime::traits::Dispatchable; +type OpaqueCall = WrapperKeepOpaque<::Call>; + +#[test] +fn default_mode() { + ExtBuilder::default().build().execute_with(|| { + assert_eq!(ExtrinsicFilter::mode(), pallet_extrinsic_filter::OperationalMode::Normal); + }) +} + +#[test] +fn multisig_enabled() { + ExtBuilder::default() + .balances(vec![(alice(), 10 * UNIT)]) + .build() + .execute_with(|| { + let _ = Multisig::multi_account_id(&[alice(), bob(), charlie()][..], 2); + let remark_call: Call = frame_system::Call::remark { remark: vec![] }.into(); + let data = remark_call.encode(); + let multisig_call: Call = pallet_multisig::Call::as_multi { + threshold: 2, + other_signatories: vec![bob(), charlie()], + maybe_timepoint: None, + call: OpaqueCall::from_encoded(data), + store_call: false, + max_weight: 0, + } + .into(); + assert_ok!(multisig_call.dispatch(Origin::signed(alice()))); + }) +} + +#[test] +fn balance_transfer_disabled() { + ExtBuilder::default() + .balances(vec![(alice(), 10 * UNIT)]) + .build() + .execute_with(|| { + let call: Call = + pallet_balances::Call::transfer { dest: bob().into(), value: 1 * UNIT }.into(); + assert_noop!( + call.dispatch(Origin::signed(alice())), + frame_system::Error::::CallFiltered + ); + }) +} + +#[test] +fn block_core_call_has_no_effect() { + ExtBuilder::default() + .balances(vec![(alice(), 10 * UNIT)]) + .build() + .execute_with(|| { + let call: Call = frame_system::Call::remark { remark: vec![] }.into(); + assert_ok!(call.clone().dispatch(Origin::signed(alice()))); + + // try to block System call, which is a core call + assert_ok!(ExtrinsicFilter::block_extrinsics(Origin::root(), b"System".to_vec(), None)); + // it's stored in the storage + assert_eq!( + ExtrinsicFilter::blocked_extrinsics((b"System".to_vec(), Vec::::default())), + Some(()) + ); + // ...however, no effect in the actual call dispatching + assert_ok!(call.dispatch(Origin::signed(alice()))); + }) +} + +#[test] +fn block_non_core_call_works() { + ExtBuilder::default() + .balances(vec![(alice(), 100 * UNIT)]) + .build() + .execute_with(|| { + assert_ok!(Vesting::vested_transfer( + Origin::signed(alice()), + bob().into(), + pallet_vesting::VestingInfo::new(10 * UNIT, 1 * UNIT, 0,), + )); + let call: Call = pallet_vesting::Call::vest {}.into(); + assert_ok!(call.clone().dispatch(Origin::signed(bob()))); + assert_eq!(Balances::free_balance(&bob()), 10 * UNIT); + assert_eq!(Balances::usable_balance(&bob()), 1 * UNIT); + + System::set_block_number(2); + assert_eq!(Vesting::vesting_balance(&bob()), Some(8 * UNIT)); + + // try to block Vesting call, which is a non-core call + assert_ok!(ExtrinsicFilter::block_extrinsics( + Origin::root(), + b"Vesting".to_vec(), + None + )); + // it's stored in the storage + assert_eq!( + ExtrinsicFilter::blocked_extrinsics((b"Vesting".to_vec(), Vec::::default())), + Some(()) + ); + // ...and it will take effect + assert_noop!( + call.dispatch(Origin::signed(bob())), + frame_system::Error::::CallFiltered + ); + // usable balance is unchanged + assert_eq!(Balances::usable_balance(&bob()), 1 * UNIT); + }) +} diff --git a/runtime/moonbase/src/tests/mod.rs b/runtime/moonbase/src/tests/mod.rs index 93162028a6..038dce92de 100644 --- a/runtime/moonbase/src/tests/mod.rs +++ b/runtime/moonbase/src/tests/mod.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Litentry. If not, see . -// mod relay; +mod base_call_filter; mod setup; mod transaction_payment; mod xcm_parachain; diff --git a/runtime/moonbase/src/tests/setup/mod.rs b/runtime/moonbase/src/tests/setup/mod.rs index cdfb7929b9..b7404ec1d3 100644 --- a/runtime/moonbase/src/tests/setup/mod.rs +++ b/runtime/moonbase/src/tests/setup/mod.rs @@ -20,12 +20,16 @@ use frame_support::{ }; pub use crate::{ - AccountId, AssetManager, Balance, Balances, Call, CumulusXcm, DmpQueue, Event, ParachainSystem, - PolkadotXcm, Runtime, System, Tokens, TransactionPayment, Treasury, XTokens, XcmpQueue, + AccountId, AssetManager, Balance, Balances, Call, CumulusXcm, DmpQueue, Event, ExtrinsicFilter, + MinimumMultiplier, Multisig, Origin, ParachainSystem, PolkadotXcm, Runtime, + RuntimeBlockWeights, SlowAdjustingFeeUpdate, System, TargetBlockFullness, Tokens, + TransactionByteFee, TransactionPayment, Treasury, Vesting, XTokens, XcmpQueue, UNIT, }; + pub const ALICE: [u8; 32] = [1u8; 32]; pub const BOB: [u8; 32] = [2u8; 32]; -// use xcm_simulator_example::relay_chain as relay; +pub const CHARLIE: [u8; 32] = [3u8; 32]; + pub use sp_std::cell::RefCell; pub mod relay; pub use pallet_balances::Call as BalancesCall; @@ -35,6 +39,18 @@ pub(crate) fn last_event() -> Event { System::events().pop().expect("Event expected").event } +pub(crate) fn alice() -> AccountId { + AccountId::from(ALICE) +} + +pub(crate) fn bob() -> AccountId { + AccountId::from(BOB) +} + +pub(crate) fn charlie() -> AccountId { + AccountId::from(CHARLIE) +} + pub struct ExtBuilder { balances: Vec<(AccountId, Balance)>, parachain_id: u32, @@ -100,6 +116,20 @@ pub fn post_info_from_weight(w: Weight) -> PostDispatchInfo { PostDispatchInfo { actual_weight: Some(w), pays_fee: Default::default() } } +pub fn run_with_system_weight(w: Weight, mut assertions: F) +where + F: FnMut(), +{ + let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::default() + .build_storage::() + .unwrap() + .into(); + t.execute_with(|| { + System::set_block_consumed_resources(w, 0); + assertions() + }); +} + decl_test_parachain! { pub struct ParaA { Runtime = Runtime, diff --git a/runtime/moonbase/src/tests/transaction_payment.rs b/runtime/moonbase/src/tests/transaction_payment.rs index 4611f9b79f..09decc5259 100644 --- a/runtime/moonbase/src/tests/transaction_payment.rs +++ b/runtime/moonbase/src/tests/transaction_payment.rs @@ -15,89 +15,99 @@ // along with Litentry. If not, see . use super::setup::*; -use frame_support::assert_ok; -use frame_system::RawOrigin; -use sp_runtime::{traits::SignedExtension, MultiAddress}; +use frame_support::{ + assert_ok, + weights::{constants::ExtrinsicBaseWeight, DispatchClass, Weight}, +}; +use pallet_transaction_payment::Multiplier; +use sp_runtime::traits::{Convert, SignedExtension}; + +fn max_normal() -> Weight { + RuntimeBlockWeights::get() + .get(DispatchClass::Normal) + .max_total + .unwrap_or_else(|| RuntimeBlockWeights::get().max_block) +} + +fn min_multiplier() -> Multiplier { + MinimumMultiplier::get() +} + +fn target() -> Weight { + TargetBlockFullness::get() * max_normal() +} #[test] -fn test_set_balance() { - ExtBuilder::default() - .balances(vec![ - // fund Alice and BOB - (AccountId::from(ALICE), 123456789123456789), - (AccountId::from(BOB), 123456789123456789), - ]) - .build() - .execute_with(|| { - assert_ok!(Balances::set_balance( - RawOrigin::Root.into(), - MultiAddress::Id(AccountId::from(BOB)), - 100, - 0 - )); - }) +fn multiplier_can_grow_from_zero() { + // if the min is too small, then this will not change, and we are doomed forever. + // the weight is 1/100th bigger than target. + run_with_system_weight(target() * 101 / 100, || { + let next = SlowAdjustingFeeUpdate::::convert(min_multiplier()); + assert!(next > min_multiplier(), "{:?} !>= {:?}", next, min_multiplier()); + }) } #[test] -fn test_payment() { +fn transaction_payment_works() { ExtBuilder::default() - .balances(vec![ - // fund Alice and BOB - (AccountId::from(ALICE), 123456789123456789), - (AccountId::from(BOB), 123456789123456789), - (Treasury::account_id(), 123456789123456789), - ]) + .balances(vec![(alice(), 100 * UNIT), (Treasury::account_id(), 100 * UNIT)]) .build() .execute_with(|| { - assert_eq!(Balances::free_balance(&AccountId::from(ALICE)), 123456789123456789); - assert_eq!(Balances::free_balance(Treasury::account_id()), 123456789123456789); + assert_eq!(Balances::free_balance(&alice()), 100 * UNIT); + assert_eq!(Balances::free_balance(Treasury::account_id()), 100 * UNIT); + let initial_total_issuance = Balances::total_issuance(); + assert_eq!(initial_total_issuance, 200 * UNIT); + + let dispatch_info: u128 = 50; + let post_dispatch_info: u128 = 35; + let len = 10; - let byte_fee: u128 = 1_000_000; - let base_fee: u128 = 25_000_000; - let info: u64 = 85; + let tranfer_call: Call = + Call::Balances(BalancesCall::transfer { dest: bob().into(), value: 69 }); - let tranfer_call: &::Call = - &Call::Balances(BalancesCall::transfer { - dest: MultiAddress::Id(AccountId::from(BOB)), - value: 69, - }); + let mut old_sender_balance = Balances::free_balance(&alice()); + let mut old_treasury_balance = Balances::free_balance(Treasury::account_id()); - let mut sender_balance = Balances::free_balance(&AccountId::from(ALICE)); - let mut treasury_balance = Balances::free_balance(Treasury::account_id()); - let len: u128 = 1000; - let pre = >::from(0) + let pre = pallet_transaction_payment::ChargeTransactionPayment::::from(0) .pre_dispatch( - &ALICE.into(), - tranfer_call, - &info_from_weight(info as u64), + &alice(), + &tranfer_call, + &info_from_weight(dispatch_info as u64), len as usize, ) .unwrap(); - // 1: initial 1000 balance, withdraw 5 base fee, 85 weight fee, 10 len fee - // Treasury unchanged - let total = 5 * base_fee + info as u128 + len * byte_fee; - assert_eq!(sender_balance - Balances::free_balance(&AccountId::from(ALICE)), total,); - assert_eq!(Balances::free_balance(Treasury::account_id()) - treasury_balance, 0); - sender_balance = Balances::free_balance(&AccountId::from(ALICE)); - treasury_balance = Balances::free_balance(Treasury::account_id()); + + let total_payment: Balance = ExtrinsicBaseWeight::get() as u128 + + dispatch_info + len * TransactionByteFee::get(); + assert_eq!(old_sender_balance - Balances::free_balance(&alice()), total_payment); + assert_eq!(Balances::free_balance(Treasury::account_id()), old_treasury_balance); + + old_sender_balance = Balances::free_balance(&alice()); + old_treasury_balance = Balances::free_balance(Treasury::account_id()); assert_ok!( >::post_dispatch( Some(pre), - &info_from_weight(info), - // so acutal weight is 35 + 5 + 10 = 50 - &post_info_from_weight(35), + &info_from_weight(dispatch_info as u64), + &post_info_from_weight(post_dispatch_info as u64), len as usize, &Ok(()) ) ); - // 1: balance refund 50 - assert_eq!(Balances::free_balance(&AccountId::from(ALICE)) - sender_balance, 50); - // treasury pallet account get distribution 40 out of (40+0+60) proprtion of 50 actual - // weight + // (dispatch_info - post_dispatch_info) weights (toFee) are refunded + let refunded = dispatch_info - post_dispatch_info; + assert_eq!(Balances::free_balance(&alice()) - old_sender_balance, refunded); + + // treasury gets 40% of actual payment + let actual_payment = total_payment - refunded; + assert_eq!( + Balances::free_balance(Treasury::account_id()) - old_treasury_balance, + actual_payment * 40 / (40 + 60) + ); + + // ... and the rest (= 60% of actual payment) is burnt assert_eq!( - Balances::free_balance(Treasury::account_id()) - treasury_balance, - (total - 50) * 40 / (40 + 60) + initial_total_issuance - Balances::total_issuance(), + actual_payment * 60 / (40 + 60) ); - assert_eq!(true, true); }) } From 76d0051237169e8f9d5ef76944e5c0d3216e4ec1 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Wed, 15 Jun 2022 16:33:39 +0200 Subject: [PATCH 14/17] re-enable asset-manager benchmarking --- runtime/litmus/src/lib.rs | 1 + .../src/weights/pallet_asset_manager.rs | 96 +++++++++++++---- .../src/weights/pallet_asset_manager.rs | 100 ++++++++++++++---- runtime/rococo/src/lib.rs | 1 + .../src/weights/pallet_asset_manager.rs | 100 ++++++++++++++---- 5 files changed, 231 insertions(+), 67 deletions(-) diff --git a/runtime/litmus/src/lib.rs b/runtime/litmus/src/lib.rs index f7d78331e5..dcc32193d5 100644 --- a/runtime/litmus/src/lib.rs +++ b/runtime/litmus/src/lib.rs @@ -914,6 +914,7 @@ extern crate frame_benchmarking; mod benches { define_benchmarks!( [frame_system, SystemBench::] + [pallet_asset_manager, AssetManager] [pallet_balances, Balances] [pallet_timestamp, Timestamp] [pallet_utility, Utility] diff --git a/runtime/litmus/src/weights/pallet_asset_manager.rs b/runtime/litmus/src/weights/pallet_asset_manager.rs index f3f576f607..5648ceb952 100644 --- a/runtime/litmus/src/weights/pallet_asset_manager.rs +++ b/runtime/litmus/src/weights/pallet_asset_manager.rs @@ -14,11 +14,11 @@ // You should have received a copy of the GNU General Public License // along with Litentry. If not, see . -//! Autogenerated weights for `pallet_asset_manager` +//! Autogenerated weights for pallet_asset_manager //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 +//! DATE: 2022-06-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/litentry-collator @@ -26,40 +26,52 @@ // pallet // --chain=litmus-dev // --execution=wasm -// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_asset_manager // --extrinsic=* // --heap-pages=4096 -// --steps=20 -// --repeat=50 +// --steps +// 20 +// --repeat +// 50 // --header=./LICENSE_HEADER -// --output=./pallet_asset_manager.rs +// --template=./templates/benchmark/pallet-weight-template.hbs +// --output +// ./pallets/xcm-asset-manager/src/weights.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use sp_std::marker::PhantomData; -/// Weight functions for `pallet_asset_manager`. -pub struct WeightInfo(PhantomData); -impl pallet_asset_manager::WeightInfo for WeightInfo { - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) +/// Weight functions needed for pallet_asset_manager. +pub trait WeightInfo { + fn register_foreign_asset_type() -> Weight; + fn update_foreign_asset_metadata() -> Weight; + fn set_asset_units_per_second() -> Weight; + fn add_asset_type() -> Weight; + fn remove_asset_type() -> Weight; +} + +/// Weights for pallet_asset_manager using the Litentry node and recommended hardware. +pub struct LitentryWeight(PhantomData); +impl WeightInfo for LitentryWeight { // Storage: AssetManager AssetTypeId (r:1 w:1) + // Storage: AssetManager ForeignAssetTracker (r:1 w:1) // Storage: AssetManager AssetIdType (r:0 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn register_foreign_asset_type() -> Weight { - (32_800_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(5 as Weight)) + (26_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_foreign_asset_metadata() -> Weight { - (17_100_000 as Weight) + (17_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -73,16 +85,58 @@ impl pallet_asset_manager::WeightInfo for WeightInfo // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) fn add_asset_type() -> Weight { - (21_500_000 as Weight) + (21_200_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:2 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) fn remove_asset_type() -> Weight { - (31_800_000 as Weight) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + (29_600_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } } + +// For backwards compatibility and tests +impl WeightInfo for () { + // Storage: AssetManager AssetTypeId (r:1 w:1) + // Storage: AssetManager ForeignAssetTracker (r:1 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) + // Storage: AssetManager AssetIdMetadata (r:0 w:1) + fn register_foreign_asset_type() -> Weight { + (26_000_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(4 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:0) + // Storage: AssetManager AssetIdMetadata (r:0 w:1) + fn update_foreign_asset_metadata() -> Weight { + (17_300_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:0) + // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + fn set_asset_units_per_second() -> Weight { + (16_300_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:1 w:1) + fn add_asset_type() -> Weight { + (21_200_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:2 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) + fn remove_asset_type() -> Weight { + (29_600_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(3 as Weight)) + .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + } +} diff --git a/runtime/moonbase/src/weights/pallet_asset_manager.rs b/runtime/moonbase/src/weights/pallet_asset_manager.rs index 2d555e364a..5648ceb952 100644 --- a/runtime/moonbase/src/weights/pallet_asset_manager.rs +++ b/runtime/moonbase/src/weights/pallet_asset_manager.rs @@ -14,75 +14,129 @@ // You should have received a copy of the GNU General Public License // along with Litentry. If not, see . -//! Autogenerated weights for `pallet_asset_manager` +//! Autogenerated weights for pallet_asset_manager //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 20 +//! DATE: 2022-06-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/litentry-collator // benchmark // pallet -// --chain=moonbase-dev +// --chain=litmus-dev // --execution=wasm -// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_asset_manager // --extrinsic=* // --heap-pages=4096 -// --steps=20 -// --repeat=50 +// --steps +// 20 +// --repeat +// 50 // --header=./LICENSE_HEADER -// --output=./pallet_asset_manager.rs +// --template=./templates/benchmark/pallet-weight-template.hbs +// --output +// ./pallets/xcm-asset-manager/src/weights.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use sp_std::marker::PhantomData; -/// Weight functions for `pallet_asset_manager`. -pub struct WeightInfo(PhantomData); -impl pallet_asset_manager::WeightInfo for WeightInfo { - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) +/// Weight functions needed for pallet_asset_manager. +pub trait WeightInfo { + fn register_foreign_asset_type() -> Weight; + fn update_foreign_asset_metadata() -> Weight; + fn set_asset_units_per_second() -> Weight; + fn add_asset_type() -> Weight; + fn remove_asset_type() -> Weight; +} + +/// Weights for pallet_asset_manager using the Litentry node and recommended hardware. +pub struct LitentryWeight(PhantomData); +impl WeightInfo for LitentryWeight { // Storage: AssetManager AssetTypeId (r:1 w:1) + // Storage: AssetManager ForeignAssetTracker (r:1 w:1) // Storage: AssetManager AssetIdType (r:0 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn register_foreign_asset_type() -> Weight { - (30_000_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(5 as Weight)) + (26_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_foreign_asset_metadata() -> Weight { - (16_100_000 as Weight) + (17_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) fn set_asset_units_per_second() -> Weight { - (15_300_000 as Weight) + (16_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) fn add_asset_type() -> Weight { - (20_300_000 as Weight) + (21_200_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:2 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) fn remove_asset_type() -> Weight { - (30_900_000 as Weight) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + (29_600_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } } + +// For backwards compatibility and tests +impl WeightInfo for () { + // Storage: AssetManager AssetTypeId (r:1 w:1) + // Storage: AssetManager ForeignAssetTracker (r:1 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) + // Storage: AssetManager AssetIdMetadata (r:0 w:1) + fn register_foreign_asset_type() -> Weight { + (26_000_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(4 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:0) + // Storage: AssetManager AssetIdMetadata (r:0 w:1) + fn update_foreign_asset_metadata() -> Weight { + (17_300_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:0) + // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + fn set_asset_units_per_second() -> Weight { + (16_300_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:1 w:1) + fn add_asset_type() -> Weight { + (21_200_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:2 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) + fn remove_asset_type() -> Weight { + (29_600_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(3 as Weight)) + .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + } +} diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 04feebf6b8..19872a88e0 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -918,6 +918,7 @@ extern crate frame_benchmarking; mod benches { define_benchmarks!( [frame_system, SystemBench::] + [pallet_asset_manager, AssetManager] [pallet_balances, Balances] [pallet_timestamp, Timestamp] [pallet_utility, Utility] diff --git a/runtime/rococo/src/weights/pallet_asset_manager.rs b/runtime/rococo/src/weights/pallet_asset_manager.rs index 835631a7c9..5648ceb952 100644 --- a/runtime/rococo/src/weights/pallet_asset_manager.rs +++ b/runtime/rococo/src/weights/pallet_asset_manager.rs @@ -14,75 +14,129 @@ // You should have received a copy of the GNU General Public License // along with Litentry. If not, see . -//! Autogenerated weights for `pallet_asset_manager` +//! Autogenerated weights for pallet_asset_manager //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 +//! DATE: 2022-06-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/litentry-collator // benchmark // pallet -// --chain=rococo-dev +// --chain=litmus-dev // --execution=wasm -// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_asset_manager // --extrinsic=* // --heap-pages=4096 -// --steps=20 -// --repeat=50 +// --steps +// 20 +// --repeat +// 50 // --header=./LICENSE_HEADER -// --output=./pallet_asset_manager.rs +// --template=./templates/benchmark/pallet-weight-template.hbs +// --output +// ./pallets/xcm-asset-manager/src/weights.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use sp_std::marker::PhantomData; -/// Weight functions for `pallet_asset_manager`. -pub struct WeightInfo(PhantomData); -impl pallet_asset_manager::WeightInfo for WeightInfo { - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) +/// Weight functions needed for pallet_asset_manager. +pub trait WeightInfo { + fn register_foreign_asset_type() -> Weight; + fn update_foreign_asset_metadata() -> Weight; + fn set_asset_units_per_second() -> Weight; + fn add_asset_type() -> Weight; + fn remove_asset_type() -> Weight; +} + +/// Weights for pallet_asset_manager using the Litentry node and recommended hardware. +pub struct LitentryWeight(PhantomData); +impl WeightInfo for LitentryWeight { // Storage: AssetManager AssetTypeId (r:1 w:1) + // Storage: AssetManager ForeignAssetTracker (r:1 w:1) // Storage: AssetManager AssetIdType (r:0 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn register_foreign_asset_type() -> Weight { - (30_500_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(5 as Weight)) + (26_000_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_foreign_asset_metadata() -> Weight { - (16_700_000 as Weight) + (17_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) fn set_asset_units_per_second() -> Weight { - (15_900_000 as Weight) + (16_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) fn add_asset_type() -> Weight { - (21_000_000 as Weight) + (21_200_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:2 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) fn remove_asset_type() -> Weight { - (31_000_000 as Weight) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + (29_600_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } } + +// For backwards compatibility and tests +impl WeightInfo for () { + // Storage: AssetManager AssetTypeId (r:1 w:1) + // Storage: AssetManager ForeignAssetTracker (r:1 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) + // Storage: AssetManager AssetIdMetadata (r:0 w:1) + fn register_foreign_asset_type() -> Weight { + (26_000_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(4 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:0) + // Storage: AssetManager AssetIdMetadata (r:0 w:1) + fn update_foreign_asset_metadata() -> Weight { + (17_300_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:0) + // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + fn set_asset_units_per_second() -> Weight { + (16_300_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + } + // Storage: AssetManager AssetIdType (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:1 w:1) + fn add_asset_type() -> Weight { + (21_200_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:2 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) + fn remove_asset_type() -> Weight { + (29_600_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(3 as Weight)) + .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + } +} From ef37c04d8c9f3fce086e8186e9cc493a5040b53c Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Wed, 15 Jun 2022 17:31:06 +0200 Subject: [PATCH 15/17] revert to old runtime weights file --- .../src/weights/pallet_asset_manager.rs | 81 ++++--------------- .../src/weights/pallet_asset_manager.rs | 81 ++++--------------- .../src/weights/pallet_asset_manager.rs | 81 ++++--------------- 3 files changed, 45 insertions(+), 198 deletions(-) diff --git a/runtime/litmus/src/weights/pallet_asset_manager.rs b/runtime/litmus/src/weights/pallet_asset_manager.rs index 5648ceb952..512642cf32 100644 --- a/runtime/litmus/src/weights/pallet_asset_manager.rs +++ b/runtime/litmus/src/weights/pallet_asset_manager.rs @@ -42,36 +42,27 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for pallet_asset_manager. -pub trait WeightInfo { - fn register_foreign_asset_type() -> Weight; - fn update_foreign_asset_metadata() -> Weight; - fn set_asset_units_per_second() -> Weight; - fn add_asset_type() -> Weight; - fn remove_asset_type() -> Weight; -} - -/// Weights for pallet_asset_manager using the Litentry node and recommended hardware. -pub struct LitentryWeight(PhantomData); -impl WeightInfo for LitentryWeight { - // Storage: AssetManager AssetTypeId (r:1 w:1) +/// Weight functions for `pallet_asset_manager`. +pub struct WeightInfo(PhantomData); +impl pallet_asset_manager::WeightInfo for WeightInfo { + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: AssetManager ForeignAssetTracker (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:1 w:1) // Storage: AssetManager AssetIdType (r:0 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn register_foreign_asset_type() -> Weight { - (26_000_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) + (32_800_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_foreign_asset_metadata() -> Weight { - (17_300_000 as Weight) + (17_100_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -85,58 +76,16 @@ impl WeightInfo for LitentryWeight { // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) fn add_asset_type() -> Weight { - (21_200_000 as Weight) + (21_500_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - fn remove_asset_type() -> Weight { - (29_600_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: AssetManager AssetTypeId (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) - fn register_foreign_asset_type() -> Weight { - (26_000_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(4 as Weight)) - } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) - fn update_foreign_asset_metadata() -> Weight { - (17_300_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) - fn set_asset_units_per_second() -> Weight { - (16_300_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - } // Storage: AssetManager AssetIdType (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:1 w:1) - fn add_asset_type() -> Weight { - (21_200_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) - } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) fn remove_asset_type() -> Weight { - (29_600_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(3 as Weight)) - .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + (31_800_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) } -} +} \ No newline at end of file diff --git a/runtime/moonbase/src/weights/pallet_asset_manager.rs b/runtime/moonbase/src/weights/pallet_asset_manager.rs index 5648ceb952..512642cf32 100644 --- a/runtime/moonbase/src/weights/pallet_asset_manager.rs +++ b/runtime/moonbase/src/weights/pallet_asset_manager.rs @@ -42,36 +42,27 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for pallet_asset_manager. -pub trait WeightInfo { - fn register_foreign_asset_type() -> Weight; - fn update_foreign_asset_metadata() -> Weight; - fn set_asset_units_per_second() -> Weight; - fn add_asset_type() -> Weight; - fn remove_asset_type() -> Weight; -} - -/// Weights for pallet_asset_manager using the Litentry node and recommended hardware. -pub struct LitentryWeight(PhantomData); -impl WeightInfo for LitentryWeight { - // Storage: AssetManager AssetTypeId (r:1 w:1) +/// Weight functions for `pallet_asset_manager`. +pub struct WeightInfo(PhantomData); +impl pallet_asset_manager::WeightInfo for WeightInfo { + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: AssetManager ForeignAssetTracker (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:1 w:1) // Storage: AssetManager AssetIdType (r:0 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn register_foreign_asset_type() -> Weight { - (26_000_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) + (32_800_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_foreign_asset_metadata() -> Weight { - (17_300_000 as Weight) + (17_100_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -85,58 +76,16 @@ impl WeightInfo for LitentryWeight { // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) fn add_asset_type() -> Weight { - (21_200_000 as Weight) + (21_500_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - fn remove_asset_type() -> Weight { - (29_600_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: AssetManager AssetTypeId (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) - fn register_foreign_asset_type() -> Weight { - (26_000_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(4 as Weight)) - } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) - fn update_foreign_asset_metadata() -> Weight { - (17_300_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) - fn set_asset_units_per_second() -> Weight { - (16_300_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - } // Storage: AssetManager AssetIdType (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:1 w:1) - fn add_asset_type() -> Weight { - (21_200_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) - } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) fn remove_asset_type() -> Weight { - (29_600_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(3 as Weight)) - .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + (31_800_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) } -} +} \ No newline at end of file diff --git a/runtime/rococo/src/weights/pallet_asset_manager.rs b/runtime/rococo/src/weights/pallet_asset_manager.rs index 5648ceb952..512642cf32 100644 --- a/runtime/rococo/src/weights/pallet_asset_manager.rs +++ b/runtime/rococo/src/weights/pallet_asset_manager.rs @@ -42,36 +42,27 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for pallet_asset_manager. -pub trait WeightInfo { - fn register_foreign_asset_type() -> Weight; - fn update_foreign_asset_metadata() -> Weight; - fn set_asset_units_per_second() -> Weight; - fn add_asset_type() -> Weight; - fn remove_asset_type() -> Weight; -} - -/// Weights for pallet_asset_manager using the Litentry node and recommended hardware. -pub struct LitentryWeight(PhantomData); -impl WeightInfo for LitentryWeight { - // Storage: AssetManager AssetTypeId (r:1 w:1) +/// Weight functions for `pallet_asset_manager`. +pub struct WeightInfo(PhantomData); +impl pallet_asset_manager::WeightInfo for WeightInfo { + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: AssetManager ForeignAssetTracker (r:1 w:1) + // Storage: AssetManager AssetTypeId (r:1 w:1) // Storage: AssetManager AssetIdType (r:0 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn register_foreign_asset_type() -> Weight { - (26_000_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) + (32_800_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_foreign_asset_metadata() -> Weight { - (17_300_000 as Weight) + (17_100_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -85,58 +76,16 @@ impl WeightInfo for LitentryWeight { // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) fn add_asset_type() -> Weight { - (21_200_000 as Weight) + (21_500_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - fn remove_asset_type() -> Weight { - (29_600_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: AssetManager AssetTypeId (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) - fn register_foreign_asset_type() -> Weight { - (26_000_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(4 as Weight)) - } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) - fn update_foreign_asset_metadata() -> Weight { - (17_300_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) - fn set_asset_units_per_second() -> Weight { - (16_300_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - } // Storage: AssetManager AssetIdType (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:1 w:1) - fn add_asset_type() -> Weight { - (21_200_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) - } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) fn remove_asset_type() -> Weight { - (29_600_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(3 as Weight)) - .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + (31_800_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) } -} +} \ No newline at end of file From f01f7866e3157230bc55ff4ef0b4ea219c7f273d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Jun 2022 20:07:51 +0200 Subject: [PATCH 16/17] [benchmarking bot] Auto commit generated weights files (#648) Co-authored-by: Kailai-Wang --- .../src/weights/pallet_asset_manager.rs | 43 ++++++++----------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/runtime/litmus/src/weights/pallet_asset_manager.rs b/runtime/litmus/src/weights/pallet_asset_manager.rs index 512642cf32..8cbe7c4306 100644 --- a/runtime/litmus/src/weights/pallet_asset_manager.rs +++ b/runtime/litmus/src/weights/pallet_asset_manager.rs @@ -14,30 +14,27 @@ // You should have received a copy of the GNU General Public License // along with Litentry. If not, see . -//! Autogenerated weights for pallet_asset_manager +//! Autogenerated weights for `pallet_asset_manager` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2022-06-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=litmus-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_asset_manager // --extrinsic=* // --heap-pages=4096 -// --steps -// 20 -// --repeat -// 50 +// --steps=20 +// --repeat=50 // --header=./LICENSE_HEADER -// --template=./templates/benchmark/pallet-weight-template.hbs -// --output -// ./pallets/xcm-asset-manager/src/weights.rs +// --output=./runtime/litmus/src/weights/pallet_asset_manager.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,43 +46,41 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_asset_manager`. pub struct WeightInfo(PhantomData); impl pallet_asset_manager::WeightInfo for WeightInfo { - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) + // Storage: AssetManager ForeignAssetTracker (r:1 w:1) // Storage: AssetManager AssetIdType (r:0 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn register_foreign_asset_type() -> Weight { - (32_800_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(5 as Weight)) + (26_367_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_foreign_asset_metadata() -> Weight { - (17_100_000 as Weight) + (17_102_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:0) // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) fn set_asset_units_per_second() -> Weight { - (16_300_000 as Weight) + (16_512_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:1 w:1) fn add_asset_type() -> Weight { - (21_500_000 as Weight) + (21_569_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } - // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) - // Storage: AssetManager AssetIdType (r:1 w:1) // Storage: AssetManager AssetTypeId (r:2 w:1) + // Storage: AssetManager AssetIdType (r:0 w:1) fn remove_asset_type() -> Weight { - (31_800_000 as Weight) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) + (31_380_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } -} \ No newline at end of file +} From c5da62e8bb359dd2af63c5ac732ef9432865222d Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Thu, 16 Jun 2022 08:23:10 +0200 Subject: [PATCH 17/17] minor adjustments --- node/src/rpc.rs | 1 - runtime/litmus/src/xcm_config.rs | 1 + runtime/moonbase/src/xcm_config.rs | 1 + runtime/rococo/src/xcm_config.rs | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 2acb51c74b..9c1a2cfa64 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Litentry. If not, see . -#![warn(missing_docs)] #![warn(missing_docs)] use std::sync::Arc; diff --git a/runtime/litmus/src/xcm_config.rs b/runtime/litmus/src/xcm_config.rs index a086b1cbec..cca06d908b 100644 --- a/runtime/litmus/src/xcm_config.rs +++ b/runtime/litmus/src/xcm_config.rs @@ -580,6 +580,7 @@ match_types! { parameter_type_with_key! { pub ParachainMinFee: |_location: MultiLocation| -> Option { + // Always return `None` to disallow using fee asset and target asset with different reserve chains None }; } diff --git a/runtime/moonbase/src/xcm_config.rs b/runtime/moonbase/src/xcm_config.rs index 18394a6114..b4acacf81a 100644 --- a/runtime/moonbase/src/xcm_config.rs +++ b/runtime/moonbase/src/xcm_config.rs @@ -581,6 +581,7 @@ match_types! { parameter_type_with_key! { pub ParachainMinFee: |_location: MultiLocation| -> Option { + // Always return `None` to disallow using fee asset and target asset with different reserve chains None }; } diff --git a/runtime/rococo/src/xcm_config.rs b/runtime/rococo/src/xcm_config.rs index 18394a6114..b4acacf81a 100644 --- a/runtime/rococo/src/xcm_config.rs +++ b/runtime/rococo/src/xcm_config.rs @@ -581,6 +581,7 @@ match_types! { parameter_type_with_key! { pub ParachainMinFee: |_location: MultiLocation| -> Option { + // Always return `None` to disallow using fee asset and target asset with different reserve chains None }; }